/* =========================================================
   CAMP for Institutes – Landing page styles
   Mobile friendly: breakpoints at 1100px, 860px and 560px
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --brand: #7489FE;        /* CAMP brand blue: buttons, large accents, glows */
  --brand-ink: #4558D6;    /* darker brand blue for small text (readable on white) */
  --brand-light: #A5B3FF;
  --brand-tint: #F4F6FF;   /* section background tint */
  --brand-06: rgba(116, 137, 254, 0.07);
  --brand-12: rgba(116, 137, 254, 0.12);
  --brand-18: rgba(116, 137, 254, 0.18);
  --brand-35: rgba(116, 137, 254, 0.35);

  --ink: #0B0B14;          /* main text */
  --ink-2: #3B3F50;
  --muted: #585D70;        /* secondary text */
  --white: #FFFFFF;
  --line: #E1E5F5;
  --line-soft: #E6E9F7;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --glass-blur: 24px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --gutter: 80px;
  --section-y: 112px;
  --container: 1280px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-ink); }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.stack-xs { display: flex; flex-direction: column; gap: 6px; }
.stack-sm { display: flex; flex-direction: column; gap: 18px; }
.stack-md { display: flex; flex-direction: column; gap: 22px; }
.stack-xl { display: flex; flex-direction: column; gap: 56px; }
.narrow { max-width: 760px; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  align-items: center;
}
.split-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: end;
}

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.h2--sm { font-size: clamp(30px, 3.5vw, 48px); }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.right { text-align: right; }
.mono { font-family: var(--font-mono); }
.strong { font-weight: 700; }
.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 15px; font-weight: 600; line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn--lg { padding: 18px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: var(--ink); }
.btn--primary:hover { color: var(--ink); background: #8497FF; box-shadow: 0 10px 24px rgba(68, 88, 214, 0.25); }
.btn--glass {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--brand-35);
  color: var(--ink);
  font-weight: 500;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}
.btn--glass:hover { color: var(--ink); background: rgba(255, 255, 255, 0.8); }
.btn--ghost-plain { font-weight: 500; color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { color: var(--white); background: #22222E; }
.btn--outline-dark { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--outline-dark:hover { color: var(--ink); background: rgba(11, 11, 20, 0.06); }

/* ---------- Glass ---------- */
.glass {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
}
/* Fallback when the browser can't blur */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .btn--glass { background: rgba(255, 255, 255, 0.92); }
}

/* =========================================================
   FIRST SCREEN
   ========================================================= */
.first-screen { position: relative; overflow: hidden; background: var(--white); }

.orb { position: absolute; border-radius: 50%; pointer-events: none; }
.orb--1 { top: -160px; right: 5%;  width: 560px; height: 560px; background: var(--brand);       opacity: .40; filter: blur(140px); }
.orb--2 { top: 360px;  right: 36%; width: 420px; height: 420px; background: var(--brand-light); opacity: .40; filter: blur(140px); }
.orb--3 { top: 520px;  left: -140px; width: 460px; height: 460px; background: var(--brand);     opacity: .28; filter: blur(150px); }

/* Nav */
.nav {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin: 20px 40px 0;
  padding: 14px 20px 14px 32px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(68, 88, 214, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: margin .35s ease, padding .35s ease, border-radius .35s ease, box-shadow .35s ease;
}
/* Pins to the top and expands edge-to-edge once the page is scrolled —
   toggled by script.js watching window.scrollY. Kept as a class instead of
   plain `position: sticky` because sticky alone can't also animate the
   margin/radius shrinking away; JS is what drives the "goes fixed AND
   loses its margin" combination in one transition. */
.nav.is-fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  margin: 0;
  padding: 12px 32px;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(68, 88, 214, 0.14);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: var(--ink); }
.brand__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
}
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.brand__tag { font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

.nav__menu { display: flex; align-items: center; gap: 36px; }
.nav__links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav__actions { display: flex; align-items: center; gap: 8px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 112px;
}
.hero:focus { outline: none; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-ink);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.accent { color: var(--brand); }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--muted); padding-top: 8px; }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks svg { color: var(--brand-ink); flex-shrink: 0; }

/* Dashboard preview */
.dash {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(68, 88, 214, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.5);
  min-width: 0;
}
.dash__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--brand-18);
  background: rgba(255, 255, 255, 0.45);
}
.dash__dots { display: flex; gap: 8px; }
.dash__dots span { width: 11px; height: 11px; border-radius: 50%; background: #B9C1E6; }
.dash__title { font-size: 13px; color: var(--muted); }
.dash__badge { font-family: var(--font-mono); font-size: 11px; color: var(--muted); border: 1px solid var(--brand-35); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.dash__body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }

.dash__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(116, 137, 254, 0.15);
}
.stat--alert { background: rgba(255, 255, 255, 0.85); border: 1.5px solid var(--ink); }
.stat__label { font-size: 12px; color: var(--muted); line-height: 1.3; }
.stat--alert .stat__label { color: var(--ink); }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; }
.stat__value--ink { color: var(--brand-ink); }
.stat__value--brand { color: var(--brand); }

.dash__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash__heading { font-size: 14px; font-weight: 600; }
.dash__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; padding: 6px 10px; border-radius: 8px; background: var(--brand-12); color: var(--ink-2); }
.chip--brand { background: var(--brand); color: var(--ink); font-weight: 600; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--brand-18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}
.dash__table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.dash__table th {
  text-align: left; font-weight: 500; font-size: 12px; color: var(--ink-2);
  padding: 10px 16px; background: var(--brand-06);
}
.dash__table td { padding: 12px 16px; border-top: 1px solid rgba(116, 137, 254, 0.14); }
.pill { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--line); color: var(--ink-2); white-space: nowrap; }
.pill--alert { background: var(--ink); color: var(--white); font-weight: 600; }
.pill--interview { background: rgba(116, 137, 254, 0.16); color: var(--brand-ink); }
.pill--offer { background: var(--brand); color: var(--ink); font-weight: 600; }

/* =========================================================
   REST OF PAGE
   ========================================================= */
.page { position: relative; overflow: hidden; }
.ambient { position: absolute; border-radius: 50%; pointer-events: none; opacity: .16; filter: blur(170px); z-index: 0; }
.ambient--1 { top: 1000px; left: -220px; width: 620px; height: 620px; background: var(--brand); }
.ambient--2 { top: 2600px; right: -200px; width: 640px; height: 640px; background: var(--brand); }
.ambient--3 { top: 3950px; left: 15%;   width: 560px; height: 560px; background: var(--brand-light); }

.section { position: relative; z-index: 1; padding-block: var(--section-y); }
.section--tint { background: var(--brand-tint); border-block: 1px solid var(--line-soft); }
.section--flush { padding-block: 0; }

/* Cards */
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.card--featured { border-color: var(--brand); }
.card__icon--dark { color: var(--ink); }
.card__badge {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(116, 137, 254, 0.14);
  color: var(--brand-ink);
}
.card__badge--solid { background: var(--brand); color: var(--ink); }

/* Questions */
.questions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.questions li { border-top: 2px solid var(--brand); padding-top: 18px; font-size: 17px; line-height: 1.5; }
.statement { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; }

/* Steps */
.step {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
}
.step--highlight { border-color: var(--brand); background: var(--white); }
.step__num { font-family: var(--font-mono); font-size: 40px; font-weight: 700; line-height: 1; color: var(--brand); }
.step__title { font-size: 21px; font-weight: 600; line-height: 1.3; }
.step p { font-size: 15px; }
.code-box {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 4px; padding: 12px 14px;
  background: var(--white);
  border: 1px dashed #B9C1E6;
  border-radius: var(--radius-sm);
}
.code-box__code { font-family: var(--font-mono); font-size: 18px; font-weight: 700; letter-spacing: 0.1em; }
.code-box__copy { font-size: 12px; color: var(--brand-ink); }

/* Student benefits */
.benefits { display: flex; flex-direction: column; gap: 12px; }
.benefits li {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 17px;
}
.benefits li::before { content: "→"; font-family: var(--font-mono); font-size: 14px; color: var(--brand-ink); }

/* Security panel */
.panel {
  padding: 72px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  gap: 64px;
  align-items: start;
}
.mini {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--brand-tint);
}
.mini__tag { font-family: var(--font-mono); font-size: 13px; color: var(--brand-ink); }
.mini__title { font-size: 17px; font-weight: 600; }
.mini p { font-size: 15px; line-height: 1.5; }

/* Pricing */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.price__amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(60px, 7vw, 88px); letter-spacing: -0.04em; line-height: 1; color: var(--brand); }
.price__unit { font-size: 18px; color: var(--muted); }

.calc {
  display: flex; flex-direction: column; gap: 24px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(68, 88, 214, 0.08);
}
.calc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc__label { font-size: 17px; font-weight: 600; }
.calc__count { font-family: var(--font-mono); font-size: 15px; color: var(--muted); }
.calc__range { width: 100%; height: 44px; accent-color: var(--brand); cursor: pointer; }
.calc__scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: -16px; }
.calc__total {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.calc__amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 4vw, 52px); letter-spacing: -0.03em; line-height: 1.05; }

/* Final CTA */
.cta {
  display: flex; justify-content: space-between; align-items: center; gap: 48px;
  margin-top: var(--section-y);
  padding: 80px;
  border-radius: var(--radius-xl);
  background: var(--brand);
  color: var(--ink);
}
.cta__copy { max-width: 720px; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.035em; }
.cta__text { font-size: 19px; line-height: 1.5; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* Footer — shared with the student page (templates/_footer.html), restored
   from the previous landing-page design. Uses its own hardcoded colors
   (dark, independent of --brand/--ink here) rather than this page's
   tokens, matching how it originally looked. */
.rp-footer { background: #0b0b0f; border-top: 1px solid rgba(255,255,255,.08); padding: 64px 32px 28px; margin-top: 80px; }
.rp-footer-top { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.rp-footer-brand .logo-mark { display: flex; align-items: center; gap: 9px; text-decoration: none; color: #f4f4f6; margin-bottom: 14px; }
.rp-footer-brand .logo-mark span { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.rp-footer-brand p { font-size: 13px; color: #8b8b96; line-height: 1.7; max-width: 260px; margin-bottom: 20px; }
.rp-footer-social { display: flex; gap: 10px; }
.rp-footer-social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #f4f4f6; transition: border-color .15s, background .15s;
}
.rp-footer-social a:hover { border-color: #f4f4f6; background: rgba(255, 255, 255, .06); }
.rp-footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #8b8b96; margin-bottom: 16px; }
.rp-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; padding: 0; margin: 0; }
.rp-footer-col a { font-size: 13.5px; color: #f4f4f6; text-decoration: none; font-weight: 500; }
.rp-footer-col a:hover { text-decoration: underline; }
.rp-footer-bottom {
  max-width: 1180px; margin: 0 auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #8b8b96;
}
.rp-footer-bottom a { color: inherit; text-decoration: none; }
.rp-footer-bottom a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .rp-footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 560px) {
  .rp-footer-top { grid-template-columns: 1fr; gap: 30px; }
  .rp-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* WhatsApp floating button (templates/_whatsapp_widget.html) — this page
   doesn't load static/style.css (its own reset/base rules would conflict
   with this page's), so .wa-fab's actual styling has to live here too or
   the button renders as an unstyled, invisible inline link. */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  z-index: 1000;
  transition: transform .15s, box-shadow .15s;
}
.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
@media (max-width: 640px) {
  .wa-fab { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Laptops / small desktops */
@media (max-width: 1100px) {
  :root { --gutter: 48px; --section-y: 96px; }
  .nav { margin: 16px 24px 0; }
  .nav__links { gap: 22px; }
  .nav__menu { gap: 20px; }
  .grid--4, .questions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 72px; }
  .hero__lead { max-width: 640px; }
  .panel { padding: 56px; }
}

/* Tablets and mobile menu */
@media (max-width: 860px) {
  :root { --gutter: 24px; --section-y: 72px; --glass-blur: 14px; }

  /* Mobile navigation */
  .nav { margin: 12px 12px 0; padding: 10px 10px 10px 16px; border-radius: 16px; }
  .nav__toggle { display: flex; }
  .brand__tag { display: none; }
  .nav__menu {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(68, 88, 214, 0.16);
  }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; font-size: 17px; }
  .nav__links a { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .nav__actions .btn { width: 100%; }

  .split-head, .two-col { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .two-col { gap: 40px; }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .stack-xl { gap: 40px; }

  .orb--1 { width: 360px; height: 360px; right: -80px; filter: blur(100px); }
  .orb--2 { width: 280px; height: 280px; top: 520px; filter: blur(100px); }
  .orb--3 { width: 300px; height: 300px; filter: blur(110px); }
  .ambient { filter: blur(120px); width: 380px; height: 380px; }

  .hero { padding-top: 48px; padding-bottom: 72px; gap: 44px; }
  .dash__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .panel { padding: 32px 24px; gap: 32px; }
  .calc { padding: 28px 22px; }
  .cta { flex-direction: column; align-items: stretch; padding: 40px 28px; gap: 32px; }
  .cta__actions .btn { width: 100%; }
  .footer { flex-direction: column; align-items: flex-start; }
}

/* Small phones */
@media (max-width: 560px) {
  :root { --gutter: 18px; --section-y: 60px; }
  .grid--4, .questions, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .hero__ctas .btn { width: 100%; }
  .hero__checks { flex-direction: column; }
  .dash__body { padding: 14px; }
  .dash__bar { padding: 12px 14px; }
  .dash__title { display: none; }
  .stat__value { font-size: 26px; }
  .card, .step { padding: 24px; }
  .benefits li { padding: 16px 18px; font-size: 16px; }
  .calc__total { flex-direction: column; align-items: flex-start; }
  .right { text-align: left; }
  .code-box__code { font-size: 16px; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
