/* ==========================================================================
   eBenefits Tracker · design system (site.css)
   --------------------------------------------------------------------------
   1  Tokens            8  Header + mobile menu     15 Story (pinned steps)
   2  Base + type       9  Hero + ambient           16 Stats
   3  Layout           10  Dashboard mock           17 FAQ
   4  Buttons          11  Trust strip              18 Final CTA
   5  Chips + badges   12  Marquee                  19 Footer
   6  Cards            13  Feature bento            20 Sub-page helpers (page-hero, prose, contact)
   7  Forms            14  Mini visuals             21 Utilities, motion, reduced motion
   Rules: light site, dark navy bands for contrast, lime only as a small
   highlight, amber only for "deadline soon". No green, teal or cream.
   ========================================================================== */

/* 1 · Tokens ------------------------------------------------------------- */
:root {
  /* palette */
  --ink: #0A1024;
  --ink-2: #111A38;
  --ink-3: #1A2449;
  --cobalt: #2F5BFF;
  --cobalt-hover: #1E47EC;
  --cobalt-soft: #7D96FF;
  --cobalt-300: #A9B9FF;
  --lime: #C8F560;
  --lime-glow: rgba(200, 245, 96, 0.18);
  --bg: #F4F6FB;
  --card: #FFFFFF;
  --slate: #5B6478;
  --slate-2: #7A8297;
  --peri: #E8EDFF;
  --peri-2: #D5DEFF;
  --peri-3: #AFC0FF;
  --amber: #FFB020;
  --amber-soft: #FFF1D2;
  --amber-ink: #8A5300;
  --danger: #B42318;
  --danger-soft: #FFF0EE;
  --on-ink: #EEF1FA;
  --on-ink-muted: #A7AFC7;
  --on-ink-line: rgba(255, 255, 255, 0.1);
  --line: rgba(10, 16, 36, 0.08);
  --line-strong: rgba(10, 16, 36, 0.15);

  /* type */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-hero: clamp(2.6rem, 1.2rem + 5.7vw, 6.1rem);
  --fs-h1: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.7vw, 3.6rem);
  --fs-h3: clamp(1.18rem, 1.08rem + 0.4vw, 1.4rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.34vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* depth */
  --sh-1: 0 1px 2px rgba(10, 16, 36, 0.05), 0 1px 1px rgba(10, 16, 36, 0.03);
  --sh-2: 0 1px 2px rgba(10, 16, 36, 0.05), 0 12px 32px -12px rgba(10, 16, 36, 0.16);
  --sh-3: 0 2px 4px rgba(10, 16, 36, 0.05), 0 24px 60px -18px rgba(10, 16, 36, 0.24);
  --sh-dash: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 6px rgba(10, 16, 36, 0.06), 0 30px 70px -24px rgba(10, 16, 36, 0.32), 0 70px 140px -50px rgba(47, 91, 255, 0.5);

  /* layout */
  --gutter: 16px;
  --maxw: 1200px;
  --header-h: 64px;
  --section-y: clamp(80px, 11vw, 148px);

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --gutter: 32px; --header-h: 72px; } }

/* 2 · Base + type -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: inherit;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-hover); }
strong, b { font-weight: 600; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--cobalt); color: #fff; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.band-ink :focus-visible, .site-footer :focus-visible, .cta-card :focus-visible { outline-color: var(--lime); }

.h-display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.042em; line-height: 0.98; }
.h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.h2 { font-size: var(--fs-h2); font-weight: 750; letter-spacing: -0.036em; line-height: 1.02; }
.h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--slate); }
.muted { color: var(--slate); }
.tabular { font-variant-numeric: tabular-nums; }

/* eyebrow label with a tiny lime tick */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(10, 16, 36, 0.28);
  transform: rotate(45deg);
}
.band-ink .eyebrow { color: var(--cobalt-300); }
.band-ink .eyebrow::before { box-shadow: 0 0 0 4px var(--lime-glow); }

/* highlighted word: a lime marker stroke drawn under the word */
.hl { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.hl__stroke {
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.02em;
  width: calc(100% + 0.12em);
  height: 0.36em;
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}
.hl__stroke path { fill: none; stroke: var(--lime); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform 0.25s var(--ease-out);
}
.skip-link:focus { transform: none; color: #fff; }

/* inline icon from the sprite: <svg class="i"><use href="#i-check"/></svg> */
.i { width: 1.25em; height: 1.25em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 1em; height: 1em; }
.i--lg { width: 1.5em; height: 1.5em; }

/* 3 · Layout ------------------------------------------------------------- */
.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink .lead, .band-ink .muted { color: var(--on-ink-muted); }
.band-ink a:not(.btn) { color: var(--cobalt-300); }
.band-ink a:not(.btn):hover { color: #fff; }
.band-peri { background: var(--peri); }
.band-white { background: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head h2 { font-size: var(--fs-h2); font-weight: 750; letter-spacing: -0.036em; line-height: 1.02; }
.section-head .lead { margin-top: 20px; max-width: 620px; }
.section-head--split { display: grid; gap: 20px; max-width: none; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 64px; }
  .section-head--split .lead { margin-top: 0; }
}

.stack > * + * { margin-top: var(--stack, 16px); }

/* 4 · Buttons ------------------------------------------------------------ */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-sm);
  font: 600 1rem/1 var(--font-body);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.3s ease;
  touch-action: manipulation;
}
.btn__label { position: relative; display: inline-flex; align-items: center; gap: 10px; pointer-events: none; }
.btn .i { transition: transform 0.35s var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(3px); }
.btn--sm { --h: 40px; padding: 0 15px; font-size: 0.9375rem; border-radius: 10px; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 1.0625rem; border-radius: 14px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--cobalt);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(10, 16, 36, 0.18), 0 1px 2px rgba(10, 16, 36, 0.2), 0 12px 26px -12px rgba(47, 91, 255, 0.85);
}
.btn--primary:hover { background: var(--cobalt-hover); color: #fff; }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 1px 2px rgba(10, 16, 36, 0.06);
}
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(47, 91, 255, 0.55), 0 6px 16px -10px rgba(47, 91, 255, 0.6); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 14px 30px -14px rgba(0, 0, 0, 0.6); }
.btn--light:hover { background: var(--peri); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.btn--outline-light:hover { color: #fff; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.btn[disabled], .btn.is-loading { opacity: 0.7; cursor: progress; }

/* text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow .i { transition: transform 0.35s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(3px); }

/* 5 · Chips + badges ----------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--peri);
  color: var(--ink);
  font: 600 0.8125rem/1 var(--font-body);
  white-space: nowrap;
}
.chip .i { width: 15px; height: 15px; color: var(--cobalt); }
.chip--white { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.chip--amber { background: var(--amber-soft); color: var(--amber-ink); }
.chip--amber .i { color: var(--amber-ink); }
.chip--ink { background: var(--ink); color: #fff; }
.chip--ink .i { color: var(--lime); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); flex: 0 0 auto; }
.dot--lime { background: var(--lime); box-shadow: 0 0 0 1px rgba(10, 16, 36, 0.3); }
.dot--amber { background: var(--amber); }
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  font: 700 0.6875rem/1 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--cobalt { background: var(--cobalt); color: #fff; }

/* announcement pill above hero headlines */
.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px var(--line), 0 6px 18px -10px rgba(10, 16, 36, 0.25);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  max-width: 100%;
}
.pill-note .badge { border-radius: var(--r-pill); height: 24px; padding: 0 10px; }
.pill-note span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 6 · Cards -------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.card:hover { box-shadow: var(--sh-3); border-color: rgba(47, 91, 255, 0.18); }
.card[data-tilt] { transform-style: preserve-3d; }
.card[data-tilt]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 91, 255, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card[data-tilt]:hover::after { opacity: 1; }
.card__title { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.card__text { margin-top: 10px; color: var(--slate); font-size: var(--fs-small); line-height: 1.6; }
.card__viz { margin-top: auto; padding-top: 26px; }
.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 13px;
  background: var(--peri);
  color: var(--cobalt);
  box-shadow: inset 0 0 0 1px rgba(47, 91, 255, 0.1);
}
.icon-tile .i { width: 22px; height: 22px; }
.icon-tile--amber { background: var(--amber-soft); color: var(--amber-ink); }
.icon-tile--ink { background: var(--ink); color: var(--lime); }

/* 7 · Forms -------------------------------------------------------------- */
.form-card {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
}
.form-card > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 750; letter-spacing: -0.03em; }
.form-card > h2 + p { margin-top: 8px; color: var(--slate); }
.form-grid { display: grid; gap: 0 16px; margin-top: 28px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > label, .label { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--slate); }
.field__hint { font-size: var(--fs-xs); color: var(--slate); }
.input, .textarea, .select {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--slate-2); }
.input:hover, .textarea:hover, .select:hover { border-color: rgba(10, 16, 36, 0.28); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.18); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12); }
.textarea { min-height: 148px; resize: vertical; }
.select {
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235B6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field__error { font-size: var(--fs-xs); color: var(--danger); font-weight: 500; }
.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 6px 0 22px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate);
  cursor: pointer;
}
.check input {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border-radius: 7px;
  border: 1.5px solid rgba(10, 16, 36, 0.3);
  background: #fff center / 14px 14px no-repeat;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.check input:checked {
  background-color: var(--cobalt);
  border-color: var(--cobalt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.check input:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.check a { font-weight: 600; }
.form-status { margin: 14px 0 0; font-size: 0.9375rem; font-weight: 500; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 12px 16px; border-radius: var(--r-sm); background: var(--peri); color: #1A3AB8; }
.form-status.is-error { padding: 12px 16px; border-radius: var(--r-sm); background: var(--danger-soft); color: var(--danger); }
.disclosure {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}
.disclosure p + p { margin-top: 8px; }
.disclosure__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.disclosure__head .i { color: var(--cobalt); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* 8 · Header + mobile menu ----------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, -webkit-backdrop-filter 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled, .is-menu-open .site-header {
  background: rgba(244, 246, 251, 0.78);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(10, 16, 36, 0.35);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled, .is-menu-open .site-header { background: rgba(244, 246, 251, 0.97); }
}
.is-menu-open .site-header { background: var(--bg); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; transition: transform 0.6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
.brand__word { font: 800 1.1875rem/1 var(--font-display); letter-spacing: -0.035em; }
.brand__word span { font-weight: 600; color: var(--slate); }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__word span { color: var(--on-ink-muted); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96875rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav__list a:hover { background: rgba(10, 16, 36, 0.05); color: var(--ink); }
.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--cobalt);
}
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__cta { display: none; }
@media (min-width: 420px) { .site-header__cta { display: inline-flex; } }

.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn:hover { background: rgba(10, 16, 36, 0.05); }
.menu-btn__bars { position: relative; width: 20px; height: 12px; }
.menu-btn__bars i {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.menu-btn__bars i:first-child { top: 1px; }
.menu-btn__bars i:last-child { top: 9px; }
.is-menu-open .menu-btn__bars i:first-child { top: 5px; transform: rotate(45deg); }
.is-menu-open .menu-btn__bars i:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out), visibility 0s linear 0.6s;
}
.is-menu-open .mobile-menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 0.6s var(--ease-out), visibility 0s; }
.mobile-menu__list { list-style: none; }
.mobile-menu__list li {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}
.is-menu-open .mobile-menu__list li { opacity: 1; transform: none; transition-delay: calc(0.08s + var(--i, 0) * 0.05s); }
.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  color: var(--ink);
  font: 700 clamp(1.6rem, 1.2rem + 2vw, 2.2rem)/1.1 var(--font-display);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.mobile-menu__list a .i { color: var(--slate); width: 22px; height: 22px; }
.mobile-menu__list a[aria-current="page"] { color: var(--cobalt); }
.mobile-menu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; color: var(--slate); font-size: var(--fs-small); }
.is-menu-open { overflow: hidden; }
@media (min-width: 960px) {
  .nav { display: block; }
  .menu-btn, .mobile-menu { display: none; }
}

/* 9 · Hero + ambient ----------------------------------------------------- */
.hero {
  --tail: clamp(150px, 24vw, 330px);
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 8vw, 104px));
  background: linear-gradient(180deg, transparent 0, transparent calc(100% - var(--tail)), var(--ink) calc(100% - var(--tail)), var(--ink) 100%);
  overflow: hidden;
}
@supports (overflow: clip) { .hero { overflow: clip; } }
.hero__copy { position: relative; z-index: 2; max-width: 1000px; margin-inline: auto; text-align: center; }
.hero__title { margin-top: 26px; font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; }
.hero__sub { max-width: 650px; margin: 26px auto 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--slate); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; list-style: none; color: var(--slate); font-size: 0.875rem; }
.hero__ticks li { display: inline-flex; align-items: center; gap: 7px; }
.hero__ticks .i { width: 16px; height: 16px; color: var(--cobalt); stroke-width: 2.4; }
@media (max-width: 479.98px) {
  .hero__ctas .btn { width: 100%; }
}

.hero__stage {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 96px);
  perspective: 1500px;
  perspective-origin: 50% 0%;
}
.dash-scroll { position: relative; transform-origin: 50% 20%; transform-style: preserve-3d; will-change: transform; }
.dash-tilt { position: relative; transform-style: preserve-3d; will-change: transform; }
.hero__caption {
  position: relative;
  z-index: 1;
  margin: clamp(30px, 4vw, 44px) auto 0;
  max-width: 560px;
  padding-bottom: clamp(28px, 4vw, 48px);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--on-ink-muted);
}

.ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ambient__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10, 16, 36, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 16, 36, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 72% 52% at 50% 18%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 72% 52% at 50% 18%, #000 18%, transparent 74%);
}
.orb { position: absolute; border-radius: 50%; will-change: transform; animation: orb-drift 24s ease-in-out infinite alternate; }
.orb--a { width: 62vmax; height: 62vmax; left: -22vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(47, 91, 255, 0.2), rgba(47, 91, 255, 0)); }
.orb--b { width: 52vmax; height: 52vmax; right: -20vmax; top: -10vmax; background: radial-gradient(closest-side, rgba(143, 166, 255, 0.32), rgba(143, 166, 255, 0)); animation-duration: 28s; animation-delay: -9s; }
.orb--c { width: 26vmax; height: 26vmax; left: 56%; top: 14%; background: radial-gradient(closest-side, rgba(200, 245, 96, 0.17), rgba(200, 245, 96, 0)); animation-duration: 20s; animation-delay: -4s; }
.orb--ink { width: 70vmax; height: 70vmax; right: -30vmax; top: -20vmax; background: radial-gradient(closest-side, rgba(47, 91, 255, 0.24), rgba(47, 91, 255, 0)); }
.ambient__noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* drift on the individual translate/scale properties, so it composes with the pointer parallax that GSAP
   writes to `transform` (a keyframed `transform` would override GSAP's inline value and kill the parallax) */
@keyframes orb-drift {
  0% { translate: 0 0; scale: 1; }
  50% { translate: 4vmax 3vmax; scale: 1.08; }
  100% { translate: -3vmax 5vmax; scale: 0.95; }
}

/* word split (added by site.js) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.w__i { display: inline-block; }

/* 10 · Dashboard mock ---------------------------------------------------- */
.dash-frame {
  position: relative;
  padding: 8px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), var(--sh-dash);
}
.dash {
  position: relative;
  overflow: hidden;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 16, 36, 0.07);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
}
.dash .i { width: 16px; height: 16px; }
.dash__bar { display: flex; align-items: center; gap: 14px; height: 54px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.dash__app { display: flex; align-items: center; gap: 9px; font-weight: 700; font-family: var(--font-display); font-size: 14px; letter-spacing: -0.02em; white-space: nowrap; }
.dash__app svg { width: 22px; height: 22px; }
.dash__app small { font-family: var(--font-body); font-weight: 500; color: var(--slate); font-size: 12px; letter-spacing: 0; }
.dash__search {
  display: none;
  align-items: center;
  gap: 8px;
  height: 32px;
  width: min(300px, 32%);
  margin-inline: auto;
  padding: 0 10px;
  border-radius: 9px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--slate-2);
  font-size: 12.5px;
}
.dash__search kbd { margin-left: auto; padding: 2px 6px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font: 600 11px/1.2 var(--font-body); color: var(--slate); }
.dash__bar-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dash__status { display: none; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.dash__status .dot { width: 7px; height: 7px; background: var(--lime); box-shadow: 0 0 0 3px rgba(200, 245, 96, 0.22); }
.dash__bell { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.dash__bell::after { content: ""; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 2px #fff; }
.dash__body { display: grid; grid-template-columns: 1fr; }
.dash__side { display: none; padding: 16px 12px; border-right: 1px solid var(--line); background: #FAFBFE; }
.dash__nav { display: grid; gap: 2px; list-style: none; }
.dash__nav li { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 9px; color: var(--slate); font-weight: 500; }
.dash__nav li.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(10, 16, 36, 0.06), inset 0 0 0 1px var(--line); }
.dash__nav li.is-on .i { color: var(--cobalt); }
.dash__nav .count { margin-left: auto; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; background: var(--cobalt); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
.dash__areas { margin-top: 22px; padding: 0 10px; }
.dash__areas p { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 8px; }
.dash__areas ul { list-style: none; display: grid; gap: 9px; color: var(--slate); }
.dash__areas li { display: flex; align-items: center; gap: 9px; }
.dash__areas .sw { width: 8px; height: 8px; border-radius: 3px; }
.dash__main { padding: 16px; min-width: 0; }
.dash__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.dash__hello { font: 700 17px/1.2 var(--font-display); letter-spacing: -0.025em; }
.dash__hello span { display: block; margin-top: 3px; font: 500 12px/1.3 var(--font-body); letter-spacing: 0; color: var(--slate); }
.dash__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dchip { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.dchip .dot { width: 7px; height: 7px; }
.dash__grid { display: grid; gap: 12px; grid-template-columns: 1fr; grid-template-areas: "cal" "inbox" "rings"; }

.mod { position: relative; min-width: 0; padding: 14px; border-radius: 15px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mod__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mod__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.mod__title .i { color: var(--cobalt); }
.mod__meta { color: var(--slate); font-size: 11.5px; white-space: nowrap; }

/* calendar heatmap */
.mod--cal { grid-area: cal; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal__week { margin-bottom: 6px; color: var(--slate-2); font-size: 10.5px; font-weight: 600; text-align: center; letter-spacing: 0.04em; }
.cal__d {
  position: relative;
  aspect-ratio: 1 / 0.86;
  border-radius: 7px;
  background: #F6F8FE;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
.cal__d.is-pad { background: transparent; }
.cal__fill { position: absolute; inset: 0; border-radius: inherit; background: transparent; transform-origin: 50% 50%; }
.cal__d b { position: absolute; left: 6px; top: 4px; z-index: 1; font-weight: 600; }
.cal__d[data-l="1"] .cal__fill { background: var(--peri); }
.cal__d[data-l="2"] .cal__fill { background: var(--peri-2); }
.cal__d[data-l="3"] .cal__fill { background: var(--peri-3); }
.cal__d[data-l="3"] { color: var(--ink); }
.cal__d.is-renew .cal__fill { background: var(--cobalt); }
.cal__d.is-renew { color: #fff; }
.cal__d.is-due .cal__fill { background: var(--amber); }
.cal__d.is-due { color: var(--ink); }
.cal__d.is-today { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.cal__d.is-today .cal__fill { inset: 3px; border-radius: 5px; }
.cal__d.is-next::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--cobalt);
}
.cal__d.is-next::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: 0;
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(47, 91, 255, 0.35);
  opacity: 0;
}
.js-motion .cal__d.is-next::before { animation: cal-ping 2.4s var(--ease-out) infinite; }
@keyframes cal-ping { 0% { opacity: 0.9; transform: scale(0.9); } 70%, 100% { opacity: 0; transform: scale(1.18); } }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; color: var(--slate); font-size: 11px; }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.cal__heat { display: inline-flex; gap: 2px; }
.cal__heat i { width: 9px; height: 9px; }

/* inbox */
.mod--inbox { grid-area: inbox; display: flex; flex-direction: column; }
.inbox__count { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: var(--r-pill); background: var(--cobalt); color: #fff; font-size: 10.5px; font-weight: 700; }
/* the list is taken out of flow so new rows can never change the panel's height (no layout shift) */
.inbox__view { position: relative; flex: 1 1 0; min-height: 224px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.inbox__list { position: absolute; top: 0; left: 0; right: 0; list-style: none; will-change: transform; }
@media (min-width: 640px) { .inbox__view { min-height: 280px; } }
.msg {
  --row: 56px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  height: var(--row);
  border-bottom: 1px solid var(--line);
}
.msg__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--peri); color: var(--cobalt); }
.msg__ic .i { width: 16px; height: 16px; }
.msg.is-due .msg__ic { background: var(--amber-soft); color: var(--amber-ink); }
.msg__txt { min-width: 0; }
.msg__t { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; font-size: 12.5px; }
.msg__m { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 2px; color: var(--slate); font-size: 11.5px; }
.msg__side { display: grid; justify-items: end; gap: 6px; }
.msg__time { color: var(--slate-2); font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.msg__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); transition: opacity 0.5s ease, transform 0.5s ease; }
.msg.is-read .msg__dot { opacity: 0; transform: scale(0.4); }
.msg.is-read .msg__t { font-weight: 500; color: #2A3150; }
.inbox__foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; color: var(--slate); font-size: 11.5px; }
.inbox__foot span { display: inline-flex; align-items: center; gap: 6px; }
.inbox__foot .i { width: 14px; height: 14px; color: var(--cobalt); }

/* rings (dark module) */
.mod--rings { grid-area: rings; background: var(--ink); color: #fff; box-shadow: none; }
.mod--rings .mod__title .i { color: var(--lime); }
.mod--rings .mod__meta { color: var(--on-ink-muted); }
.rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ring { display: grid; justify-items: center; gap: 6px; text-align: center; }
.ring__svg { position: relative; width: 100%; max-width: 64px; aspect-ratio: 1; }
.ring__svg svg { width: 100%; height: 100%; overflow: visible; }
.ring__track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 4; }
.ring__bar { fill: none; stroke: var(--cobalt-soft); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 113.1; }
.ring__tip { fill: var(--lime); }
.ring__num { position: absolute; inset: 0; display: grid; place-items: center; font: 700 12.5px/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ring__label { font-size: 11.5px; font-weight: 600; }
.ring__label small { display: block; font-weight: 500; color: var(--on-ink-muted); font-size: 10.5px; margin-top: 1px; }

/* floating chip + toast that sit in front of the panel */
.float { position: absolute; z-index: 5; }
.float--count { top: -38px; right: 10px; }
.float--toast { display: none; left: -14px; bottom: 22%; }
.fchip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px 9px 9px;
  border-radius: 15px;
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 18px 40px -14px rgba(10, 16, 36, 0.6);
}
.fchip__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lime); color: var(--ink); }
.fchip__ic .i { width: 18px; height: 18px; stroke-width: 2.1; }
.fchip__t { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.fchip__time { display: block; margin-top: 2px; font: 600 12px/1.2 var(--font-display); color: var(--cobalt-300); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; white-space: nowrap; }
.fchip__time span { display: inline-block; }
.ftoast {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 284px;
  padding: 10px 14px 10px 10px;
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -18px rgba(10, 16, 36, 0.45);
}
.ftoast__ic { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--peri); color: var(--cobalt); }
.ftoast__ic .i { width: 18px; height: 18px; }
.ftoast__body { min-width: 0; }
.ftoast__k { display: block; color: var(--slate); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.ftoast__t { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; line-height: 1.3; }

@media (max-width: 639.98px) {
  .dash { font-size: 12px; }
  .dash__bar { height: 48px; padding: 0 12px; }
  .dash__main { padding: 12px; }
  .dash__app small { display: none; }
  .mod { padding: 12px; }
  .msg__time { display: none; }
  .msg.is-read .msg__side { display: none; }
  .float--count { top: -34px; right: 6px; }
  .fchip { padding: 7px 11px 7px 7px; }
  .fchip__ic { width: 28px; height: 28px; }
}
@media (min-width: 640px) {
  .dash__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: "cal inbox" "rings inbox"; }
  .dash__status { display: inline-flex; }
  .float--toast { display: block; }
}
@media (min-width: 900px) {
  .dash__body { grid-template-columns: 196px minmax(0, 1fr); }
  .dash__side { display: block; }
  .dash__search { display: flex; }
  .dash__main { padding: 20px; }
  .mod { padding: 16px; }
  .float--count { top: -24px; right: -18px; }
  .float--toast { left: -24px; }
}
@media (min-width: 1380px) {
  .float--count { right: -44px; }
  .float--toast { left: -64px; }
}

/* 11 · Trust strip ------------------------------------------------------- */
.trust { padding-block: clamp(36px, 5vw, 56px) clamp(56px, 7vw, 88px); }
.trust__list { display: grid; gap: 1px; list-style: none; border-radius: var(--r-lg); overflow: hidden; background: var(--on-ink-line); box-shadow: inset 0 0 0 1px var(--on-ink-line); }
.trust__item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 22px; background: var(--ink); }
.trust__item .icon-tile { width: 40px; height: 40px; margin: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.trust__item .icon-tile .i { width: 20px; height: 20px; }
.trust__item strong { display: block; color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.trust__item span { display: block; margin-top: 4px; color: var(--on-ink-muted); font-size: 0.9rem; line-height: 1.5; }
@media (min-width: 640px) { .trust__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }

/* 12 · Marquee ----------------------------------------------------------- */
.marquee-block { padding-bottom: clamp(64px, 9vw, 112px); }
.marquee-block__label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; color: var(--on-ink-muted); font-size: var(--fs-small); }
.marquee-block__label strong { color: #fff; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.marquee { position: relative; overflow: hidden; padding-block: 6px; }
/* edge fade only while it actually scrolls; the static (no-JS / reduced-motion) wrap keeps crisp edges */
.js-motion .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-inline: var(--gutter); list-style: none; }
.js-motion .marquee__track { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; padding-inline: 0; will-change: transform; }
.js-motion .marquee__track > * { margin-right: 12px; }
.mchip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
.mchip:hover { background: rgba(255, 255, 255, 0.08); }
/* static wrap (no GSAP or reduced motion): compact chips so the two rows read as a tidy cloud, not a tall list */
html:not(.js-motion) .mchip { height: 42px; padding: 0 14px 0 11px; gap: 8px; font-size: 0.9375rem; }
html:not(.js-motion) .mchip .i { width: 17px; height: 17px; }
.mchip .i { width: 20px; height: 20px; color: var(--cobalt-300); }
.mchip--hl .i { color: var(--lime); }
/* light variant for marquees on light sections */
.marquee--light .mchip { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
.marquee--light .mchip .i { color: var(--cobalt); }

/* 13 · Feature bento ----------------------------------------------------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .card--wide, .bento .card--full { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .bento > .card { grid-column: span 2; }
  .bento .card--wide { grid-column: span 4; }
  .bento .card--full { grid-column: span 6; }
}
.card--full { display: grid; gap: 28px; align-items: center; }
.card--full .card__viz { margin: 0; padding: 0; }
@media (min-width: 860px) { .card--full { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* 14 · Mini visuals (feature cards + story) ------------------------------ */
.viz { position: relative; padding: 18px; border-radius: var(--r-md); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.8125rem; }
.viz-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.viz-months span { text-align: center; color: var(--slate-2); font-size: 11px; font-weight: 600; }
.viz-track { position: relative; height: 34px; margin-top: 10px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.viz-track__win {
  position: absolute; top: 5px; bottom: 5px; left: calc(100% / 12 * 8); width: calc(100% / 12 * 2.2);
  border-radius: 7px; background: var(--cobalt); color: #fff; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden;
  transform-origin: left center;
}
.viz-track__win--soft { left: calc(100% / 12 * 2); width: calc(100% / 12 * 1.4); background: var(--peri-2); color: var(--ink); }
.viz-track__now { position: absolute; top: -6px; bottom: -6px; left: calc(100% / 12 * 9.2); width: 2px; border-radius: 2px; background: var(--ink); }
.viz-track__now::before { content: ""; position: absolute; top: -5px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }
.viz-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.viz-row + .viz-row { margin-top: 10px; }
.viz-strike { color: var(--slate-2); text-decoration: line-through; text-decoration-thickness: 1.5px; font-weight: 600; }
.viz-list { display: grid; gap: 8px; list-style: none; }
.viz-list li { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: 0.8125rem; }
.viz-tick { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: var(--cobalt); color: #fff; flex: 0 0 auto; }
.viz-tick .i { width: 12px; height: 12px; stroke-width: 3; }
.viz-tick--open { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.viz-lines { display: grid; gap: 7px; margin-top: 12px; }
.viz-lines i { display: block; height: 7px; border-radius: 4px; background: var(--peri-2); }
.viz-lines i:nth-child(2) { width: 88%; }
.viz-lines i:nth-child(3) { width: 64%; }
.viz-url { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); font-weight: 600; color: var(--ink); }
.viz-url .i { color: var(--slate); }
.viz-url .i:last-child { margin-left: auto; color: var(--cobalt); }

/* 15 · Story (pinned how-it-works) --------------------------------------- */
.story { position: relative; overflow: hidden; }
.story .ambient { opacity: 0.9; }
.story__inner { position: relative; z-index: 1; display: grid; gap: 48px; }
.story__title { font-size: var(--fs-h2); font-weight: 750; letter-spacing: -0.036em; line-height: 1.02; color: #fff; }
.story__intro { margin-top: 18px; max-width: 480px; color: var(--on-ink-muted); font-size: var(--fs-lead); }
.story__list { position: relative; margin-top: 36px; }
.story__steps { list-style: none; display: grid; gap: 4px; }
.story__step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 14px 0; }
.story__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--ink-3);
  color: #DCE2F5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font: 700 0.95rem/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}
.story__step h3 { padding-top: 9px; font-size: 1.3rem; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.story__step p { margin-top: 6px; color: var(--on-ink-muted); font-size: 0.98rem; line-height: 1.6; max-width: 460px; }
.story__rail { position: absolute; left: 21px; top: 36px; bottom: 36px; width: 2px; display: none; overflow: visible; }
.story__rail svg { width: 2px; height: 100%; overflow: visible; }
.story__rail path { fill: none; stroke-width: 2; }
.story__rail .rail-track { stroke: rgba(255, 255, 255, 0.12); }
.story__rail .rail-fill { stroke: var(--cobalt-soft); stroke-dasharray: 1; stroke-dashoffset: 0; }

.story__stage { position: relative; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .story__stage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.story__swoosh { display: none; }
.story__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #15204A 0%, #0E1634 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.story__visual-k { display: block; margin-bottom: 16px; color: var(--cobalt-300); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

@media (min-width: 960px) {
  .story__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 72px; }
  .story.is-pinned { display: flex; align-items: center; min-height: 100vh; padding-block: calc(var(--header-h) + 24px) 40px; }
  .story.is-pinned .story__inner { width: min(var(--maxw), 100% - 2 * var(--gutter)); }
  .story.is-pinned .story__rail { display: block; }
  .story.is-pinned .story__title { font-size: clamp(2rem, 1rem + 2.3vw, 3.1rem); }
  .story.is-pinned .story__list { margin-top: 28px; }
  .story.is-pinned .story__step { padding: 10px 0; }
  .story.is-pinned .story__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease-out); }
  /* margin moved to padding so a collapsed step leaves no 6px residue */
  .story.is-pinned .story__body > p { min-height: 0; margin-top: 0; padding-top: 6px; overflow: hidden; opacity: 0; transition: opacity 0.4s ease; }
  .story.is-pinned .story__step.is-active .story__body { grid-template-rows: 1fr; }
  .story.is-pinned .story__step.is-active .story__body > p { opacity: 1; transition-delay: 0.12s; }
  .story.is-pinned .story__step { opacity: 0.38; transition: opacity 0.5s ease; }
  .story.is-pinned .story__step.is-active { opacity: 1; }
  .story.is-pinned .story__step.is-done { opacity: 0.62; }
  .story.is-pinned .story__step.is-active .story__num { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 6px var(--lime-glow); }
  .story.is-pinned .story__step.is-done .story__num { background: var(--cobalt); color: #fff; box-shadow: none; }
  .story.is-pinned .story__stage { display: block; height: min(560px, 68vh); }
  .story.is-pinned .story__visual { position: absolute; inset: 0; min-height: 0; }
  .story.is-pinned .story__swoosh { display: block; position: absolute; inset: -10% -14%; width: 128%; height: 120%; z-index: -1; overflow: visible; pointer-events: none; }
  .story__swoosh path { fill: none; stroke: rgba(125, 150, 255, 0.45); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
  .story__swoosh path + path { stroke: rgba(200, 245, 96, 0.5); stroke-width: 1.5; }
}
/* short laptop viewports (1366x768, 1536x864): keep the pinned story inside one screen */
@media (min-width: 960px) and (max-height: 779.98px) {
  .story.is-pinned { padding-block: calc(var(--header-h) + 12px) 20px; }
  .story.is-pinned .eyebrow { margin-bottom: 12px; }
  .story.is-pinned .story__title { font-size: clamp(1.8rem, 0.9rem + 1.7vw, 2.5rem); }
  .story.is-pinned .story__intro { margin-top: 12px; font-size: 1rem; }
  .story.is-pinned .story__list { margin-top: 18px; }
  .story.is-pinned .story__step { padding: 6px 0; }
  .story.is-pinned .story__step h3 { font-size: 1.15rem; }
  .story.is-pinned .story__step p { font-size: 0.94rem; line-height: 1.5; }
  .story.is-pinned .story__stage { height: min(500px, 70vh); }
}
@media (min-width: 960px) and (max-height: 689.98px) {
  .story.is-pinned .story__intro { display: none; }
}

/* story visual pieces */
.sv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); color: #DDE3F6; font-weight: 500; font-size: 0.95rem; }
.sv-chip .i { width: 18px; height: 18px; color: var(--on-ink-muted); }
.sv-chip.is-on { background: var(--cobalt); color: #fff; box-shadow: 0 10px 24px -12px rgba(47, 91, 255, 0.9); }
.sv-chip.is-on .i { color: #fff; }
.sv-chip.is-on::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-radius: 50%; background: var(--lime); }
.sv-note { margin-top: 20px; color: var(--on-ink-muted); font-size: 0.92rem; }
.sv-doc { padding: 22px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.sv-doc__tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--peri); color: var(--cobalt); font-size: 0.75rem; font-weight: 700; }
.sv-doc__t { margin-top: 12px; font: 700 1.3rem/1.15 var(--font-display); letter-spacing: -0.025em; }
.sv-doc ol { margin-top: 14px; list-style: none; display: grid; gap: 8px; counter-reset: sv; }
.sv-doc li { counter-increment: sv; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 0.9rem; font-weight: 500; }
.sv-doc li::before { content: counter(sv); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 0.75rem; font-weight: 700; color: var(--slate); }
.sv-doc__foot { margin-top: 12px; color: var(--slate); font-size: 0.8125rem; }
.sv-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sv-cal span { aspect-ratio: 1; border-radius: 9px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); color: var(--on-ink-muted); font-size: 0.75rem; font-weight: 600; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.sv-cal span.is-renew { background: var(--cobalt); color: #fff; box-shadow: none; }
.sv-cal span.is-due { background: var(--amber); color: var(--ink); box-shadow: none; }
.sv-cal span.is-today { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.sv-rows { display: grid; gap: 8px; margin-top: 16px; }
.sv-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: #E4E8F6; font-size: 0.9rem; }
.sv-row .dot { width: 9px; height: 9px; }
.sv-row em { margin-left: auto; font-style: normal; color: var(--on-ink-muted); font-size: 0.8125rem; }
.sv-phone { display: grid; gap: 10px; }
.sv-bubble { max-width: 92%; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: #fff; color: var(--ink); font-size: 0.92rem; line-height: 1.5; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8); }
.sv-bubble small { display: block; margin-bottom: 4px; color: var(--slate); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.sv-bubble--me { justify-self: end; border-radius: 18px 18px 6px 18px; background: var(--cobalt); color: #fff; font-weight: 600; }
.sv-mail { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: #E4E8F6; font-size: 0.9rem; }
.sv-mail .i { color: var(--lime); }
.sv-mail b { display: block; color: #fff; }
.sv-mail span { color: var(--on-ink-muted); font-size: 0.8125rem; }

/* 16 · Stats ------------------------------------------------------------- */
.stats__grid { display: grid; gap: 1px; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: rgba(47, 91, 255, 0.14); box-shadow: 0 0 0 1px rgba(47, 91, 255, 0.14), var(--sh-2); }
.stat { display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 40px); background: #fff; }
.stat__num { order: -1; margin: 0; font: 800 clamp(3.6rem, 2.6rem + 4vw, 6rem)/0.9 var(--font-display); letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__num::after { content: ""; display: block; width: 36px; height: 5px; margin-top: 18px; border-radius: 3px; background: var(--lime); box-shadow: inset 0 0 0 1px rgba(10, 16, 36, 0.12); }
.stat__label { margin-top: 18px; font: 650 1.12rem/1.3 var(--font-display); letter-spacing: -0.015em; }
.stat__note { margin: 8px 0 0; color: var(--slate); font-size: 0.9375rem; line-height: 1.55; }
.stat--note { justify-content: center; background: var(--ink); color: var(--on-ink); }
.stat--note .stat__label { margin-top: 0; color: #fff; }
.stat--note .stat__note { color: var(--on-ink-muted); }
.stat--note .icon-tile { background: rgba(255, 255, 255, 0.07); color: var(--lime); }
@media (min-width: 640px) { .stats__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* 17 · FAQ --------------------------------------------------------------- */
.faq__inner { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq__inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; } .faq__intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq__intro h2 { font-size: var(--fs-h2); font-weight: 750; letter-spacing: -0.036em; line-height: 1.02; }
.faq__intro .lead { margin-top: 18px; }
.faq__mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 14px 18px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); color: var(--ink); font-weight: 600; text-decoration: none; }
.faq__mail:hover { color: var(--cobalt); }
.faq__mail .i { color: var(--cobalt); }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.35s ease; }
.faq__item[open], .faq__item.is-open { box-shadow: inset 0 0 0 1px rgba(47, 91, 255, 0.28), var(--sh-2); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 16px 20px 16px 22px;
  cursor: pointer;
  list-style: none;
  font: 650 1.0625rem/1.35 var(--font-display);
  letter-spacing: -0.012em;
  border-radius: var(--r-md);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__icon { position: relative; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px; background: var(--peri); transition: background-color 0.3s ease, transform 0.5s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--cobalt); transition: transform 0.5s var(--ease-out), background-color 0.3s ease; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open]:not(.is-closing) .faq__icon { background: var(--cobalt); transform: rotate(180deg); }
.faq__item[open]:not(.is-closing) .faq__icon::before, .faq__item[open]:not(.is-closing) .faq__icon::after { background: #fff; }
.faq__item[open]:not(.is-closing) .faq__icon::after { transform: rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a-inner { padding: 0 22px 22px; color: var(--slate); max-width: 640px; }
.faq__a-inner p + p { margin-top: 10px; }

/* 18 · Final CTA --------------------------------------------------------- */
.cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(40px, 7vw, 96px) clamp(22px, 6vw, 88px);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--ink);
  color: var(--on-ink);
  text-align: center;
}
.cta-card .ambient__grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 10%, transparent 70%);
}
.cta-card__glow { position: absolute; left: 50%; bottom: -60%; width: 120%; aspect-ratio: 1.6; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 91, 255, 0.55), rgba(47, 91, 255, 0)); z-index: -1; }
.cta-card h2 { position: relative; max-width: 820px; margin-inline: auto; font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; color: #fff; }
.cta-card .lead { position: relative; max-width: 560px; margin: 20px auto 0; color: var(--on-ink-muted); }
.cta-card__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.cta-card__fine { position: relative; max-width: 560px; margin: 26px auto 0; font-size: var(--fs-xs); color: var(--on-ink-muted); }
@media (max-width: 479.98px) { .cta-card__actions .btn { width: 100%; } }

/* 19 · Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--on-ink); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: var(--fs-small); }
.footer__top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--on-ink-line); }
@media (min-width: 720px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.6fr 0.8fr 0.8fr 1.2fr; } .footer__brand { grid-column: auto; } }
.footer__brand p { max-width: 340px; margin-top: 18px; color: var(--on-ink-muted); line-height: 1.6; }
.footer__mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: #fff; font-weight: 600; text-decoration: none; }
.site-footer .footer__mail { color: #fff; }
.footer__mail .i { color: var(--lime); }
.footer__mail:hover { color: var(--cobalt-300); }
.footer__h { margin-bottom: 16px; font: 700 0.75rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-muted); }
.footer__links { list-style: none; display: grid; gap: 10px; }
.site-footer .footer__links a { color: #fff; text-decoration: none; }
.site-footer .footer__links a:hover { color: var(--cobalt-300); text-decoration: underline; }
.footer__address { color: #DDE2F2; line-height: 1.7; }
.footer__disclaimer { margin-top: 32px; padding: 20px 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--on-ink-line); color: var(--on-ink-muted); font-size: 0.875rem; line-height: 1.65; }
.footer__disclaimer strong { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; color: var(--on-ink-muted); font-size: 0.875rem; }
.footer__bottom nav { display: flex; gap: 20px; }
.site-footer .footer__bottom a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer .footer__bottom a:hover { color: #fff; }

/* 20 · Sub-page helpers -------------------------------------------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
@supports (overflow: clip) { .page-hero { overflow: clip; } }
.page-hero__inner { position: relative; z-index: 1; max-width: 860px; }
.page-hero--center .page-hero__inner { margin-inline: auto; text-align: center; }
.page-hero h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.page-hero .lead { margin-top: 22px; max-width: 640px; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero__meta { margin-top: 18px; color: var(--slate); font-size: var(--fs-small); }

.split { display: grid; gap: 32px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } .split--form { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

.prose { max-width: 72ch; color: #232B45; font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; font-weight: 650; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--cobalt); }
.prose a { font-weight: 600; }
.prose strong { color: var(--ink); }
.prose .note { padding: 18px 20px; border-radius: var(--r-md); background: var(--peri); color: var(--ink); font-size: 0.98rem; }
.toc { display: grid; gap: 4px; list-style: none; padding: 20px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-small); }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--slate); text-decoration: none; }
.toc a:hover { background: var(--bg); color: var(--ink); }

.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
.contact-card .icon-tile { margin: 0; }
.contact-card h3 { font-size: 1.05rem; font-weight: 650; }
.contact-card p, .contact-card address { margin-top: 4px; color: var(--slate); }
.contact-card + .contact-card { margin-top: 12px; }

/* 21 · Utilities, motion, reduced motion --------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.divider { height: 1px; border: 0; background: var(--line); margin: 0; }

/* Only when site.js confirmed GSAP (html.js-motion) do any motion-only styles apply. */
/* No blanket will-change on reveal targets: GSAP promotes layers only while a tween runs (force3D auto),
   so dozens of cards and every split word do not stay as permanent GPU layers with soft text. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .orb { animation: none !important; }
  .js-motion .cal__d.is-next::before { animation: none !important; }
}

/* ==========================================================================
   22 · Legal pages (terms.html, privacy.html)  [appended by the legal-pages build]
   body.page-legal > .page-hero[data-hero] + .legal-summary + .legal
   .legal__grid = sticky .legal__aside (toc-card + help card) | article.legal__sheet.prose
   JS hooks (end of site.js, always on): [data-toc] [data-toc-details] [data-toc-progress] [data-toc-doc]
   ========================================================================== */
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; list-style: none; color: var(--slate); font-size: var(--fs-small); }
.legal-meta li { display: inline-flex; align-items: center; gap: 8px; }
.legal-meta .i { width: 17px; height: 17px; color: var(--cobalt); }
.legal-meta strong { color: var(--ink); font-weight: 600; }

.legal-summary { position: relative; padding-bottom: clamp(40px, 6vw, 72px); }
.legal-summary__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.legal-summary__head h2 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); font-weight: 750; letter-spacing: -0.03em; }
.legal-summary__head p { color: var(--slate); font-size: var(--fs-small); }
.legal-summary__grid { display: grid; gap: 12px; list-style: none; }
@media (min-width: 640px) { .legal-summary__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .legal-summary__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.legal-summary .card { padding: 22px; border-radius: var(--r-lg); }
.legal-summary .icon-tile { width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; }
.legal-summary .icon-tile .i { width: 20px; height: 20px; }
.legal-summary .card__title { font-size: 1.06rem; }
.legal-summary .card__text { margin-top: 6px; }

.legal { padding-block: 0 var(--section-y); }
.legal__grid { display: grid; gap: 24px; }
@media (min-width: 1024px) {
  .legal__grid { grid-template-columns: 276px minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
  .legal__aside { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 2px; margin: -2px; }
}
.legal__aside { display: grid; gap: 12px; align-content: start; min-width: 0; }

/* table of contents card */
.toc-card { border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); overflow: hidden; }
.toc-card__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 18px; font-weight: 650; color: var(--ink); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.toc-card__sum::-webkit-details-marker { display: none; }
.toc-card__sum::marker { content: ""; }
.toc-card__sum .i { color: var(--slate); transition: transform 0.45s var(--ease-out); transform: rotate(90deg); }
.toc-card[open] .toc-card__sum .i { transform: rotate(-90deg); }
.toc-card__sum:focus-visible { outline-offset: -3px; border-radius: var(--r-lg); }
.toc-card__k { display: none; }
.toc-card__progress { position: relative; height: 2px; margin: 0 18px; border-radius: 2px; background: var(--peri); overflow: hidden; }
.toc-card__progress i { position: absolute; inset: 0; background: var(--cobalt); transform: scaleX(0); transform-origin: 0 50%; }
.toc-card__progress i::after { content: ""; position: absolute; right: 0; top: 0; width: 10px; height: 2px; background: var(--lime); }
.toc-card .toc { margin: 0; padding: 10px 8px 12px; background: none; box-shadow: none; border-radius: 0; counter-reset: none; }
.toc-card .toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: baseline; gap: 4px; padding: 7px 10px; border-radius: 9px; line-height: 1.35; transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.toc__n { font-size: var(--fs-xs); font-weight: 600; color: var(--slate-2); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.toc-card .toc a.is-active { background: var(--peri); color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--cobalt); }
.toc-card .toc a.is-active .toc__n { color: var(--cobalt); }
@media (min-width: 1024px) {
  .toc-card__sum { display: none; }
  .toc-card__k { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; font: 700 0.75rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
  .toc-card__k span:last-child { letter-spacing: 0.02em; text-transform: none; font-weight: 600; color: var(--cobalt); font-variant-numeric: tabular-nums; }
  .toc-card .toc { padding: 6px 8px 10px; gap: 1px; }
  .toc-card .toc a { padding: 4px 10px; }
}
/* soften the bottom edge of the page-hero glow on legal pages */
.page-legal .page-hero .ambient { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }

/* help card under the toc (navy) */
.legal__help { position: relative; padding: 22px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.legal__help::before { content: ""; position: absolute; right: -40%; top: -60%; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 91, 255, 0.45), rgba(47, 91, 255, 0)); z-index: -1; }
.legal__help h2 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.legal__help p { margin-top: 6px; color: var(--on-ink-muted); font-size: var(--fs-small); line-height: 1.55; }
.legal__help ul { display: grid; gap: 8px; margin-top: 16px; list-style: none; font-size: var(--fs-small); }
.legal__help li a { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.legal__help li a:hover { text-decoration: underline; }
.legal__help .i { width: 17px; height: 17px; color: var(--lime); flex: 0 0 auto; }

/* the document sheet */
.legal__sheet { min-width: 0; max-width: none; padding: clamp(22px, 5vw, 64px); border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); }
.legal__sheet > * { max-width: 70ch; }
.legal__sheet a { overflow-wrap: anywhere; }
.legal__sheet h2 { display: flex; align-items: baseline; gap: 14px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__sheet h2:not(:first-of-type) { margin-top: 2.4em; padding-top: 1.7em; border-top: 1px solid var(--line); }
.legal__sheet h2:focus { outline: none; }
.legal__sheet h3 { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__n { flex: 0 0 auto; display: inline-grid; place-items: center; min-width: 2.4em; height: 1.75em; padding: 0 6px; border-radius: 8px; background: var(--peri); color: var(--cobalt); font: 650 0.8rem/1 var(--font-body); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; transform: translateY(-0.22em); }
.legal__sheet .note { display: flex; gap: 14px; align-items: flex-start; }
.legal__sheet .note .i { flex: 0 0 auto; margin-top: 3px; color: var(--cobalt); }
.legal__sheet .note--first { margin-top: 0; }
.legal__caps { font-size: 0.95em; letter-spacing: 0.01em; color: var(--ink); }
.legal__sheet ol[type="a"] { list-style-type: lower-alpha; }
.legal__contact { display: grid; gap: 12px; }
@media (min-width: 720px) { .legal__contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.legal__contact .contact-card { flex-direction: column; gap: 14px; margin: 0; padding: 20px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.55; }
.legal__contact .contact-card + .contact-card { margin-top: 0; }
.legal__contact .contact-card h3 { margin: 0; font-size: 1rem; }
.legal__contact .contact-card p, .legal__contact .contact-card address { font-size: var(--fs-small); }
.legal__contact .icon-tile { width: 40px; height: 40px; }
.legal__top { display: flex; justify-content: flex-end; margin-top: 2.6em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.legal__top .i { transform: rotate(-90deg); }
.legal__top a:hover .i { transform: rotate(-90deg) translateX(3px); }

@media print {
  .page-legal .site-header, .page-legal .mobile-menu, .page-legal .skip-link, .page-legal .ambient, .page-legal .legal__aside,
  .page-legal .legal-summary, .page-legal .legal-cta, .page-legal .legal__top, .page-legal .site-footer .footer__top { display: none !important; }
  .page-legal .page-hero { padding: 0 0 16px; }
  .page-legal .legal__grid { display: block; }
  .page-legal .legal__sheet { padding: 0; box-shadow: none; }
  .page-legal .site-footer { background: #fff; color: #000; padding: 16px 0 0; }
  .page-legal .footer__disclaimer, .page-legal .footer__bottom { color: #000; box-shadow: none; }
}
