/* NxLeads — site styles (v2)
   Layout concept: dark "control room" bands with a blueprint glow (heroes, offers, closing CTA)
   alternating with cream drafting-sheet bands. Riveted data plates and mono codes (NX/TR/HVAC)
   carry the NxLeads identity; rounded cards, pill buttons and metric tiles carry the energy. */

:root {
  /* light sheet (flips in dark mode) */
  --paper: #F2EDE2;
  --paper-2: #E9E2D3;
  --card: #FBF9F4;
  --ink: #121A20;
  --ink-2: #4A5660;
  --line: #D6CDBB;
  --blue: #1D4F91;
  --blue-soft: #DCE4EF;
  --on-blue: #F6F2E8;
  --err: #A3361F;
  --shadow: 0 1px 2px rgba(18,26,32,.06), 0 18px 40px -18px rgba(18,26,32,.22);

  /* night bands (same in both themes) */
  --night: #0D1318;
  --night-2: #141C23;
  --night-3: #1A242C;
  --night-line: rgba(236, 230, 216, .10);
  --on-night: #EEE9DD;
  --on-night-2: #9DA9B2;
  --hi: #8DB6EC;          /* highlight blue on dark */
  --glow: rgba(58, 118, 196, .38);

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --step-3: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  --step-4: clamp(2.6rem, 1.4rem + 4.8vw, 5rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #10171C; --paper-2: #151E25; --card: #1A242C;
    --ink: #ECE6D8; --ink-2: #A6B0B8; --line: #2B3842;
    --blue: #86AEE3; --blue-soft: #1B2B3D; --on-blue: #0D141A; --err: #EA917A;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -18px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #10171C; --paper-2: #151E25; --card: #1A242C;
  --ink: #ECE6D8; --ink-2: #A6B0B8; --line: #2B3842;
  --blue: #86AEE3; --blue-soft: #1B2B3D; --on-blue: #0D141A; --err: #EA917A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -18px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap {
  max-width: calc(var(--wrap) + 64px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw);
  padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw);
}
@media (min-width: 1300px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -.025em; }
h1 { font-size: var(--step-4); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .94; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
.hl { color: var(--blue); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 38rem; }
.lede strong { color: var(--ink); font-weight: 600; }
.prose { max-width: 40rem; color: var(--ink-2); display: grid; gap: .9em; }

.mono, .eyebrow, .code, .tag {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow { color: var(--blue); display: inline-flex; align-items: center; gap: .7em; font-weight: 500; }
.eyebrow::before { content: ""; width: 1.8em; height: 1px; background: currentColor; opacity: .8; }
.eyebrow.dot::before { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.code { display: inline-block; padding: .2em .6em; border: 1px solid currentColor; border-radius: 999px; font-weight: 500; letter-spacing: .05em; white-space: nowrap; font-size: .7rem; }
.tag { display: inline-block; padding: .35em .8em; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: .68rem; white-space: nowrap; }

/* ---------- night bands ---------- */
.night {
  --ink: var(--on-night); --ink-2: var(--on-night-2); --line: var(--night-line);
  --card: var(--night-2); --paper-2: var(--night-3); --blue: var(--hi); --blue-soft: rgba(141,182,236,.12);
  background:
    radial-gradient(60rem 30rem at 12% -10%, var(--glow), transparent 60%),
    radial-gradient(40rem 26rem at 95% 110%, rgba(58,118,196,.18), transparent 60%),
    var(--night);
  color: var(--on-night);
  position: relative; isolation: isolate;
  color-scheme: dark;
}
.night::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(141,182,236,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(141,182,236,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 0%, transparent 70%);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13, 19, 24, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--night-line); color: var(--on-night);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--ink); color: var(--paper); border-radius: 2px;
  font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -.02em;
}
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand-name span { color: var(--blue); }
.site-header .brand-mark, .site-footer .brand-mark { background: var(--on-night); color: var(--night); }
.site-header .brand-name span, .site-footer .brand-name span { color: var(--hi); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; color: var(--on-night-2); transition: color .15s, background .15s; }
.nav a:hover { color: var(--on-night); background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--on-night); background: rgba(141,182,236,.12); }
.nav .btn { margin-left: 10px; color: #fff; }
.nav .btn:hover { background: linear-gradient(180deg, #4A86D6, #2459A3); }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; border: 1px solid var(--night-line); padding: 9px 16px; border-radius: 999px; color: var(--on-night); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: var(--on-night); color: var(--night); }
.nav-mobile .menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px));
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-md);
  padding: 8px; display: grid; gap: 2px; box-shadow: 0 24px 50px rgba(0,0,0,.45);
}
.nav-mobile .menu a { padding: 12px 14px; text-decoration: none; font-family: var(--display); font-weight: 600; border-radius: var(--r-sm); color: var(--on-night); }
.nav-mobile .menu a:hover { background: rgba(255,255,255,.06); }
@media (max-width: 940px) { .nav { display: none; } .nav-mobile { display: block; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  background: linear-gradient(180deg, #3B74C4, #1D4F91); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(29,79,145,.65), inset 0 1px 0 rgba(255,255,255,.18);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(29,79,145,.8), inset 0 1px 0 rgba(255,255,255,.18); }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.night .btn.ghost { color: var(--on-night); border-color: rgba(236,230,216,.35); }
.night .btn.ghost:hover { background: var(--on-night); color: var(--night); }
.btn.small { padding: 9px 18px; font-size: .9rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.band { background: var(--paper-2); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 48rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-note { font-family: var(--mono); font-size: .75rem; color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; }
.hero.consumer h1 { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.1rem); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- data plate / glass panel ---------- */
.plate {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; min-width: 0; box-shadow: var(--shadow);
}
.plate::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none; border-radius: calc(var(--r-lg) - 10px);
  --rv: radial-gradient(circle, var(--ink-2) 0 2px, transparent 2.5px);
  background: var(--rv) 0 0 / 10px 10px no-repeat, var(--rv) 100% 0 / 10px 10px no-repeat, var(--rv) 0 100% / 10px 10px no-repeat, var(--rv) 100% 100% / 10px 10px no-repeat;
  opacity: .6;
}
.night .plate {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border-color: var(--night-line);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(6px);
}
.plate-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.plate-head .mono { font-weight: 500; color: var(--blue); }
.plate-head .rev { color: var(--ink-2); }
.spec { margin: 0; display: grid; }
.spec div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; padding: 11px 8px; border-bottom: 1px dashed var(--line); }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding-top: 3px; }
.spec dd { margin: 0; font-family: var(--display); font-weight: 600; }
.plate-foot { margin-top: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper-2); color: var(--ink-2); font-size: .92rem; }

/* hero route rows (home) */
.routes { display: grid; gap: 10px; margin-top: 8px; }
.route {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--r-md); text-decoration: none;
  background: rgba(255,255,255,.035); border: 1px solid var(--line); transition: border-color .15s, background .15s, transform .15s;
}
.route:hover { border-color: rgba(141,182,236,.5); background: rgba(141,182,236,.08); transform: translateX(2px); }
.route .code { color: var(--blue); }
.route strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.route span.sub { display: block; color: var(--ink-2); font-size: .85rem; font-family: var(--mono); letter-spacing: .02em; }
.route .go { color: var(--blue); font-family: var(--display); font-weight: 700; }

/* ---------- twin cards ---------- */
.twin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .twin { grid-template-columns: 1fr; } }
.twin > article { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--card); }
.twin > article.night { border-color: transparent; }
.twin h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); }
.twin p { color: var(--ink-2); }
.twin .kicker { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 700; color: var(--ink); }
.night .kicker { color: var(--hi); }

/* ---------- offer cards (industries) ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1020px) { .offers { grid-template-columns: 1fr; max-width: 640px; } }
.offer {
  position: relative; overflow: hidden; display: grid; gap: 16px; align-content: start; grid-template-rows: auto auto auto auto 1fr auto;
  padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--night-line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); min-width: 0;
}
.offer::before { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(141,182,236,.16), transparent 70%); pointer-events: none; }
.offer-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.offer-top .mono { color: var(--blue); }
.offer h3 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.offer .best { font-family: var(--display); font-weight: 600; color: var(--ink); }
.offer p.desc { color: var(--ink-2); font-size: .98rem; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-self: end; }
.tile { padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255,255,255,.035); border: 1px solid var(--line); min-width: 0; }
.tile .mono { display: block; font-size: .64rem; color: var(--ink-2); margin-bottom: 4px; }
.tile b { font-family: var(--display); font-weight: 700; font-size: .95rem; }

/* ---------- comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
table.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 1.05rem; font-weight: 800; background: var(--paper-2); }
.compare thead th .code { margin-left: 8px; color: var(--blue); vertical-align: middle; }
.compare tbody th { font-family: var(--mono); font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); width: 17%; }
.compare tbody td { color: var(--ink); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td + td, .compare th + td, .compare thead th + th { border-left: 1px solid var(--line); }

/* ---------- scope cards ---------- */
.scopes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.scope { display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto 1fr auto; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); min-width: 0; box-shadow: var(--shadow); transition: transform .15s ease; }
.scope:hover { transform: translateY(-2px); }
.scope-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.scope-top .code { color: var(--blue); }
.scope h3 { font-size: 1.45rem; font-weight: 800; }
.scope p { color: var(--ink-2); font-size: .98rem; }
.scope .more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.scope .more a { font-family: var(--display); font-weight: 700; font-size: .88rem; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); }
.scope .more a:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.scope .more a:hover { border-color: var(--ink); }
.also { margin-top: 24px; color: var(--ink-2); font-size: .98rem; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; padding: 26px 24px; display: grid; gap: 10px; align-content: start; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); min-width: 0; box-shadow: var(--shadow); }
.steps .num { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--blue); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); }
.steps p { color: var(--ink-2); font-size: .98rem; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 32px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: .8rem; color: var(--blue); z-index: 1; }
.band .steps li:not(:last-child)::after { background: var(--paper-2); }
@media (max-width: 900px) { .steps, .steps.three { grid-template-columns: 1fr; } .steps li:not(:last-child)::after { content: "↓"; right: auto; left: 34px; top: auto; bottom: -19px; } }

/* ---------- checklist & asks ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.checklist li { padding: 12px 12px 12px 42px; position: relative; font-family: var(--display); font-weight: 600; font-size: .98rem; border-radius: var(--r-sm); }
.checklist li:hover { background: var(--paper-2); }
.checklist li::before { content: ""; position: absolute; left: 12px; top: 13px; width: 20px; height: 20px; border-radius: 6px; background: var(--blue-soft); }
.checklist li::after { content: ""; position: absolute; left: 18px; top: 18px; width: 8px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }
.callout { margin-top: 16px; padding: 20px 22px; background: var(--blue-soft); border-radius: var(--r-md); font-size: .98rem; }
.callout strong { font-family: var(--display); }

.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.asks li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.asks .mono { color: var(--blue); padding-top: 4px; }
.asks strong { font-family: var(--display); display: block; margin-bottom: 4px; font-size: 1.05rem; }
.asks p { color: var(--ink-2); font-size: .98rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 54rem; }
.faq details { border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); transition: border-color .15s; }
.faq details[open] { border-color: var(--ink-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); font-family: var(--mono); color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 22px; color: var(--ink-2); max-width: 46rem; }
.faq-shell { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 880px) { .faq-shell { grid-template-columns: 1fr; } }

/* ---------- consumer strip ---------- */
.strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); border: 1px dashed var(--ink-2); }
.strip h3 { font-size: var(--step-2); margin-bottom: 8px; }
.strip p { color: var(--ink-2); }
@media (max-width: 720px) { .strip { grid-template-columns: 1fr; } }

/* ---------- consumer hub ---------- */
.hub-group { display: grid; gap: 18px; }
.hub-group + .hub-group { margin-top: 56px; }
.hub-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.hub-links a { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.hub-links a:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.hub-links strong { font-family: var(--display); font-size: 1.2rem; font-weight: 800; }
.hub-links span { color: var(--ink-2); font-size: .95rem; }
.hub-links em { font-style: normal; font-family: var(--display); font-weight: 700; color: var(--blue); font-size: .9rem; margin-top: 4px; }

/* ---------- forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .form-shell { grid-template-columns: 1fr; } }
.form-side { display: grid; gap: 22px; min-width: 0; }
.form-side h2 { text-transform: uppercase; font-weight: 900; letter-spacing: -.03em; line-height: .96; }
.form-plate { padding: clamp(20px, 3vw, 30px); }
/* the form card stays a light sheet even inside night bands */
.night .form-plate {
  --ink: #121A20; --ink-2: #4A5660; --line: #D6CDBB; --card: #FBF9F4; --paper: #F2EDE2; --paper-2: #E9E2D3; --blue: #1D4F91; --blue-soft: #DCE4EF;
  background: var(--card); color: var(--ink); border-color: transparent; color-scheme: light;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .night .form-plate { --ink: #ECE6D8; --ink-2: #A6B0B8; --line: #2B3842; --card: #18222A; --paper: #10171C; --paper-2: #151E25; --blue: #86AEE3; --blue-soft: #1B2B3D; color-scheme: dark; } }
:root[data-theme="dark"] .night .form-plate { --ink: #ECE6D8; --ink-2: #A6B0B8; --line: #2B3842; --card: #18222A; --paper: #10171C; --paper-2: #151E25; --blue: #86AEE3; --blue-soft: #1B2B3D; color-scheme: dark; }

.nx-form { display: grid; gap: 20px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field > label, .field > .label { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--err); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.pills legend { padding: 0; margin-bottom: 8px; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-family: var(--display); font-weight: 600; font-size: .92rem; transition: background .12s, color .12s, border-color .12s; }
.pill:hover span { border-color: var(--ink-2); }
.pill input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: .85rem; line-height: 1.5; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.consent a { color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot .mono { color: var(--ink-2); }
.status { border-radius: var(--r-md); padding: 18px 20px; display: grid; gap: 8px; }
.status.ok { background: var(--blue-soft); }
.status.err { border: 1.5px solid var(--err); }
.status h3 { font-size: var(--step-1); }
.status .subject { font-family: var(--mono); font-size: .8rem; background: var(--card); padding: 10px 12px; border-radius: var(--r-sm); overflow-wrap: anywhere; }

/* ---------- contact facts ---------- */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.facts li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.facts .mono { color: var(--ink-2); padding-top: 3px; }
.facts a, .facts span { font-family: var(--display); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- breadcrumb ---------- */
.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; color: var(--blue); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding-block: 64px 32px; border-top: 1px solid var(--night-line); color-scheme: dark; }
.site-footer .cols { display: grid; grid-template-columns: 2fr repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 960px) { .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--mono); font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--hi); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: var(--on-night-2); }
.site-footer a:hover { color: var(--on-night); }
.site-footer .about { display: grid; gap: 14px; font-size: .95rem; color: var(--on-night-2); max-width: 22rem; }
.site-footer .about .brand { color: var(--on-night); }
.site-footer .legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--on-night-2); }

.legal-page .prose h2 { font-size: var(--step-2); margin-top: 1.2em; color: var(--ink); }
.legal-page .prose { max-width: 46rem; }
.legal-page h1 { font-size: var(--step-3); }
h1 em, h2 em { font-style: normal; color: var(--blue); }

/* ---------- plans (pricing) ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.stack-plan { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 32px); }
.stack-plan h2, .stack-plan h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; padding-inline: 8px; }
.stack-plan .muted-copy { color: var(--ink-2); padding-inline: 8px; }
.stack-plan .btn { margin-top: auto; }
.strip h3 em { font-style: normal; color: var(--blue); }
.stack-plan h3 em, h3 em { font-style: normal; color: var(--blue); }
