/* ============================================================================
   Nabla Square — AI Consultancy
   Design tokens, layout and components. No build step, no framework.
   ========================================================================== */

/* ---------- Tokens -------------------------------------------------------- */
:root {
  /* Brand */
  --brand-deep: #4338ca;
  --brand:      #4f46e5;
  --brand-lift: #6366f1;
  --cyan:       #22d3ee;
  --cyan-ink:   #0e7490; /* cyan dark enough for text on white */

  /* Light theme surfaces */
  --bg:         #ffffff;
  --bg-soft:    #f6f7fb;
  --bg-sunk:    #eef0f7;
  --surface:    #ffffff;
  --surface-2:  #f9fafd;
  --line:       #e3e6ef;
  --line-soft:  #edeff6;

  /* Light theme ink */
  --ink:        #0b1020;
  --ink-2:      #2c3346;
  --muted:      #5b6478;
  --muted-2:    #7b8497;

  --accent:     var(--brand);
  --accent-ink: var(--brand-deep);
  --on-accent:  #ffffff;

  --ring: 0 0 0 3px rgba(79, 70, 229, .32);
  --shadow-sm: 0 1px 2px rgba(11, 16, 32, .05), 0 1px 3px rgba(11, 16, 32, .06);
  --shadow-md: 0 4px 12px rgba(11, 16, 32, .07), 0 12px 28px rgba(11, 16, 32, .07);
  --shadow-lg: 0 8px 24px rgba(11, 16, 32, .09), 0 28px 60px rgba(11, 16, 32, .10);

  /* Type */
  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Space & shape */
  --container: 1120px;
  --gutter: 24px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --section-y: clamp(64px, 8vw, 112px);
}

:root[data-theme="dark"] {
  --bg:        #070b18;
  --bg-soft:   #0b1020;
  --bg-sunk:   #05080f;
  --surface:   #111830;
  --surface-2: #151d38;
  --line:      #222c4d;
  --line-soft: #1a2240;

  --ink:       #f1f4fb;
  --ink-2:     #dbe1f0;
  --muted:     #a2abc2;
  --muted-2:   #8891a9;

  --brand:     #818cf8;
  --brand-lift:#a5b4fc;
  --cyan-ink:  #67e8f9;
  --accent:    #818cf8;
  --accent-ink:#a5b4fc;
  --on-accent: #0b1020;

  --ring: 0 0 0 3px rgba(129, 140, 248, .40);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .40);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, .45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .55);
}

/* ---------- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-lift); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.021em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.65rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; letter-spacing: -.012em; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--sunk { background: var(--bg-sunk); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: .745rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
}
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, #3ba7e0);
  color: #fff;
  box-shadow: 0 6px 18px rgba(79, 70, 229, .32);
}
.btn--primary:hover { box-shadow: 0 10px 26px rgba(79, 70, 229, .40); color: #fff; }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--ink); }

.btn--plain { background: transparent; color: var(--accent-ink); padding-inline: 4px; }
.btn--lg { padding: 16px 28px; font-size: 1.03rem; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Header -------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.header.is-stuck { border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; gap: 20px; height: 72px; }
.nav__brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.nav__brand img { height: 34px; width: auto; }
.nav__brand .logo-dark { display: none; }
:root[data-theme="dark"] .nav__brand .logo-light { display: none; }
:root[data-theme="dark"] .nav__brand .logo-dark  { display: block; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--muted); font-size: .935rem; font-weight: 500;
  text-decoration: none; transition: color .18s ease, background-color .18s ease;
}
.nav__links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__links a.is-active { color: var(--ink); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 10px; }

/* The in-menu CTA is for the mobile drawer only; the header keeps its own. */
.nav__links .btn { display: none; }

.icon-btn {
  width: 40px; height: 40px; flex: 0 0 40px;
  display: grid; place-items: center;
  border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink);
  transition: background-color .18s ease, border-color .18s ease;
}
.icon-btn:hover { background: var(--bg-soft); border-color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun  { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }

.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 13px 12px; font-size: 1.02rem; }
  .nav__links .btn { display: inline-flex; margin-top: 8px; }
  .nav__actions .btn--primary { display: none; }
}

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 130%;
  background:
    radial-gradient(620px 420px at 78% 6%,  rgba(34, 211, 238, .20), transparent 64%),
    radial-gradient(680px 460px at 12% 22%, rgba(79, 70, 229, .22), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
:root[data-theme="dark"] .hero__glow {
  background:
    radial-gradient(640px 440px at 80% 2%,  rgba(34, 211, 238, .16), transparent 64%),
    radial-gradient(700px 480px at 10% 24%, rgba(99, 102, 241, .26), transparent 62%);
}
.hero .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .845rem; font-weight: 500;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.pill b {
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  padding: 3px 9px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
:root[data-theme="dark"] .pill b { color: #fff; }

.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand) 5%, #3ba7e0 55%, var(--cyan) 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lede {
  font-size: clamp(1.06rem, 1.7vw, 1.2rem);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 30px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  list-style: none; color: var(--muted); font-size: .92rem;
}
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 16px; height: 16px; color: var(--cyan-ink); flex: 0 0 16px; }

/* Hero panel — the "what changes" card */
.hero__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  position: relative;
}
.hero__panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(79,70,229,.45), transparent 42%, rgba(34,211,238,.38));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero__panel h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-family: var(--font-body); font-weight: 700; margin-bottom: 18px; }

.shift { list-style: none; display: grid; gap: 4px; }
.shift li {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 13px 4px; border-bottom: 1px dashed var(--line-soft);
  font-size: .945rem;
}
.shift li:last-child { border-bottom: 0; }
.shift .from { color: var(--muted); }
.shift .to { font-weight: 600; color: var(--ink); text-align: right; }
.shift .sep { color: var(--cyan-ink); font-weight: 700; }

/* Three columns get cramped on a phone — stack them instead. */
@media (max-width: 520px) {
  .shift li { grid-template-columns: 1fr; gap: 4px; padding-block: 12px; }
  .shift .to { text-align: left; }
  .shift .sep { display: none; }
  .shift .from::after { content: " ↓"; color: var(--cyan-ink); font-weight: 700; }
}

/* ---------- Service cards ------------------------------------------------- */
.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  list-style: none;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); }
.card:hover::after { transform: scaleX(1); }

.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card__icon {
  width: 46px; height: 46px; flex: 0 0 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--brand) 16%, transparent), color-mix(in srgb, var(--cyan) 18%, transparent));
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  color: var(--accent-ink);
}
.card__icon svg { width: 23px; height: 23px; }
.card__num {
  font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  color: var(--muted-2); letter-spacing: .06em;
}
.card p { color: var(--muted); font-size: .96rem; }
.card__list { list-style: none; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 9px; }
.card__list li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.card__list li::before {
  content: ""; flex: 0 0 7px; width: 7px; height: 7px; margin-top: .48em;
  border-radius: 2px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--brand), var(--cyan));
}

/* ---------- Process ------------------------------------------------------- */
.steps { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: s; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); counter-increment: s; }
.step::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 34%; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
}
.step__n {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  color: var(--accent-ink); display: block; margin-bottom: 8px;
}
.step h3 { font-size: 1.08rem; margin-bottom: .45em; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Training pathway ---------------------------------------------- */
.tiers { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); list-style: none; }
.tier {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  position: relative;
}
.tier--featured { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow-md); }
.tier__badge {
  position: absolute; top: -11px; right: 22px;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.tier__level {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 14px;
}
.bars { display: inline-flex; gap: 3px; }
.bars i { width: 5px; height: 13px; border-radius: 2px; background: var(--line); display: block; }
.bars i.on { background: linear-gradient(180deg, var(--brand), var(--cyan)); }
.tier h3 { font-size: 1.32rem; }
.tier__who { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }
.tier__meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.chip {
  font-size: .79rem; font-weight: 500; color: var(--ink-2);
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  padding: 4px 11px; border-radius: 999px;
}
.tier__list { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.tier__list li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.tier__list svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: .3em; color: var(--cyan-ink); }
.tier .btn { margin-top: auto; }

/* ---------- Formats table ------------------------------------------------- */
.formats { display: grid; gap: 14px; list-style: none; }
.format {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2.2fr) auto;
  gap: 8px 24px; align-items: center;
  padding: 20px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .2s ease, transform .2s ease;
}
.format:hover { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); transform: translateX(3px); }
.format h3 { margin: 0; font-size: 1.04rem; }
.format p { margin: 0; color: var(--muted); font-size: .93rem; }
.format .len {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
  color: var(--accent-ink); white-space: nowrap;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  padding: 6px 12px; border-radius: 999px;
}
@media (max-width: 760px) {
  .format { grid-template-columns: 1fr; gap: 8px; }
  .format .len { justify-self: start; }
}

/* ---------- Audience ------------------------------------------------------ */
.audience { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; }
@media (max-width: 860px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .audience { grid-template-columns: 1fr; } }
.audience li {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .95rem; font-weight: 500;
}
.audience svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--accent-ink); }

/* ---------- FAQ ----------------------------------------------------------- */
.faq-layout {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: 104px; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; margin-bottom: 32px; }
}

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .2s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 19px 56px 19px 22px; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.04rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__body { padding: 0 22px 20px; color: var(--muted); font-size: .96rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Contact ------------------------------------------------------- */
.contact__grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 56px);
}
@media (max-width: 880px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__aside ul { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.contact__aside li { display: flex; gap: 13px; align-items: flex-start; }
.contact__aside svg { width: 19px; height: 19px; flex: 0 0 19px; margin-top: .22em; color: var(--accent-ink); }
.contact__aside b { display: block; font-size: .95rem; }
.contact__aside span { color: var(--muted); font-size: .9rem; }

.form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--ring);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form .btn { width: 100%; }
.form__note { font-size: .82rem; color: var(--muted-2); margin: 14px 0 0; text-align: center; }

/* ---------- CTA band ------------------------------------------------------ */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2e2a8f 0%, var(--brand-deep) 42%, #1f7fa8 100%);
  color: #fff; text-align: center;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(520px 300px at 82% 110%, rgba(34, 211, 238, .38), transparent 62%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .45em; }
.cta-band p { color: rgba(255, 255, 255, .84); max-width: 54ch; margin-inline: auto; margin-bottom: 26px; }
.cta-band .btn--ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .34); color: #fff; box-shadow: none; }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .55); color: #fff; }
.cta-band .btn--primary { background: #fff; color: var(--brand-deep); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.cta-band .btn--primary:hover { color: var(--brand-deep); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer -------------------------------------------------------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 56px 32px; }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 36px 28px; margin-bottom: 40px;
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 36px; width: auto; margin-bottom: 16px; }
.footer__brand .logo-dark { display: none; }
:root[data-theme="dark"] .footer__brand .logo-light { display: none; }
:root[data-theme="dark"] .footer__brand .logo-dark  { display: block; }
.footer__brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.footer ul a:hover { color: var(--ink); }
.footer__bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
  color: var(--muted-2); font-size: .855rem;
}
.footer__bottom a { color: var(--muted-2); text-decoration: none; }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- Reveal animation --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Print --------------------------------------------------------- */
@media print {
  .header, .nav__actions, .cta-band, .form, .hero__glow { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  section { padding-block: 18pt; }
}
