/* AML GO landing page concept. Prepared by Ctrl Z, Sep 2026. */

:root {
  --bg: #010314;
  --bg-2: #030617;
  --panel: #060a1c;
  --panel-2: #0a1027;
  --panel-3: #0e1531;
  --line: rgba(148, 163, 184, 0.1);
  --line-2: rgba(148, 163, 184, 0.17);
  --line-3: rgba(148, 163, 184, 0.28);
  --text: #f2f5f9;
  --text-2: #c5ccd8;
  --muted: #8490a3;
  --dim: #737e91;
  --green: #0eff96;
  --green-2: #08f890;
  --green-ink: #00150b;
  --green-soft: rgba(14, 255, 150, 0.12);
  --cyan: #16d5e0;
  --blue: #00b8f8;
  --amber: #ffb547;
  --red: #ff5a6e;
  --r: 16px;
  --r-sm: 10px;
  --max: 1200px;
  --pad: 40px;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Plus Jakarta Sans', var(--font);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
b, strong { font-weight: 600; color: var(--text); }
::selection { background: rgba(14, 255, 150, 0.28); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--green); color: var(--green-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Blueprint layout (vertical guide lines + full-width section rules) ---------- */
.wrap { position: relative; width: 100%; border-top: 1px solid var(--line); }
.frame {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
  border-inline: 1px solid var(--line);
}
.sec > .frame { padding-block: 104px 112px; }

/* Dot fields in the outer margins, like pencil marks on a blueprint */
.dots::before, .dots::after {
  content: '';
  position: absolute;
  top: 40px;
  width: min(220px, calc((100vw - var(--max)) / 2 - 24px));
  height: 260px;
  pointer-events: none;
  background-image: radial-gradient(rgba(148, 163, 184, 0.26) 1px, transparent 1.3px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
  opacity: 0.55;
}
.dots::before { left: 12px; }
.dots::after { right: 12px; top: auto; bottom: 40px; }

/* ---------- Type ---------- */
.h1 {
  font: 700 clamp(46px, 5.7vw, 82px)/0.96 var(--display);
  letter-spacing: -0.045em;
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font: 650 clamp(30px, 3.5vw, 46px)/1.08 var(--display);
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 25ch;
}
.p { margin-left: -0.045em; }
.h1 .p { color: var(--green); }
.h2 .mute { color: var(--dim); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--muted); margin: 0; max-width: 34em; }
.lead b { color: var(--text); font-weight: 500; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Section header: green tick on the guide line, two-tone headline, button on the right */
.sec-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.sec-head::before {
  content: '';
  position: absolute;
  left: calc(var(--pad) * -1 - 1px);
  top: 6px;
  width: 2px;
  height: 34px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(14, 255, 150, 0.6);
  transform-origin: top;
}
.motion .sec-head::before { transform: scaleY(0); transition: transform 0.9s var(--ease-out) 0.15s; }
.motion .sec-head.in::before { transform: scaleY(1); }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 20px;
  border-radius: 11px;
  font: 600 15px/1 var(--font);
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--green); color: var(--green-ink); box-shadow: 0 0 0 1px rgba(14, 255, 150, 0.4), 0 10px 30px -10px rgba(14, 255, 150, 0.55); }
.btn-primary:hover { background: #5dffb7; box-shadow: 0 0 0 1px rgba(14, 255, 150, 0.6), 0 14px 38px -10px rgba(14, 255, 150, 0.7); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-sm { --h: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }

/* ---------- Announcement bar ---------- */
.announce { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(14, 255, 150, 0.05), rgba(0, 184, 248, 0.05)); }
.announce-in { max-width: var(--max); margin: 0 auto; padding: 10px var(--pad); display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; color: var(--text-2); }
.tag { font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.25); padding: 5px 8px; border-radius: 6px; }
.announce-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color 0.2s; }
.announce-link svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.announce-link:hover { color: var(--text); }
.announce-link:hover svg { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(1, 3, 20, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); height: 68px; display: flex; align-items: center; gap: 32px; }
.brand img { height: 27px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--text-2); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 20px; }
.nav-login { padding: 8px 12px; font-size: 15px; color: var(--text-2); border-radius: 8px; }
.nav-login:hover { color: var(--text); }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { display: none; }

/* ---------- Hero ---------- */
.hero { border-top: 0; overflow: clip; }
.hero .frame { border-inline-color: transparent; }
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: 24px; align-items: center; min-height: min(820px, calc(100vh - 110px)); padding-block: 72px 88px; }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 28px; justify-items: start; }
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  background: rgba(6, 10, 28, 0.8);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow 0.25s;
}
.live-chip:hover { box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.45); }
.live-chip svg { width: 12px; height: 12px; color: var(--muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(14, 255, 150, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 255, 150, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(14, 255, 150, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 255, 150, 0); } }
.chip-short { display: none; }
.chip-mono { font-size: 12.5px; color: var(--green); background: var(--green-soft); padding: 4px 8px; border-radius: 999px; min-width: 13ch; text-align: center; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.micro { margin: -8px 0 0; font-size: 14px; color: var(--dim); }
.micro .mono { color: var(--green); }

.hero-visual { position: relative; z-index: 1; height: 640px; }
.shield-stage { position: absolute; inset: -70px -40px 30px -10px; }
.shield-stage canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.shield-stage.ready canvas { opacity: 1; }
.shield-fallback { position: absolute; left: 50%; top: 46%; width: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 0 40px rgba(14, 255, 150, 0.35)); transition: opacity 0.8s; }
.shield-stage.ready .shield-fallback { opacity: 0; }

/* Screening console (hero) */
.console {
  position: absolute;
  left: -8px;
  bottom: -8px;
  z-index: 3;
  width: 312px;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(14, 21, 49, 0.92), rgba(6, 10, 28, 0.94));
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  font-size: 14px;
}
.console-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dotrow { display: flex; gap: 5px; }
.dotrow i { width: 8px; height: 8px; border-radius: 50%; background: rgba(148, 163, 184, 0.25); }
.c-title { font-weight: 500; color: var(--text-2); }
.pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.pill.live { color: var(--green); background: var(--green-soft); }
.pill.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.c-body { padding: 11px; display: grid; gap: 8px; }
.c-input { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border-radius: 10px; background: rgba(1, 3, 20, 0.7); box-shadow: inset 0 0 0 1px var(--line-2); }
.c-input svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.c-name { color: var(--text); font-weight: 500; white-space: nowrap; }
.caret { width: 1.5px; height: 18px; background: var(--green); animation: blink 1s steps(1) infinite; margin-left: -6px; }
.c-meta { display: flex; justify-content: space-between; font: 400 12px/1 var(--mono); color: var(--dim); }
.c-lists { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.c-lists li { display: flex; align-items: center; gap: 10px; height: 28px; font-size: 13px; padding: 0 10px; border-radius: 8px; color: var(--text-2); transition: background-color 0.3s; }
.c-lists li em { margin-left: auto; font: normal 500 12px/1 var(--mono); color: var(--dim); }
.st { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-3); position: relative; flex: none; }
.c-lists li.busy .st { box-shadow: inset 0 0 0 1.5px rgba(14, 255, 150, 0.25); }
.c-lists li.busy .st::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--green); animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.c-lists li.ok { background: rgba(14, 255, 150, 0.05); }
.c-lists li.ok .st { background: var(--green); box-shadow: none; }
.c-lists li.ok .st::after, .c-lists li.flag .st::after, .c-lists li.hit .st::after { content: ''; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid var(--green-ink); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); animation: none; }
.c-lists li.ok em { color: var(--green); }
.c-lists li.flag { background: rgba(255, 181, 71, 0.08); }
.c-lists li.flag .st { background: var(--amber); box-shadow: none; }
.c-lists li.flag .st::after { left: 7px; top: 3px; width: 0; height: 6px; border-width: 0 1.8px 0 0; transform: none; border-color: #2a1800; }
.c-lists li.flag em { color: var(--amber); }
.c-lists li.hit { background: rgba(255, 90, 110, 0.09); }
.c-lists li.hit .st { background: var(--red); box-shadow: none; }
.c-lists li.hit .st::after { left: 7px; top: 3px; width: 0; height: 6px; border-width: 0 1.8px 0 0; transform: none; border-color: #2a0008; }
.c-lists li.hit em { color: var(--red); }
.c-risk { padding: 10px 12px; gap: 8px; border-radius: 12px; background: rgba(1, 3, 20, 0.6); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; }
.c-risk-top { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-size: 13px; }
.c-band { font: 600 13px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); transition: color 0.4s; }
.c-bar { position: relative; height: 6px; border-radius: 6px; background: rgba(148, 163, 184, 0.12); overflow: hidden; }
.c-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--green); transition: width 0.9s var(--ease-out), background-color 0.4s; }
.c-score { font: 500 12px/1 var(--mono); color: var(--dim); }
.c-score b { color: var(--text); font-weight: 600; }
.c-foot { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.c-foot .ok-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); transition: background-color 0.3s; }
.c-foot.saved .ok-dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.c-foot .mono { margin-left: auto; font-size: 12px; color: var(--dim); }
[data-band='medium'] .c-band { color: var(--amber); }
[data-band='medium'] .c-bar i { background: var(--amber); }
[data-band='high'] .c-band { color: var(--red); }
[data-band='high'] .c-bar i { background: var(--red); }
[data-band='low'] .c-band { color: var(--green); }

/* ---------- Institutions (logo wall equivalent) ---------- */
.inst .frame { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); padding: 0; }
.inst-copy { padding: 44px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; border-right: 1px solid var(--line); }
.inst-title { font: 500 clamp(24px, 2.1vw, 30px)/1.25 var(--display); letter-spacing: -0.025em; color: var(--muted); margin: 0; }
.inst-title b { color: var(--text); font-weight: 600; }
.inst-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 12px; }
.tile {
  position: relative;
  min-height: 150px;
  padding: 18px;
  border-radius: 12px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}
.tile svg { width: 26px; height: 26px; color: var(--muted); stroke-width: 1.5; transition: color 0.35s var(--ease), transform 0.5s var(--ease-out); }
.tile span { font: 500 15px/1.3 var(--display); letter-spacing: -0.01em; color: var(--text-2); }
.tile small { position: absolute; top: 16px; right: 16px; font: 500 11px/1 var(--mono); color: var(--dim); }
.tile:hover, .tile.lit { background: var(--panel-2); box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.35); }
.tile:hover svg, .tile.lit svg { color: var(--green); transform: translateY(-2px); }
.tile.more { background: transparent; box-shadow: inset 0 0 0 1px var(--line); border: 1px dashed transparent; }
.tile.more span { color: var(--muted); }
.tile.more b { display: block; font: 600 34px/1 var(--display); letter-spacing: -0.03em; color: var(--text); }

/* ---------- Ticker ---------- */
.ticker .frame { display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.ticker-label { font: 500 15px/1.2 var(--display); color: var(--text); white-space: nowrap; }
.ticker-track { display: flex; gap: 28px; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-row { display: flex; gap: 28px; flex: none; }
.ticker-inner { display: flex; gap: 28px; width: max-content; animation: marq 42s linear infinite; }
.ticker-track:hover .ticker-inner { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(calc(-50% - 14px)); } }
.tk { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 14px; color: var(--muted); }
.tk b { font: 500 13px/1 var(--mono); color: var(--green); background: var(--green-soft); padding: 5px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.ticker-src { font-size: 12px; color: var(--dim); white-space: nowrap; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
}
/* Border that lights up under the cursor */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(14, 255, 150, 0.55), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.card:hover::before { opacity: 1; }
.card.span-2 { grid-column: span 2; }
.card.span-3 { grid-column: span 3; }
.viz { position: relative; height: 270px; overflow: hidden; border-bottom: 1px solid var(--line); background:
  radial-gradient(rgba(148, 163, 184, 0.11) 1px, transparent 1.2px) 0 0 / 16px 16px,
  linear-gradient(180deg, rgba(10, 16, 39, 0.6), rgba(6, 10, 28, 0)); }
.card-copy { padding: 22px 24px 24px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.card-copy .ico { width: 56px; height: 56px; margin-top: -4px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.55)); transition: transform 0.6s var(--ease-out); }
.card:hover .card-copy .ico { transform: translateY(-3px) rotate(-3deg) scale(1.04); }
.card-copy h3 { margin: 0 0 6px; font: 600 18px/1.3 var(--display); letter-spacing: -0.015em; }
.card-copy p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 40em; }

/* Viz: screening pipeline */
.pl { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 36px; }
.pl-rail { position: absolute; left: 36px; right: 36px; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-3) 8%, var(--line-3) 92%, transparent); }
.pl-token {
  position: absolute;
  left: 36px;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: var(--panel-3);
  box-shadow: inset 0 0 0 1px var(--line-3), 0 8px 24px -6px rgba(0, 0, 0, 0.7);
  font-size: 13px;
  font-weight: 500;
  transform: translate(0, -50%);
  white-space: nowrap;
  will-change: transform;
}
.pl-token i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); position: relative; }
.pl-token i::after { content: ''; position: absolute; inset: 5px 6px 7px; border-radius: 50%; background: rgba(1, 3, 20, 0.55); }
.pl-gates { position: relative; z-index: 2; flex: 1; display: flex; justify-content: space-around; padding: 0 176px 0 150px; }
.gate { position: relative; display: block; }
.gate-bar { display: block; width: 38px; height: 108px; border-radius: 12px; background: rgba(1, 3, 20, 0.7); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; transition: box-shadow 0.4s var(--ease), background-color 0.4s; }
.gate-bar::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); transform: translate(-50%, -50%); transition: background-color 0.4s, box-shadow 0.4s; }
.gate-lbl { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 12px; white-space: nowrap; font-size: 11px; letter-spacing: 0.05em; color: var(--dim); transition: color 0.4s; }
.gate.ok .gate-bar { background: rgba(14, 255, 150, 0.08); box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.55), 0 0 30px -6px rgba(14, 255, 150, 0.5); }
.gate.ok .gate-bar::after { background: var(--green); box-shadow: 0 0 12px var(--green); }
.gate.ok .gate-lbl { color: var(--green); }
.gate.flag .gate-bar { background: rgba(255, 181, 71, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.6), 0 0 30px -6px rgba(255, 181, 71, 0.5); }
.gate.flag .gate-bar::after { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.gate.flag .gate-lbl { color: var(--amber); }
.pl-result {
  position: absolute;
  right: 26px;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%) scale(0.92);
  opacity: 0;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--panel-3);
  box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.45), 0 20px 40px -12px rgba(0, 0, 0, 0.8);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease-out), box-shadow 0.3s;
  min-width: 128px;
}
.pl-result.show { opacity: 1; transform: translateY(-50%) scale(1); }
.pl-result .mono { font-size: 11px; color: var(--dim); letter-spacing: 0.05em; }
.pl-result b { font: 600 15px/1.2 var(--display); color: var(--green); }
.pl-result.warn { box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.55), 0 20px 40px -12px rgba(0, 0, 0, 0.8); }
.pl-result.warn b { color: var(--amber); }

/* Viz: gauge */
.gauge-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 16px 14px; }
.gauge { width: 224px; height: auto; overflow: visible; }
.g-track { stroke: rgba(148, 163, 184, 0.12); }
.g-seg { transition: opacity 0.4s; }
.g-needle { transform-origin: 125px 125px; transform: rotate(-90deg); transition: transform 1.1s cubic-bezier(0.34, 1.4, 0.5, 1); }
.g-read { display: grid; justify-items: center; gap: 4px; margin-top: 4px; }
.g-score { font: 600 30px/1 var(--mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.g-band { font: 600 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); transition: color 0.4s; }
.g-factors { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.g-factors span { font: 500 11px/1 var(--mono); color: var(--dim); padding: 6px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); transition: color 0.3s, box-shadow 0.3s, background-color 0.3s; }
.g-factors span.on { color: var(--text); background: rgba(148, 163, 184, 0.08); box-shadow: inset 0 0 0 1px var(--line-3); }

/* Viz: batch */
.batch { position: absolute; inset: 18px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; }
.b-head { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--mono); color: var(--muted); }
.b-head .file { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }
.b-head .file svg { width: 14px; height: 14px; color: var(--green); }
.b-count b { color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }
.b-rows { overflow: hidden; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.b-roll { display: grid; animation: roll 9s linear infinite; }
.b-roll.paused { animation-play-state: paused; }
@keyframes roll { to { transform: translateY(-50%); } }
.b-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; height: 32px; padding: 0 12px; font-size: 13px; color: var(--text-2); border-bottom: 1px solid var(--line); }
.b-row .mono { font-size: 11.5px; color: var(--dim); }
.b-row .t { width: 16px; height: 16px; border-radius: 50%; background: var(--green); position: relative; }
.b-row .t::after { content: ''; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7px; border: solid var(--green-ink); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.b-row .t.w { background: var(--amber); }
.b-row .t.w::after { left: 7px; top: 3px; width: 0; height: 6px; border-width: 0 1.8px 0 0; transform: none; border-color: #2a1800; }
.b-bar { height: 4px; border-radius: 4px; background: rgba(148, 163, 184, 0.12); overflow: hidden; }
.b-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: inherit; }

/* Viz: checks */
.checks { position: absolute; inset: 0; display: grid; align-content: center; gap: 10px; padding: 18px; }
.chk { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; height: 56px; padding: 0 14px; border-radius: 12px; background: rgba(1, 3, 20, 0.6); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.4s, background-color 0.4s; }
.chk-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(148, 163, 184, 0.07); color: var(--muted); transition: color 0.4s, background-color 0.4s; }
.chk-ic svg { width: 18px; height: 18px; }
.chk-l { font-size: 14px; color: var(--text-2); }
.chk-l small { display: block; font: 400 11.5px/1.3 var(--mono); color: var(--dim); }
.chk-v { font: 500 12px/1 var(--mono); color: var(--dim); display: inline-flex; align-items: center; gap: 8px; }
.chk-v .spin { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(148, 163, 184, 0.2); border-top-color: var(--green); opacity: 0; }
.chk.busy .spin { opacity: 1; animation: spin 0.7s linear infinite; }
.chk.done { box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.3); background: rgba(14, 255, 150, 0.04); }
.chk.done .chk-ic { color: var(--green); background: var(--green-soft); }
.chk.done .chk-v { color: var(--green); }
.chk .v { opacity: 0; transform: translateX(-4px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.chk.done .v { opacity: 1; transform: none; }

/* Viz: audit trail */
.audit { position: absolute; inset: 20px 22px; margin: 0; padding: 0 0 0 16px; list-style: none; display: grid; align-content: start; gap: 0; border-left: 1px solid var(--line-2); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.audit li { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 10px; padding: 9px 0; font-size: 13.5px; color: var(--text-2); border-bottom: 1px dashed var(--line); }
.audit li::before { content: ''; position: absolute; left: -20.5px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line-3); }
.audit li.new::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.audit li .mono { font-size: 11.5px; color: var(--dim); padding-top: 2px; }
.audit li b { font-weight: 500; }
.audit li .g { color: var(--green); }
.audit li .a { color: var(--amber); }
.motion .audit li.enter { animation: enter 0.55s var(--ease-out); }
@keyframes enter { from { opacity: 0; transform: translateY(-10px); } }

/* Viz: integrations */
.flowviz { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); height: auto; min-height: 300px; }
.flow { position: relative; display: flex; align-items: center; padding: 34px 28px; gap: 0; }
.node { position: relative; z-index: 2; flex: none; width: 168px; padding: 14px; border-radius: 12px; background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; gap: 8px; }
.node .k { font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; color: var(--dim); }
.node-ico { position: absolute; top: -16px; right: -12px; width: 44px; height: 44px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6)); }
.node b { font: 600 15px/1.2 var(--display); }
.node-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.node-chips span { font: 500 11px/1 var(--mono); padding: 5px 7px; border-radius: 6px; color: var(--text-2); background: rgba(148, 163, 184, 0.08); }
.node-chips span.g { color: var(--green); background: var(--green-soft); }
.node.core { width: 172px; justify-items: center; text-align: center; box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.4), 0 0 50px -12px rgba(14, 255, 150, 0.45); }
.node.core img { width: 42px; height: 46px; }
.node.core .mono { font-size: 10px; color: var(--muted); white-space: nowrap; }
.wire { position: relative; flex: 1; min-width: 36px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-3) 0 6px, transparent 6px 11px); }
.pkt { position: absolute; top: 50%; left: 0; width: 26px; height: 3px; margin-top: -1.5px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--green)); box-shadow: 0 0 10px var(--green); opacity: 0; }
.motion .flowviz.run .pkt { animation: pkt 2.4s var(--ease) infinite; }
.motion .flowviz.run .wire + .node + .wire .pkt { animation-delay: 1.2s; background: linear-gradient(90deg, transparent, var(--blue)); box-shadow: 0 0 10px var(--blue); }
.motion .flowviz.run .pkt:nth-child(2) { animation-delay: 0.6s; }
.motion .flowviz.run .wire + .node + .wire .pkt:nth-child(2) { animation-delay: 1.8s; }
@keyframes pkt { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 26px); opacity: 0; } }
.code { margin: 0; padding: 26px 26px 28px; border-left: 1px solid var(--line); font: 400 12.5px/1.7 var(--mono); color: var(--text-2); background: rgba(1, 3, 20, 0.55); overflow: hidden; white-space: pre; }
.code .c-k { color: var(--muted); }
.code .c-s { color: #9ff0cf; }
.code .c-n { color: #7cd7ff; }
.code .c-m { color: var(--green); font-weight: 600; }
.code .c-d { color: var(--dim); }
.code .typing::after { content: ''; display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--green); animation: blink 1s steps(1) infinite; }

/* ---------- Risk matrix ---------- */
.matrix { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.mx-controls { padding: 34px; display: grid; gap: 22px; border-right: 1px solid var(--line); }
.mx-row { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.mx-row legend { padding: 0; margin-bottom: 10px; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(1, 3, 20, 0.7); box-shadow: inset 0 0 0 1px var(--line); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 10px; border-radius: 9px; font-size: 14.5px; color: var(--muted); text-align: center; transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.seg input:checked + span { background: var(--panel-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3), 0 4px 14px -4px rgba(0, 0, 0, 0.6); }
.seg input:checked + span.risky { color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.45); }
.seg input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.mx-out { position: relative; padding: 40px; display: grid; align-content: center; gap: 22px; background: radial-gradient(120% 90% at 100% 0%, rgba(14, 255, 150, 0.06), transparent 60%); transition: background 0.6s; }
.mx-out[data-band='medium'] { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 181, 71, 0.08), transparent 60%); }
.mx-out[data-band='high'] { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 90, 110, 0.09), transparent 60%); }
.mx-score { display: flex; align-items: baseline; gap: 6px; }
.mx-score .n { font: 600 clamp(84px, 9vw, 128px)/0.9 var(--mono); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.mx-score .of { font: 500 18px/1 var(--mono); color: var(--dim); }
.mx-band { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 14px; border-radius: 999px; font: 600 14px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.3); transition: color 0.4s, background-color 0.4s, box-shadow 0.4s; }
.mx-band::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.mx-out[data-band='medium'] .mx-band { color: var(--amber); background: rgba(255, 181, 71, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.35); }
.mx-out[data-band='high'] .mx-band { color: var(--red); background: rgba(255, 90, 110, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 90, 110, 0.4); }
.mx-scale { position: relative; padding-top: 6px; }
.mx-zones { display: grid; grid-template-columns: 35fr 30fr 35fr; gap: 4px; height: 10px; }
.mx-zones i { border-radius: 6px; opacity: 0.85; }
.mx-zones .z1 { background: linear-gradient(90deg, rgba(14, 255, 150, 0.35), rgba(14, 255, 150, 0.7)); }
.mx-zones .z2 { background: linear-gradient(90deg, rgba(255, 181, 71, 0.45), rgba(255, 181, 71, 0.8)); }
.mx-zones .z3 { background: linear-gradient(90deg, rgba(255, 90, 110, 0.5), rgba(255, 90, 110, 0.9)); }
.mx-marker { position: absolute; top: -2px; left: 12%; width: 4px; height: 26px; margin-left: -2px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 3px rgba(1, 3, 20, 0.9), 0 0 16px rgba(255, 255, 255, 0.6); transition: left 0.9s cubic-bezier(0.34, 1.3, 0.5, 1); }
.mx-ticks { position: relative; height: 14px; margin-top: 12px; font-size: 11px; color: var(--dim); }
.mx-ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.mx-ticks span:first-child { transform: none; }
.mx-ticks span:last-child { transform: translateX(-100%); }
.mx-next { padding: 16px 18px; border-radius: 12px; background: rgba(1, 3, 20, 0.6); box-shadow: inset 0 0 0 1px var(--line); }
.mx-next .mono { font-size: 11px; letter-spacing: 0.08em; color: var(--dim); }
.mx-next p { margin: 6px 0 0; font-size: 16px; color: var(--text); }
.mx-note { margin: 0; font-size: 13px; color: var(--dim); }

/* ---------- Directive 12 ---------- */
.d12 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.d12-left { padding: 36px; background: var(--panel); display: grid; align-content: start; gap: 20px; }
.d12-q { margin: 0; font: 500 18px/1.35 var(--display); letter-spacing: -0.01em; color: var(--text-2); }
.d12-picker { display: grid; gap: 8px; }
.d12-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px; text-align: left; font-size: 15.5px; color: var(--text-2); background: rgba(1, 3, 20, 0.6); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.25s, box-shadow 0.25s, color 0.25s; }
.d12-opt .mono { font-size: 12px; color: var(--dim); transition: color 0.25s; }
.d12-opt:hover { background: rgba(148, 163, 184, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.d12-opt[aria-checked='true'] { color: var(--text); background: rgba(14, 255, 150, 0.06); box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.5); }
.d12-opt[aria-checked='true'] .mono { color: var(--green); }
.d12-right { position: relative; padding: 40px; background: var(--green); color: var(--green-ink); display: grid; align-content: space-between; gap: 28px; overflow: hidden; }
.d12-right::after { content: ''; position: absolute; right: -70px; bottom: -90px; width: 340px; height: 370px; background: url('assets/shield-mark.svg') center / contain no-repeat; opacity: 0.1; filter: brightness(0) saturate(0); transform: rotate(-8deg); pointer-events: none; }
.d12-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.d12-cal { flex: none; width: 124px; height: 124px; margin: -14px -10px 0 0; transform: rotate(7deg); filter: drop-shadow(0 18px 24px rgba(0, 40, 22, 0.45)); }
.motion .d12.in .d12-cal { animation: cal-in 1.1s var(--ease-out) 0.3s both; }
@keyframes cal-in { from { opacity: 0; transform: translateY(24px) rotate(-6deg) scale(0.9); } }
.d12-k { font: 600 12px/1 var(--mono); letter-spacing: 0.1em; color: rgba(0, 21, 11, 0.7); }
.d12-date { margin-top: 12px; font: 700 clamp(30px, 3vw, 44px)/1.02 var(--display); letter-spacing: -0.04em; white-space: nowrap; }
.d12-who { margin: 10px 0 0; font-size: 15px; color: rgba(0, 21, 11, 0.75); max-width: 32em; }
.d12-count { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px; }
.d12-count div { display: grid; gap: 6px; min-width: 88px; padding: 14px 12px 12px; border-radius: 14px; background: rgba(0, 21, 11, 0.9); color: var(--green); text-align: center; }
.d12-count b { font: 600 clamp(34px, 3.4vw, 48px)/1 var(--mono); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--green); }
.d12-count span { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(14, 255, 150, 0.6); }
.d12-src { position: relative; z-index: 1; margin: 0; font-size: 12.5px; color: rgba(0, 21, 11, 0.7); }
.svc { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: stretch; }
.svc-card { padding: 26px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.svc-card .k { font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.svc-card .p { font: 650 30px/1.1 var(--display); letter-spacing: -0.03em; }
.svc-card .p small { font: 500 15px/1 var(--font); color: var(--muted); letter-spacing: 0; margin-right: 6px; }
.svc-card p { margin: 0; font-size: 15px; color: var(--muted); }
.svc-cta { display: grid; align-content: center; gap: 10px; padding: 26px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Pricing ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.price-calc { padding: 36px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 22px; align-content: start; }
.pc-label { font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pc-qty { display: flex; align-items: baseline; gap: 10px; }
.pc-qty b { font: 600 clamp(48px, 5vw, 68px)/1 var(--mono); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.pc-qty span { font-size: 16px; color: var(--muted); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 30%; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--green) 0 var(--p), rgba(148, 163, 184, 0.16) var(--p)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(148, 163, 184, 0.16); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--green); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(14, 255, 150, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5); transition: box-shadow 0.2s; }
.range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(14, 255, 150, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5); }
.range:active::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(14, 255, 150, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5); }
.range-ends { display: flex; justify-content: space-between; margin-top: -14px; font: 500 11px/1 var(--mono); color: var(--dim); }
.pc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc-cell { padding: 18px; border-radius: 14px; background: rgba(1, 3, 20, 0.6); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
.pc-cell .mono { font-size: 11px; letter-spacing: 0.08em; color: var(--dim); }
.pc-cell b { font: 600 34px/1 var(--mono); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pc-cell.hl b { color: var(--green); }
.pc-cell span:last-child { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pc-note { margin: 0; font-size: 14px; color: var(--dim); }
.pc-note b { color: var(--green); font-weight: 500; }
.bands { border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bands table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bands th { padding: 16px 22px; text-align: left; font: 500 11px/1.2 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.bands th:not(:first-child), .bands td:not(:first-child) { text-align: right; }
.bands td { position: relative; padding: 12px 22px; color: var(--muted); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; transition: color 0.3s, background-color 0.3s; }
.bands td:not(:first-child) { font-family: var(--mono); font-size: 14px; }
.bands tr:last-child td { border-bottom: 0; }
.bands tr.on td { color: var(--text); background: rgba(14, 255, 150, 0.06); }
.bands tr.on td:first-child::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--green); box-shadow: 0 0 12px var(--green); }
.bands tr.on td:nth-child(2) { color: var(--green); }
.bands-foot { padding: 14px 22px; font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); }

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 32px; display: grid; gap: 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat svg { width: 22px; height: 22px; color: var(--green); }
.stat b { font: 600 clamp(38px, 3.6vw, 52px)/1 var(--display); letter-spacing: -0.04em; }
.stat span { font-size: 15.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 48px; }
.faq-side p { margin: 18px 0 24px; color: var(--muted); max-width: 26em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 4px; cursor: pointer; font: 500 18px/1.35 var(--display); letter-spacing: -0.01em; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.3s, box-shadow 0.3s; }
.faq-list summary i::before, .faq-list summary i::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 1.5px; background: var(--text-2); transition: transform 0.35s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { background: var(--green-soft); box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.4); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list summary:hover i { box-shadow: inset 0 0 0 1px var(--line-3); }
.faq-a { padding: 0 60px 24px 4px; color: var(--muted); font-size: 16.5px; }
.faq-a p { margin: 0; }

/* ---------- Final CTA ---------- */
.final { overflow: clip; }
.final .frame { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 72px; }
.final .h2 { max-width: 15ch; }
.final-mark { width: 68px; flex: none; }

/* ---------- Footer ---------- */
.foot .frame { padding-block: 64px 32px; }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.foot-brand img { height: 28px; width: auto; }
.foot-brand p { margin: 18px 0 20px; font-size: 15px; color: var(--muted); max-width: 22em; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2.4s infinite; }
.foot h4 { margin: 0 0 16px; font: 500 13px/1 var(--font); color: var(--dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.foot ul a { color: var(--text-2); transition: color 0.2s; }
.foot ul a:hover { color: var(--green); }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.credit { color: var(--dim); }
.credit b { color: var(--text-2); font-weight: 500; }

/* ---------- Proposal button (bottom right) ---------- */
.fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 16px 7px 7px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(6, 10, 28, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.45), 0 18px 44px -12px rgba(0, 0, 0, 0.85), 0 0 36px -10px rgba(14, 255, 150, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fab:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(14, 255, 150, 0.75), 0 22px 50px -12px rgba(0, 0, 0, 0.85), 0 0 48px -8px rgba(14, 255, 150, 0.7); }
.fab::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: fab-pulse 2.8s 3s infinite; }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 255, 150, 0.45); } 70% { box-shadow: 0 0 0 14px rgba(14, 255, 150, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 255, 150, 0); } }
.fab-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f5efe4; flex: none; }
.fab-logo img { width: 32px; height: auto; }
.fab-txt { display: grid; gap: 3px; line-height: 1.1; }
.fab-txt small { font: 500 10.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.fab-txt b { font: 600 15px/1.2 var(--display); }
.fab svg { width: 14px; height: 14px; color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s; }
.fab:hover svg { transform: translateX(3px); color: var(--green); }
.motion .fab { animation: fab-in 0.9s var(--ease-out) 1.4s both; }
@keyframes fab-in { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
@media (max-width: 720px) {
  .fab { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); gap: 9px; padding: 6px 13px 6px 6px; }
  .fab-logo { width: 38px; height: 38px; }
  .fab-logo img { width: 27px; }
  .fab-txt small { display: none; }
  .fab-txt b { font-size: 14px; }
}
@media print { .fab { display: none; } }

/* ---------- Reveal (content is always visible without JS or motion) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion .h1 .w { display: inline-block; opacity: 0; transform: translateY(0.35em); filter: blur(6px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 120ms); }
.motion .h1.in .w { opacity: 1; transform: none; filter: none; }
.no-anim *, .no-anim *::before, .no-anim *::after { transition: none !important; animation: none !important; }
.no-anim [data-reveal], .no-anim .h1 .w { opacity: 1 !important; transform: none !important; filter: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --pad: 28px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .burger { display: block; }
  .mnav { border-top: 1px solid var(--line); }
  .mnav.open { display: grid; padding: 12px var(--pad) 20px; gap: 4px; }
  .mnav a { padding: 12px 4px; font-size: 17px; color: var(--text-2); border-bottom: 1px solid var(--line); }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-block: 56px 40px; gap: 8px; }
  .hero-visual { height: 560px; }
  .console { left: 0; bottom: 0; }
  .inst .frame { grid-template-columns: 1fr; }
  .inst-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.span-2, .card.span-3 { grid-column: span 2; }
  .matrix, .d12, .price, .faq { grid-template-columns: 1fr; }
  .mx-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc-cta { grid-column: span 2; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --pad: 18px; }
  body { font-size: 16px; }
  .sec > .frame { padding-block: 84px 88px; }
  .announce-in { justify-content: flex-start; font-size: 13px; gap: 10px; }
  .announce-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .announce-link span { display: none; }
  .nav-in { height: 60px; gap: 12px; }
  .nav-login { display: none; }
  .brand img { height: 24px; }
  .hero-in { padding-block: 40px 24px; }
  .hero-copy { gap: 22px; }
  .h1 { font-size: 46px; }
  .ctas .btn { flex: 1; }
  .hero-visual { height: 660px; margin-inline: calc(var(--pad) * -1); }
  .shield-stage { inset: -10px 0 330px 0; }
  .chip-long { display: none; }
  .chip-short { display: inline; }
  .console { left: var(--pad); right: var(--pad); width: auto; bottom: 0; }
  .inst-copy { padding: 32px var(--pad); }
  .inst-grid { grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
  .tile { min-height: 118px; padding: 14px; }
  .ticker .frame { flex-wrap: wrap; gap: 14px; }
  .ticker-track { flex-basis: 100%; }
  .ticker-src { order: 3; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 36px; }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .card.span-2, .card.span-3 { grid-column: auto; }
  .viz { height: 250px; }
  .pl { padding: 0 14px; }
  .pl-rail { left: 14px; right: 14px; top: 40%; }
  .pl-token { left: 14px; top: 40%; padding: 5px; }
  .pl-token span { display: none; }
  .pl-gates { position: absolute; left: 44px; right: 14px; top: calc(40% - 35px); padding: 0; justify-content: space-between; }
  .gate-bar { width: 30px; height: 70px; border-radius: 10px; }
  .gate-lbl { font-size: 9.5px; margin-top: 10px; }
  .pl-result { left: 50%; right: auto; top: auto; bottom: 12px; min-width: 150px; text-align: center; transform: translateX(-50%) scale(0.92); }
  .pl-result.show { transform: translateX(-50%); }
  .flowviz { grid-template-columns: 1fr; }
  .flow { flex-direction: column; align-items: stretch; padding: 22px var(--pad); gap: 0; }
  .node, .node.core { width: auto; }
  .wire { height: 34px; width: 2px; min-width: 0; flex: none; align-self: center; background: repeating-linear-gradient(180deg, var(--line-3) 0 6px, transparent 6px 11px); }
  .pkt { left: 50%; top: 0; width: 3px; height: 16px; margin: 0 0 0 -1.5px; background: linear-gradient(180deg, transparent, var(--green)); }
  @keyframes pkt { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 16px); opacity: 0; } }
  .code { border-left: 0; border-top: 1px solid var(--line); font-size: 11.5px; padding: 20px var(--pad); }
  .mx-controls, .mx-out { padding: 24px var(--pad); }
  .d12-left, .d12-right { padding: 26px var(--pad); }
  .d12-cal { width: 84px; height: 84px; margin: -6px -4px 0 0; }
  .d12-date { white-space: normal; }
  .d12-left { padding: 20px 0 16px; gap: 12px; }
  .d12-q { padding: 0 var(--pad); font-size: 16px; }
  .d12-picker { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--pad) 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .d12-picker::-webkit-scrollbar { display: none; }
  .d12-opt { flex: none; width: auto; min-height: 44px; gap: 10px; font-size: 14.5px; scroll-snap-align: start; }
  .card-copy { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .card-copy .ico { width: 48px; height: 48px; }
  .d12-count { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .d12-count div { min-width: 0; padding: 12px 4px 10px; }
  .svc { grid-template-columns: 1fr; }
  .svc-cta { grid-column: auto; }
  .price-calc { padding: 24px var(--pad); }
  .pc-out { grid-template-columns: 1fr; }
  .bands th, .bands td { padding-inline: 14px; }
  .bands td { font-size: 14px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .faq-a { padding-right: 8px; }
  .final .frame { flex-direction: column; align-items: flex-start; padding-block: 64px; }
  .final .ctas { width: 100%; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-brand { grid-column: span 2; }
}
