/* ============================================================
   MasterPrep AI — Direction A: "Aurora" (light premium)
   Marketing design system. Prototype only — no app code.
   Evolves the product design system: pearl-white + signal-blue
   + voice-spectrum orb. References: Linear, Stripe, Vercel (light).
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --ink:        #0a0b0f;       /* primary text + dark CTA */
  --ink-2:      #2c2f3a;
  --muted:      #5b6072;       /* secondary text */
  --muted-2:    #878da0;       /* tertiary */
  --line:       rgba(10,11,15,0.08);
  --line-2:     rgba(10,11,15,0.12);
  --bg:         #fbfbfd;       /* page */
  --bg-2:       #f4f5f9;       /* alt section */
  --card:       #ffffff;
  --blue:       #0447ff;       /* signal blue */
  --blue-2:     #3a74da;
  --blue-ink:   #052a9e;
  --blue-soft:  rgba(4,71,255,0.07);
  --blue-line:  rgba(4,71,255,0.16);
  --violet:     #6d28d9;
  --cyan:       #22b8d0;
  --amber:      #f59e0b;
  --green:      #16a34a;
  --shadow-sm:  0 1px 2px rgba(10,11,15,.04), 0 1px 1px rgba(10,11,15,.03);
  --shadow:     0 4px 16px rgba(10,11,15,.06), 0 1px 3px rgba(10,11,15,.04);
  --shadow-lg:  0 24px 60px -16px rgba(10,11,15,.18), 0 8px 24px -12px rgba(10,11,15,.10);
  --shadow-blue:0 24px 70px -20px rgba(4,71,255,.45);
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-pill: 999px;
  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1,h2,h3,h4 { letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; }
::selection { background: rgba(4,71,255,.16); }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--bg-2); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-ink); background: var(--blue-soft); border: 1px solid var(--blue-line);
  padding: 6px 13px; border-radius: var(--r-pill);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(4,71,255,.14); }
.h-xl { font-size: clamp(40px, 6vw, 70px); }
.h-lg { font-size: clamp(32px, 4.6vw, 50px); }
.h-md { font-size: clamp(25px, 3vw, 34px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.6; }
.sec-head { max-width: 720px; margin: 0 auto 56px; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 { margin-bottom: 16px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -8px rgba(4,71,255,.55); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(4,71,255,.6); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-link { color: var(--blue-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.btn-link:hover { gap: 9px; }
.btn-link svg { transition: transform .2s var(--ease); }

/* ---------- 5. Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,251,253,0.72); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(251,251,253,0.88); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 22px; width: auto; }               /* horizontal lockup — nav */
.foot-brand .brand-logo { height: 30px; }                                /* slightly larger in footer */
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.nav-links a { font-size: 14.5px; font-weight: 550; color: var(--muted); padding: 8px 9px; border-radius: 8px; white-space: nowrap; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: rgba(10,11,15,.04); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.nav-cta-bar { display: none; }
.nav-menu { display: contents; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero-aura {
  position: absolute; inset: -20% -10% auto -10%; height: 760px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(48% 60% at 22% 18%, rgba(4,71,255,.16), transparent 70%),
    radial-gradient(40% 55% at 82% 8%, rgba(109,40,217,.14), transparent 70%),
    radial-gradient(50% 60% at 60% 50%, rgba(34,184,208,.10), transparent 70%);
  filter: blur(8px);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 28%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 28%, #000 0%, transparent 78%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 20px 0 22px; }
.hero h1 .grad { background: linear-gradient(100deg, var(--blue) 10%, var(--violet) 60%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--muted-2); font-size: 13.5px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; background: linear-gradient(135deg,#c7d2fe,#a5b4fc); box-shadow: var(--shadow-sm); }
.dual-toggle { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-pill); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.dual-toggle button { font-family: var(--ff); border: 0; background: transparent; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 8px 16px; border-radius: var(--r-pill); transition: .2s; }
.dual-toggle button.active { background: var(--ink); color: #fff; }
/* Match the hero CTA height to the For Companies/For Candidates toggle (~47px) */
.dual-toggle ~ [data-track-pane] .btn-lg { padding-top: 10px; padding-bottom: 10px; }

/* Hero visual: orb + floating cards */
.hero-visual { position: relative; height: 460px; }
.orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: conic-gradient(from 180deg,
    #3d75d8, #2a68d2, #75bee5, #52d0e9, #2159ba, #3a74da,
    #6cd7ec, #5ab9f1, #33a1e5, #1f5fcf, #2c54ca, #3a9ecf, #3167c5, #ade8f3, #3d75d8);
  filter: blur(2px) saturate(1.05);
  box-shadow: var(--shadow-blue), inset 0 0 60px rgba(255,255,255,.35);
  animation: spin 22s linear infinite;
}
.orb::after { content:""; position:absolute; inset: 14%; border-radius:50%; background: radial-gradient(circle at 38% 32%, rgba(255,255,255,.85), rgba(255,255,255,0) 55%); }
.orb-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 380px; height: 380px; border-radius: 50%; border: 1px solid var(--blue-line); animation: pulse 4s var(--ease) infinite; }
.orb-ring.r2 { width: 460px; height: 460px; animation-delay: 1.2s; opacity:.6; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes pulse { 0%,100%{ opacity:.5; } 50%{ opacity:.9; transform: translate(-50%,-50%) scale(1.04);} }
.float-card {
  position: absolute; width: 234px; box-sizing: border-box;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.7); border-radius: 14px;
  padding: 12px 14px; display: flex; gap: 11px; align-items: center;
  animation: floaty 7s var(--ease) infinite; will-change: transform;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color:#fff; box-shadow: var(--shadow-sm); }
.float-card .fc-txt { min-width: 0; }
.float-card .t { font-weight: 650; font-size: 13px; letter-spacing: -.01em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-card .s { color: var(--muted); font-size: 11.5px; line-height: 1.3; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-card.fc1 { top: 4%; left: -8%; animation-delay: 0s; }
.float-card.fc2 { top: 40%; right: -10%; animation-delay: 1.6s; }
.float-card.fc3 { bottom: 6%; left: -2%; animation-delay: 3.2s; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-8px);} }

/* ---------- 7. Logo wall ---------- */
.logos { padding: 40px 0 8px; }
.logos p { text-align: center; color: var(--muted-2); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 26px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.logo-row img { height: 26px; width: auto; opacity: .62; filter: grayscale(1); transition: .25s; }
.logo-row img:hover { opacity: 1; filter: grayscale(0); }

/* ---------- 8. Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15px; }
/* Dual-track cards: equal-height columns with the CTA pinned to the bottom so
   both buttons align on the same baseline regardless of list length. */
.dual-track .card { display: flex; flex-direction: column; }
.dual-track .card .feat-list { margin-bottom: 28px; }
/* keep the pill badge + CTA hugging their content (flex column would otherwise stretch them) */
.dual-track .card .badge-soft { align-self: flex-start; }
.dual-track .card .btn { margin-top: auto; align-self: flex-start; }
.ic-blue { background: linear-gradient(135deg,#0447ff,#3a74da); }
.ic-violet { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.ic-cyan { background: linear-gradient(135deg,#0891b2,#22b8d0); }
.ic-amber { background: linear-gradient(135deg,#d97706,#f59e0b); }
.ic-green { background: linear-gradient(135deg,#15803d,#22c55e); }
.ic-ink { background: linear-gradient(135deg,#1f2230,#3c4154); }

/* feature with bullets */
.feat-list { list-style: none; }
.feat-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink-2); font-size: 15px; }
.feat-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft); }
.feat-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* ---------- 9. Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip .split-media { order: 2; }
.split-media {
  border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(160deg,#fff, var(--bg-2));
  box-shadow: var(--shadow-lg); padding: 26px; position: relative; overflow: hidden; min-height: 320px;
}
.split h2 { margin: 16px 0 14px; }
.split .lead { margin-bottom: 22px; }

/* mock UI chrome (for screenshots) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d9e3; display: inline-block; }
.mock-bar .url { margin-left: 10px; font-size: 12px; color: var(--muted-2); background:#fff; border:1px solid var(--line); border-radius: 6px; padding: 3px 10px; }
.mock-body { padding: 18px; }

/* score bars */
.score-row { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.score-row .lab { width: 120px; font-size: 13px; color: var(--muted); }
.score-track { flex:1; height: 8px; border-radius: 99px; background: var(--bg-2); overflow:hidden; }
.score-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg,var(--blue),var(--cyan)); }
.score-row .val { font-size: 13px; font-weight: 700; width: 34px; text-align: right; }

/* ---------- 10. Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.step { position: relative; padding-top: 18px; }
.step .num { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color:#fff; font-weight:700; display:grid; place-items:center; margin-bottom: 16px; box-shadow: var(--shadow); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.steps.line .step::before { content:""; position:absolute; top: 39px; left: 56px; right: -13px; height: 1px; background: var(--line-2); }
.steps.line .step:last-child::before { display: none; }

/* ---------- 11. Industries / roles chips ---------- */
.chip-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 550; box-shadow: var(--shadow-sm);
  transition: .2s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--blue-line); box-shadow: var(--shadow); }
.chip .e { font-size: 17px; }
.ind-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.ind {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-align: center; transition: .25s;
}
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ind .e { font-size: 30px; margin-bottom: 12px; }
.ind .t { font-weight: 650; font-size: 15px; }
.ind .s { color: var(--muted-2); font-size: 12.5px; margin-top: 3px; }

/* ---------- 12. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat .n { font-size: clamp(36px,4.4vw,52px); font-weight: 750; letter-spacing: -.03em; background: linear-gradient(120deg,var(--ink),var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* ---------- 13. Testimonials ---------- */
.tcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px;
  box-shadow: var(--shadow); position: relative;
}
.tcard .quote-mark { font-size: 60px; line-height: .4; color: var(--blue-line); font-family: Georgia, serif; }
.tcard blockquote { font-size: 18px; line-height: 1.62; color: var(--ink-2); margin: 12px 0 24px; font-weight: 450; }
.tcard .who { display: flex; align-items: center; gap: 14px; }
.tcard .who img { height: 26px; width: auto; }
.tcard .who .nm { font-weight: 700; font-size: 14.5px; }
.tcard .who .rl { color: var(--muted); font-size: 13px; }
.tcard .who .sep { width: 1px; height: 30px; background: var(--line-2); }

/* Testimonial carousel */
.tcar { position: relative; }
.tcar-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.tcar-viewport::-webkit-scrollbar { display: none; }
.tcar-track { display: flex; gap: 24px; padding: 6px 2px 2px; }
.tcar-slide { flex: 0 0 calc(50% - 12px); scroll-snap-align: start; display: flex; flex-direction: column; padding: 30px; }
.tcar-slide .quote-mark { margin-bottom: 0; }
.tcar-slide blockquote { font-size: 16.5px; line-height: 1.6; margin: 10px 0 22px; }
.tcar-slide .who { margin-top: auto; }
.tcar-avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; }
.tcar-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.tcar-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .18s, background .18s, transform .18s, opacity .18s; box-shadow: var(--shadow); }
.tcar-arrow:hover { border-color: var(--blue); color: var(--blue-ink); transform: translateY(-1px); }
.tcar-arrow:disabled { opacity: .4; cursor: default; transform: none; }
.tcar-dots { display: flex; align-items: center; gap: 8px; }
.tcar-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: var(--line-2); cursor: pointer; transition: background .18s, width .18s; }
.tcar-dot.active { background: var(--blue); width: 22px; border-radius: 99px; }
@media (max-width: 780px) {
  .tcar-slide { flex: 0 0 100%; }
}

/* Signal-breakdown product mock (cheating detection) */
.sigmock { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; }
.sigmock-head { background: linear-gradient(135deg, #12141c, #1f2230); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.sigmock-head .verdict { font-size: 24px; font-weight: 750; letter-spacing: -.03em; color: #34d399; line-height: 1; }
.sigmock-head .risk-pill { font-size: 10.5px; font-weight: 650; color: #cbd5e1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 5px 10px; border-radius: 99px; letter-spacing: .04em; white-space: nowrap; }
.sigmock-head .bar-wrap { margin-left: auto; width: 150px; flex: none; }
.sigmock-head .bar-labels { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .07em; color: #64748b; font-weight: 700; margin-bottom: 5px; text-transform: uppercase; }
.sigmock-head .bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.sigmock-head .bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #34d399, #10b981); }
.sigmock-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sigmock-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); padding: 2px 4px; }
.sig-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.sig-row.high { border-color: rgba(220,38,38,.22); background: rgba(220,38,38,.03); }
.sig-row-top { display: flex; align-items: center; gap: 10px; }
.sig-name { font-weight: 650; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.sig-name .si { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; font-size: 12px; }
.sig-badge { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.sig-badge.high { color: #dc2626; background: rgba(220,38,38,.1); }
.sig-badge.low { color: #059669; background: rgba(16,185,129,.12); }
.sig-desc { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin: 7px 0 0; }
.sig-evidence { margin-top: 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); padding: 9px 11px; }
.sig-evidence .lab { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; display: block; margin-bottom: 4px; }
.sig-evidence p { font-size: 11.5px; color: var(--ink-2); line-height: 1.5; margin: 0; }

/* Demo request modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay { position: absolute; inset: 0; background: rgba(10,11,15,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal-dialog { position: relative; z-index: 1; width: 100%; max-width: 480px; max-height: calc(100vh - 48px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 30px; animation: modalIn .22s cubic-bezier(.22,.61,.36,1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: none; background: var(--bg-2); border-radius: 50%; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-head h2 { font-size: 22px; margin-bottom: 6px; }
.modal-head p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.demo-form .field { margin-bottom: 13px; }
.demo-form label, .demo-form .field-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.demo-form .req { color: #dc2626; }
.demo-form input, .demo-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.demo-form input:focus, .demo-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.demo-form textarea { resize: vertical; }
.demo-form .field-error { display: none; color: #dc2626; font-size: 12px; margin-top: 5px; }
.demo-form .field.invalid .field-error { display: block; }
.demo-form .field.invalid input { border-color: #dc2626; }
.demo-form .field.invalid input:focus { box-shadow: 0 0 0 3px rgba(220,38,38,.13); }
.demo-form .check { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 450; color: var(--ink-2); margin-bottom: 7px; cursor: pointer; }
.demo-form .check input { width: auto; margin: 0; }
.demo-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-form .consent { font-size: 12px; color: var(--muted); margin: 8px 0 18px; }
.demo-form .consent a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Legal / prose pages (privacy, terms) */
.legal { max-width: 760px; margin: 0 auto; }
.legal .legal-meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.legal h2 { font-size: 21px; margin: 38px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; color: var(--ink-2); }
.legal p { color: var(--ink-2); font-size: 15.5px; line-height: 1.72; margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; margin-bottom: 6px; }
.legal a { color: var(--blue-ink); font-weight: 550; text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--ink); font-weight: 650; }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.form-status { margin-top: 14px; font-size: 13.5px; font-weight: 550; text-align: center; }
.form-status:empty { margin: 0; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #dc2626; }
/* Demo modal success state — replaces the form after submit */
#demoModal [hidden] { display: none !important; }
.demo-success { text-align: center; padding: 6px 4px 2px; }
.demo-success .sx-icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg,#10b981,#34d399); display: grid; place-items: center; margin: 6px auto 18px; box-shadow: 0 10px 24px -8px rgba(16,185,129,.5); }
.demo-success h2 { font-size: 22px; margin-bottom: 8px; }
.demo-success p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0 auto 22px; max-width: 320px; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; text-align: center;
  background: radial-gradient(120% 140% at 20% 0%, #143 0%, transparent 40%), linear-gradient(120deg,#06122f,#0a1f5e 55%, #0447ff);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band::before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 22px 22px; opacity:.4; mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent); }
.cta-band h2 { font-size: clamp(28px,3.6vw,42px); margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 560px; margin: 0 auto 28px; position: relative; }
.cta-band .btn-ghost { background: #fff; border-color: transparent; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- 15. Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 280px; margin: 14px 0 18px; }
.foot-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 16px; font-weight: 650; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 11px; transition: color .15s; }
.foot-col a:hover { color: var(--ink); }
.foot-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13.5px; flex-wrap: wrap; gap: 12px; }

/* ---------- 16. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s;} .reveal[data-d="2"]{ transition-delay:.16s;}
.reveal[data-d="3"]{ transition-delay:.24s;} .reveal[data-d="4"]{ transition-delay:.32s;}

/* page hero (subpages) */
.page-hero { padding: 80px 0 40px; text-align: center; position: relative; }
.page-hero .lead { max-width: 620px; margin: 16px auto 0; }
.badge-soft { display:inline-block; padding: 4px 11px; border-radius: 99px; font-size: 12px; font-weight:650; background: var(--blue-soft); color: var(--blue-ink); border:1px solid var(--blue-line); }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: start; }
.price { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); position: relative; transition: .25s; }
.price:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price.feat { border-color: var(--blue); box-shadow: var(--shadow-blue); }
.price.feat .tag { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background: var(--blue); color:#fff; font-size:12px; font-weight:650; padding:5px 14px; border-radius:99px; }
.price .pname { font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.price .amt { font-size: 44px; font-weight: 760; letter-spacing: -.03em; margin: 14px 0 4px; }
.price .amt span { font-size: 15px; font-weight: 500; color: var(--muted); }
.price .desc { color: var(--muted); font-size: 14px; min-height: 40px; margin-bottom: 18px; }
.price .feat-list { margin: 20px 0 24px; }
.price .btn { width: 100%; }

/* misc */
.divider { height:1px; background: var(--line); border:0; margin: 0; }
.muted { color: var(--muted); }
.mt-s{margin-top:10px} .mt-m{margin-top:20px} .mt-l{margin-top:36px}
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; list-style: none; display:flex; justify-content: space-between; align-items:center; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--muted-2); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* ---------- 17. Responsive ---------- */
/* Hero: collapse to one column AND drop the decorative orb across the whole
   tablet range — crucially including iPad *landscape* (~1024–1194px), which is
   wider than the 980px breakpoint below. In two-column at those widths the orb's
   rings (460px) and negatively-offset floating cards overflow and look broken.
   Both must happen together: hiding the orb while keeping two columns would
   leave an empty right half. Kept intact on real desktop/laptops (>1200px). */
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual, .float-card { display: none; }
}
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  /* On a flipped split, keep the media after the text when stacked, so every
     section reads text → image (no two mocks landing back-to-back). */
  .split.flip .split-media { order: 2; }
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .ind-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .steps, .steps.line { grid-template-columns: 1fr; }
  .steps.line .step::before { display:none; }
  .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
/* Nav collapses to logo + hamburger EARLIER than the content grids: the 5 section
   links + 2 CTAs need ~1150px on one line, so below that we use the dropdown rather
   than cram (which was wrapping labels onto two lines). */
@media (max-width: 1160px) {
  .nav-inner { gap: 14px; }
  .nav-cta-bar { display: inline-flex; margin-left: auto; white-space: nowrap; }
  .nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; }
  /* Book a demo now lives in the header bar on mobile — hide the duplicate inside the dropdown */
  .nav-cta [data-open-demo] { display: none; }
  .nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav-inner.open .nav-menu { display: flex; }
  .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; }
  .nav-links a { font-size: 16px; padding: 13px 10px; border-radius: 10px; }
  .nav-cta { flex-direction: column; align-items: center; gap: 10px; margin: 12px 0 2px; }
  .nav-cta .btn { width: auto; justify-content: center; padding: 12px 24px; font-size: 15px; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .foot-brand { grid-column: 1 / -1; margin-bottom: 4px; }
  .tcard blockquote { font-size: 16px; }
  .cta-band { padding: 44px 24px; }
  /* .hero-visual / .float-card already hidden at the 1200px breakpoint */
  .chips-block { display: none; }   /* breadth already conveyed by the industry grid above */
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } .reveal { transition: none; } }

/* ============================================================
   18. POLISH LAYER — v1.1 (premium refinement pass)
   Appended last so it wins the cascade. Pure enhancement.
   ============================================================ */

/* — Crisper Inter rendering + nicer numerals — */
body { font-feature-settings: "cv05" 1, "cv11" 1, "ss01" 1; }
.stat .n, .price .amt, .score-row .val { font-variant-numeric: tabular-nums; }

/* — Typographic line-breaking: balanced headings, tidy paragraphs — */
h1, h2, h3, .sec-head p { text-wrap: balance; }
.lead, .card p, .step p, .foot-brand p, .faq p { text-wrap: pretty; }

/* — Tighten the very large display sizes a touch for elegance — */
.h-xl { letter-spacing: -0.032em; line-height: 1.04; }
.h-lg { letter-spacing: -0.028em; }
.eyebrow { letter-spacing: 0.13em; }

/* — Anchored sections clear the sticky nav — */
.section, .page-hero, .hero { scroll-margin-top: 88px; }

/* — Accessible, on-brand focus ring everywhere — */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

/* — Premium primary button: subtle gradient + top highlight + press — */
.btn-primary { background: linear-gradient(180deg, #1b1d27, var(--ink)); position: relative; }
.btn-primary::after { content:""; position:absolute; inset:0; border-radius:inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); pointer-events:none; }
.btn-blue { background: linear-gradient(180deg, #2b62ff, var(--blue)); }
.btn-blue::after { content:""; position:absolute; inset:0; border-radius:inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.28); pointer-events:none; }
.btn { position: relative; }
.btn:active { transform: translateY(0) scale(.985); }

/* — Cards: refined hover with a hairline gradient top-edge reveal — */
.card { position: relative; }
.card::before {
  content:""; position:absolute; inset:0 0 auto 0; height:1px; border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg, transparent, rgba(4,71,255,.5), transparent);
  opacity:0; transition: opacity .3s var(--ease);
}
.card:hover::before { opacity:1; }

/* — Industry & chip tiles: warmer hover lift — */
.ind, .chip { will-change: transform; }
.ind:hover { border-color: var(--blue-line); }

/* — Logo wall: even optical sizing + calmer baseline — */
.logo-row { gap: 40px 52px; }
.logo-row img { height: 24px; opacity: .55; }
.logos p { color: var(--muted-2); }

/* — Section rhythm: a hair tighter for denser, premium pacing — */
.section { padding: 92px 0; }
@media (max-width: 620px) { .section { padding: 60px 0; } }

/* — Eyebrow dot: softer pulse glow — */
.eyebrow .dot { animation: dotPulse 2.6s var(--ease) infinite; }
@keyframes dotPulse { 0%,100%{ box-shadow:0 0 0 3px rgba(4,71,255,.14);} 50%{ box-shadow:0 0 0 5px rgba(4,71,255,.06);} }

/* — Stronger, cleaner hero atmosphere — */
.hero-aura { opacity: .9; }
.float-card { box-shadow: 0 18px 44px -16px rgba(10,11,15,.22), 0 4px 10px -4px rgba(10,11,15,.10), inset 0 1px 0 rgba(255,255,255,.85); border-color: rgba(255,255,255,.7); }

/* — Testimonial cards: subtle inner sheen — */
.tcard { background: linear-gradient(180deg, #fff, var(--bg)); }
.tcard blockquote { letter-spacing: -0.01em; }

/* — CTA band: richer, deeper gradient + crisper grain — */
.cta-band { background: radial-gradient(130% 150% at 18% -10%, rgba(34,184,208,.35) 0%, transparent 42%), linear-gradient(120deg, #050f29 0%, #0a1f5e 52%, #0b3bd6 100%); }

/* — Nav: faint elevation when scrolled — */
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(10,11,15,.3); }

/* — Mock UI: a touch more depth — */
.mock { box-shadow: 0 12px 32px -14px rgba(10,11,15,.16), 0 2px 6px -2px rgba(10,11,15,.08); }

/* — Premium custom scrollbar (desktop) — */
@media (pointer: fine) {
  * { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
  *::-webkit-scrollbar { width: 11px; height: 11px; }
  *::-webkit-scrollbar-thumb { background: rgba(10,11,15,.18); border: 3px solid var(--bg); border-radius: 99px; }
  *::-webkit-scrollbar-thumb:hover { background: rgba(10,11,15,.3); }
}

/* — Price feature card glow refinement — */
.price.feat { box-shadow: 0 30px 70px -28px rgba(4,71,255,.5), 0 0 0 1px var(--blue); }

/* — Smooth, consistent link & interactive transitions — */
.nav-links a, .foot-col a, .btn-link, .logo-row img { transition: all .18s var(--ease); }

/* — Tame illustrative [demo] markers into quiet superscripts — */
sup { font-size: 0.62em; font-weight: 600; color: var(--muted-2); letter-spacing: .02em; vertical-align: super; }

/* — Gradient headline: smoother stops + crisp on retina —
   NB: must re-declare background-clip here; the `background` shorthand above
   resets it to border-box, which would otherwise paint a solid block. */
.hero h1 .grad { background: linear-gradient(100deg, var(--blue) 6%, var(--violet) 52%, var(--cyan) 96%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ============================================================
   19. TRACK A — production polish (nav active state, a11y)
   ============================================================ */

/* — Active nav link: marks the current page — */
.nav-links a.active,
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 650; background: rgba(10,11,15,.04); }

/* — Skip-to-content link: visible only on keyboard focus — */
.skip-link {
  position: absolute; left: 12px; top: -56px; z-index: 200;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  padding: 10px 16px; border-radius: var(--r-sm); box-shadow: var(--shadow-lg);
  transition: top .18s var(--ease);
}
.skip-link:focus-visible { top: 12px; outline: 2px solid var(--blue); outline-offset: 3px; }
