/* ==========================================================================
   GSparrow Identity Suite · Landing styles
   Palette aligned with resume-builder (Lumen dark).
   No framework. System fonts fallback → Geist + Instrument Serif when ready.
   ========================================================================== */

:root {
  /* Lumen dark — shared with resume-builder */
  --bg-0: #0D0F14;
  --bg-1: #12151C;
  --bg-2: #191D27;
  --bg-3: #1E2330;

  --ink-0: #F0F2F6;
  --ink-1: #D4D7DE;
  --ink-2: #A0A4AF;
  --ink-3: #8D919C;

  --line-1: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.12);
  --line-3: rgba(255,255,255,0.20);

  --indigo:      #6366F1;
  --indigo-deep: #4F46E5;
  --indigo-text: #A5B4FC;
  --violet:      #8B5CF6;
  --cyan:        #22D3EE;
  --green:       #34D399;
  --rose:        #FB7185;
  --amber:       #FBBF24;

  --shadow-soft: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 18px 48px rgba(0,0,0,0.45);
  --shadow-cta:  0 8px 30px rgba(99,102,241,0.45);

  --font-display: 'Instrument Serif', 'Fraunces', Georgia, serif;
  --font-body:    'Geist', 'Inter Tight', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;

  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Light theme overrides — mirrors resume-builder light palette ──── */
html[data-theme='light'] {
  --bg-0: #F7F7FB;
  --bg-1: #FFFFFF;
  --bg-2: #F1F2F6;
  --bg-3: #E8EAF0;

  --ink-0: #0E1216;
  --ink-1: #2A3239;
  --ink-2: #5A6672;
  --ink-3: #6B7280;

  --line-1: rgba(14,18,22,0.06);
  --line-2: rgba(14,18,22,0.10);
  --line-3: rgba(14,18,22,0.16);

  --indigo:      #4F52D9;
  --indigo-deep: #4338CA;
  --indigo-text: #4338CA;
  --violet:      #7C4DF0;
  --cyan:        #0891B2;
  --green:       #059669;
  --rose:        #E11D48;
  --amber:       #D97706;

  --shadow-soft: 0 2px 12px rgba(14,18,22,0.07);
  --shadow-card: 0 1px 3px rgba(14,18,22,0.06), 0 12px 28px rgba(14,18,22,0.10);
  --shadow-cta:  0 18px 40px rgba(79,82,217,0.30);
}

/* ─── Reset / base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
/* Force the [hidden] attribute to win over class-set display rules
   (e.g. `.btn { display: inline-flex }`). Without !important the cascade
   sees the class selector as more specific than UA-defined `[hidden]`. */
[hidden] { display: none !important; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink-1);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100dvh;
  transition: background-color .2s ease, color .2s ease;
}

::selection { background: rgba(99,102,241,0.45); color: #fff; }

.skip-link {
  position: absolute; top: -40px; left: 12px; padding: 8px 12px; border-radius: 6px;
  background: var(--indigo); color: #fff; z-index: 200; text-decoration: none; font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* ─── Container ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 1;
}

/* ─── Ambient atmosphere ────────────────────────────────────────────── */
.atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.aurora {
  position: absolute; border-radius: 50%; filter: blur(80px);
  will-change: transform; opacity: 0.7;
  animation: drift 28s ease-in-out infinite alternate;
}
.aurora--a {
  top: -20%; left: 12%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(99,102,241,0.55), transparent 70%);
}
.aurora--b {
  top: 8%; right: -10%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(139,92,246,0.45), transparent 70%);
  animation-duration: 34s; animation-delay: -6s;
}
.aurora--c {
  bottom: -15%; left: -5%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(34,211,238,0.30), transparent 70%);
  animation-duration: 40s; animation-delay: -12s;
}
.aurora--d {
  bottom: 10%; right: 15%; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(52,211,153,0.22), transparent 70%);
  animation-duration: 32s; animation-delay: -18s;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(40px, -30px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, 40px, 0) scale(0.95); }
}

.dotgrid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 85%);
}

.grain {
  position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 30% 40%, rgba(255,255,255,0.012) 0 2px, transparent 2px 4px),
    repeating-radial-gradient(circle at 70% 60%, rgba(255,255,255,0.012) 0 2px, transparent 2px 4px);
}

.constellation {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.6; animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 0.85; }
}

/* ─── Top nav ───────────────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-0) 80%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-1);
}
.topnav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink-0); font-weight: 700; letter-spacing: -0.01em;
}
.brand__mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(99,102,241,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.brand__name { font-size: 16px; }
.brand__sub {
  margin-left: 6px; font-size: 11px; font-weight: 500;
  color: var(--indigo-text); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25);
}

.nav {
  display: flex; align-items: center; gap: 4px;
}
.nav a {
  padding: 7px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  text-decoration: none; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink-0); background: rgba(255,255,255,0.04); }

.topnav__actions {
  display: flex; align-items: center; gap: 8px;
}

.menu-toggle {
  display: none; width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: 10px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--ink-0);
  transition: transform .2s, opacity .2s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  padding: 16px clamp(16px, 4vw, 40px) 20px;
  border-top: 1px solid var(--line-1);
  background: color-mix(in srgb, var(--bg-1) 95%, transparent);
  backdrop-filter: blur(18px);
}
.mobile-menu:not([hidden]) { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  padding: 12px 10px; border-radius: 8px;
  font-size: 15px; color: var(--ink-1); text-decoration: none;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.04); color: var(--ink-0); }
.mobile-menu__signin { border-top: 1px solid var(--line-1); margin-top: 6px; padding-top: 14px; }

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s var(--ease), background .15s, box-shadow .2s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn--lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }

.btn--primary {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  color: #fff; box-shadow: 0 8px 22px rgba(99,102,241,0.35);
}
.btn--primary:hover { box-shadow: 0 12px 32px rgba(99,102,241,0.55); transform: translateY(-1px); }

.btn--ghost {
  background: rgba(255,255,255,0.03);
  color: var(--ink-1); border-color: var(--line-2);
}
.btn--ghost:hover { background: rgba(255,255,255,0.06); color: var(--ink-0); border-color: var(--line-3); }

.btn--invert {
  background: #fff; color: var(--indigo-deep);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.btn--invert:hover { background: #f7f7fb; transform: translateY(-1px); }

.btn--ghost-invert {
  background: rgba(255,255,255,0.08);
  color: #fff; border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.btn--ghost-invert:hover { background: rgba(255,255,255,0.14); }

/* ─── Typography primitives ─────────────────────────────────────────── */
.display-xl, .display-lg {
  font-family: var(--font-display);
  color: var(--ink-0);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.display-xl { font-size: clamp(44px, 7vw, 84px); }
.display-lg { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; }

.grad-text {
  background: linear-gradient(135deg, var(--indigo), var(--violet) 55%, var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic;
}

.grad-text-soft {
  background: linear-gradient(135deg, #fff, #E0E7FF);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic;
}

.lede {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 28px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--indigo-text);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  margin-bottom: 22px;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px rgba(34,211,238,0.8);
}
.eyebrow--invert {
  color: #fff; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18);
}

.section-head {
  max-width: 780px; margin: 0 auto 56px; text-align: center;
  opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.section-head.is-in { opacity: 1; transform: translateY(0); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lede { margin: 0 auto; }

/* ─── Hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(60px, 8vw, 120px); }
.hero__halo {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 50% 20%, rgba(99,102,241,0.35), transparent 65%);
  filter: blur(40px);
}

.hero__inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 72px); align-items: center;
}
.hero__copy {
  opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero__copy.is-in { opacity: 1; transform: translateY(0); }

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 44px;
}

.hero__stats {
  list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid var(--line-1);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.stat__num {
  display: block; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px);
  color: var(--ink-0); letter-spacing: -0.02em; line-height: 1.1;
}
.stat__label {
  display: block; font-size: 11px; margin-top: 4px;
  color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.14em;
}

/* Hero showcase */
.hero__showcase {
  position: relative; min-height: 460px;
  opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) .1s, transform .7s var(--ease) .1s;
}
.hero__showcase.is-in { opacity: 1; transform: translateY(0); }

.orbit {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.1);
  pointer-events: none; animation: spin 40s linear infinite;
}
.orbit--1 { inset: 5% 10% 5% 10%; }
.orbit--2 { inset: -10% -5% -10% -5%; animation-direction: reverse; animation-duration: 60s; border-color: rgba(99,102,241,0.1); }
@keyframes spin { to { transform: rotate(360deg); } }

.show-card {
  position: absolute;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.show-card--resume {
  top: 24px; right: 4%; width: min(340px, 75%); padding: 20px;
  z-index: 3;
}

.show-card__header { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
  box-shadow: 0 4px 10px rgba(99,102,241,0.45);
}
.show-card__name { font-size: 14px; font-weight: 700; color: var(--ink-0); }
.show-card__role { font-size: 11px; color: var(--indigo-text); }
.show-card__pill {
  margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  color: var(--green); background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.3);
}
.show-card__divider { height: 1px; background: var(--line-1); margin: 14px 0; }
.show-card__section { margin-bottom: 10px; }
.show-card__label {
  display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--indigo-text); margin-bottom: 6px;
}
.bar {
  height: 5px; border-radius: 3px; margin-bottom: 4px;
  background: linear-gradient(90deg, rgba(99,102,241,0.35), rgba(139,92,246,0.2));
}
.show-card__chips { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.chip {
  font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  border: 1px solid currentColor;
}
.chip--indigo { color: var(--indigo-text); background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.3); }
.chip--green  { color: var(--green);       background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.3); }
.chip--cyan   { color: var(--cyan);        background: rgba(34,211,238,0.12); border-color: rgba(34,211,238,0.3); }

.status-card {
  position: absolute; bottom: 34px; left: 2%;
  width: 220px; padding: 14px;
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); z-index: 3;
}
.status-card__icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(52,211,153,0.15); color: var(--green);
  display: grid; place-items: center; flex-shrink: 0;
}
.status-card__title { font-size: 12px; font-weight: 600; color: var(--ink-0); margin-bottom: 6px; }
.meter { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.meter__fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: 2px; }

.recruiter-card {
  position: absolute; top: -8px; left: 2%; width: 210px; padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); z-index: 2;
}
.recruiter-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.recruiter-card__icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(99,102,241,0.18); color: var(--indigo-text); display: grid; place-items: center;
}
.recruiter-card__badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; color: var(--cyan); background: rgba(34,211,238,0.12);
}
.recruiter-card__title { font-size: 14px; font-weight: 700; color: var(--ink-0); margin-bottom: 4px; }
.recruiter-card__sub { font-size: 11px; color: var(--ink-2); }

.orb {
  position: absolute; border-radius: 50%; filter: blur(1px);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.15);
  opacity: 0.9; pointer-events: none;
}
.orb--cyan {
  width: 36px; height: 36px; top: 48%; right: -8px;
  background: radial-gradient(circle at 30% 30%, #67e8f9, var(--cyan));
}
.orb--violet {
  width: 22px; height: 22px; top: 14%; left: 34%;
  background: radial-gradient(circle at 30% 30%, #c4b5fd, var(--violet));
}
.orb--indigo {
  width: 14px; height: 14px; bottom: 8%; right: 30%;
  background: radial-gradient(circle at 30% 30%, #a5b4fc, var(--indigo));
}

.float-a { animation: float 6s ease-in-out infinite; }
.float-b { animation: float 7s ease-in-out -2s infinite; }
.float-c { animation: float 8s ease-in-out -4s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero__rule {
  margin-top: clamp(40px, 6vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5) 20%, rgba(139,92,246,0.5) 80%, transparent);
  opacity: 0.55;
}

/* ─── Trust strip ───────────────────────────────────────────────────── */
.trust { padding: clamp(40px, 6vw, 64px) 0; }
.trust__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); text-align: center; margin: 0 0 28px;
}
.trust__logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  list-style: none; padding: 0; margin: 0;
}
.logo {
  font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px);
  color: #C5C8D0;
  transition: color .2s;
}
.logo:hover { color: var(--ink-0); }

/* ─── Services bento ────────────────────────────────────────────────── */
.services {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.card {
  position: relative; overflow: hidden;
  grid-column: span 3;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border: 1px solid var(--line-1);
  border-radius: var(--radius-xl);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
  opacity: 0; transform: translateY(20px);
  animation-delay: var(--d, 0s);
}
.card.is-in { opacity: 1; transform: translateY(0); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.35);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.card--lg { grid-column: span 3; min-height: 320px; }
.card--lg h3 { font-size: 22px; }

.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.icon--indigo { background: rgba(99,102,241,0.15); color: var(--indigo-text); }
.icon--violet { background: rgba(139,92,246,0.15); color: #c4b5fd; }
.icon--cyan   { background: rgba(34,211,238,0.12); color: var(--cyan); }
.icon--green  { background: rgba(52,211,153,0.12); color: var(--green); }
.icon--white  { background: rgba(255,255,255,0.15); color: #fff; }

.card h3 {
  margin: 0 0 10px; font-family: var(--font-body);
  font-size: 18px; font-weight: 700; color: var(--ink-0); letter-spacing: -0.01em;
}
.card p {
  margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--ink-2);
}
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--indigo-text);
  text-decoration: none;
}
.card__link svg { transition: transform .2s; }
.card__link:hover svg { transform: translateX(3px); }

.card__deco {
  position: absolute; right: -18px; bottom: -28px; pointer-events: none;
  opacity: 0.85;
}
.mini-doc {
  width: 180px; padding: 14px 14px 18px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  transform: rotate(6deg);
  position: relative;
}
.mini-doc__row {
  height: 6px; border-radius: 3px; background: #E8E2D6; margin-bottom: 8px;
}
.mini-doc__row--short { width: 55%; }
.mini-doc__row--mid   { width: 72%; }
.mini-doc__row:first-child { background: linear-gradient(90deg, #6366F1, #8B5CF6); width: 40%; height: 8px; margin-bottom: 14px; }
.mini-doc__badge {
  position: absolute; top: -8px; right: -8px;
  background: var(--green); color: #0b2b21;
  font-size: 11px; font-weight: 800;
  padding: 4px 8px; border-radius: 999px;
}

.card--accent {
  grid-column: span 6;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,0.16), transparent 55%),
    linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  color: #fff; border-color: rgba(255,255,255,0.15);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 32px 40px;
}
.card--accent h3 { color: #fff; font-size: 24px; margin: 0 0 6px; font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 400; }
.card--accent p { color: rgba(255,255,255,0.8); margin: 0; max-width: 52ch; }
.card--accent .card__icon { margin: 0; }
.card__link--invert { color: #fff; white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,0.18); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); }
.card__link--invert:hover { background: rgba(255,255,255,0.28); }
.card__shine {
  position: absolute; top: -50%; left: -20%; width: 40%; height: 200%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: rotate(12deg); pointer-events: none;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine {
  0%   { transform: translateX(-40%) rotate(12deg); opacity: 0; }
  50%  { opacity: 0.6; }
  100% { transform: translateX(260%) rotate(12deg); opacity: 0; }
}

/* ─── Testimonials ──────────────────────────────────────────────────── */
.testimonials { padding: clamp(72px, 10vw, 140px) 0; }

.t-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.t-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border: 1px solid var(--line-1);
  border-radius: var(--radius-xl);
  margin: 0;
  opacity: 0; transform: translateY(20px);
}
.t-card.is-in { opacity: 1; transform: translateY(0); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.t-card:hover { border-color: var(--line-2); }

.t-card__stars {
  letter-spacing: 2px; font-size: 15px; margin-bottom: 16px;
  background: linear-gradient(90deg, var(--amber), var(--rose));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.t-card blockquote {
  margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: var(--ink-1);
  font-family: var(--font-display); font-style: italic; font-size: 18px;
  letter-spacing: -0.005em;
}
.t-card figcaption {
  display: flex; align-items: center; gap: 12px;
}
.t-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 13px;
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
  flex-shrink: 0;
}
.t-card figcaption strong {
  display: block; font-size: 13px; font-weight: 700; color: var(--ink-0);
}
.t-card figcaption em {
  display: block; font-size: 11px; color: var(--ink-3); font-style: normal;
  margin-top: 2px; letter-spacing: 0.02em;
}

.backers { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line-1); }

/* ─── CTA banner ────────────────────────────────────────────────────── */
.cta-banner { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 120px); }

.cta {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 100px) clamp(28px, 5vw, 80px);
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255,255,255,0.15), transparent 55%),
    linear-gradient(135deg, var(--indigo-deep) 0%, var(--violet) 60%, #5B21B6 100%);
  border-radius: clamp(24px, 3vw, 40px);
  box-shadow: 0 32px 80px rgba(79,70,229,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
  color: #fff;
}

.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__blob {
  position: absolute; border-radius: 50%; filter: blur(60px);
}
.cta__blob--a { top: -30%; right: -10%; width: 420px; height: 420px; background: rgba(34,211,238,0.35); }
.cta__blob--b { bottom: -40%; left: -10%; width: 480px; height: 480px; background: rgba(255,255,255,0.15); }

.cta__shape {
  position: absolute; border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.06);
}
.cta__shape--square {
  width: 88px; height: 88px; top: 18%; left: 6%;
  border-radius: 16px; transform: rotate(14deg);
  animation: floatShape 8s ease-in-out infinite;
}
.cta__shape--circle {
  width: 64px; height: 64px; bottom: 16%; right: 10%;
  border-radius: 50%;
  animation: floatShape 10s ease-in-out -3s infinite;
}
.cta__shape--ring {
  width: 140px; height: 140px; top: 10%; right: 16%;
  border-radius: 50%; background: transparent; border-width: 2px;
  border-color: rgba(255,255,255,0.12);
  animation: floatShape 12s ease-in-out -5s infinite;
}
@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-18px) rotate(10deg); }
}

.cta__content { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.cta__content .display-lg { color: #fff; font-size: clamp(36px, 6vw, 64px); }
.cta__content .display-lg em { font-style: italic; }
.cta__content > p { color: rgba(255,255,255,0.82); font-size: 17px; margin: 0 0 32px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta__fineprint { margin: 28px 0 0; font-size: 12px; color: rgba(255,255,255,0.6); }

/* ─── Footer ────────────────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-1);
  background: color-mix(in srgb, var(--bg-0) 90%, transparent);
  padding: 64px 0 40px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
}
.footer__tag { font-size: 13px; color: var(--ink-2); margin: 16px 0 20px; max-width: 32ch; }
.footer__copy { font-size: 11px; color: var(--ink-3); }
.footer__col h3 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-0); margin: 0 0 16px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 13px; color: var(--ink-2); text-decoration: none;
  transition: color .15s;
}
.footer__col a:hover { color: var(--ink-0); }

/* ─── Utilities ─────────────────────────────────────────────────────── */
.hide-sm { display: inline-flex; }

/* ─── Theme toggle button ──────────────────────────────────────────── */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  background: rgba(255,255,255,0.03);
  color: var(--ink-1);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s var(--ease);
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.06);
  color: var(--ink-0);
  border-color: var(--line-3);
}
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.35);
}

html[data-theme='dark']  .theme-toggle__moon { display: none; }
html[data-theme='light'] .theme-toggle__sun  { display: none; }

/* ─── Light-theme surface & atmosphere overrides ───────────────────── */
html[data-theme='light'] .theme-toggle {
  background: rgba(14,18,22,0.03);
}
html[data-theme='light'] .theme-toggle:hover {
  background: rgba(14,18,22,0.06);
}

html[data-theme='light'] .topnav {
  background: color-mix(in srgb, #FFFFFF 82%, transparent);
}
html[data-theme='light'] .mobile-menu {
  background: color-mix(in srgb, #FFFFFF 96%, transparent);
}
html[data-theme='light'] .nav a:hover {
  background: rgba(14,18,22,0.04);
}
html[data-theme='light'] .mobile-menu a:hover {
  background: rgba(14,18,22,0.04);
}

/* Aurora blobs — softer, lighter pastels that read on a light bg */
html[data-theme='light'] .aurora { opacity: 0.55; filter: blur(90px); }
html[data-theme='light'] .aurora--a {
  background: radial-gradient(circle, rgba(79,82,217,0.32), transparent 70%);
}
html[data-theme='light'] .aurora--b {
  background: radial-gradient(circle, rgba(124,77,240,0.26), transparent 70%);
}
html[data-theme='light'] .aurora--c {
  background: radial-gradient(circle, rgba(8,145,178,0.22), transparent 70%);
}
html[data-theme='light'] .aurora--d {
  background: radial-gradient(circle, rgba(5,150,105,0.18), transparent 70%);
}

/* Dotgrid, grain, constellation, halo — re-tune for light */
html[data-theme='light'] .dotgrid {
  background-image: radial-gradient(rgba(14,18,22,0.07) 1px, transparent 1px);
}
html[data-theme='light'] .grain { display: none; }
html[data-theme='light'] .constellation { opacity: 0.35; }
html[data-theme='light'] .hero__halo {
  background: radial-gradient(ellipse 50% 40% at 50% 20%, rgba(79,82,217,0.22), transparent 65%);
}
html[data-theme='light'] .hero__rule {
  background: linear-gradient(90deg, transparent, rgba(79,82,217,0.35) 20%, rgba(124,77,240,0.35) 80%, transparent);
}

/* Orbit dashed rings — invert tint */
html[data-theme='light'] .orbit { border-color: rgba(14,18,22,0.12); }
html[data-theme='light'] .orbit--2 { border-color: rgba(79,82,217,0.18); }

/* Bento + testimonial cards — solid white with soft shadow */
html[data-theme='light'] .card,
html[data-theme='light'] .t-card {
  background: #FFFFFF;
  border-color: var(--line-2);
  box-shadow: 0 1px 2px rgba(14,18,22,0.04), 0 8px 20px rgba(14,18,22,0.06);
}
html[data-theme='light'] .card:hover {
  background: #FFFFFF;
  border-color: rgba(79,82,217,0.35);
  box-shadow: 0 1px 2px rgba(14,18,22,0.05), 0 14px 32px rgba(79,82,217,0.14);
}
html[data-theme='light'] .t-card:hover {
  border-color: rgba(14,18,22,0.16);
}

/* Hero showcase cards — glass on light means frosted white */
html[data-theme='light'] .show-card,
html[data-theme='light'] .status-card,
html[data-theme='light'] .recruiter-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  border-color: var(--line-2);
  box-shadow: 0 2px 6px rgba(14,18,22,0.05), 0 18px 40px rgba(14,18,22,0.10);
}

html[data-theme='light'] .meter {
  background: rgba(14,18,22,0.08);
}

/* Icon chips — bump contrast on white surfaces */
html[data-theme='light'] .icon--indigo { background: rgba(79,82,217,0.12); color: var(--indigo-deep); }
html[data-theme='light'] .icon--violet { background: rgba(124,77,240,0.12); color: #6D28D9; }
html[data-theme='light'] .icon--cyan   { background: rgba(8,145,178,0.12);  color: #0E7490; }
html[data-theme='light'] .icon--green  { background: rgba(5,150,105,0.12);  color: #047857; }

/* Chips */
html[data-theme='light'] .chip--indigo { color: var(--indigo-deep); background: rgba(79,82,217,0.08); border-color: rgba(79,82,217,0.28); }
html[data-theme='light'] .chip--green  { color: #047857;            background: rgba(5,150,105,0.08); border-color: rgba(5,150,105,0.28); }
html[data-theme='light'] .chip--cyan   { color: #0E7490;            background: rgba(8,145,178,0.08); border-color: rgba(8,145,178,0.28); }

/* Eyebrow pill and nav sub-pill */
html[data-theme='light'] .eyebrow {
  color: var(--indigo-deep);
  background: rgba(79,82,217,0.08);
  border-color: rgba(79,82,217,0.22);
}
html[data-theme='light'] .brand__sub {
  color: var(--indigo-deep);
  background: rgba(79,82,217,0.08);
  border-color: rgba(79,82,217,0.22);
}
html[data-theme='light'] .show-card__role { color: var(--indigo-deep); }
html[data-theme='light'] .show-card__label { color: var(--indigo-deep); }
html[data-theme='light'] .show-card__pill { color: #047857; background: rgba(5,150,105,0.10); border-color: rgba(5,150,105,0.28); }
html[data-theme='light'] .recruiter-card__icon { background: rgba(79,82,217,0.10); color: var(--indigo-deep); }
html[data-theme='light'] .recruiter-card__badge { color: #0E7490; background: rgba(8,145,178,0.10); }
html[data-theme='light'] .status-card__icon { background: rgba(5,150,105,0.12); color: #047857; }
html[data-theme='light'] .card__link { color: var(--indigo-deep); }

/* Footer */
html[data-theme='light'] .footer {
  background: color-mix(in srgb, var(--bg-1) 92%, transparent);
}

/* Ghost button — swap opacity direction */
html[data-theme='light'] .btn--ghost {
  background: rgba(14,18,22,0.03);
  color: var(--ink-1);
  border-color: var(--line-2);
}
html[data-theme='light'] .btn--ghost:hover {
  background: rgba(14,18,22,0.06);
  color: var(--ink-0);
  border-color: var(--line-3);
}

/* Menu toggle on light */
html[data-theme='light'] .menu-toggle { border-color: var(--line-2); }

/* Primary buttons — tune shadow for light bg */
html[data-theme='light'] .btn--primary { box-shadow: 0 8px 22px rgba(79,82,217,0.28); }
html[data-theme='light'] .btn--primary:hover { box-shadow: 0 12px 32px rgba(79,82,217,0.40); }

/* Selection */
html[data-theme='light'] ::selection { background: rgba(79,82,217,0.25); color: var(--ink-0); }

/* Mini-doc shadow (white doc on white card needs stronger border) */
html[data-theme='light'] .mini-doc {
  box-shadow: 0 10px 28px rgba(14,18,22,0.14), 0 0 0 1px rgba(14,18,22,0.05);
}

/* Trust logos — darker on white for legibility */
html[data-theme='light'] .logo { color: #4A5260; }
html[data-theme='light'] .logo:hover { color: var(--ink-0); }
html[data-theme='light'] .trust__label { color: var(--ink-2); }

/* Stat numbers — keep ink-0 (already dark in light theme); labels darker */
html[data-theme='light'] .stat__label { color: var(--ink-2); }

/* Show-card status pill text — already handled */
html[data-theme='light'] .show-card__name { color: var(--ink-0); }
html[data-theme='light'] .recruiter-card__title { color: var(--ink-0); }
html[data-theme='light'] .recruiter-card__sub { color: var(--ink-2); }
html[data-theme='light'] .status-card__title { color: var(--ink-0); }

/* Footer copy + columns */
html[data-theme='light'] .footer__tag { color: var(--ink-2); }
html[data-theme='light'] .footer__copy { color: var(--ink-3); }
html[data-theme='light'] .footer__col a { color: var(--ink-2); }
html[data-theme='light'] .footer__col a:hover { color: var(--ink-0); }

/* ─── Responsive breakpoints ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav a { padding: 7px 10px; font-size: 12.5px; }
  .card--lg .card__deco { display: none; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__showcase { min-height: 520px; max-width: 520px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card--lg { grid-column: span 1; min-height: auto; }
  .card--lg { grid-column: 1 / -1; min-height: 300px; }
  .card--accent { grid-column: 1 / -1; grid-template-columns: 1fr; text-align: center; padding: 32px; }
  .card--accent .card__icon { margin: 0 auto; }
  .card--accent p { margin: 0 auto; }
  .t-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .brand__sub { display: none; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hide-sm { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat__label { font-size: 10px; }

  .hero__showcase { min-height: 440px; }
  .show-card--resume { right: 0; width: 80%; }
  .recruiter-card { left: 0; width: 60%; }
  .status-card { left: 12%; width: 60%; }

  .card { padding: 22px; }
  .card--lg { min-height: auto; }
  .card--lg .card__deco { display: none; }

  .cta { padding: 40px 22px; }
  .cta__shape--ring { display: none; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats li:last-child { grid-column: 1 / -1; }
}

/* ─── Motion preferences ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .aurora, .constellation, .orbit, .float-a, .float-b, .float-c,
  .card__shine, .cta__shape { animation: none !important; }
}

/* ─── Print — don't render decorative elements ─────────────────────── */
@media print {
  .atmosphere, .orbit, .orb, .cta__bg, .card__shine { display: none !important; }
  .topnav, .footer { border-color: #ccc; }
  body { background: #fff; color: #111; }
}
