/* ==========================================================================
   NexDial Communication LLC — Design System
   Dark-first, orange on black. Space Grotesk + DM Sans.
   ========================================================================== */

/* ---------- 1. Tokens (dark is the default) ----------------------------- */
:root {
  color-scheme: dark;

  --brand:      #FF8000;
  --brand-lift: #FFAB00;
  --brand-deep: #FF6E00;
  --brand-ink:  #FF8000;
  --brand-wash: #FF800014;
  --brand-line: #FF800040;

  --ok:   #34D399;
  --warn: #FBBF24;
  --bad:  #F87171;

  --bg:        #0B0B0C;
  --bg-2:      #101012;
  --bg-3:      #151518;
  --surface:   #17171A;
  --surface-2: #1D1D21;
  --line:      #2A2A31;
  --line-2:    #3A3A44;

  --ink:   #F6F6F8;
  --ink-2: #A9A9B4;
  --ink-3: #74747F;
  --on-brand: #140A00;

  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --container: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --s--1: clamp(.8rem, .78rem + .1vw, .86rem);
  --s-0:  clamp(1rem, .97rem + .14vw, 1.06rem);
  --s-1:  clamp(1.12rem, 1.06rem + .3vw, 1.3rem);
  --s-2:  clamp(1.35rem, 1.2rem + .68vw, 1.78rem);
  --s-3:  clamp(1.7rem, 1.42rem + 1.24vw, 2.5rem);
  --s-4:  clamp(2.1rem, 1.6rem + 2.3vw, 3.5rem);
  --s-5:  clamp(2.5rem, 1.85rem + 3.1vw, 4.15rem);

  --ease: cubic-bezier(.2, .75, .28, 1);
  --glow: 0 0 0 1px var(--brand-line), 0 18px 50px -18px #FF800055;
  --shadow: 0 20px 48px -24px #000000cc;
}

:root[data-theme="light"] {
  color-scheme: light;
  --brand-ink:  #D96400;
  --brand-wash: #FF80000F;
  --brand-line: #FF80004D;

  --bg:        #FFFFFF;
  --bg-2:      #FBF8F5;
  --bg-3:      #F5F0EA;
  --surface:   #FFFFFF;
  --surface-2: #FBF8F5;
  --line:      #EBE5DD;
  --line-2:    #D9D1C6;

  --ink:   #16161A;
  --ink-2: #55555F;
  --ink-3: #82828C;

  --glow: 0 0 0 1px var(--brand-line), 0 18px 48px -20px #FF80002E;
  --shadow: 0 18px 44px -26px #1616201f;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --brand-ink: #D96400; --brand-wash: #FF80000F; --brand-line: #FF80004D;
    --bg: #FFFFFF; --bg-2: #FBF8F5; --bg-3: #F5F0EA;
    --surface: #FFFFFF; --surface-2: #FBF8F5;
    --line: #EBE5DD; --line-2: #D9D1C6;
    --ink: #16161A; --ink-2: #55555F; --ink-3: #82828C;
    --glow: 0 0 0 1px var(--brand-line), 0 18px 48px -20px #FF80002E;
    --shadow: 0 18px 44px -26px #1616201f;
  }
}

/* ---------- 2. Base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--s-0); line-height: 1.66;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; max-width: 100%;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
svg:not(.logo__mark) { width: 1.1em; height: 1.1em; flex: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display); font-weight: 700;
  line-height: 1.08; letter-spacing: -.03em; color: var(--ink); text-wrap: balance;
}
h1 { font-size: var(--s-5); }
h2 { font-size: var(--s-4); }
h3 { font-size: var(--s-2); }
h4 { font-size: var(--s-1); letter-spacing: -.02em; }
p { text-wrap: pretty; }
a { color: var(--brand-ink); text-underline-offset: 3px; transition: color .16s var(--ease); }
a:hover { color: var(--brand-lift); }
ul, ol { padding-left: 1.15rem; }
strong { font-weight: 700; color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: #FF800044; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 999; background: var(--brand); color: var(--on-brand); padding: .7rem 1.1rem; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- 3. Shell: sticky top navigation bar ----------------------- */
.content { min-width: 0; }
.top { position: sticky; top: 0; z-index: 95; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.top__act { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.nav { display: flex; align-items: center; flex: 1; }
.nav__list { list-style: none; margin: 0 auto; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav__list > li { position: relative; }
.nav__a {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink-2);
  text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; transition: color .15s, background .15s;
}
.nav__a:hover, .nav__dd:hover > .nav__a { color: var(--ink); background: var(--surface); }
.nav__a[aria-current="page"] { color: var(--brand-ink); }
.nav__btn svg { width: .9em; height: .9em; transition: transform .2s var(--ease); }
.nav__dd:hover > .nav__btn svg, .nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__foot { display: none; }

.mega {
  position: absolute; top: calc(100% + .6rem); left: 50%; width: min(40rem, 92vw);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: .6rem; opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.mega::before { content: ""; position: absolute; inset: -.7rem 0 auto; height: .7rem; }
.mega--sm { width: 20rem; display: grid; gap: .1rem; }
.nav__dd:hover > .mega, .nav__dd:focus-within > .mega, .nav__btn[aria-expanded="true"] + .mega {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .1rem; }
.mega__i { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem; border-radius: var(--r-md); text-decoration: none; color: var(--ink); }
.mega__i:hover, .mega__i[aria-current="page"] { background: var(--surface); color: var(--ink); }
.mega__i strong { display: block; font-family: var(--font-display); font-size: .9rem; }
.mega__i small { display: block; font-size: .78rem; color: var(--ink-3); line-height: 1.45; margin-top: .15rem; }
.mega__ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--brand-wash); color: var(--brand-ink); }
.mega__all { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; padding: .7rem; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: .86rem; text-decoration: none; }
.nav__status { display: flex; align-items: center; gap: .45rem; font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); }
.nav__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px #34D39933; }
.burger { display: none !important; }

@media (max-width: 1080px) {
  .burger { display: grid !important; }
  .top .top__cta { display: none; }
  .nav {
    position: fixed; top: 69px; left: 0; right: 0; max-height: calc(100dvh - 69px); overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: .75rem var(--gutter) 1.25rem; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav__a { width: 100%; justify-content: space-between; padding: .8rem .6rem; font-size: 1rem; }
  .nav__dd:hover > .nav__a { background: none; }
  .nav__dd:hover > .nav__btn svg { transform: none; }
  .nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mega, .mega--sm { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none;
    background: none; border: 0; box-shadow: none; padding: 0 0 .5rem; transition: none; }
  .mega::before { display: none; }
  .nav__dd:hover > .mega, .nav__dd:focus-within > .mega { transform: none; }
  .nav__btn[aria-expanded="true"] + .mega { display: block; transform: none; left: auto; }
  .mega__grid { grid-template-columns: 1fr; }
  .nav__foot { display: grid; gap: .55rem; margin-top: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .86rem; }
  .nav__foot a { display: flex; align-items: center; gap: .5rem; color: var(--ink-2); text-decoration: none; }
}

.tog { width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: .16s; }
.tog:hover { color: var(--brand-ink); border-color: var(--brand); }
.tog .i-moon { display: none; }
:root[data-theme="light"] .tog .i-moon { display: block; }
:root[data-theme="light"] .tog .i-sun { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tog .i-moon { display: block; } :root:not([data-theme="dark"]) .tog .i-sun { display: none; } }

.burger { width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.burger span { display: block; width: 17px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .2s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: currentColor; border-radius: 2px; transition: .2s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo__word { font-family: var(--font-display); font-weight: 700; font-size: 1.36rem; letter-spacing: -.04em; line-height: 1; }
.logo__word-x { color: var(--brand); }
a.logo:hover { color: var(--ink); }

/* ---------- 4. Content rhythm ------------------------------------------ */
.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--tight { max-width: 780px; }
.wrap--wide { max-width: 1280px; }
.sec { padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; }
.sec--sm { padding-block: clamp(2.5rem, 4.5vw, 3.75rem); }
.sec--alt { background: var(--bg-2); }
.sec--deep { background: var(--bg-3); }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.grid > * { min-width: 0; }
.center { text-align: center; margin-inline: auto; }
.lead { font-size: var(--s-1); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--ink-2); }
.tiny { font-size: var(--s--1); }
.mt1 { margin-top: .75rem; } .mt2 { margin-top: 1.5rem; } .mt3 { margin-top: 2.25rem; } .mt4 { margin-top: 3rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 1.4rem; height: 1px; background: currentColor; }
.head { max-width: 46rem; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.head p { margin-top: .9rem; font-size: var(--s-1); color: var(--ink-2); }
.head.center { text-align: center; margin-inline: auto; }
.head.center .kicker::before { display: none; }

/* ---------- 5. Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-size: .93rem; font-weight: 700; line-height: 1;
  padding: .9rem 1.45rem; border-radius: var(--r-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), background .16s, border-color .16s, color .16s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(100deg, var(--brand-lift), var(--brand) 55%, var(--brand-deep)); color: var(--on-brand); box-shadow: 0 10px 26px -12px #FF800099; }
.btn--primary:hover { color: var(--on-brand); box-shadow: 0 16px 34px -12px #FF8000bb; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-wash); }
.btn--onbrand { background: #140A00; color: #fff; }
.btn--onbrand:hover { color: #fff; opacity: .88; }
.btn--outline-brand { background: transparent; border-color: #140A0055; color: #140A00; }
.btn--outline-brand:hover { color: #140A00; border-color: #140A00; background: #140A0012; }
.btn--lg { padding: 1.05rem 1.8rem; font-size: .98rem; }
.btn--sm { padding: .58rem 1rem; font-size: .83rem; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.btns.center { justify-content: center; }
.arrowlink { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--brand-ink); text-decoration: none; }
.arrowlink svg { transition: transform .2s var(--ease); }
.arrowlink:hover svg { transform: translateX(4px); }

/* ---------- 6. Hero: centred, mock below full width --------------------- */
.hero2 { position: relative; overflow: clip; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 4vw, 3.5rem); text-align: center; }
.hero2::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 120%; pointer-events: none;
  background: radial-gradient(38rem 22rem at 50% 0%, #FF80002e, transparent 62%);
}
.hero2 > * { position: relative; z-index: 1; }
.hero2 h1 { max-width: 15ch; margin-inline: auto; }
.hero2 h1 .accent { background: linear-gradient(96deg, var(--brand-lift), var(--brand) 55%, var(--brand-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 p.lead { max-width: 44rem; margin: 1.3rem auto 0; }
.hero2 .btns { justify-content: center; margin-top: 2rem; }
.hero2__meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 1.4rem; font-family: var(--font-mono); font-size: .75rem; color: var(--ink-3); }
.hero2__meta span { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.hero2__meta svg { color: var(--brand); }

.mockwide { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; box-shadow: 0 40px 80px -40px #000000aa; }
.mockwide::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 88%, transparent)); }
.mockwide__bar { display: flex; align-items: center; gap: .45rem; padding: .7rem .95rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mockwide__dot { width: 10px; height: 10px; border-radius: 50%; }
.mockwide__title { margin-left: .6rem; font-family: var(--font-mono); font-size: .73rem; color: var(--ink-3); }
.mockwide__body { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
@media (max-width: 760px) { .mockwide__body { grid-template-columns: repeat(2, 1fr); } }
.mcell { background: var(--surface); padding: 1.15rem 1.1rem; text-align: left; }
.mcell__k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mcell__v { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; margin-top: .3rem; }
.mcell__s { font-size: .74rem; color: var(--ink-3); margin-top: .2rem; }
.mcell--wide { grid-column: span 4; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 760px) { .mcell--wide { grid-column: span 2; } }
.pill-ok { font-family: var(--font-mono); font-size: .66rem; padding: .2rem .5rem; border-radius: var(--r-pill); background: #34D39922; color: var(--ok); border: 1px solid #34D39944; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.spark i { width: 5px; border-radius: 2px; background: linear-gradient(var(--brand-lift), var(--brand-deep)); }

/* ---------- 7. Ticker --------------------------------------------------- */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: .85rem 0; }
.ticker__track { display: flex; gap: 2.75rem; width: max-content; animation: slide 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-mono); font-size: .76rem; color: var(--ink-3); white-space: nowrap; letter-spacing: .04em; }
.ticker__item svg { color: var(--brand); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- 8. Numbered rows (replaces card grids) ---------------------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 5.5rem 1fr 1.1fr; gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--line); align-items: start;
  transition: background .2s var(--ease);
}
.row:hover { background: var(--brand-wash); }
@media (max-width: 860px) { .row { grid-template-columns: 3rem 1fr; } .row__p { grid-column: 2; } }
.row__n { font-family: var(--font-mono); font-size: .8rem; color: var(--brand); letter-spacing: .1em; padding-top: .3rem; }
.row__h { font-family: var(--font-display); font-size: var(--s-2); font-weight: 700; letter-spacing: -.03em; }
.row__p { color: var(--ink-2); font-size: .95rem; }
.row__p ul { margin: .7rem 0 0; padding-left: 1.05rem; display: grid; gap: .3rem; }
.row__p li::marker { color: var(--brand); }

/* ---------- 9. Horizontal snap rail ------------------------------------- */
.hrail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(19rem, 19rem);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem;
  scrollbar-width: thin; }
.hrail > * { scroll-snap-align: start; }
.hrail::-webkit-scrollbar { height: 6px; }
.hrail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
.hcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .22s, transform .22s var(--ease); }
.hcard:hover { border-color: var(--brand-line); transform: translateY(-3px); color: inherit; }
.hcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hcard__b { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.hcard__i { width: 2.3rem; height: 2.3rem; border-radius: 9px; display: grid; place-items: center;
  background: var(--brand-wash); border: 1px solid var(--brand-line); color: var(--brand-ink); margin-bottom: .8rem; }
.hcard h4 { margin-bottom: .4rem; }
.hcard p { color: var(--ink-2); font-size: .88rem; }
.railhint { font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); margin-top: .5rem; }

/* ---------- 10. Full-bleed band with inline stats ----------------------- */
.band { background: #0B0B0C; color: #F6F6F8; padding-block: clamp(2.75rem, 5vw, 4rem); position: relative; overflow: hidden; }
:root[data-theme="light"] .band { background: #16161A; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .band { background: #16161A; } }
.band::after { content: ""; position: absolute; width: 30rem; height: 30rem; right: -10rem; top: -14rem; border-radius: 50%; background: radial-gradient(circle, #FF800030, transparent 70%); }
.band > * { position: relative; z-index: 1; }
.band__row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; justify-content: space-between; }
.band__stat { }
.band__n { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; }
.band__l { margin-top: .4rem; font-size: .82rem; color: #A9A9B4; max-width: 12rem; }

/* ---------- 11. Sticky feature column ----------------------------------- */
.sticky2 { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .sticky2 { grid-template-columns: 1fr; } .sticky2__l { position: static !important; } }
.sticky2__l { position: sticky; top: 6.5rem; }
.flist { display: grid; gap: .85rem; }
.fitem { display: flex; gap: 1rem; padding: 1.15rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .2s, transform .2s var(--ease); }
.fitem:hover { border-color: var(--brand-line); transform: translateX(4px); }
.fitem__i { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 8px; display: grid; place-items: center; background: var(--brand-wash); border: 1px solid var(--brand-line); color: var(--brand-ink); }
.fitem h4 { font-size: 1rem; margin-bottom: .25rem; }
.fitem p { font-size: .88rem; color: var(--ink-2); }

/* ---------- 12. Vertical spine timeline --------------------------------- */
.spine { position: relative; padding-left: 2.6rem; display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.spine::before { content: ""; position: absolute; left: .95rem; top: .5rem; bottom: .5rem; width: 1px; background: var(--line); }
.snode { position: relative; }
.snode::before { content: ""; position: absolute; left: -2.15rem; top: .35rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--bg); }
.snode__k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.snode h4 { margin: .3rem 0 .35rem; }
.snode p { color: var(--ink-2); font-size: .92rem; }

/* ---------- 13. Overlay image block ------------------------------------- */
.overlay { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: clamp(20rem, 38vw, 27rem); display: flex; align-items: flex-end; }
.overlay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #000000e6 8%, #00000066 48%, #00000022 100%); }
.overlay__c { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 3rem); max-width: 42rem; }
.overlay__c h2, .overlay__c p { color: #fff; }
.overlay__c p { color: #D8D8DE; margin-top: .8rem; }
.overlay__c .kicker { color: #FFAB00; }
.overlay__c .kicker::before { background: #FFAB00; }

/* ---------- 14. Q&A columns (no accordion) ------------------------------ */
.qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.qa__i { border-top: 2px solid var(--brand); padding-top: 1.1rem; }
.qa__q { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin-bottom: .5rem; }
.qa__a { color: var(--ink-2); font-size: .92rem; }

/* ---------- 15. Full-bleed CTA ------------------------------------------ */
.ctafull { background: linear-gradient(100deg, var(--brand-lift), var(--brand) 50%, var(--brand-deep)); color: #140A00; padding-block: clamp(3rem, 6vw, 4.75rem); position: relative; overflow: hidden; }
.ctafull::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#140A0010 1px, transparent 1px), linear-gradient(90deg, #140A0010 1px, transparent 1px); background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 80% 20%, #000, transparent); }
.ctafull > * { position: relative; z-index: 1; }
.ctafull h2 { color: #140A00; max-width: 18ch; }
.ctafull p { color: #140A00cc; max-width: 44rem; margin-top: .9rem; font-size: var(--s-1); }
.ctafull .btns { margin-top: 1.8rem; }

/* ---------- 16. Wave ---------------------------------------------------- */
.wave { display: block; width: 100%; height: 48px; color: var(--brand); opacity: .5; }

/* ---------- 17. Footer: compact, wordmark-led --------------------------- */
.ft { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 3.5rem) 0; }
.ft__lead { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.ft__lead p { font-size: .9rem; color: var(--ink-2); max-width: 34rem; margin-top: .9rem; }
.ft__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 1.75rem; padding-block: 2rem; }
.ft h5 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .85rem; }
.ft ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.ft ul a { color: var(--ink-2); text-decoration: none; font-size: .86rem; }
.ft ul a:hover { color: var(--brand-ink); }
.ft__c { display: grid; gap: .5rem; font-size: .86rem; }
.ft__c a, .ft__c span { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-2); text-decoration: none; }
.ft__c a:hover { color: var(--brand-ink); }
.ft__c svg { color: var(--brand); margin-top: .18rem; }
.ft__note { padding: 1.2rem 0; border-top: 1px solid var(--line); font-size: .79rem; color: var(--ink-3); line-height: 1.7; }
.ft__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0 1.5rem; border-top: 1px solid var(--line); font-size: .79rem; color: var(--ink-3); }
.ft__bar nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.ft__bar a { color: var(--ink-3); text-decoration: none; }
.ft__bar a:hover { color: var(--brand-ink); }

/* ---------- 18. Page header (inner pages) ------------------------------- */
.phero { position: relative; overflow: clip; padding-block: clamp(2.5rem, 4.5vw, 3.75rem) clamp(2.5rem, 4.5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(34rem 16rem at 8% 0%, #FF80001f, transparent 62%); pointer-events: none; }
.phero > * { position: relative; z-index: 1; }
.phero h1 { max-width: 19ch; }
.phero p { color: var(--ink-2); max-width: 44rem; margin-top: 1rem; font-size: var(--s-1); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .78rem; color: var(--ink-3); margin-bottom: 1.1rem; list-style: none; padding: 0; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }

/* ---------- 19. Spec table ---------------------------------------------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.rates { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 30rem; }
table.rates th, table.rates td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
table.rates thead th { font-family: var(--font-display); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); background: var(--surface-2); }
table.rates tbody tr:last-child td { border-bottom: 0; }
table.rates tbody tr:hover { background: var(--brand-wash); }
table.rates td { color: var(--ink-2); }
table.rates td:first-child { color: var(--ink); font-weight: 500; }
.rate { font-family: var(--font-mono); color: var(--brand-ink); }

/* ---------- 20. Forms --------------------------------------------------- */
.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2.2rem); }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-family: var(--font-display); font-size: .83rem; font-weight: 700; color: var(--ink); }
.field .req { color: var(--bad); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .93rem; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px #FF800033; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.hint { font-size: .78rem; color: var(--ink-3); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--ink-2); }
.check input { width: 1rem; height: 1rem; margin-top: .2rem; flex: none; accent-color: var(--brand); }
.note { padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .88rem; margin-bottom: 1.1rem; border: 1px solid; }
.note--ok { background: #34D3991a; border-color: #34D39955; color: var(--ok); }
.note--bad { background: #F871711a; border-color: #F8717155; color: var(--bad); }

/* ---------- 21. Legal --------------------------------------------------- */
.legal { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start; }
@media (max-width: 1000px) { .legal { grid-template-columns: 1fr; } .toc { position: static !important; } }
.toc { position: sticky; top: 6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.15rem; }
.toc h5 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .75rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .08rem; max-height: 62vh; overflow-y: auto; }
.toc a { display: block; padding: .38rem .5rem; border-radius: var(--r-xs); font-size: .82rem; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc a:hover { background: var(--surface-2); color: var(--brand-ink); }
.toc a.on { background: var(--brand-wash); color: var(--brand-ink); font-weight: 700; }
.doc { max-width: 46rem; }
.doc h2 { font-size: var(--s-2); margin-top: 2.5rem; scroll-margin-top: 6rem; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: var(--s-1); margin-top: 1.7rem; }
.doc p, .doc li { color: var(--ink-2); font-size: .95rem; line-height: 1.72; }
.doc p { margin-top: 1rem; }
.doc ul, .doc ol { margin-top: 1rem; display: grid; gap: .5rem; padding-left: 1.3rem; }
.doc li::marker { color: var(--brand); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: .88rem; }
.doc th, .doc td { text-align: left; padding: .72rem 1rem; border: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--surface-2); font-family: var(--font-display); color: var(--ink); }
.doc td { color: var(--ink-2); }
.callout { margin-top: 1.4rem; padding: 1.05rem 1.25rem; border-radius: var(--r-md); border: 1px solid var(--line); border-left: 3px solid var(--brand); background: var(--surface); }
.callout p { margin-top: 0; font-size: .91rem; }
.docmeta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .82rem; color: var(--ink-3); padding-bottom: 1.3rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); }

/* ---------- 22. Misc ---------------------------------------------------- */
.checks { list-style: none; padding: 0; margin-top: 1.4rem; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.checks svg { flex: none; margin-top: .15rem; color: var(--brand); }
.checks b { color: var(--ink); }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; } .btns > .btn { flex: 1 1 100%; } }


