/* SitePass marketing site — "factory gate control room" visual language.
   Colour roles: ink = control room, paper = documents, brand violet = SitePass,
   safe/stop/warn = gate outcomes only (never decoration). */

:root {
  --paper: #f3f1ec;
  --paper-2: #e9e6de;
  --card: #fbfaf7;
  --ink: #0d121c;
  --ink-2: #141b28;
  --ink-3: #1d2635;
  --ink-line: rgba(255, 255, 255, 0.09);
  --line: rgba(13, 18, 28, 0.12);
  --line-2: rgba(13, 18, 28, 0.2);
  --text: #0d121c;
  --muted: #545c6b;
  --on-ink: #eef0f4;
  --on-ink-muted: #9aa3b4;
  --brand: #6d5dfc;
  --brand-ink: #4c3fd8;
  --brand-soft: #e7e4ff;
  --safe: #1c9a5f;
  --safe-soft: #dcf3e6;
  --stop: #dd3b33;
  --stop-soft: #fde3e1;
  --warn: #d99107;
  --warn-soft: #fcefd2;
  --hazard: #f2c230;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 1px 2px rgba(13, 18, 28, 0.06), 0 12px 32px -12px rgba(13, 18, 28, 0.18);
  --shadow-float: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 12px 24px -12px rgba(0, 0, 0, 0.4);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 112; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform 0.16s var(--ease-out), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -8px rgba(109, 93, 252, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--primary:hover { background: var(--brand-ink); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { background: rgba(13, 18, 28, 0.05); }
.on-ink .btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--on-ink); }
.on-ink .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--stop { background: #cf3129; color: #fff; }
.btn--stop:hover { background: #c22e27; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.0625rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.cta-note { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.on-ink .cta-note { color: var(--on-ink-muted); }

/* ---------- Labels / headings ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.label::before { content: ""; width: 18px; height: 2px; background: var(--brand); }
.on-ink .label { color: var(--on-ink-muted); }
.label--stop::before { background: var(--stop); }

.s-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.s-head h2 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
.s-head h2:first-child, .feature-row h3:first-child { margin-top: 0; }
.s-head p { margin-top: 16px; font-size: 1.125rem; color: var(--muted); max-width: 620px; }
.on-ink .s-head p { color: var(--on-ink-muted); }
.s-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head--center p { margin-left: auto; margin-right: auto; }

section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.on-ink { background: var(--ink); color: var(--on-ink); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 18, 28, 0.86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ink-line);
  color: var(--on-ink);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; font-variation-settings: "wdth" 110; }
.brand__mark { width: 32px; height: 32px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; list-style: none; }
.nav__links a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 0.9375rem; color: var(--on-ink-muted); transition: color 0.2s, background-color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--ink-line); border-radius: 10px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle .ico { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--ink-line);
    padding: 8px var(--gutter) 20px; margin: 0;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s var(--ease-out), visibility 0.2s;
  }
  .nav__links a { padding: 14px 4px; font-size: 1.0625rem; border-radius: 0; border-bottom: 1px solid var(--ink-line); }
  .nav__links .nav__menu-cta { display: block; margin-top: 16px; }
  .nav__links .nav__menu-cta a { border: 0; background: var(--brand); color: #fff; text-align: center; border-radius: 999px; }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; }
}
@media (min-width: 921px) { .nav__menu-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 0; }
.hero::before { /* floor-plan grid, lit from the top right like a control-room screen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; pointer-events: none;
  background: radial-gradient(circle, rgba(109, 93, 252, 0.28), transparent 62%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.7vw, 4.1rem); font-weight: 800; letter-spacing: -0.03em; font-variation-settings: "wdth" 100; }
.hero h1 em { font-style: normal; color: #b9b0ff; }
.hero__lede { margin-top: 22px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--on-ink-muted); max-width: 540px; }
.hero__lede strong { color: var(--on-ink); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.trust { position: relative; z-index: 1; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--ink-line); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.trust li { padding: 20px 16px 24px 0; font-size: 0.875rem; color: var(--on-ink-muted); line-height: 1.45; }
.trust li + li { padding-left: 16px; border-left: 1px solid var(--ink-line); }
.trust b { display: block; color: var(--on-ink); font-weight: 600; font-size: 0.9375rem; margin-bottom: 2px; }
@media (max-width: 920px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li, .trust li + li { padding: 16px 12px 16px 0; border-left: 0; border-bottom: 1px solid var(--ink-line); }
  .trust li:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--ink-line); }
  .trust li:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

/* Gate console (hero visual) */
.console-stage { position: relative; padding-bottom: 28px; }
.console {
  position: relative; background: linear-gradient(180deg, #192233, #121925); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.console__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 14px; font-family: var(--f-mono); font-size: 0.72rem; color: var(--on-ink-muted); letter-spacing: 0.04em; }
.console__bar span:first-child { color: var(--on-ink); display: inline-flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 4px rgba(28, 154, 95, 0.2); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ink-line); border-radius: 12px; padding: 12px; }
.tile__n { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: 1.75rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.tile__l { display: block; margin-top: 6px; font-size: 0.72rem; line-height: 1.3; color: var(--on-ink-muted); }
.tile--warn .tile__n { color: #f5b945; }
.tile--safe .tile__n { color: #4fd192; }
.feed { margin-top: 12px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--ink-line); border-radius: 12px; padding: 6px 12px; list-style: none; min-height: 214px; }
.feed li.feed__head { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--on-ink-muted); padding: 8px 0; border-bottom: 1px solid var(--ink-line); }
.feed li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--ink-line); font-size: 0.8125rem; }
.feed li:last-child { border-bottom: 0; }
.feed time { font-family: var(--f-mono); font-size: 0.72rem; color: var(--on-ink-muted); }
.feed .who { color: var(--on-ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .who small { color: var(--on-ink-muted); font-size: 0.75rem; }
.js .feed li.is-pending { display: none; }
.js .feed li.is-in { animation: feed-in 0.5s var(--ease-out) both; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-6px); } }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-family: var(--f-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; }
.chip--safe { background: rgba(28, 154, 95, 0.16); color: #58d59a; }
.chip--stop { background: rgba(221, 59, 51, 0.18); color: #ff7d76; }
.chip--warn { background: rgba(217, 145, 7, 0.18); color: #f5b945; }
.chip--brand { background: rgba(109, 93, 252, 0.2); color: #c3bbff; }
.chip--out { background: rgba(255, 255, 255, 0.08); color: var(--on-ink-muted); }

.demo-tag { position: absolute; right: 16px; bottom: -2px; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--on-ink-muted); }

.badge-phone {
  position: absolute; left: -36px; bottom: -8px; width: 176px;
  background: #0a0e16; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 26px; padding: 10px;
  box-shadow: var(--shadow-float);
}
.badge-phone__screen { background: var(--card); color: var(--text); border-radius: 18px; padding: 14px 12px 12px; text-align: center; }
.badge-phone__co { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.08em; color: var(--muted); }
.badge-phone__name { margin-top: 4px; font-weight: 700; font-size: 0.875rem; }
.badge-phone__qr { width: 96px; height: 96px; margin: 10px auto; padding: 6px; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.badge-phone__id { font-family: var(--f-mono); font-size: 0.66rem; }
.badge-phone__valid { margin-top: 6px; font-size: 0.66rem; color: var(--safe); font-weight: 600; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .console-stage { margin-top: 8px; padding-left: 0; }
  .badge-phone { display: none; }
}
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .feed li { grid-template-columns: 40px 1fr; }
  .feed li .chip { grid-column: 2; justify-self: start; }
}

/* ---------- Definition strip (GEO: entity statement) ---------- */
.define { padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--line); }
.define p { font-family: var(--f-display); font-variation-settings: "wdth" 104; font-weight: 500; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.35; letter-spacing: -0.01em; max-width: 980px; }
.define strong { font-weight: 800; }
.define .muted { color: var(--muted); }

/* ---------- Problem: three questions ---------- */
.questions { list-style: none; border-top: 1px solid var(--line-2); }
.q { display: grid; grid-template-columns: 48px minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line-2); }
.q__n { font-family: var(--f-mono); font-size: 0.875rem; color: var(--muted); padding-top: 6px; }
.q h3 { font-size: clamp(1.375rem, 2.4vw, 1.9rem); font-weight: 800; }
.q__side { font-size: 0.9375rem; line-height: 1.5; padding-left: 16px; border-left: 3px solid; }
.q__side b { display: block; font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.q__side--old { border-color: var(--stop); color: var(--muted); }
.q__side--old b { color: var(--stop); }
.q__side--new { border-color: var(--safe); }
.q__side--new b { color: var(--safe); }
@media (max-width: 920px) {
  .q { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .q__n { grid-column: 1 / -1; padding: 0; }
  .q h3 { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .q { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.how { background: var(--paper-2); }
.how__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.steps { list-style: none; display: grid; gap: 10px; }
.step {
  width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 16px; text-align: left;
  padding: 20px; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.step:hover { background: rgba(255, 255, 255, 0.5); }
.step[aria-selected="true"] { background: var(--card); border-color: var(--line); box-shadow: var(--shadow-card); }
.step__n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 500; background: var(--paper); border: 1px solid var(--line-2); transition: background-color 0.25s, color 0.25s; }
.step[aria-selected="true"] .step__n { background: var(--brand); color: #fff; border-color: var(--brand); }
.step__t { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 112; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.step__d { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.step__who { display: block; margin-top: 8px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--brand-ink); text-transform: uppercase; }
.how__controls { display: flex; gap: 10px; margin-top: 16px; padding-left: 20px; }
.how__controls button { background: none; border: 0; padding: 8px 0; cursor: pointer; font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.stage { position: relative; min-height: 580px; border-radius: var(--r-lg); background: var(--ink); overflow: hidden; display: grid; place-items: center; padding: 32px 16px; box-shadow: var(--shadow-card); }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(109, 93, 252, 0.28), transparent 70%); }
.phone { position: relative; width: 280px; background: #0a0e16; border-radius: 38px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: var(--shadow-float); }
.phone__screen { position: relative; background: var(--card); border-radius: 28px; min-height: 500px; overflow: hidden; }
.phone__status { display: flex; justify-content: space-between; padding: 12px 20px 4px; font-family: var(--f-mono); font-size: 0.66rem; color: var(--muted); }
.panel { position: absolute; inset: 30px 0 0; padding: 12px 18px 18px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s; pointer-events: none; }
.panel.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity 0.4s var(--ease-out) 0.15s, transform 0.4s var(--ease-out) 0.15s, visibility 0s; }
.no-js .panel:not(:first-child) { display: none; }
.panel__title { font-weight: 700; font-size: 1rem; }
.panel__sub { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.field { margin-top: 10px; }
.field span { display: block; font-size: 0.66rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.field div { margin-top: 3px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-size: 0.8125rem; min-height: 34px; }
.checkline { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 0.72rem; line-height: 1.35; }
.checkline .box { flex: none; width: 16px; height: 16px; border-radius: 4px; background: var(--safe); color: #fff; display: grid; place-items: center; }
.checkline .box .ico { width: 12px; height: 12px; stroke-width: 3; }
.sig { margin-top: 10px; height: 54px; border-radius: 8px; border: 1px dashed var(--line-2); background: #fff; display: grid; place-items: center; }
.sig svg { width: 150px; height: 40px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
.fake-btn { margin-top: 12px; display: block; width: 100%; text-align: center; padding: 10px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; font-size: 0.8125rem; }
.notif { margin-top: 12px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -10px rgba(13, 18, 28, 0.25); }
.notif__top { display: flex; align-items: center; gap: 8px; font-size: 0.66rem; color: var(--muted); font-family: var(--f-mono); }
.notif__top .ico { width: 14px; height: 14px; color: var(--brand); }
.notif__body { margin-top: 8px; font-size: 0.8125rem; }
.notif__body b { display: block; font-size: 0.9375rem; }
.notif__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.notif__actions span { text-align: center; padding: 8px; border-radius: 8px; font-size: 0.75rem; font-weight: 600; }
.notif__actions .ok { background: var(--safe); color: #fff; }
.notif__actions .no { background: var(--paper-2); }
.kv { margin-top: 12px; font-size: 0.75rem; display: grid; gap: 6px; }
.kv div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.kv dt, .kv span:first-child { color: var(--muted); }
.result { margin-top: 12px; padding: 16px 14px; border-radius: 14px; color: #fff; text-align: center; }
.result--safe { background: var(--safe); }
.result--stop { background: var(--stop); }
.result--warn { background: var(--warn); color: var(--ink); }
.result b { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 118; font-weight: 800; font-size: 1.375rem; letter-spacing: 0.01em; }
.result small { display: block; margin-top: 4px; font-size: 0.75rem; opacity: 0.92; }
.scanframe { margin: 14px auto 0; width: 150px; height: 150px; position: relative; border-radius: 12px; background: #fff; padding: 12px; border: 1px solid var(--line); }
.scanframe::after { content: ""; position: absolute; left: 8px; right: 8px; height: 2px; top: 50%; background: var(--stop); box-shadow: 0 0 12px var(--stop); opacity: 0.85; }
.js .panel.is-active .scanframe::after { animation: scanline 1.4s ease-in-out 2; }
@keyframes scanline { 0%, 100% { top: 14%; } 50% { top: 86%; } }

@media (max-width: 920px) { .how__grid { grid-template-columns: 1fr; } .stage { min-height: 500px; } }

/* ---------- Fire drill ---------- */
.drill { overflow: hidden; }
.hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, var(--ink) 14px 28px); }
.drill__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.drill__copy h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; margin-top: 14px; }
.drill__copy p { margin-top: 16px; color: var(--on-ink-muted); font-size: 1.0625rem; }
.drill__facts { margin-top: 28px; list-style: none; display: grid; gap: 12px; }
.drill__facts li { display: flex; gap: 12px; font-size: 0.9375rem; color: var(--on-ink); }
.drill__facts .ico { color: #4fd192; margin-top: 3px; }

.rollcall { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-float); }
.rollcall__top { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--ink-line); background: var(--ink-3); }
.rollcall__state { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--on-ink-muted); display: flex; align-items: center; gap: 8px; }
.rollcall__state .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-ink-muted); }
.rollcall.is-live .rollcall__state { color: #ff8a84; }
.rollcall.is-live .rollcall__state .dot { background: var(--stop); animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.rollcall__timer { font-family: var(--f-mono); font-size: 2rem; font-weight: 500; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; margin-top: 6px; }
.rollcall__counts { display: flex; gap: 8px; }
.count { min-width: 84px; padding: 10px 12px; border-radius: 12px; text-align: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--ink-line); }
.count b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.count span { font-size: 0.72rem; color: var(--on-ink-muted); }
.count--missing b { color: #ff7d76; }
.count--safe b { color: #58d59a; }
.rollcall__start { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--ink-line); }
.rollcall__start p { font-size: 0.9375rem; color: var(--on-ink-muted); max-width: 320px; }
.zones { max-height: 470px; overflow: auto; overscroll-behavior: contain; }
.zone__h { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; padding: 10px 20px; background: #182030; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--on-ink-muted); text-transform: uppercase; border-bottom: 1px solid var(--ink-line); }
.person { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--ink-line); transition: background-color 0.3s; }
.person__name { font-weight: 600; font-size: 0.9375rem; }
.person__meta { display: block; font-size: 0.78rem; color: var(--on-ink-muted); }
.person__meta .mono { font-size: 0.72rem; }
.safe-btn {
  min-width: 96px; min-height: 44px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(88, 213, 154, 0.5);
  background: transparent; color: #58d59a; font-weight: 700; cursor: pointer; transition: background-color 0.15s, color 0.15s, transform 0.12s;
}
.safe-btn:hover:not([disabled]) { background: rgba(28, 154, 95, 0.18); }
.safe-btn:active:not([disabled]) { transform: scale(0.95); }
.safe-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.person.is-safe { background: rgba(28, 154, 95, 0.1); }
.person.is-safe .safe-btn { background: var(--safe); border-color: var(--safe); color: #fff; opacity: 1; cursor: default; }
.rollcall__done {
  display: none; padding: 22px 20px; background: var(--safe); color: #fff; text-align: center;
}
.rollcall__done b { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 116; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
.rollcall__done .mono { font-size: 1rem; }
.rollcall__done button { margin-top: 12px; background: rgba(0, 0, 0, 0.2); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.rollcall.is-done .rollcall__done { display: block; animation: done-in 0.5s var(--ease-out); }
@keyframes done-in { from { opacity: 0; transform: scale(0.97); } }
.drill__note { margin-top: 14px; font-family: var(--f-mono); font-size: 0.72rem; color: var(--on-ink-muted); letter-spacing: 0.04em; }
@media (max-width: 920px) { .drill__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .rollcall__top { grid-template-columns: 1fr; }
  .count { min-width: 0; flex: 1; }
  .person { padding: 12px 14px; }
  .zone__h { padding: 10px 14px; }
}

/* ---------- Features ---------- */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.feature-row:first-of-type { border-top: 0; padding-top: 0; }
.feature-row--flip .feature-row__visual { order: -1; }
.feature-row h3 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; margin-top: 12px; }
.feature-row__lede { margin-top: 12px; color: var(--muted); font-size: 1.0625rem; }
.ticks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 0.9875rem; line-height: 1.5; }
.ticks .ico { color: var(--safe); margin-top: 2px; width: 20px; height: 20px; }
.on-ink .ticks .ico { color: #58d59a; }
@media (max-width: 920px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--flip .feature-row__visual { order: 0; }
}

/* WhatsApp mock */
.wa { width: min(340px, 100%); margin: 0 auto; background: #0a0e16; border-radius: 38px; padding: 12px; box-shadow: var(--shadow-card), 0 30px 60px -30px rgba(13, 18, 28, 0.5); }
.wa__screen { border-radius: 28px; overflow: hidden; background: #efe7dc; }
.wa__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #0f5c4c; color: #fff; }
.wa__avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.wa__avatar svg { width: 22px; height: 22px; }
.wa__head b { display: block; font-size: 0.9375rem; }
.wa__head small { font-size: 0.72rem; opacity: 0.8; }
.wa__body { padding: 16px 12px 20px; min-height: 360px; background-image: radial-gradient(rgba(13, 18, 28, 0.05) 1px, transparent 1px); background-size: 14px 14px; }
.wa__day { display: table; margin: 0 auto 12px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.8); font-size: 0.68rem; color: var(--muted); }
.wa__msg { position: relative; max-width: 92%; background: #fff; border-radius: 4px 12px 12px 12px; padding: 10px 12px 18px; font-size: 0.84rem; line-height: 1.5; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.wa__msg p + p { margin-top: 8px; }
.wa__msg .mono { font-size: 0.78rem; }
.wa__msg time { position: absolute; right: 10px; bottom: 4px; font-size: 0.64rem; color: var(--muted); }
.wa__msg--me { margin: 10px 0 0 auto; background: #d9fdd3; border-radius: 12px 4px 12px 12px; max-width: 60%; }

/* Audit record */
.record { position: relative; max-width: 460px; margin: 0 auto; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-card), 0 40px 60px -40px rgba(13, 18, 28, 0.45); overflow: hidden; }
.record__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px dashed var(--line-2); }
.record__head b { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-size: 1.0625rem; }
.record__head .mono { font-size: 0.7rem; color: var(--muted); }
.record dl { margin: 0; padding: 8px 20px 4px; }
.record dl div { display: grid; grid-template-columns: 132px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.record dl div:last-child { border-bottom: 0; }
.record dt { color: var(--muted); font-size: 0.8125rem; }
.record dd { margin: 0; font-weight: 500; }
.record .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.record .tag { font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); font-weight: 500; }
.record__sig { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 12px 20px 18px; background: var(--paper); border-top: 1px solid var(--line); }
.record__sig svg { width: 150px; height: 44px; stroke: var(--brand-ink); stroke-width: 2; fill: none; stroke-linecap: round; }
.record__sig small { font-size: 0.72rem; color: var(--muted); }
.stamp { position: absolute; top: 58px; right: 16px; transform: rotate(-8deg); padding: 6px 10px; border: 2px solid var(--safe); color: var(--safe); border-radius: 6px; font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; background: rgba(255, 255, 255, 0.85); }
.js .record .stamp { opacity: 0; transform: rotate(-8deg) scale(1.4); transition: opacity 0.3s 0.6s, transform 0.35s 0.6s var(--ease-out); }
.js .record.is-visible .stamp { opacity: 1; transform: rotate(-8deg) scale(1); }
@media (max-width: 520px) { .record dl div { grid-template-columns: 1fr; gap: 2px; } }

/* Spec grid for remaining groups */
.spec { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: clamp(24px, 4vw, 40px); }
.spec__item { grid-column: span 2; background: var(--card); padding: 28px 24px; }
.spec__item:nth-child(4), .spec__item:nth-child(5) { grid-column: span 3; }
.spec__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.spec__icon--stop { background: var(--stop-soft); color: var(--stop); }
.spec__icon .ico { width: 22px; height: 22px; }
.spec h3 { margin-top: 16px; font-size: 1.25rem; font-weight: 700; }
.spec .ticks { margin-top: 12px; gap: 8px; }
.spec .ticks li { font-size: 0.9375rem; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 920px) {
  .spec { grid-template-columns: 1fr 1fr; }
  .spec__item, .spec__item:nth-child(4), .spec__item:nth-child(5) { grid-column: span 1; }
  .spec__item:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .spec { grid-template-columns: 1fr; }
  .spec__item:nth-child(5) { grid-column: auto; }
}

/* ---------- Try it ---------- */
.try { background: var(--paper-2); }
.try__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.try-card__head { max-width: 560px; }
.gate-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 32px; align-items: start; }
.gate-body .gate-out { margin-top: 20px; }
@media (max-width: 820px) { .gate-body { grid-template-columns: 1fr; } .gate-body .gate-out { margin-top: 0; } }
.try-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.try-card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-top: 12px; }
.try-card > p { margin-top: 8px; color: var(--muted); }
.scanme { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; align-items: stretch; }
.scanme .qr { align-self: start; }
.qr { background: #fff; border-radius: 14px; padding: 12px; border: 1px solid var(--line); text-align: center; }
.qr svg { width: 100%; height: auto; }
.qr small { display: block; margin-top: 8px; font-size: 0.72rem; color: var(--muted); line-height: 1.35; }
.mini { border-radius: 16px; border: 1px solid var(--line-2); background: #fff; padding: 14px; }
.mini__label { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.mini__label .ico { width: 14px; height: 14px; }
.mini form { margin-top: 10px; display: grid; gap: 10px; }
.inp label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.inp input, .inp select {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card);
  font: inherit; font-size: 1rem; color: var(--text);
}
.inp input:focus, .inp select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109, 93, 252, 0.2); }
.inp .err { display: none; font-size: 0.75rem; color: var(--stop); margin-top: 4px; }
.inp.has-error input { border-color: var(--stop); }
.inp.has-error .err { display: block; }
.approve { display: flex; flex-direction: column; }
.approve__empty { flex: 1; display: grid; place-items: center; text-align: center; padding: 20px 8px; color: var(--muted); font-size: 0.875rem; }
.approve__empty .ico { width: 28px; height: 28px; margin: 0 auto 8px; opacity: 0.5; }
.approve__req { display: none; margin-top: 10px; }
.approve.has-req .approve__empty { display: none; }
.approve.has-req .approve__req { display: block; animation: done-in 0.4s var(--ease-out); }
.approve__req .row { display: flex; justify-content: space-between; gap: 8px; font-size: 0.8125rem; padding: 6px 0; border-bottom: 1px solid var(--line); }
.approve__req .row span:first-child { color: var(--muted); }
.approve__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.approve__btns .btn { min-height: 44px; padding: 8px; font-size: 0.875rem; border-radius: 10px; }
.btn--safe { background: var(--safe); color: #fff; }
.btn--safe:hover { background: #167e4d; }
.approve__out { display: none; margin-top: 12px; padding: 12px; border-radius: 12px; font-size: 0.8125rem; }
.approve__out.is-ok { display: block; background: var(--safe-soft); color: #0f5d37; }
.approve__out.is-no { display: block; background: var(--stop-soft); color: #8e1f19; }
.bell { position: relative; }
.bell i { position: absolute; top: -4px; right: -6px; width: 8px; height: 8px; border-radius: 50%; background: var(--stop); display: none; }
.approve.has-req .bell i { display: block; }
.js .approve.has-req .bell .ico { animation: ring 0.7s ease-in-out 2; transform-origin: 50% 0; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 75% { transform: rotate(-14deg); } }
.try__caption { margin-top: auto; padding-top: 20px; font-size: 0.8125rem; color: var(--muted); }

.gate-check form { margin-top: 20px; display: grid; gap: 12px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 0.8125rem; cursor: pointer; }
.preset:hover { background: rgba(13, 18, 28, 0.05); }
.preset[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gate-out { margin-top: 16px; min-height: 108px; }
.gate-out .result { margin-top: 0; }
.gate-out .result b { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.gate-out__idle { display: grid; place-items: center; height: 108px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 0.875rem; text-align: center; padding: 0 12px; }
.js .gate-out .result { animation: done-in 0.35s var(--ease-out); }
.result--stop b { letter-spacing: 0.04em; }

@media (max-width: 820px) { .scanme { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .qr { display: none; } }
@media (max-width: 640px) {
  .scanme { grid-template-columns: 1fr; }
  .qr { display: none; }
}

/* ---------- Roles ---------- */
.roles__tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line-2); padding-bottom: 16px; }
.roles__tabs [role="tab"] { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 600; font-size: 0.9375rem; }
.roles__tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.role { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); padding-top: 32px; }
.role[hidden] { display: none; }
.role h3 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; }
.role__quote { margin-top: 12px; color: var(--muted); font-size: 1.0625rem; }
.role .ticks { margin-top: 0; }
@media (max-width: 820px) { .role { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.compare { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-card); }
.compare__title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.compare__title b { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-size: 1.25rem; }
.compare__title span { font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); }
.bars { margin-top: 20px; display: grid; gap: 16px; }
.bar { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; }
.bar__name { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.bar__name small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.bar__track { position: relative; height: 40px; border-radius: 8px; background: var(--paper); }
.bar__fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 8px; display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; font-family: var(--f-mono); font-size: 0.8125rem; font-weight: 500; white-space: nowrap; }
.bar__fill--range { background: repeating-linear-gradient(-45deg, #d6d1c6 0 8px, #cbc5b8 8px 16px); color: var(--text); justify-content: center; }
.bar__fill--brand { background: var(--brand); color: #fff; }
.bar__fill--brand2 { background: #9d93ff; color: var(--ink); }
.js .bar__fill { transform-origin: left; transform: scaleX(0); transition: transform 0.9s var(--ease-out); }
.js .bars.is-visible .bar__fill { transform: scaleX(1); }
.js .bars.is-visible .bar:nth-child(2) .bar__fill { transition-delay: 0.15s; }
.js .bars.is-visible .bar:nth-child(3) .bar__fill { transition-delay: 0.3s; }
.axis { display: grid; grid-template-columns: 200px 1fr; gap: 16px; margin-top: 6px; }
.axis div { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.68rem; color: var(--muted); }
.compare__src { margin-top: 18px; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 640px) {
  .bar, .axis { grid-template-columns: 1fr; gap: 6px; }
  .axis > span { display: none; }
}

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; }
.plan--pick { background: var(--ink); color: var(--on-ink); border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(13, 18, 28, 0.6); }
.plan__flag { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.06em; }
.plan h3 { font-size: 1.375rem; font-weight: 800; }
.plan__for { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); min-height: 3em; }
.plan--pick .plan__for { color: var(--on-ink-muted); }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price b { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: 2.75rem; line-height: 1; letter-spacing: -0.02em; }
.plan__price span { font-size: 0.875rem; color: var(--muted); }
.plan--pick .plan__price span { color: var(--on-ink-muted); }
.plan .ticks { margin-top: 20px; margin-bottom: 24px; }
.plan .ticks li { font-size: 0.9375rem; }
.plan .btn { margin-top: auto; width: 100%; }
.plan-terms { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.875rem; color: var(--muted); }
.plan-terms span { display: inline-flex; align-items: center; gap: 8px; }
.plan-terms .ico { color: var(--safe); width: 18px; height: 18px; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; } .plan__for { min-height: 0; } }

/* ---------- Founding offer ---------- */
.founding { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.founding h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; margin-top: 14px; }
.founding__lede { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; }
.founding-sec { border-bottom: 1px solid var(--line); }
.ticket { position: relative; background: var(--card); color: var(--text); border: 1px solid var(--line-2); border-top: 4px solid var(--brand); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-card); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); box-sizing: border-box; }
.ticket::before { left: -15px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -15px; clip-path: inset(0 50% 0 0); }
.ticket__top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.ticket h3 { margin-top: 14px; font-size: 1.75rem; font-weight: 800; }
.ticket .ticks { padding-bottom: 20px; border-bottom: 2px dashed var(--line-2); }
.ticket__give { margin-top: 18px; font-size: 0.9375rem; color: var(--muted); }
.ticket .btn { margin-top: 20px; width: 100%; }
@media (max-width: 920px) { .founding { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__aside { position: sticky; top: 100px; }
.faq__aside p { margin-top: 16px; color: var(--muted); }
.faq__aside .btn { margin-top: 24px; }
.qa { border-top: 1px solid var(--line-2); }
.qa:last-child { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 22px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-family: var(--f-body); font-variation-settings: normal; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.4; }
.qa summary .pm { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform 0.25s var(--ease-out), background-color 0.2s; }
.qa summary .pm .ico { width: 16px; height: 16px; }
.qa[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.qa summary:hover h3 { color: var(--brand-ink); }
.qa__a { padding: 0 44px 24px 0; color: var(--muted); }
.qa__a p + p { margin-top: 10px; }
.qa__a strong { color: var(--text); font-weight: 600; }
@media (max-width: 920px) { .faq__grid { grid-template-columns: 1fr; } .faq__aside { position: static; } .qa__a { padding-right: 0; } }

/* ---------- Final CTA ---------- */
.final { text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: -200px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(109, 93, 252, 0.3), transparent 65%); pointer-events: none; }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(2.25rem, 5.4vw, 4.2rem); font-weight: 800; max-width: 900px; margin: 14px auto 0; letter-spacing: -0.03em; }
.final__lede { margin: 18px auto 0; max-width: 560px; color: var(--on-ink-muted); font-size: 1.125rem; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.next { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 7vw, 72px); text-align: left; border-top: 1px solid var(--ink-line); }
.next li { padding: 24px 24px 0 0; }
.next li + li { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.next b { display: block; font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; color: #b9b0ff; }
.next h3 { margin-top: 10px; font-size: 1.25rem; font-weight: 700; }
.next p { margin-top: 6px; color: var(--on-ink-muted); font-size: 0.9375rem; }
.final__contact { margin-top: 40px; font-size: 0.9375rem; color: var(--on-ink-muted); }
.final__contact a { color: var(--on-ink); }
@media (max-width: 760px) {
  .next { grid-template-columns: 1fr; }
  .next li, .next li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--ink-line); }
}

/* ---------- Footer ---------- */
.footer { background: #080b12; color: var(--on-ink-muted); padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 1fr; gap: 32px; }
.footer .brand { color: var(--on-ink); }
.footer__desc { margin-top: 12px; max-width: 280px; }
.footer h4 { font-family: var(--f-mono); font-variation-settings: normal; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer address { line-height: 1.6; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ink-line); font-size: 0.8125rem; }
@media (max-width: 920px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; gap: 8px; transform: translateY(160%); transition: transform 0.35s var(--ease-out);
  }
  .mobile-cta.is-shown { transform: none; }
  .mobile-cta .btn { flex: 1; min-height: 52px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5); }
  .mobile-cta .btn--wa { flex: 0 0 52px; padding: 0; background: #1f9d55; color: #fff; }
  .mobile-cta .btn--wa .ico { width: 24px; height: 24px; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .d1 { transition-delay: 0.08s; }
.js .d2 { transition-delay: 0.16s; }
.js .d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .bar__fill, .js .record .stamp { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rollcall.is-live .rollcall__state .dot { animation: none; }
}

/* ---------- Sub pages ---------- */
.page-hero { padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 64px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -360px; background: radial-gradient(circle, rgba(109, 93, 252, 0.26), transparent 62%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 16px; font-size: clamp(2.25rem, 5vw, 3.9rem); font-weight: 800; max-width: 900px; letter-spacing: -0.03em; }
.page-hero p { margin-top: 18px; max-width: 680px; font-size: 1.125rem; color: var(--on-ink-muted); }
.crumbs { font-family: var(--f-mono); font-size: 0.75rem; color: var(--on-ink-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); text-decoration: none; font-size: 0.875rem; color: var(--on-ink); }
.toc a:hover { background: rgba(255, 255, 255, 0.08); }

.fgroup { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line-2); }
.fgroup:first-child { border-top: 0; }
.fgroup h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; margin-top: 12px; }
.fgroup__lede { margin-top: 12px; color: var(--muted); }
.fgroup dl { margin: 0; display: grid; gap: 0; }
.fgroup dl div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup dl div:first-child { padding-top: 0; }
.fgroup dt { font-weight: 700; font-size: 1.0625rem; }
.fgroup dd { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 820px) { .fgroup { grid-template-columns: 1fr; } }

.notyet { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.notyet h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 800; margin-top: 12px; }
.notyet ul { list-style: none; margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.notyet li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 0.9875rem; }
.notyet .ico { color: var(--muted); width: 20px; height: 20px; margin-top: 2px; }
@media (max-width: 700px) { .notyet ul { grid-template-columns: 1fr; } }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 8px; }
.prose p, .prose li { color: #333b49; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; margin-top: 10px; display: grid; gap: 6px; }
.prose a { color: var(--brand-ink); }
.prose .note { margin-top: 32px; padding: 16px 18px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.facts { margin: 24px 0 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 0.9375rem; }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 560px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; }
.contact-card .spec__icon { margin-bottom: 16px; }
.contact-card h2 { font-size: 1.375rem; font-weight: 800; }
.contact-card p { margin-top: 8px; color: var(--muted); flex: 1; }
.contact-card .btn { margin-top: 20px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .mono { font-size: 0.875rem; color: var(--on-ink-muted); }
.notfound h1 { margin-top: 16px; font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 800; }
.notfound p { margin: 16px auto 0; max-width: 480px; color: var(--on-ink-muted); }
.notfound .final__ctas { margin-top: 28px; }

.how__grid .s-head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }

/* ---------- Sectors ---------- */
.sectors { padding-top: clamp(56px, 8vw, 96px); padding-bottom: 0; }
.sector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sector {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card); transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}
.sector:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-card), 0 24px 48px -28px rgba(76, 63, 216, 0.45); }
.sector h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.sector .ticks { margin-top: 4px; }
.sector__go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-ink); }
.sector:hover .sector__go .ico { transform: translateX(3px); }
.sector__go .ico { transition: transform 0.2s var(--ease-out); }
.plan-terms a { color: var(--brand-ink); font-weight: 600; }
@media (max-width: 820px) { .sector-grid { grid-template-columns: 1fr; } }

/* ---------- Sector / guide pages ---------- */
.answer { margin-top: 28px; max-width: 760px; padding: 20px 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--ink-line); border-left: 3px solid var(--brand); color: var(--on-ink); font-size: 1.0625rem; }
.answer b { display: block; font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #b9b0ff; margin-bottom: 6px; }
.page-hero .hero__ctas { margin-top: 28px; }
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); counter-reset: flow; }
.flow li { position: relative; padding: 24px 20px 0 0; }
.flow li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.flow b { display: block; font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; color: var(--brand-ink); }
.flow h3 { margin-top: 10px; font-size: 1.1875rem; font-weight: 700; }
.flow p { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; } .flow li:nth-child(3) { padding-left: 0; border-left: 0; } .flow li { padding-bottom: 20px; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .flow li, .flow li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.panel-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.panel-card h2, .panel-card h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 800; margin-top: 10px; }
.panel-card--muted { background: transparent; border-style: dashed; }
.panel-card--muted .ticks .ico { color: var(--muted); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.article { max-width: 760px; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: 48px 0 12px; }
.article h3 { font-size: 1.1875rem; font-weight: 700; margin: 24px 0 6px; }
.article p, .article li { color: #333b49; }
.article p + p { margin-top: 14px; }
.article ul, .article ol { padding-left: 1.25em; margin-top: 10px; display: grid; gap: 8px; }
.article a { color: var(--brand-ink); }
.article .meta { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); }
.article table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.9375rem; }
.article caption { text-align: left; font-size: 0.8125rem; color: var(--muted); padding-bottom: 8px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-weight: 600; background: var(--paper-2); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); margin-top: 16px; }
.tbl-wrap table { margin-top: 0; }
.disclose { margin-top: 32px; padding: 16px 18px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.guide-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; }
.guide-list a { display: block; height: 100%; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: border-color 0.2s, transform 0.2s var(--ease-out); }
.guide-list a:hover { border-color: var(--brand); transform: translateY(-2px); }
.guide-list b { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-size: 1.25rem; display: block; line-height: 1.2; }
.guide-list span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } }
.plan__price--quote b { font-size: 1.75rem; }
