/* ===========================================================
   LeakLogik — design system
   =========================================================== */

:root {
  /* Brand */
  --navy:      #193360;
  --navy-700:  #14294d;
  --navy-900:  #0b1b33;
  --sky:       #ace5fb;
  --sky-500:   #4bb8e8;
  --sky-700:   #1f7fb5;
  --cream:     #e9ebe1;
  --leaf:      #2f7d5d;
  --alert:     #d9534f;

  /* Semantic — the site is dark-only, so these are the only values. */
  --bg:            #070f1d;
  --bg-alt:        #0b1729;
  --surface:       #0f1d33;
  --surface-2:     #14263f;
  --text:          #eaf1fa;
  --text-muted:    #9db0c9;
  --border:        rgba(172, 229, 251, .14);
  --border-strong: rgba(172, 229, 251, .26);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 28px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.55);
  --glass: rgba(15, 29, 51, .72);

  /* 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", sans-serif;

  --step--1: clamp(.83rem, .80rem + .15vw, .92rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.09rem);
  --step-1:  clamp(1.19rem, 1.12rem + .35vw, 1.4rem);
  --step-2:  clamp(1.42rem, 1.30rem + .6vw, 1.85rem);
  --step-3:  clamp(1.7rem, 1.50rem + 1vw, 2.45rem);
  --step-4:  clamp(2.03rem, 1.70rem + 1.6vw, 3.25rem);
  --step-5:  clamp(2.44rem, 1.90rem + 2.6vw, 4.4rem);

  /* Space & shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --maxw: 1180px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 68px;
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, model-viewer { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
  font-weight: 700;
}
p { text-wrap: pretty; }
:focus-visible {
  outline: 3px solid var(--sky-500);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--sky); color: var(--navy-900); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--bg-alt); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem; height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: .7;
}
.section__head--center .eyebrow::before { display: none; }

h2.section__title { font-size: var(--step-4); }
h3.section__title { font-size: var(--step-3); }
.lede {
  margin-top: 1rem;
  font-size: var(--step-1);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9em 1.75em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--r-pill);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary {
  --btn-bg: linear-gradient(135deg, var(--navy) 0%, var(--sky-700) 100%);
  background-image: var(--btn-bg);
  background-color: var(--navy);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--border-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { padding: .7em 1.3em; font-size: var(--step--1); }
.btn--lg { padding: 1.02em 2em; font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.nav__logo { flex: none; display: flex; align-items: center; }
/* The wordmark is a vector with a transparent ground; `currentColor` tints the
   lettering while the droplet keeps its brand blue. */
.logo-mark { width: 100%; height: auto; display: block; }
.nav__logo .logo-mark { width: clamp(118px, 15vw, 152px); color: var(--text); }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(.35rem, 1.4vw, 1.1rem);
  margin-inline: auto;
  list-style: none;
  padding: 0;
}
.nav__links a {
  position: relative;
  display: block;
  padding: .5rem .35rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: .35rem; right: .35rem; bottom: .18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sky-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__links a[aria-current="true"]::after, .nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: .55rem; margin-left: auto; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  transition: background-color .2s var(--ease), transform .2s var(--ease), border-color .2s;
}
.icon-btn:hover { background: var(--surface-2); transform: translateY(-1px); border-color: var(--border-strong); }
.icon-btn svg { width: 19px; height: 19px; }
.nav__burger { display: none; }

@media (max-width: 880px) {
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-115%);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links a { padding: .85rem .25rem; font-size: var(--step-0); border-bottom: 1px solid var(--border); }
  .nav__links li:last-child a { border-bottom: 0; }
  .nav__links a::after { display: none; }
  .nav__burger { display: grid; }
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 38rem at 78% 8%,  color-mix(in oklab, var(--sky) 55%, transparent), transparent 62%),
    radial-gradient(48rem 34rem at 6% 26%,  color-mix(in oklab, var(--cream) 85%, transparent), transparent 60%),
    radial-gradient(40rem 30rem at 52% 88%, color-mix(in oklab, var(--sky-500) 22%, transparent), transparent 65%);
  opacity: .3;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  opacity: .55;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { margin-inline: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem .45rem .6rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.badge__dot {
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--leaf) 60%, transparent);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--leaf) 55%, transparent); }
  70%  { box-shadow: 0 0 0 .55rem transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero h1 {
  font-size: var(--step-5);
  font-weight: 800;
  margin-top: 1.25rem;
}
.hero h1 .grad {
  background: linear-gradient(105deg, var(--sky) 5%, #7fd4f5 50%, #cfe9ff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 1.25rem;
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 34rem;
}
@media (max-width: 940px) { .hero__sub { margin-inline: auto; } }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}
.hero__note { margin-top: 1rem; font-size: var(--step--1); color: var(--text-muted); }

/* Hero media */
.hero__media { position: relative; }
.device {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.device:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(0deg) translateY(-4px); }
.device img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .95rem;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  font-size: var(--step--1);
  line-height: 1.25;
  font-weight: 500;
  animation: float 7s ease-in-out infinite;
}
.hero__chip strong { display: block; font-family: var(--font-display); font-size: var(--step-0); }
.hero__chip span { color: var(--text-muted); }
.hero__chip--a { left: -1rem; top: 14%; animation-delay: -1s; }
.hero__chip--b { right: -1rem; bottom: 12%; animation-delay: -4s; }
.hero__chip i {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; flex: none;
  border-radius: 50%;
  background: color-mix(in oklab, var(--sky) 55%, var(--surface));
  color: var(--navy);
}
.hero__chip i svg { width: 1.1rem; height: 1.1rem; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (max-width: 560px) {
  .hero__chip--a { left: -.35rem; }
  .hero__chip--b { right: -.35rem; }
}

/* ---------- Stat band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stat { background: var(--surface); padding: clamp(1.3rem, 3vw, 2rem); }
.stat__num {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--sky);
}
.stat__label { margin-top: .5rem; font-size: var(--step--1); color: var(--text-muted); }

/* ---------- Cards / steps ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card__icon {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, color-mix(in oklab, var(--sky) 70%, var(--surface)), color-mix(in oklab, var(--sky-500) 26%, var(--surface)));
  color: var(--navy);
  margin-bottom: 1.15rem;
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card h3 { font-size: var(--step-2); margin-bottom: .55rem; }
.card p { color: var(--text-muted); }
.card__step {
  position: absolute;
  top: clamp(.6rem, 2vw, 1rem);
  right: clamp(.9rem, 2.4vw, 1.5rem);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  opacity: .10;
  pointer-events: none;
}
.card__tag {
  display: inline-block;
  margin-top: 1rem;
  padding: .3rem .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  background: color-mix(in oklab, var(--sky) 60%, var(--surface));
  border-radius: var(--r-pill);
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 760px) { .split--reverse > :first-child { order: 0; } }
.figure {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.figure img { width: 100%; }
.figure figcaption {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  padding: .6rem .9rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.checklist { list-style: none; padding: 0; margin-top: 1.75rem; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist svg {
  flex: none;
  width: 1.4rem; height: 1.4rem;
  margin-top: .12rem;
  padding: .2rem;
  border-radius: 50%;
  color: var(--surface);
  background: var(--leaf);
}
.checklist strong { font-family: var(--font-display); font-weight: 600; }
.checklist span { color: var(--text-muted); }

/* ---------- Calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.6rem; }
.field:last-child { margin-bottom: 0; }
.field__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .6rem;
}
.field__label { font-family: var(--font-display); font-weight: 600; font-size: var(--step-0); }
.field__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--sky);
  font-variant-numeric: tabular-nums;
}
.field__hint { margin-top: .45rem; font-size: var(--step--1); color: var(--text-muted); }
@media (max-width: 430px) {
  .field__top { flex-direction: column; align-items: flex-start; gap: .15rem; }
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--sky-700) var(--pct, 50%), var(--surface-2) var(--pct, 50%));
  border: 1px solid var(--border);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--navy);
  box-shadow: var(--shadow-sm);
}
.seg {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}
.seg button {
  padding: .5em 1.1em;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--r-pill);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.seg button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.calc__out {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-900) 60%, #06203c 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.calc__out .out__label {
  font-size: var(--step--1);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 600;
}
.calc__out .out__big {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.calc__out hr { border: 0; border-top: 1px solid rgba(255,255,255,.18); }
.calc__row { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step-0); }
.calc__row span { color: rgba(255,255,255,.72); }
.calc__row b { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.calc__foot { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ---------- 3D viewer ---------- */
.viewer {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  max-width: 720px;
  margin-inline: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 60% at 50% 40%, color-mix(in oklab, var(--sky) 30%, transparent), transparent 70%),
    var(--surface-2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.viewer model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
@media (max-width: 640px) {
  .viewer { aspect-ratio: 1; }
}
.viewer__hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .95rem;
  font-size: var(--step--1);
  color: var(--text-muted);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  white-space: nowrap;
  pointer-events: none;
}
.viewer__load {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: .8rem;
  text-align: center;
  padding: 2rem;
}
.viewer__load img { width: min(60%, 260px); opacity: .9; }
.spinner {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 3px solid var(--border-strong);
  border-top-color: var(--sky-700);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Included panel ---------- */
.included {
  margin-top: clamp(1rem, 2.5vw, 1.6rem);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.included h3 { font-size: var(--step-2); }
.included > p { margin-top: .5rem; color: var(--text-muted); }
.checklist--cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: .9rem clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 1.75rem;
  text-align: left;
}
.checklist--cols li { font-size: var(--step-0); }
.included__note {
  max-width: 44rem;
  margin: 1.75rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.65;
}
.included__cta { margin-top: 1.75rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .75rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1rem, 3vw, 1.5rem);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: .7rem; height: .7rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: .55;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .faq__body { padding: 0 clamp(1rem, 3vw, 1.5rem) 1.35rem; color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, var(--navy) 0%, #14416e 45%, var(--sky-700) 100%);
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 120%;
  background: radial-gradient(45rem 22rem at 25% 0%, rgba(172,229,251,.30), transparent 60%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { font-size: var(--step-4); }
.cta p { margin-top: 1rem; color: rgba(255,255,255,.82); font-size: var(--step-1); max-width: 38rem; margin-inline: auto; }
.cta .btn--primary {
  margin-top: 2rem;
  background-image: none;
  background-color: #fff;
  color: var(--navy);
}
.cta__fine { margin-top: 1.1rem; font-size: var(--step--1); color: rgba(255,255,255,.7); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.72);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__logo .logo-mark { width: 160px; color: #fff; }
.footer__blurb { margin-top: 1rem; max-width: 28rem; font-size: var(--step--1); line-height: 1.7; }
.footer h4 {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .9rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; font-size: var(--step--1); transition: color .2s var(--ease); }
.footer a:hover { color: var(--sky); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

.skip {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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