:root {
  --ink: #17111f;
  --muted: #645a70;
  --line: rgba(45, 27, 75, .12);
  --purple: #6d28d9;
  --purple-dark: #3b0764;
  --purple-soft: #ede9fe;
  --shadow: 0 24px 70px rgba(53, 31, 91, .12);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #fff 0%, #fbfaff 42%, #fff 100%);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  transform: translateY(-160%); padding: 10px 14px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 700; transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--purple-soft); outline-offset: 2px; }

.wrap {
  width: min(560px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(40px, 9vh, 84px) 0 56px;
}

/* ───── Profile header ───── */
.profile {
  position: relative;
  text-align: center;
  padding-bottom: 40px;
  overflow: hidden;
}
.orb { position: absolute; border-radius: 999px; filter: blur(6px); opacity: .8; z-index: -1; }
.orb-one { width: 300px; height: 300px; background: radial-gradient(circle, rgba(139,92,246,.20), transparent 68%); top: -70px; right: -110px; animation: float 9s ease-in-out infinite; }
.orb-two { width: 260px; height: 260px; background: radial-gradient(circle, rgba(109,40,217,.14), transparent 70%); top: 30px; left: -120px; animation: float 11s ease-in-out infinite reverse; }

.avatar {
  display: grid; place-items: center;
  width: 116px; height: 116px; margin: 0 auto 22px;
  border-radius: 50%;
  font-size: 38px; font-weight: 800; letter-spacing: -.02em; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 18px 44px rgba(76,29,149,.30), 0 0 0 6px rgba(237,233,254,.7);
  object-fit: cover;
}
.name {
  margin: 0 0 8px;
  font-size: clamp(32px, 8vw, 44px); line-height: 1;
  letter-spacing: -.045em; font-weight: 800;
}
.eyebrow {
  margin: 0; color: var(--purple);
  text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700;
}
.bio {
  max-width: 460px; margin: 20px auto 0;
  color: var(--muted); font-size: 16.5px; line-height: 1.62;
}
.social {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 26px;
}
.social a {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.7); color: #41364e;
  font-size: 13.5px; font-weight: 600;
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.social a:hover { color: var(--purple); border-color: rgba(109,40,217,.28); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(53,31,91,.08); }

/* ───── Offer tiles ───── */
.offers { display: grid; gap: 14px; }
.tile {
  position: relative;
  display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 16px;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 20px rgba(53,31,91,.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(109,40,217,.26); }
.tile:focus-visible { outline: 3px solid var(--purple-soft); outline-offset: 3px; }

.tile-logo {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--purple-soft); overflow: hidden;
}
.tile-logo.mono { color: var(--purple-dark); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.tile-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tile-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tile-kicker { color: var(--purple); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.tile-title { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.tile-desc { color: var(--muted); font-size: 14px; line-height: 1.5; }

.tile-arrow {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--purple-dark); font-size: 18px; font-weight: 700;
  background: rgba(237,233,254,.55);
  transition: background .25s ease, transform .25s ease;
}
.tile:hover .tile-arrow { background: var(--purple); color: #fff; transform: translateX(3px); }

/* Optional badge, driven by data-badge="…" */
.tile[data-badge]::after {
  content: attr(data-badge);
  position: absolute; top: 12px; right: 14px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--purple-dark); background: var(--purple-soft);
}

/* ───── Footer ───── */
.foot { margin-top: 40px; text-align: center; }
.foot p { margin: 0; color: var(--muted); font-size: 13px; }

@keyframes float { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(12px,-16px,0) scale(1.04); } }

@media (max-width: 480px) {
  .tile { grid-template-columns: 46px 1fr; padding: 16px; gap: 13px; }
  .tile-logo { width: 46px; height: 46px; }
  .tile-arrow { display: none; }
  .tile[data-badge]::after { position: static; display: inline-block; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .tile, .social a { transition: none; }
}
