/* Cinema Room Setup — marketing site
 * Tokens mirror the app's design system (backend/resources/css/designs/dashboard.css)
 * so the site and the product read as one thing. Do not invent new colours here;
 * add them to the app's token set first and copy the resolved value across.
 */

:root {
  --bg: #04080f;
  --surface: #080e1a;
  --s2: #0c1424;
  --s3: #101c30;
  --bd: #1a2d4a;
  --bdh: #1e3a5f;
  --acc: #00d4ff;
  --acc-dim: #0099bb;
  --acc-glow: rgba(0, 212, 255, 0.32);
  --acc-faint: rgba(0, 212, 255, 0.08);
  --tx: #e8f4ff;
  --tx2: #7aa8cc;
  --tx3: #4a6a86;
  --amber: #ffb84d;
  --violet: #b388ff;
  --green: #66e6a0;
  --err: #f87171;
  --halo1: rgba(0, 100, 180, 0.18);
  --halo2: rgba(0, 212, 255, 0.03);

  /* channel colours, lifted from the tool's own speaker table */
  --ch-lcr: #22c55e;
  --ch-c: #ef4444;
  --ch-wide: #f472b6;
  --ch-surr: #0ea5e9;
  --ch-rear: #a855f7;
  --ch-sub: #ffb84d;
  --ch-atmos: #b388ff;

  --f-disp: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-tech: 'Space Grotesk', 'Figtree', system-ui, sans-serif;
  --f-mono: 'Space Mono', ui-monospace, 'Courier New', monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --wrap: 1240px;
  --gutter: 56px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--f-disp);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-dim); }

img { max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-tech);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.02;
  text-wrap: balance;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--acc);
  color: #04141c;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-disp);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tx2);
}
.eyebrow .par { color: var(--acc); font-size: 15px; line-height: 1; }
.eyebrow--center { justify-content: center; }

/* ── pill buttons ────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--bdh);
  background: var(--s2);
  color: var(--tx);
  font-family: var(--f-disp);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out, transform 120ms ease-out;
}
.pill .badge {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  flex: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.pill .badge svg { transition: transform 160ms ease-out; }
.pill:hover { background: var(--s3); border-color: var(--acc-dim); color: var(--tx); }
.pill:hover .badge svg { transform: translateX(2px); }
.pill:active { transform: scale(0.98); }
.pill--primary {
  background: var(--acc);
  border-color: var(--acc);
  color: #04141c;
}
.pill--primary .badge {
  background: transparent;
  border: 0;
  color: #04141c;
}
.pill--primary:hover { background: #4ce4ff; border-color: #4ce4ff; color: #04141c; }

/* ── light slabs ─────────────────────────────────────────── */
.slab-light {
  --bg: #f3f6fa;
  --surface: #ffffff;
  --s2: #f7fafc;
  --s3: #eaf0f7;
  --bd: #d3dde7;
  --bdh: #b3c3d4;
  --acc: #0a84ff;
  --acc-dim: #0066cc;
  --acc-glow: rgba(10, 132, 255, 0.28);
  --acc-faint: rgba(10, 132, 255, 0.07);
  --tx: #0c1424;
  --tx2: #4a6a86;
  --tx3: #6a849b;
  background: var(--bg);
  color: var(--tx);
  border-radius: 34px;
  margin: 0 18px;
}

/* ── scroll reveals (JS adds .js-ready; without JS nothing hides) ── */
.js-ready .rv { opacity: 0; transform: translateY(8px); }
.js-ready .rv.in {
  opacity: 1;
  transform: none;
  transition: opacity 320ms ease-out, transform 320ms ease-out;
  transition-delay: min(var(--d, 0ms), 100ms);
}
.js-ready .wline { display: inline-block; overflow: hidden; vertical-align: bottom; }
.js-ready .wline > span { display: inline-block; opacity: 0; transform: translateY(8px); }
.js-ready .wline.in > span {
  transform: none;
  opacity: 1;
  transition: opacity 320ms ease-out, transform 320ms ease-out;
  transition-delay: min(var(--d, 0ms), 100ms);
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .rv,
  .js-ready .wline > span { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── header ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(4, 8, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bd);
}
.nav-in { min-height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 34px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--f-disp);
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-links a { color: var(--tx2); transition: color 0.3s var(--ease); }
.nav-links a:hover { color: var(--acc); }
.nav-links a[aria-current="page"] { color: var(--tx); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-signin {
  font-family: var(--f-disp);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tx2);
}

/* ── hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 84px;
  background-image:
    radial-gradient(ellipse 62% 46% at 50% -12%, var(--halo1) 0%, transparent 62%),
    radial-gradient(ellipse 44% 30% at 78% 88%, var(--halo2) 0%, transparent 60%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--bd) 1px, transparent 1px),
    linear-gradient(90deg, var(--bd) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.08;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 64px;
  align-items: center;
}
.hero--solo .hero-in { grid-template-columns: minmax(0, 1fr); max-width: 900px; }

h1 { font-size: clamp(2.5rem, 4.7vw, 3.75rem); line-height: 1.06; margin: 22px 0 0; }
h1 em { font-style: normal; color: var(--acc); }
.lead {
  margin-top: 26px;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--tx2);
  text-wrap: pretty;
}
.acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--bd);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx3);
}
.facts b {
  display: block;
  font-family: var(--f-tech);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--tx);
  margin-bottom: 5px;
}

/* ── stage (framed product capture) ──────────────────────── */
.stage {
  position: relative;
  border: 1px solid var(--bd);
  border-radius: var(--r-xl);
  background: linear-gradient(168deg, var(--s2) 0%, var(--surface) 100%);
  padding: 15px;
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.slab-light .stage { box-shadow: 0 30px 68px rgba(12, 20, 36, 0.10); }
.stage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 0 4px 13px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--tx3);
}
.stage-bar .chip {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--bd);
  background: var(--s3);
  white-space: nowrap;
}
.stage-bar .chip.on {
  border-color: var(--acc-dim);
  color: var(--acc);
  background: var(--acc-faint);
}
.stage-bar .sp { margin-left: auto; white-space: nowrap; }
.stage img,
.stage svg.plan {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
  background: #0c1424;
}

/* ── marquee ─────────────────────────────────────────────────
   Currently unused: the logo strip was removed from index.html because
   there were no real client or dealer logos to put in it. Kept so the
   strip can go back with a <section class="mq"> block when there are. */
.mq {
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  padding: 30px 0;
  overflow: hidden;
  background: var(--surface);
}
.mq-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tx3);
  margin-bottom: 22px;
}
.mq-vp {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mq-track { display: flex; gap: 18px; width: max-content; animation: mq 34s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }
.mq-slot {
  flex: none;
  width: 208px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--bd);
  border-radius: var(--r-md);
  background: var(--s2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--tx3);
}

/* ── sections ────────────────────────────────────────────── */
/* padding-block, not the shorthand: these classes sit on the same element as
   .wrap, and `padding: X 0` would zero the .wrap gutters. */
.sec { padding-block: 112px; }
h2 { font-size: 48px; margin: 20px 0 0; }
.sec-sub {
  margin-top: 22px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--tx2);
  text-wrap: pretty;
}
.sec-head { max-width: 780px; }
.center { text-align: center; }
.center .sec-sub { margin-left: auto; margin-right: auto; }

/* ── tool chips + cards ──────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 46px; }
.chip-tool {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--bd);
  background: var(--surface);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx2);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.chip-tool:hover { transform: translateY(-3px); border-color: var(--acc); color: var(--tx); }
.chip-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--acc-faint);
  color: var(--acc);
  flex: none;
}
.chip-ico.a { background: rgba(255, 184, 77, 0.14); color: #c66a00; }
.chip-ico.v { background: rgba(179, 136, 255, 0.16); color: #7a5cd6; }
.chip-ico.g { background: rgba(102, 230, 160, 0.16); color: #1f8a5b; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative;
  padding: 30px 28px 34px;
  border-radius: 20px;
  border: 1px solid var(--bd);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--acc-faint), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
/* Informational cards stay still; motion is reserved for controls. */
.card .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx3);
}
.card h3 { font-size: 22px; margin: 16px 0 12px; }
.cards--4 .card h3 { font-size: 19px; margin: 14px 0 10px; }
.card p { font-size: 14.5px; line-height: 1.66; color: var(--tx2); text-wrap: pretty; }
.card .flag {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--bd);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
  background: var(--acc-faint);
}

/* ── split / numbered list ───────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 72px; align-items: start; }
.sticky { position: sticky; top: 120px; }
.num-list { display: flex; flex-direction: column; }
.num {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 22px;
  padding: 30px 4px 30px 0;
  border-top: 1px solid var(--bd);
  transition: padding-left 0.5s var(--ease);
}
.num:last-child { border-bottom: 1px solid var(--bd); }
.num:hover { padding-left: 12px; }
.num .n {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--acc);
  padding-top: 6px;
}
.num h3 { font-size: 25px; margin-bottom: 12px; }
.num p { font-size: 15px; line-height: 1.68; color: var(--tx2); max-width: 560px; text-wrap: pretty; }

/* ── alternating feature blocks ──────────────────────────── */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.feat.rev > .feat-art { order: -1; }
.bullets { list-style: none; margin: 30px 0 0; padding: 0; }
.bullets li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--bd);
  font-size: 15px;
  line-height: 1.62;
  color: var(--tx2);
  text-wrap: pretty;
}
.bullets li:first-child { border-top: 1px solid var(--bd); }
.bullets li b { color: var(--tx); font-weight: 600; }
.bullets .tick { color: var(--acc); padding-top: 3px; }

.kpi {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 34px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx3);
}
.kpi b {
  display: block;
  font-family: var(--f-tech);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--acc);
  margin-bottom: 5px;
}

/* ── spec rows / table ───────────────────────────────────── */
.speclist { margin-top: 8px; }
.specrow {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--bd);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--tx2);
}
.specrow .lbl {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--tx3);
  padding-top: 3px;
}
.specrow b { color: var(--tx); font-weight: 600; }

.tbl {
  margin-top: 44px;
  border: 1px solid var(--bd);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
}
.trow {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 26px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--bd);
  font-size: 14.5px;
  line-height: 1.64;
  color: var(--tx2);
  transition: background 0.35s var(--ease);
}
.trow:last-child { border-bottom: 0; }
.trow:hover { background: var(--s2); }
.trow .lbl {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  padding-top: 3px;
}
.trow.head {
  background: var(--s3);
  color: var(--tx3);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.trow.head .lbl { color: var(--tx3); }
.trow b { color: var(--tx); font-weight: 600; }

/* ── panel rail ──────────────────────────────────────────── */
.rail {
  position: relative;
  z-index: 2;
  margin-top: 66px;
  padding: 30px;
  border: 1px solid var(--bd);
  border-radius: var(--r-xl);
  background: linear-gradient(168deg, var(--s2) 0%, var(--surface) 100%);
}
.rail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx3);
}
.rail-head b { color: var(--acc); font-weight: 700; }
.rail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--bd);
  border-radius: 12px;
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tx2);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.rail-item i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--acc);
  flex: none;
  opacity: 0.75;
}

/* ── CTA ─────────────────────────────────────────────────── */
.cta { padding-block: 112px 118px; text-align: center; }
.cta h2 { font-size: 62px; max-width: 900px; margin: 22px auto 0; }
.cta .sec-sub { margin: 26px auto 0; }
.cta-acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.cta-note { margin-top: 24px; color: var(--tx2); font-size: 0.9375rem; }
.slab-light .pill--primary { color: #fff; background: var(--acc-dim); border-color: var(--acc-dim); }
.slab-light .pill--primary .badge { color: inherit; }
.slab-light .pill--primary:hover { background: var(--acc); border-color: var(--acc); color: var(--tx); }

/* ── footer ──────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--bd); padding: 66px 0 46px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx3);
  margin-bottom: 16px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot ul a { font-size: 13.5px; color: var(--tx2); transition: color 0.3s var(--ease); }
.foot ul a:hover { color: var(--acc); }
.foot-note {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--bd);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--tx3);
}

/* placeholder marker — every one of these is a fact still to be supplied */
.ph { color: var(--amber); border-bottom: 1px dashed rgba(255, 184, 77, 0.5); }
.slab-light .ph { color: #c66a00; border-bottom-color: rgba(198, 106, 0, 0.5); }

/* ── contact ─────────────────────────────────────────────── */
.page {
  position: relative;
  padding: 92px 0 104px;
  background-image: radial-gradient(ellipse 64% 44% at 50% -14%, var(--halo1) 0%, transparent 64%);
  overflow: hidden;
}
.page-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}
.details { margin-top: 44px; }
.drow {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--bd);
  font-size: 15px;
  line-height: 1.55;
  color: var(--tx);
}
.drow:first-child { border-top: 1px solid var(--bd); }
.drow .lbl {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx3);
  padding-top: 4px;
}
.note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px solid var(--bd);
  border-radius: 16px;
  background: var(--s2);
  font-size: 14px;
  line-height: 1.62;
  color: var(--tx2);
  max-width: 470px;
  text-wrap: pretty;
}
.note .ico { color: var(--acc); flex: none; padding-top: 2px; }

.form {
  padding: 36px;
  border: 1px solid var(--bd);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.form-head h2 { font-size: 24px; margin: 0; }
.form-head .step {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx3);
}
.fgroup { margin-bottom: 20px; }
.flabel, legend.flabel {
  display: block;
  margin-bottom: 9px;
  padding: 0;
  font-family: var(--f-disp);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tx);
}
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fin {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--bd);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--tx);
  font-family: var(--f-disp);
  font-size: 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fin::placeholder { color: var(--tx3); }
.fin:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-faint); }
.fin:user-invalid { border-color: var(--err); }
textarea.fin { min-height: 132px; resize: vertical; line-height: 1.6; }
fieldset { border: 0; margin: 0; padding: 0; }

.kinds { display: flex; flex-wrap: wrap; gap: 9px; }
.kind {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--bd);
  background: var(--bg);
  color: var(--tx2);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.kind input { position: absolute; opacity: 0; pointer-events: none; }
.kind:hover { transform: translateY(-2px); color: var(--tx); border-color: var(--bdh); }
.kind:has(input:checked) { border-color: var(--acc); color: var(--acc); background: var(--acc-faint); }
.kind:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 3px; }

.fsubmit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--bd);
}
.fsubmit .small { font-size: 0.8125rem; line-height: 1.55; color: var(--tx2); max-width: 270px; }
.fstatus {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--bd);
  background: var(--s3);
  font-size: 14px;
  line-height: 1.55;
  color: var(--tx2);
}
.fstatus[hidden] { display: none; }
.fstatus.ok { border-color: rgba(102, 230, 160, 0.45); color: var(--green); }
.fstatus.bad { border-color: rgba(248, 113, 113, 0.45); color: var(--err); }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-in, .split, .feat, .page-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .feat.rev > .feat-art { order: 0; }
  .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky { position: static; }
}

@media (max-width: 960px) {
  .nav-links, .nav-signin { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 24px; }
  h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  h2 { font-size: 32px; }
  .cta h2 { font-size: 38px; }
  .sec { padding-block: 76px; }
  .nav-links, .nav-signin { display: none; }
  .nav-in { gap: 16px; }
  .cards, .cards--4, .rail-grid { grid-template-columns: minmax(0, 1fr); }
  .num { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .specrow, .trow, .drow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .frow { grid-template-columns: minmax(0, 1fr); }
  .fsubmit { flex-direction: column; align-items: flex-start; }
  .form { padding: 24px; }
  .slab-light { margin: 0 10px; border-radius: 24px; }
}

/* ── mobile nav disclosure ───────────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--bdh);
  background: var(--s2);
  color: var(--tx);
  cursor: pointer;
}
#nav-menu {
  border-top: 1px solid var(--bd);
  background: var(--surface);
  padding: 14px var(--gutter) 20px;
}
#nav-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
#nav-menu a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--bd);
  font-family: var(--f-disp);
  font-size: 1rem;
  font-weight: 500;
  color: var(--tx2);
}
#nav-menu li:last-child a { border-bottom: 0; }
#nav-menu a[aria-current="page"] { color: var(--tx); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 961px) {
  #nav-menu { display: none !important; }
}

/* ── mini plan view ──────────────────────────────────────
   A cut-down copy of the tool's own plan view. Its glyphs are drawn by
   assets/js/site.js using the real plan's constants; everything here is
   just the frame around it. */
.miniplan { width: 100%; }
.mp-stage { padding: 15px; }
.mp-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
  background: #04080f;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.mp-svg.mp--dragging { cursor: grabbing; }
.mp-spk:hover rect,
.mp-mlp:hover circle:first-child { filter: brightness(1.35); }

.mp-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.mp-seg {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid var(--bd);
  background: var(--s2);
}
.mp-seg button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--tx2);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.mp-seg button:hover { color: var(--tx); }
.mp-seg button.on {
  background: var(--acc-faint);
  color: var(--acc);
  box-shadow: inset 0 0 0 1px var(--acc-dim);
}
.mp-reset {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--bd);
  background: var(--s2);
  color: var(--tx2);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.mp-reset:hover { border-color: var(--acc-dim); color: var(--tx); }
.mp-seg button { padding: 7px 13px; }
.mp-reset { padding: 8px 14px; }

/* ── legal / long-form pages ─────────────────────────────── */
.legal { max-width: 760px; }
.legal h2 {
  font-size: 26px;
  margin: 48px 0 14px;
}
.legal h2:first-of-type { margin-top: 36px; }
.legal h3 {
  font-size: 17px;
  margin: 28px 0 10px;
  font-family: var(--f-disp);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal p, .legal li {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--tx2);
  text-wrap: pretty;
}
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin-bottom: 9px; }
.legal strong { color: var(--tx); font-weight: 600; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 14.5px;
}
.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--bd);
  color: var(--tx2);
  line-height: 1.6;
}
.legal th {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx3);
  border-bottom-color: var(--bdh);
}
.legal-updated {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx3);
  margin-top: 22px;
}
.legal-note {
  margin: 30px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--bd);
  border-left: 3px solid var(--amber);
  border-radius: var(--r-md);
  background: var(--s2);
  font-size: 14px;
  line-height: 1.65;
  color: var(--tx2);
}

/* Account entry and a quieter contact page share the product palette. */
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 5rem; align-items: center; }
.account-page { padding-block: 5rem 6rem; }
.account-intro .lead { max-width: 29rem; }
.account-art { margin: 2.5rem 0 0; max-width: 28rem; }
.account-art img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }
.account-art figcaption { margin-top: 1rem; font-size: 0.875rem; color: var(--tx2); }
.account-card { padding: 2.75rem; border: 1px solid var(--bd); border-radius: var(--r-xl); background: var(--surface); }
.account-card h2 { font-size: 2rem; line-height: 1.15; }
.account-lead { margin-top: 1rem; color: var(--tx2); line-height: 1.6; }
.account-steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.75rem; }
.account-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.step-number { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--s2); color: var(--tx2); font-size: 0.875rem; }
.account-steps h3 { font: 600 1rem/1.5 var(--f-disp); letter-spacing: 0; }
.account-steps p { margin-top: 0.25rem; color: var(--tx2); font-size: 0.9375rem; line-height: 1.6; }
.account-start { width: 100%; justify-content: center; }
.account-assurance { text-align: center; margin-top: 1rem; color: var(--tx2); font-size: 0.8125rem; }
.account-signin { padding-top: 1.5rem; margin-top: 1.75rem; border-top: 1px solid var(--bd); text-align: center; color: var(--tx2); font-size: 0.9375rem; }
.contact-account { margin-top: 2rem; color: var(--tx2); line-height: 1.8; }
.contact-account a { display: inline-flex; align-items: center; gap: 0.5rem; }
.contact-account .badge { display: inline-flex; }
.contact-page .drow { grid-template-columns: 3rem minmax(0, 1fr); }
.contact-page .drow a { overflow-wrap: anywhere; }
.contact-page .drow .lbl { font: 500 0.875rem/1.5 var(--f-disp); letter-spacing: 0; text-transform: none; color: var(--tx2); }
.contact-page .fsubmit { flex-direction: column; align-items: stretch; border-top: 0; padding-top: 0; }
.contact-page .fsubmit .pill { justify-content: center; }
.contact-page .fsubmit .small { max-width: none; text-align: center; }
.optional { color: var(--tx2); font-weight: 400; }
.honeypot { position: absolute; left: -9999px; }
.fin { font-size: 1rem; }
.pill:disabled { opacity: 0.65; cursor: wait; }
.nav-links a, .nav-signin { min-height: 44px; display: inline-flex; align-items: center; }
.facts, .stage-bar, .foot h4, .foot-note, .card .k { color: var(--tx2); }
.stage-bar .chip { color: var(--tx2); }
.stage-bar .chip.on { color: var(--acc); }
@media (max-width: 1080px) {
  .account-grid { gap: 2.5rem; }
  .account-card { padding: 2rem; }
}
@media (max-width: 960px) {
  .nav-links, .nav-signin { display: none; }
  .account-grid { grid-template-columns: minmax(0, 1fr); max-width: 45rem; }
  .account-art { display: none; }
}
@media (max-width: 720px) {
  .hero, .page { padding-block: 3.5rem; }
  .nav-in { min-height: 72px; gap: 0.75rem; }
  .nav-cta { gap: 0.5rem; }
  .nav-cta .pill { padding-inline: 0.875rem; min-height: 44px; font-size: 0.8125rem; }
  .nav-cta .badge { display: none; }
  .brand img { height: 30px; }
  .cta { padding-block: 4.5rem; }
  .account-card { padding: 1.5rem; }
  .account-card h2 { font-size: 1.75rem; }
  .account-grid { gap: 2rem; }
}
@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .brand img { height: 26px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pill:active, .pill:hover .badge svg { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .nav { background: var(--bg); backdrop-filter: none; border-color: var(--tx); }
  .pill, .fin, .account-card, .form { border-color: var(--tx2); }
}
