/* ============================================================
   Course Compass — Marketing Site Design System
   Brand: navy #0F193A · needle-blue #599FFE · ice #B0D6FF
   Type: Newsreader (display) · Hanken Grotesk (UI) · JetBrains Mono (labels)
   ============================================================ */

:root {
  /* Brand */
  --navy:        #0F193A;
  --navy-700:    #16213d;
  --navy-600:    #1d2c50;
  --blue:        #2f66e6;   /* strong interactive blue (AA on white) */
  --blue-600:    #2557cf;
  --blue-bright: #599ffe;   /* logo needle blue */
  --ice:         #b0d6ff;   /* logo rim / light accent */
  --ice-soft:    #dcebff;

  /* Neutrals (crisp, faintly cool) */
  --paper:   #fbfcfe;
  --paper-2: #f1f5fb;
  --paper-3: #e8eef8;
  --line:    #e2e9f3;
  --line-2:  #d4deec;
  --ink:     #0f193a;
  --ink-soft:#51607a;
  --ink-mut: #7c89a3;
  --white:   #ffffff;

  /* Type */
  --serif: "Newsreader", Georgia, serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  /* Shadows (cool-tinted) */
  --sh-sm: 0 1px 2px rgba(15,25,58,.06), 0 1px 1px rgba(15,25,58,.04);
  --sh-md: 0 10px 34px -10px rgba(15,25,58,.14);
  --sh-lg: 0 40px 80px -28px rgba(15,25,58,.30);
  --sh-blue: 0 18px 44px -14px rgba(47,102,230,.45);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); }
.section--tight { padding-block: clamp(48px, 7vw, 84px); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1.5px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.3vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.12; }
.italic { font-style: italic; }
em { font-style: italic; color: var(--blue-600); }

.lede { font-size: clamp(1.12rem, 1.6vw, 1.32rem); color: var(--ink-soft); line-height: 1.55; max-width: 40ch; }
.muted { color: var(--ink-soft); }

.section-head { max-width: 60ch; }
.section-head h2 { margin-top: 16px; }
.section-head .lede { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--sh-md); }
.btn--primary:hover { background: var(--blue); box-shadow: var(--sh-blue); transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.btn--blue:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--navy); background: #fff; box-shadow: var(--sh-sm); }
.btn--light { background: #fff; color: var(--navy); box-shadow: var(--sh-md); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* App store badge */
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge-store {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--navy); color: #fff;
  padding: 10px 18px 10px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .18s ease, box-shadow .25s ease, background .2s;
}
.badge-store:hover { transform: translateY(-2px); background: var(--navy-600); box-shadow: var(--sh-md); }
.badge-store svg { width: 24px; height: 24px; flex: none; }
.badge-store .bs-small { font-size: 10px; letter-spacing: .03em; opacity: .8; line-height: 1.1; }
.badge-store .bs-big { font-size: 16px; font-weight: 600; line-height: 1.15; }
.badge-store.is-light { background: #fff; color: var(--navy); border-color: var(--line); }
.badge-store.is-light:hover { background: #fff; box-shadow: var(--sh-md); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(15,25,58,.02), var(--sh-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.brand img { width: 34px; height: 34px; }
.brand b { font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  padding: 9px 14px; border-radius: var(--pill); transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--navy); background: var(--paper-2); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .signin { font-size: 15px; font-weight: 600; color: var(--ink); padding: 9px 6px; }
.nav-cta .signin:hover { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width:18px; height:2px; background: var(--navy); border-radius:2px; position: relative; transition: transform .25s; }
.nav-toggle span::before { position:absolute; top:-6px; }
.nav-toggle span::after { position:absolute; top:6px; }

/* mobile sheet */
.mobile-menu { display:none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(89,159,254,.16), transparent 70%),
    radial-gradient(46% 42% at 12% 4%, rgba(176,214,255,.30), transparent 72%);
}
.hero-grid-lines {
  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: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 0%, #000 20%, transparent 70%);
          mask-image: radial-gradient(120% 90% at 80% 0%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero h1 { margin-top: 22px; }
.hero .lede { margin-top: 24px; font-size: clamp(1.12rem, 1.5vw, 1.3rem); max-width: 46ch; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-or { font-size: 14px; color: var(--ink-mut); }
.hero-trust { display:flex; align-items:center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.trust-stat { font-size: 14.5px; color: var(--ink-soft); }
.trust-stat b { color: var(--ink); font-weight: 700; }
.trust-dot { width:4px; height:4px; border-radius:50%; background: var(--line-2); }
.stars { display:inline-flex; gap:3px; color: var(--blue-bright); }
.stars svg { width:17px; height:17px; }
.hero-trust .t-text { font-size: 14.5px; color: var(--ink-soft); }
.hero-trust .t-text b { color: var(--ink); font-weight: 700; }
.avatars { display:flex; }
.avatars span { width:30px; height:30px; border-radius:50%; border:2px solid var(--paper); margin-left:-9px; background: var(--paper-3); display:block; }
.avatars span:first-child { margin-left:0; }

/* hero phone mockup */
.hero-visual { position: relative; }
.phone {
  position: relative; width: min(320px, 78%); margin-inline: auto;
  aspect-ratio: 320 / 660;
  background: var(--navy); border-radius: 44px; padding: 11px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(15,25,58,.5) inset;
}
.phone::before { content:""; position:absolute; top:18px; left:50%; transform:translateX(-50%); width:96px; height:26px; background: #000; border-radius: var(--pill); z-index: 3; }
.phone-screen { position:absolute; inset:11px; border-radius: 34px; overflow:hidden; background: var(--paper-2); }
.phone-screen image-slot { width:100%; height:100%; }
.float-card {
  position: absolute; background: #fff; border:1px solid var(--line);
  border-radius: 16px; box-shadow: var(--sh-lg); padding: 13px 15px; z-index: 4;
  display:flex; align-items:center; gap: 11px;
}
.float-card .fc-ic { width:38px; height:38px; border-radius:11px; background: var(--ice-soft); color: var(--blue); display:flex; align-items:center; justify-content:center; flex:none; }
.float-card .fc-ic svg { width:20px; height:20px; }
.float-card .fc-k { font-size: 11px; color: var(--ink-mut); font-family: var(--mono); letter-spacing:.04em; }
.float-card .fc-v { font-size: 15px; font-weight: 700; color: var(--ink); line-height:1.1; }
.fc-1 { top: 8%; left: -6%; }
.fc-2 { bottom: 12%; right: -8%; }
.fc-3 { bottom: 40%; left: -12%; }

/* ---------- Logo / social proof strip ---------- */
.proof { border-block: 1px solid var(--line); background: var(--paper); padding-block: 30px; overflow: hidden; }
.proof-label--center { text-align:center; margin: 0 0 22px; }
.marquee {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: clamp(34px, 4vw, 60px);
  width: max-content; animation: marquee-scroll 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif); font-size: clamp(17px, 1.7vw, 22px); font-weight: 600;
  letter-spacing: -.01em; color: var(--ink-mut); white-space: nowrap;
  transition: color .2s ease;
}
.marquee-track span:hover { color: var(--navy); }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.proof-inner { display:flex; align-items:center; gap: clamp(24px,4vw,56px); justify-content: space-between; flex-wrap: wrap; padding-block: 26px; }
.proof-label { font-family: var(--mono); font-size: 12px; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-mut); }
.proof-logos { display:flex; align-items:center; gap: clamp(22px,3.5vw,48px); flex-wrap: wrap; }
.proof-logos span { font-family: var(--serif); font-size: clamp(16px,1.6vw,21px); font-weight:600; color: var(--ink-mut); letter-spacing:-.01em; opacity:.85; transition: color .2s, opacity .2s; }
.proof-logos span:hover { color: var(--navy); opacity:1; }

/* ---------- Feature spotlight rows ---------- */
.feature-row { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,84px); align-items:center; }
.feature-row + .feature-row { margin-top: clamp(64px, 9vw, 128px); }
.feature-row.reverse .fr-media { order: -1; }
.fr-text .eyebrow { margin-bottom: 18px; }
.fr-text h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin-bottom: 18px; }
.fr-text p { color: var(--ink-soft); font-size: 1.1rem; max-width: 44ch; }
.fr-list { list-style:none; padding:0; margin: 24px 0 0; display:grid; gap: 12px; }
.fr-list li { display:flex; gap:12px; align-items:flex-start; font-size: 1rem; color: var(--ink); }
.fr-list .chk { width:22px; height:22px; border-radius:50%; background: var(--ice-soft); color: var(--blue); flex:none; display:flex; align-items:center; justify-content:center; margin-top:1px; }
.fr-list .chk svg { width:13px; height:13px; }
.fr-cta { margin-top: 28px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.text-link { font-weight:600; color: var(--blue); display:inline-flex; align-items:center; gap:7px; }
.text-link:hover { color: var(--blue-600); }
.text-link svg { width:16px; height:16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* media frame for feature shots */
.shot {
  position: relative; border-radius: var(--r-lg); overflow:hidden;
  background: var(--paper-2); border:1px solid var(--line); box-shadow: var(--sh-md);
}
.shot image-slot { width:100%; height:100%; display:block; }
.shot--tall { aspect-ratio: 4 / 5; }
.shot--wide { aspect-ratio: 4 / 3; }
.shot-tag {
  position:absolute; top:14px; left:14px; z-index:2;
  font-family: var(--mono); font-size:11px; letter-spacing:.05em;
  background: rgba(15,25,58,.78); color:#fff; padding:6px 11px; border-radius: var(--pill);
  backdrop-filter: blur(6px);
}
.fr-media { position: relative; }
.fr-glow { position:absolute; inset:-8% -8% -8% -8%; z-index:0; background: radial-gradient(circle at 50% 40%, rgba(89,159,254,.20), transparent 65%); filter: blur(10px); }
.fr-media .shot { position: relative; z-index:1; }

/* ---------- Overview / bento ---------- */
.bento { display:grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.tile { background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 24px; transition: transform .22s ease, box-shadow .25s ease, border-color .2s; position:relative; overflow:hidden; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.tile.span-3 { grid-column: span 3; }
.tile.span-2 { grid-column: span 2; }
.tile.span-6 { grid-column: span 6; }
.tile-ic { width:46px; height:46px; border-radius:13px; background: var(--ice-soft); color: var(--blue); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.tile-ic svg { width:24px; height:24px; }
.tile h4 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; margin:0 0 8px; letter-spacing:-.01em; }
.tile p { margin:0; color: var(--ink-soft); font-size: .98rem; }
.tile .bonus-tag { position:absolute; top:18px; right:18px; font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--blue); background:var(--ice-soft); padding:4px 9px; border-radius: var(--pill); }

/* ---------- Grad School Hub ---------- */
.pathways { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:48px; max-width: 820px; margin-inline:auto; }
.pathway-chip {
  font-family: var(--sans); font-size: 14.5px; font-weight:600; color: var(--navy);
  background:#fff; border:1px solid var(--line-2); border-radius: var(--pill);
  padding: 10px 18px; display:inline-flex; align-items:center; gap:9px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.pathway-chip::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--blue); }
.pathway-chip:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); border-color: var(--blue); }
.hub-tools { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin-top:56px; }
.hub-tool { background:#fff; border:1px solid var(--line); border-radius: var(--r); padding:26px; transition: transform .2s ease, box-shadow .25s ease; }
.hub-tool:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.hub-tool h4 { font-family: var(--sans); font-size:1.1rem; font-weight:700; margin:0 0 8px; letter-spacing:-.01em; }
.hub-tool p { margin:0; color: var(--ink-soft); font-size:.96rem; }

/* ---------- Dark band (how it works / CTA / career) ---------- */
.dark { background: var(--navy); color: #eaf1fb; position: relative; overflow:hidden; }
.dark h2, .dark h3 { color:#fff; }
.dark .lede, .dark p { color: #aebfd9; }
.dark .eyebrow { color: var(--blue-bright); }
.dark .eyebrow::before { background: var(--blue-bright); }
.dark-glow { position:absolute; z-index:0; inset:0; pointer-events:none;
  background: radial-gradient(50% 60% at 85% 0%, rgba(89,159,254,.22), transparent 60%),
              radial-gradient(40% 50% at 5% 100%, rgba(89,159,254,.14), transparent 60%); }
.dark .wrap { position: relative; z-index:1; }

/* steps */
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,40px); margin-top: 60px; counter-reset: step; }
.step { position: relative; }
.step-n { font-family: var(--mono); font-size: 13px; letter-spacing:.1em; color: var(--blue-bright); margin-bottom: 18px; display:flex; align-items:center; gap:12px; }
.step-n::after { content:""; height:1px; flex:1; background: linear-gradient(90deg, rgba(89,159,254,.5), transparent); }
.step h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step p { font-size: 1rem; }

/* ---------- Stats ---------- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: clamp(20px,3vw,40px); }
.stat { text-align: left; }
.stat .num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 500; letter-spacing:-.03em; line-height:1; color: var(--navy); }
.stat .num em { color: var(--blue); }
.stat .lab { margin-top: 12px; color: var(--ink-soft); font-size: .98rem; max-width: 22ch; }
.dark .stat .num { color:#fff; }
.dark .stat .num em { color: var(--blue-bright); }
.dark .stat .lab { color:#aebfd9; }

/* ---------- Testimonials ---------- */
.tcols { columns: 3; column-gap: 20px; margin-top: 52px; }
.tcard { break-inside: avoid; background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 20px; box-shadow: var(--sh-sm); }
.tcard .q { font-size: 1.06rem; line-height:1.5; color: var(--ink); }
.tcard .q .hl { background: linear-gradient(transparent 62%, var(--ice) 62%); padding:0 2px; }
.tcard .who { display:flex; align-items:center; gap: 12px; margin-top: 20px; }
.tcard .av { width:40px; height:40px; border-radius:50%; background: var(--paper-3); flex:none; display:flex; align-items:center; justify-content:center; font-weight:700; color: var(--blue); font-size:15px; }
.tcard .nm { font-weight:700; font-size:.95rem; }
.tcard .role { font-size:.85rem; color: var(--ink-mut); }
.tcard .tstars { color: var(--blue-bright); display:flex; gap:2px; margin-bottom:14px; }
.tcard .tstars svg { width:15px; height:15px; }

/* ---------- Pricing ---------- */
.price-toggle { display:inline-flex; align-items:center; gap:0; background: var(--paper-2); border:1px solid var(--line); border-radius: var(--pill); padding:5px; margin-top:28px; }
.price-toggle button { border:none; background:transparent; padding:10px 20px; border-radius: var(--pill); font-size:14.5px; font-weight:600; color: var(--ink-soft); transition: all .2s; position:relative; }
.price-toggle button.active { background:#fff; color: var(--navy); box-shadow: var(--sh-sm); }
.price-toggle .save { font-family:var(--mono); font-size:10px; color: var(--blue); margin-left:7px; }
.belief-grid { grid-template-columns: repeat(3, 1fr) !important; }

/* ---------- Modal ---------- */
.modal-overlay { display:none; position:fixed; inset:0; z-index:200; background:rgba(10,14,30,.72); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); align-items:center; justify-content:center; padding:20px; }
.modal-overlay.open { display:flex; }
.modal-box { background:#fff; border-radius:var(--r-xl); padding:40px; width:100%; max-width:620px; max-height:90vh; overflow-y:auto; position:relative; box-shadow:var(--sh-lg); }
.modal-close { position:absolute; top:18px; right:20px; width:32px; height:32px; border:none; background:var(--paper-2); border-radius:50%; font-size:20px; line-height:1; cursor:pointer; color:var(--ink-soft); display:flex; align-items:center; justify-content:center; transition:background .15s; }
.modal-close:hover { background:var(--paper-3); color:var(--ink); }
.modal-title { font-family:var(--serif); font-size:1.7rem; font-weight:500; color:var(--navy); margin:0 0 6px; letter-spacing:-.02em; }
.modal-sub { color:var(--ink-soft); font-size:.95rem; margin:0 0 24px; }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); letter-spacing: .01em; }
.form-group label .opt { font-weight: 400; opacity: .7; }
.form-field { font-family: var(--sans); font-size: 15px; padding: 11px 13px; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--r-sm); color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s; width: 100%; box-sizing: border-box; }
.form-field::placeholder { color: var(--ink-mut); }
.form-field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,102,230,.12); }
textarea.form-field { resize: vertical; min-height: 84px; }
.form-submit { width: 100%; margin-top: 8px; }
.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success svg { width: 52px; height: 52px; color: #22c55e; margin: 0 auto 16px; }
.form-success h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 600px) {
  .modal-box { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}
.plans { display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; align-items: start; }
.plan { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display:flex; flex-direction:column; position:relative; transition: transform .2s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan.featured { background: var(--navy); color:#fff; border-color: var(--navy); box-shadow: var(--sh-lg); }
.plan.featured .plan-name, .plan.featured .plan-desc { color:#cfe0f9; }
.plan.featured .price { color:#fff; }
.plan.featured .price .per { color:#aebfd9; }
.plan.featured .plan-list li { color:#e7eefb; }
.plan-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background: var(--blue); color:#fff; font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; padding:6px 14px; border-radius: var(--pill); box-shadow: var(--sh-blue); }
.plan-name { font-family:var(--mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-mut); }
.price { display:flex; align-items:baseline; gap:6px; margin:18px 0 6px; font-family:var(--serif); font-size: clamp(2.6rem,4vw,3.4rem); font-weight:500; letter-spacing:-.03em; color: var(--navy); }
.price .per { font-family:var(--sans); font-size: 1rem; font-weight:500; color: var(--ink-mut); letter-spacing:0; }
.plan-desc { color: var(--ink-soft); font-size:.98rem; min-height: 42px; }
.plan-list { list-style:none; padding:0; margin: 24px 0; display:grid; gap:13px; flex:1; }
.plan-list li { display:flex; gap:11px; align-items:flex-start; font-size:.98rem; }
.plan-list .pchk { width:20px; height:20px; border-radius:50%; background: var(--ice-soft); color: var(--blue); flex:none; display:flex; align-items:center; justify-content:center; margin-top:1px; }
.plan.featured .plan-list .pchk { background: rgba(89,159,254,.22); color: var(--blue-bright); }
.plan-list .pchk svg { width:12px; height:12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline:auto; margin-top: 48px; border-top:1px solid var(--line); }
.faq-item { border-bottom:1px solid var(--line); }
.faq-q { width:100%; background:none; border:none; text-align:left; display:flex; justify-content:space-between; align-items:center; gap:20px; padding: 26px 4px; font-family: var(--serif); font-size: clamp(1.15rem,1.7vw,1.4rem); font-weight:500; color: var(--navy); letter-spacing:-.01em; }
.faq-icn { flex:none; width:30px; height:30px; border-radius:50%; border:1px solid var(--line-2); display:flex; align-items:center; justify-content:center; position:relative; transition: background .2s, border-color .2s; }
.faq-icn::before, .faq-icn::after { content:""; position:absolute; background: var(--navy); border-radius:2px; transition: transform .25s, background .2s; }
.faq-icn::before { width:12px; height:2px; }
.faq-icn::after { width:2px; height:12px; }
.faq-item.open .faq-icn { background: var(--blue); border-color: var(--blue); }
.faq-item.open .faq-icn::before, .faq-item.open .faq-icn::after { background:#fff; }
.faq-item.open .faq-icn::after { transform: scaleY(0); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .32s ease; }
.faq-a-inner { padding: 0 4px 26px; color: var(--ink-soft); font-size: 1.05rem; line-height:1.6; max-width: 68ch; }

/* ---------- Final CTA ---------- */
.cta-final { text-align:center; position: relative; }
.cta-final h2 { max-width: 18ch; margin-inline:auto; }
.cta-final .lede { margin: 22px auto 0; text-align:center; }
.cta-final-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top: 36px; }
.cta-compass { width: 64px; height:64px; margin: 0 auto 28px; opacity:.95; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color:#aebfd9; padding-block: clamp(56px,7vw,84px) 36px; }
.footer .brand { color:#fff; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px,4vw,56px); }
.footer h5 { font-family:var(--mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:#7c92ba; margin:0 0 18px; font-weight:500; }
.footer ul { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.footer ul a { color:#cad7ee; font-size:.96rem; transition: color .18s; }
.footer ul a:hover { color:#fff; }
.footer-blurb { color:#9fb2d4; font-size:.98rem; max-width: 32ch; margin: 18px 0 22px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; margin-top: 56px; padding-top: 28px; border-top:1px solid rgba(255,255,255,.1); font-size:.88rem; color:#7c92ba; }
.footer-bottom .legal { display:flex; gap:22px; flex-wrap:wrap; }
.footer-bottom a:hover { color:#fff; }

/* ---------- Social icons ---------- */
.socials { display:flex; gap:10px; margin-top:22px; }
.social { width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; background: var(--navy-600); color:#cad7ee; border:1px solid rgba(255,255,255,.1); transition: transform .18s ease, background .2s, color .2s; }
.social:hover { transform: translateY(-2px); background:#fff; color: var(--navy); }
.social svg { width:18px; height:18px; }

/* ---------- Subpage hero ---------- */
.page-hero { position:relative; overflow:hidden; border-bottom:1px solid var(--line); }
.page-hero .hero-bg, .page-hero .hero-grid-lines { position:absolute; inset:0; z-index:0; pointer-events:none; }
.page-hero-inner { position:relative; z-index:1; max-width: 780px; padding-block: clamp(56px, 8vw, 110px); }
.page-hero h1 { margin-top:18px; font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.page-hero .lede { margin-top:22px; max-width: 56ch; }
.page-hero .hero-cta { margin-top:32px; }
.breadcrumb { font-family: var(--mono); font-size:12.5px; letter-spacing:.06em; color: var(--ink-mut); }
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Comparison table ---------- */
.ctable-wrap { overflow:hidden; margin-top:8px; border:1px solid var(--line); border-radius: var(--r-lg); background:#fff; box-shadow: var(--sh-md); }
.ctable-scroll { overflow-x:auto; }
.ctable { width:100%; border-collapse:collapse; min-width:680px; }
.ctable th, .ctable td { padding:18px 24px; text-align:left; border-bottom:1px solid var(--line); vertical-align:middle; }
.ctable tr:last-child td { border-bottom:none; }
.ctable thead th { font-family:var(--mono); font-size:12px; letter-spacing:.07em; text-transform:uppercase; color:var(--ink-mut); font-weight:500; }
.ctable thead th.col-cc { color: var(--blue); }
.ctable td.feat, .ctable th.feat { font-weight:600; color:var(--navy); font-family:var(--sans); }
.ctable .col-cc { background: var(--ice-soft); }
.ctable thead th.col-cc { background: var(--ice-soft); }
.ctable td.col-cc { color: var(--navy); font-weight:600; }
.ctable td { color: var(--ink-soft); font-size:.98rem; }
.ci { display:inline-flex; width:22px; height:22px; border-radius:50%; align-items:center; justify-content:center; }
.ci.yes { background: var(--blue); color:#fff; }
.ci.no { background: var(--paper-3); color: var(--ink-mut); }
.ci svg { width:13px; height:13px; }

/* ---------- Article / guide ---------- */
.article { max-width: 760px; margin-inline:auto; }
.article > p { color: var(--ink-soft); font-size:1.15rem; line-height:1.7; margin: 18px 0 0; }
.article h2 { margin-top:56px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.article h2 + p { margin-top:16px; }
.guide-step { display:grid; grid-template-columns: auto 1fr; gap: 22px; padding: 28px 0; border-top:1px solid var(--line); }
.guide-step:first-of-type { border-top:none; }
.guide-num { font-family: var(--serif); font-size: 2.4rem; font-weight:500; color: var(--blue); line-height:1; width:64px; }
.guide-step h3 { font-size:1.4rem; margin-bottom:10px; }
.guide-step p { color: var(--ink-soft); font-size:1.05rem; line-height:1.65; margin:0; }
.callout { margin-top:24px; background: var(--ice-soft); border:1px solid var(--line); border-left:3px solid var(--blue); border-radius: var(--r); padding:20px 24px; }
.callout p { margin:0; color: var(--navy); font-size:1.02rem; }
.callout .ctag { font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color: var(--blue); display:block; margin-bottom:6px; }

/* ---------- Help center ---------- */
.help-search { max-width: 560px; margin-top: 28px; position: relative; }
.help-search svg { position:absolute; left:20px; top:50%; transform:translateY(-50%); width:20px; height:20px; color: var(--ink-mut); }
.help-search input {
  width:100%; font-family: var(--sans); font-size:1.05rem; color: var(--ink);
  padding: 17px 22px 17px 52px; border:1px solid var(--line-2); border-radius: var(--pill);
  background:#fff; box-shadow: var(--sh-sm); transition: border-color .2s, box-shadow .2s;
}
.help-search input::placeholder { color: var(--ink-mut); }
.help-search input:focus { outline:none; border-color: var(--blue); box-shadow: var(--sh-blue); }
.help-cats { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin-top:8px; align-items:start; }
.help-cat-item { background:#fff; border:1px solid var(--line); border-radius: var(--r); overflow:hidden; transition: box-shadow .25s ease, border-color .2s; }
.help-cat-item:hover { box-shadow: var(--sh-md); border-color: var(--line-2); }
.help-cat-item.open { box-shadow: var(--sh-md); border-color: var(--blue); }
.help-cat { width:100%; text-align:left; background:none; border:none; padding:26px; display:block; cursor:pointer; font-family: var(--sans); }
.help-cat .tile-ic { margin-bottom:16px; }
.help-cat h4 { font-family: var(--sans); font-size:1.12rem; font-weight:700; margin:0 0 6px; letter-spacing:-.01em; color: var(--ink); }
.help-cat p { margin:0; color: var(--ink-soft); font-size:.95rem; }
.help-cat-foot { display:flex; align-items:center; justify-content:space-between; margin-top:16px; }
.help-cat .count { font-family:var(--mono); font-size:11px; letter-spacing:.05em; color: var(--ink-mut); }
.hc-chev { width:18px; height:18px; color: var(--ink-mut); transition: transform .28s ease, color .2s; flex:none; }
.help-cat-item.open .hc-chev { transform: rotate(180deg); color: var(--blue); }
.help-cat-panel { max-height:0; overflow:hidden; transition: max-height .32s ease; }
.help-cat-panel-inner { padding: 4px 26px 14px; }
.help-cat-panel-inner a { display:flex; align-items:center; gap:9px; padding:12px 0; color: var(--ink-soft); font-size:.96rem; font-weight:500; border-top:1px solid var(--line); transition: color .18s, padding-left .18s; }
.help-cat-panel-inner a:hover { color: var(--blue); padding-left:6px; }
.help-cat-panel-inner a svg { width:14px; height:14px; color: var(--blue); flex:none; }

.help-articles { margin-top:36px; border-top:1px solid var(--line); }
.help-article { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 6px; border-bottom:1px solid var(--line); color: var(--navy); font-weight:600; font-size:1.06rem; transition: padding .18s ease, color .2s; }
.help-article:hover { color: var(--blue); padding-left:14px; }
.help-article svg { width:18px; height:18px; flex:none; transition: transform .2s; }
.help-article:hover svg { transform: translateX(3px); }

/* ---------- Legal document ---------- */
.legal-meta { font-family: var(--mono); font-size:12.5px; letter-spacing:.04em; color: var(--ink-mut); margin-top:18px; }
.legal-layout { display:grid; grid-template-columns: 230px 1fr; gap: clamp(32px,5vw,72px); align-items:start; }
.legal-toc { position: sticky; top: 96px; }
.legal-toc h6 { font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-mut); margin:0 0 14px; font-weight:500; }
.legal-toc ol { list-style:none; margin:0; padding:0; counter-reset: toc; display:grid; gap:2px; }
.legal-toc a { display:block; padding:8px 12px; border-radius:10px; color: var(--ink-soft); font-size:.92rem; line-height:1.35; transition: color .18s, background .18s; }
.legal-toc a:hover { color: var(--navy); background: var(--paper-2); }
.legal-toc a.active { color: var(--blue); background: var(--ice-soft); font-weight:600; }
.legal-prose { max-width: 720px; }
.legal-prose section { padding-top: 12px; }
.legal-prose h2 { font-family: var(--serif); font-size: clamp(1.4rem,2.4vw,1.9rem); margin: 40px 0 0; scroll-margin-top: 96px; }
.legal-prose section:first-child h2 { margin-top:0; }
.legal-prose p { color: var(--ink-soft); font-size:1.05rem; line-height:1.72; margin:16px 0 0; }
.legal-prose ul { margin:14px 0 0; padding-left:0; list-style:none; display:grid; gap:10px; }
.legal-prose ul li { position:relative; padding-left:22px; color: var(--ink-soft); font-size:1.02rem; line-height:1.6; }
.legal-prose ul li::before { content:""; position:absolute; left:4px; top:10px; width:6px; height:6px; border-radius:50%; background: var(--blue); }
.legal-note { background: var(--paper-2); border:1px solid var(--line); border-radius: var(--r); padding:18px 22px; margin-top:8px; }
.legal-note p { margin:0; color: var(--ink-soft); font-size:.95rem; }
.legal-note strong { color: var(--navy); }

/* ---------- Reveal animation ---------- */
.reveal { opacity:0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1 { transition-delay:.07s; }
.reveal.d2 { transition-delay:.14s; }
.reveal.d3 { transition-delay:.21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  html { scroll-behavior:auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display:none; }
  .nav-cta .signin { display:none; }
  .nav-cta .btn { display:none; }
  .nav-toggle { display:flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 12px; }
  .hero-visual { margin-top: 28px; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .fr-media { order: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.span-3, .tile.span-2 { grid-column: span 1; }
  .tile.span-6 { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .hub-tools { grid-template-columns: 1fr 1fr; }
  .help-cats { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .legal-toc ol { grid-auto-flow: row; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 36px 24px; }
  .tcols { columns: 2; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline:auto; }
  .plan.featured { order:0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }

  /* mobile menu sheet */
  .mobile-menu { display:block; position: fixed; inset: 72px 0 auto 0; z-index: 55;
    background: var(--paper); border-bottom:1px solid var(--line); box-shadow: var(--sh-lg);
    transform: translateY(-120%); transition: transform .32s cubic-bezier(.22,.61,.36,1); padding: 14px var(--gutter) 26px; }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a:not(.btn) { display:block; padding: 14px 6px; font-size: 18px; font-weight:600; color: var(--navy); border-bottom:1px solid var(--line); font-family: var(--serif); }
  .mobile-menu .mm-cta { display:grid; gap:10px; margin-top: 18px; }
  .mobile-menu .btn { width:100%; }
  .mobile-menu .btn--primary { background: var(--navy); color: #fff; }
  .mobile-menu .btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .tcols { columns: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hub-tools { grid-template-columns: 1fr; }
  .help-cats { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .belief-grid { grid-template-columns: 1fr !important; }
  .tile.span-6 { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta { width:100%; }
  .float-card { display:none; }
  .phone { width: min(280px, 86%); }
}
