/* ==========================================================================
   SORAS CORP — site stylesheet
   Modern product marketing: one grotesque, soft geometry, light & dark themes,
   every claim proved by a live product panel.
   ========================================================================== */

/* ── tokens ───────────────────────────────────────────────────────────── */
:root {
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: var(--sans);
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 28px);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;

  /* product UI — identical in both themes, like a real screenshot */
  --gx: #0f1211;
  --gx-2: #151917;
  --gx-3: #1c211e;
  --gx-line: rgba(255, 255, 255, .075);
  --gx-text: #d3d9d5;
  --gx-dim: #8b948f;
  --signal: #3ccf87;
  --block: #f2555a;
  --hold: #e9aa3f;
}

:root, [data-theme="light"] {
  color-scheme: light;
  --bg: #f5f6f4;
  --bg-2: #eceeeb;
  --surface: #ffffff;
  --surface-2: #f1f3f0;
  --text: #0c0f0d;
  --text-2: #2a302d;
  --muted: #59615d;
  --border: rgba(12, 15, 13, .09);
  --border-2: rgba(12, 15, 13, .15);
  --word-off: rgba(12, 15, 13, .16);
  --accent: #0b6b43;
  --accent-hover: #0d7d4f;
  --on-accent: #ffffff;
  --accent-text: #0b6b43;
  --accent-soft: rgba(11, 107, 67, .09);
  --glow: rgba(24, 170, 101, .20);
  --grid-line: rgba(12, 15, 13, .055);
  --nav-bg: rgba(255, 255, 255, .72);
  --device-bg: linear-gradient(180deg, #ffffff, #e6e9e5);
  --seg-thumb: #ffffff;
  --shadow-card: 0 1px 2px rgba(12, 15, 13, .04), 0 10px 30px -14px rgba(12, 15, 13, .14);
  --shadow-lg: 0 50px 100px -45px rgba(10, 30, 20, .45), 0 18px 36px -18px rgba(10, 30, 20, .18);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080a09;
  --bg-2: #0c0f0d;
  --surface: #101412;
  --surface-2: #171b19;
  --text: #eef2ef;
  --text-2: #c8cfcb;
  --muted: #949d98;
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .14);
  --word-off: rgba(255, 255, 255, .16);
  --accent: #3ccf87;
  --accent-hover: #62dca0;
  --on-accent: #03140b;
  --accent-text: #5dd99a;
  --accent-soft: rgba(60, 207, 135, .12);
  --glow: rgba(60, 207, 135, .22);
  --grid-line: rgba(255, 255, 255, .045);
  --nav-bg: rgba(16, 20, 18, .66);
  --device-bg: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02));
  --seg-thumb: #2a302d;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .03) inset;
  --shadow-lg: 0 60px 120px -50px rgba(0, 0, 0, .9);
}

/* scripts beyond Latin & Cyrillic */
html:lang(zh) { --sans: 'Geist', 'Noto Sans SC', sans-serif; }
html:lang(ja) { --sans: 'Geist', 'Noto Sans JP', sans-serif; }
html:lang(ar) { --sans: 'Noto Kufi Arabic', 'Geist', sans-serif; }
html:lang(zh) :is(.hero-title, .h-xl, .h-l, .statement-text, .look-verb, .look-name, .stat dd),
html:lang(ja) :is(.hero-title, .h-xl, .h-l, .statement-text, .look-verb, .look-name, .stat dd) { letter-spacing: -.01em; line-height: 1.15; }
html:lang(ar) :is(.hero-title, .h-xl, .h-l, .statement-text, .look-verb, .look-name) { letter-spacing: 0; line-height: 1.35; }
html:lang(ar) body { line-height: 1.75; }
html:lang(ar) .brand-name { font-family: 'Geist', sans-serif; }

/* ── base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scrollbar-color: var(--border-2) var(--bg);
}
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .45s ease, border-color .45s ease, color .45s ease, fill .45s ease, box-shadow .45s ease !important;
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
input, textarea { caret-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.console :focus-visible, .frame :focus-visible, .look :focus-visible, .ledger :focus-visible, .demo :focus-visible { outline-color: var(--signal); }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nobr { white-space: nowrap; }
.skip { position: absolute; left: var(--pad); top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

/* ── type ─────────────────────────────────────────────────────────────── */
.h-xl, .h-l, .hero-title, .statement-text, .look-verb, .look-name, .stat dd, .brand-name { font-family: var(--display); }
.h-xl {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.h-l {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section-head { text-align: center; max-width: 820px; margin-inline: auto; }
.section-head p { margin: 20px auto 0; color: var(--muted); font-size: 18px; max-width: 52ch; text-wrap: pretty; }

/* ── buttons & links ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 550; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px -10px var(--glow); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-glass { background: rgba(255, 255, 255, .1); color: inherit; border-color: rgba(255, 255, 255, .2); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.i-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); flex: none; }
.btn:hover .i-arrow, .tag-link:hover .i-arrow { transform: translateX(3px); }
[dir="rtl"] .i-arrow { scale: -1 1; }

.tag-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; padding: 8px 14px 8px 16px;
  border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface);
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.tag-link .i-arrow { width: 15px; height: 15px; }
.tag-link:hover { border-color: var(--accent); color: var(--text); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; min-width: 38px; padding: 0 9px; border-radius: 999px;
  color: var(--text-2); font-size: 13px; font-weight: 600;
  transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }

/* ── nav ──────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 12px; z-index: 50; padding-inline: 12px; }
.nav-shell {
  display: flex; align-items: center; gap: 20px;
  max-width: 1200px; height: 60px; margin: 12px auto 0; padding: 0 10px 0 18px;
  border-radius: 18px;
  background: var(--nav-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.nav.is-scrolled .nav-shell { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .35); border-color: var(--border-2); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 20px; height: 26px; object-fit: contain; }
.brand-name { font-weight: 650; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2); text-decoration: none; transition: background-color .2s, color .2s; }
.nav-links a:hover { background: var(--surface-2); color: var(--text); }
.nav-links .nav-links-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.nav-cta { margin-inline-start: 6px; }

.lang { position: relative; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 60;
  min-width: 210px; list-style: none; padding: 6px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-md);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .4);
}
.lang-menu button { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; text-align: start; color: var(--text-2); }
.lang-menu button:hover { background: var(--surface-2); color: var(--text); }
.lang-menu button[aria-current="true"] { color: var(--accent-text); font-weight: 600; background: var(--accent-soft); }
.lang-menu small { color: var(--muted); font-size: 12px; font-family: var(--mono); }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; border-radius: 999px; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(56px, 9vh, 110px); isolation: isolate; }
.hero-glow {
  position: absolute; z-index: -1; inset: -90px 0 auto; height: 980px; pointer-events: none;
  background:
    radial-gradient(42% 46% at 50% 34%, var(--glow), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 35%, #000 30%, transparent 75%);
          mask-image: radial-gradient(60% 60% at 50% 35%, #000 30%, transparent 75%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title {
  font-size: clamp(3rem, 8.2vw, 8rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.058em;
}
.ht { display: block; white-space: nowrap; }
.ht > span { display: inline-block; padding-inline: .04em; animation: ht-rise 1.1s var(--ease) both; }
.ht-2 { color: var(--muted); }
.ht-2 > span { animation-delay: .1s; }
@keyframes ht-rise { from { opacity: 0; transform: translateY(.22em); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
.hero-lede { margin-top: 28px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); max-width: 40ch; text-wrap: balance; animation: fade-up .9s var(--ease) .25s both; }
.hero-form {
  display: flex; align-items: center; gap: 6px;
  width: 100%; max-width: 480px; margin-top: 34px; padding: 6px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--border-2);
  box-shadow: var(--shadow-card);
  transition: border-color .2s, box-shadow .2s;
  animation: fade-up .9s var(--ease) .35s both;
}
.hero-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-form.is-invalid { border-color: var(--block); }
.hero-input { flex: 1; min-width: 0; height: 44px; padding: 0 14px 0 18px; background: transparent; border: 0; outline: 0; font-size: 16px; color: var(--text); }
.hero-input::placeholder { color: var(--muted); opacity: 1; }
.hero-input:focus-visible { outline: 0; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); animation: fade-up .9s var(--ease) .45s both; }
.hero-note a { color: var(--text-2); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* device frame around the live console */
.device {
  position: relative; margin-top: clamp(56px, 7vw, 88px);
  padding: 8px; border-radius: 26px;
  background: var(--device-bg);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
  animation: device-in 1.3s var(--ease) .3s both;
}
.device::before {
  content: ''; position: absolute; z-index: -1; inset: -6% 6% auto; height: 70%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(50px);
}
@keyframes device-in { from { opacity: 0; transform: translateY(60px) scale(.97); } to { opacity: 1; transform: none; } }

/* ── console (shared product chrome) ─────────────────────────────────── */
.console, .frame {
  background: var(--gx);
  color: var(--gx-text);
  font-size: 13px;
  line-height: 1.45;
}
.console { position: relative; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--gx-line); }
.cx-bar, .frame-bar {
  display: flex; align-items: center; gap: 14px;
  min-height: 46px; padding: 8px 16px; flex: none;
  border-bottom: 1px solid var(--gx-line);
  font-size: 12.5px; color: var(--gx-dim);
}
.cx-dots { display: flex; gap: 6px; margin-inline-end: 4px; }
.cx-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2c322f; }
.cx-logo { width: 12px; height: 15px; object-fit: contain; }
.cx-app { color: var(--gx-text); font-weight: 500; }
.cx-crumb::before { content: '/'; margin-inline-end: 14px; color: #3c433f; }
.cx-spacer { flex: 1; }
.cx-stat b { color: var(--gx-text); font-weight: 500; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.cx-live { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(60, 207, 135, .1); color: #8fe2b8; }
.cx-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(60, 207, 135, .2); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.cx-body { flex: 1; min-height: 500px; display: grid; grid-template-columns: 210px minmax(0, 1fr) 300px; }
.cx-h { font-size: 11.5px; font-weight: 500; color: var(--gx-dim); margin-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; }
.cx-h em { font-style: normal; color: var(--signal); }

.cx-sources { border-inline-end: 1px solid var(--gx-line); padding: 18px 16px; overflow: hidden; }
.cx-sources ul { list-style: none; display: grid; gap: 12px; }
.cx-sources li { display: grid; gap: 6px; font-size: 12.5px; }
.cx-sources li i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.cx-sources li i::after { content: ''; position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, #35473e, #5f8270); transform-origin: left center; transform: scaleX(var(--w)); transition: transform 1.2s var(--ease); }
.cx-more { margin-top: 14px; font-size: 12px; color: var(--gx-dim); }

.cx-incident { padding: 20px 24px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; min-width: 0; }
.cx-inc-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sev { font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 4px 9px; border-radius: 999px; color: #ff8a8e; background: rgba(242, 85, 90, .14); transition: color .3s, background-color .3s; }
.sev.is-ok { color: #8fe2b8; background: rgba(60, 207, 135, .14); }
.cx-inc-title { font-size: 16px; font-weight: 550; color: #f3f6f4; flex: 1; min-width: 220px; letter-spacing: -.01em; }
.cx-detect { font-size: 12px; color: var(--gx-dim); }
.cx-detect b { color: var(--gx-text); font-weight: 500; font-family: var(--mono); }

.cx-chain { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cx-chain li { font-size: 11.5px; color: var(--gx-dim); padding-top: 12px; position: relative; }
.cx-chain li::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); transition: background-color .4s; }
.cx-chain li.done { color: var(--gx-text); }
.cx-chain li.done::before { background: #5b6560; }
.cx-chain li.active { color: #f3f6f4; }
.cx-chain li.active::before { background: var(--block); }
.cx-chain li.ok { color: #f3f6f4; }
.cx-chain li.ok::before { background: var(--signal); }

.cx-ai { background: linear-gradient(180deg, rgba(60, 207, 135, .07), rgba(60, 207, 135, .02)); border: 1px solid rgba(60, 207, 135, .16); border-radius: var(--r-md); padding: 16px 18px; }
.cx-ai-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--signal); margin-bottom: 8px; }
.cx-ai-h svg { width: 14px; height: 14px; fill: currentColor; }
.cx-ai p { font-size: 14px; line-height: 1.55; color: var(--gx-text); max-width: 64ch; }
.cx-ai p b { color: #fff; font-weight: 550; }
.cx-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cx-btn { height: 32px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--gx-text); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); transition: background-color .2s, border-color .2s, color .2s; }
.cx-btn:hover { border-color: rgba(255, 255, 255, .25); color: #fff; }
.cx-btn-primary { background: #eef2ef; color: #0d100e; border-color: #eef2ef; }
.cx-btn-primary:hover { background: #fff; color: #0d100e; }
.cx-btn[disabled] { cursor: default; background: rgba(60, 207, 135, .12); color: #8fe2b8; border-color: transparent; }

.cx-tl ol { list-style: none; display: grid; }
.cx-tl li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--gx-line); font-size: 12.5px; color: var(--gx-dim); }
.cx-tl time { font-family: var(--mono); font-size: 11.5px; color: var(--gx-dim); }
.cx-tl li.hot span { color: #f3f6f4; }
.cx-tl li.hot time { color: var(--signal); }

.cx-feed { border-inline-start: 1px solid var(--gx-line); padding: 18px 16px; overflow: hidden; }
.cx-feed ol { list-style: none; display: grid; }
.cx-feed li { display: grid; grid-template-columns: 8px 1fr auto; align-items: baseline; gap: 10px; padding: 8px 0; border-top: 1px solid var(--gx-line); font-size: 12px; color: var(--gx-text); animation: feed-in .5s var(--ease) both; }
.cx-feed li i { width: 7px; height: 7px; border-radius: 50%; background: #59625d; transform: translateY(-1px); }
.cx-feed li i.hi { background: var(--block); }
.cx-feed li i.md { background: var(--hold); }
.cx-feed li i.ok { background: var(--signal); }
.cx-feed li small { display: block; color: var(--gx-dim); font-size: 11.5px; }
.cx-feed li time { font-family: var(--mono); font-size: 11px; color: var(--gx-dim); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── statement (words light up as you scroll) ─────────────────────────── */
.statement { padding-block: clamp(120px, 15vw, 220px); }
.statement-text {
  max-width: 24em; margin-inline: auto; text-align: center;
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  font-weight: 550;
  line-height: 1.16;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.statement-text .w { transition: color .35s ease; color: var(--word-off); }
.statement-text .w.on { color: var(--text); }

/* ── products ─────────────────────────────────────────────────────────── */
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.look {
  min-height: clamp(560px, 80vh, 760px);
  padding: clamp(28px, 3.6vw, 52px);
  border-radius: var(--r-2xl);
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.look-wb {
  color: #eef2ef;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(60, 207, 135, .20), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    #0e1211;
}
.look-sn {
  color: #effaf3;
  background:
    radial-gradient(90% 70% at 0% 100%, rgba(255, 255, 255, .14), transparent 60%),
    linear-gradient(155deg, #0e7049, #094a31 70%);
}
.look-verb {
  font-size: clamp(5rem, 10.5vw, 10.5rem);
  font-weight: 600;
  line-height: .86;
  letter-spacing: -.065em;
  white-space: nowrap;
}
.look-wb .look-verb { color: #f3f6f4; }
.look-copy { max-width: 32rem; }
.look-name { font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.look-promise { font-size: clamp(1.05rem, 1.3vw, 1.2rem); font-weight: 550; margin-top: 10px; }
.look-text { margin-top: 12px; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.look-wb .look-text { color: #a9b2ad; }
.look-sn .look-text { color: #c9eada; }
.look-points { list-style: none; margin-top: 22px; display: grid; gap: 10px; font-size: 15px; }
.look-points li { display: flex; gap: 12px; align-items: flex-start; }
.look-points li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.look .btn { margin-top: 30px; }

/* ── proof ────────────────────────────────────────────────────────────── */
.proof { padding-block: clamp(120px, 14vw, 200px) clamp(80px, 9vw, 140px); }
.pair {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  align-items: center;
  margin-top: clamp(80px, 10vw, 150px);
}
.pair-copy { grid-column: 1 / 5; }
.pair .frame { grid-column: 6 / -1; }
.pair-rev .pair-copy { grid-column: 9 / -1; grid-row: 1; }
.pair-rev .frame { grid-column: 1 / 8; grid-row: 1; }
.pair-wide .pair-copy { grid-column: 1 / 5; }
.pair-wide .frame { grid-column: 5 / -1; }
.pair-copy p { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 40ch; text-wrap: pretty; }

.frame {
  margin: 0; overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--gx-line);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
}
.frame-bar { justify-content: space-between; }
.frame-meta b { color: var(--gx-text); font-weight: 500; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* timeline */
.tl { position: relative; padding: 34px 20px 18px; }
.tl-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; height: 48px; border-bottom: 1px dashed var(--gx-line); font-size: 12.5px; color: var(--gx-dim); }
.tl-row:first-child { border-top: 1px dashed var(--gx-line); }
.tl-track { position: relative; height: 100%; }
.tl-ev { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #59625d; animation: ev-in .35s var(--ease) both; }
.tl-ev.md { background: var(--hold); box-shadow: 0 0 0 4px rgba(233, 170, 63, .15); }
.tl-ev.hi { background: var(--block); box-shadow: 0 0 0 4px rgba(242, 85, 90, .18); }
.tl-ev.ghost { opacity: .5; box-shadow: none; animation: none; }
.tl-detect.ghost { opacity: .3; }
@keyframes ev-in { from { transform: scale(0); } to { transform: scale(1); } }
.tl-axis { position: relative; height: 26px; margin-inline-start: 76px; font-family: var(--mono); font-size: 11px; color: var(--gx-dim); }
.tl-axis span { position: absolute; top: 8px; transform: translateX(-50%); white-space: nowrap; }
.tl-axis span:nth-child(1) { left: 0; transform: none; }
.tl-axis span:nth-child(2) { left: 16.666%; }
.tl-axis span:nth-child(3) { left: 33.333%; }
.tl-axis span:nth-child(4) { left: 50%; }
.tl-axis span:nth-child(5) { left: 66.666%; }
.tl-axis span:nth-child(6) { left: 83.333%; }
.tl-axis span:nth-child(7) { left: 100%; transform: translateX(-100%); }
.tl-plot { position: absolute; top: 34px; bottom: 44px; left: calc(20px + 76px); right: 20px; pointer-events: none; }
.tl-cursor { position: absolute; top: -6px; bottom: 0; left: 0; width: 1px; background: linear-gradient(var(--gx-text), transparent); opacity: .7; }
.tl-detect { position: absolute; top: -6px; bottom: 0; width: 2px; border-radius: 2px; background: var(--signal); opacity: 0; transition: opacity .3s; }
.tl-detect.on { opacity: 1; }
.tl-detect span { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; font-weight: 500; color: #8fe2b8; background: rgba(60, 207, 135, .14); padding: 3px 9px; border-radius: 999px; }
.tl-detect.flip span { left: auto; right: 0; transform: none; }
.tl-detect b { font-family: var(--mono); font-weight: 500; }

/* graph */
.graph { display: grid; grid-template-columns: minmax(0, 1fr) 250px; }
.graph-stage { position: relative; height: 400px; overflow: hidden; background: radial-gradient(50% 50% at 50% 50%, rgba(60, 207, 135, .07), transparent 70%); }
.graph-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gline { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.gflow { fill: none; stroke: var(--signal); stroke-width: 1.4; stroke-dasharray: 3 14; stroke-linecap: round; animation: flow 1.2s linear infinite; opacity: .85; }
@keyframes flow { to { stroke-dashoffset: -17; } }
.ghub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 112px; height: 112px; border-radius: 50%;
  border: 1px solid rgba(60, 207, 135, .35); background: var(--gx);
  box-shadow: 0 0 0 10px rgba(60, 207, 135, .05), 0 0 0 22px rgba(60, 207, 135, .03);
  display: grid; place-content: center; text-align: center; z-index: 2;
}
.ghub span { font-size: 11px; color: var(--gx-dim); }
.ghub b { font-size: 20px; font-weight: 500; color: #f3f6f4; font-family: var(--mono); }
.gnode {
  position: absolute; transform: translate(-50%, -50%); z-index: 3;
  display: grid; gap: 2px; text-align: start;
  padding: 8px 12px; border-radius: 12px; background: var(--gx-2); border: 1px solid rgba(255, 255, 255, .09);
  font-family: var(--mono); font-size: 12px; color: var(--gx-text); white-space: nowrap;
  transition: border-color .2s, background-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.gnode i { font-style: normal; font-family: var(--sans); font-size: 11px; color: var(--gx-dim); }
.gnode.hi { border-color: rgba(242, 85, 90, .45); }
.gnode.md { border-color: rgba(233, 170, 63, .4); }
.gnode:hover { background: var(--gx-3); transform: translate(-50%, -50%) scale(1.05); }
.gnode.active { border-color: var(--signal); background: var(--gx-3); box-shadow: 0 0 0 4px rgba(60, 207, 135, .14); }
.graph-panel { border-inline-start: 1px solid var(--gx-line); padding: 18px; font-size: 12.5px; }
.gp-k { display: inline-block; font-size: 11px; color: var(--gx-dim); padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.gp-t { font-size: 15px; font-weight: 550; color: #f3f6f4; margin: 10px 0; line-height: 1.3; }
.gp-p { color: var(--gx-dim); line-height: 1.55; margin-bottom: 14px; }
.gp-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--gx-line); }
.gp-row span { color: var(--gx-dim); }
.gp-row b { font-family: var(--mono); font-weight: 500; color: var(--gx-text); text-align: end; }
.gp-row b.ok { color: var(--signal); }

/* segmented policy control */
.seg { position: relative; display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--seg-thumb); box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 4px 12px -4px rgba(0, 0, 0, .2); transition: transform .45s var(--ease), width .45s var(--ease); }
.seg button { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--muted); transition: color .25s; }
.seg button:hover { color: var(--text); }
.seg button[aria-checked="true"] { color: var(--text); }
.seg + .tag-link { display: flex; width: fit-content; }

/* interception lanes */
.lanes { position: relative; padding: 14px 0 18px; }
.lanes-ends { display: flex; justify-content: space-between; padding: 0 16px 10px; font-size: 11.5px; color: var(--gx-dim); }
.lane { position: relative; height: 46px; }
.lane::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--gx-line); }
.barrier { position: absolute; left: 56%; top: 34px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--signal); box-shadow: 0 0 24px 2px rgba(60, 207, 135, .35); z-index: 3; }
.barrier span { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-size: 11.5px; font-weight: 600; color: #8fe2b8; background: rgba(60, 207, 135, .14); padding: 2px 9px; border-radius: 999px; }
.token {
  position: absolute; top: 50%; left: 12px; transform: translateY(-50%); z-index: 2;
  font-family: var(--mono); font-size: 12px; white-space: nowrap;
  padding: 5px 11px; border-radius: 999px; background: var(--gx-2); border: 1px solid rgba(255, 255, 255, .1); color: var(--gx-text);
}
.token.safe { border-color: rgba(60, 207, 135, .5); color: #8fe2b8; background: rgba(60, 207, 135, .08); }
.token.danger { border-color: rgba(242, 85, 90, .6); color: #ff9a9e; background: rgba(242, 85, 90, .1); }
.token.flag { border-color: rgba(233, 170, 63, .55); color: #f3c47a; background: rgba(233, 170, 63, .08); }
.lanes-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gx-line); }
.lanes-foot div { padding: 14px 18px; border-inline-end: 1px solid var(--gx-line); }
.lanes-foot div:last-child { border-inline-end: 0; }
.lanes-foot b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: #f3f6f4; font-variant-numeric: tabular-nums; }
.lanes-foot div:first-child b { color: var(--block); }
.lanes-foot div:nth-child(2) b { color: var(--signal); }
.lanes-foot span { display: block; margin-top: 6px; font-size: 11.5px; color: var(--gx-dim); }

/* cpu */
.cpu { position: relative; padding: 22px 20px 0; }
.cpu-chart { width: 100%; height: 200px; overflow: visible; }
.cpu-limit { stroke: var(--gx-dim); stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.cpu-area { fill: url(#cpu-fill); }
.cpu-line { fill: none; stroke: var(--signal); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.cpu-limit-lbl { position: absolute; top: 22px; right: 20px; transform: translateY(14px); font-size: 11.5px; color: var(--gx-dim); }
.cpu-watch { list-style: none; display: grid; grid-template-columns: 1fr 1fr; margin: 18px -20px 0; border-top: 1px solid var(--gx-line); }
.cpu-watch li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px; font-size: 12.5px; color: var(--gx-dim); border-bottom: 1px solid var(--gx-line); }
.cpu-watch li:nth-child(odd) { border-inline-end: 1px solid var(--gx-line); }
.cpu-watch li:nth-last-child(-n+2) { border-bottom: 0; }
.cpu-watch b { font-family: var(--mono); font-weight: 500; color: var(--gx-text); font-variant-numeric: tabular-nums; }

/* ── ledger (numbers) ─────────────────────────────────────────────────── */
.ledger-sec { padding-block: clamp(40px, 5vw, 80px); }
.ledger {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--r-2xl);
  color: #effaf3;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, .14), transparent 60%),
    linear-gradient(160deg, #0c6c47, #08442d);
}
.ledger-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.ledger-head p { color: #cdeedd; max-width: 36ch; justify-self: end; }
.ledger-group + .ledger-group { margin-top: 28px; }
.ledger-prod { font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: #ffffff; margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px;
  padding: 22px 22px 20px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
}
.stat dd {
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
  font-weight: 550; line-height: 1; letter-spacing: -.055em;
  font-variant-numeric: lining-nums tabular-nums;
  color: #ffffff;
}
.stat dd small { font-size: .45em; font-weight: 500; margin-inline-start: .08em; letter-spacing: -.02em; color: #cdeedd; }
.stat dt { font-size: 15px; color: #dcf3e7; line-height: 1.4; }

/* ── who ──────────────────────────────────────────────────────────────── */
.who { padding-block: clamp(110px, 13vw, 190px) clamp(70px, 8vw, 120px); }
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 6vw, 80px); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}
.who-card { padding: clamp(24px, 3vw, 36px); transition: border-color .25s, transform .4s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }
.who-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 22px; }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.who-card h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.who-card p { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 46ch; text-wrap: pretty; }

/* ── company ──────────────────────────────────────────────────────────── */
.company { padding-block: clamp(70px, 8vw, 120px) clamp(80px, 9vw, 140px); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.company-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.company-lead p { color: var(--muted); max-width: 40ch; justify-self: end; text-wrap: pretty; }
.company-card { padding: 28px 28px 12px; }
.col-h { font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--text); margin-bottom: 6px; }
.rule-list { list-style: none; }
.rule-list li { padding: 14px 0; border-top: 1px solid var(--border); display: grid; gap: 3px; }
.rule-list li:first-child { border-top: 0; }
.rule-list b { font-weight: 550; font-size: 16px; letter-spacing: -.01em; }
.rule-list span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.rule-list a { color: var(--accent-text); font-weight: 550; }

/* ── demo ─────────────────────────────────────────────────────────────── */
.demo-sec { padding-block: 0 clamp(80px, 9vw, 130px); }
.demo {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 88px);
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--r-2xl);
  color: #eef2ef;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(60, 207, 135, .22), transparent 60%),
    #0e1211;
  border: 1px solid rgba(255, 255, 255, .08);
}
.demo-lead p { margin-top: 22px; color: #a9b2ad; max-width: 38ch; font-size: 18px; text-wrap: pretty; }
.demo-lead .demo-mail { font-size: 15px; }
.demo-mail a { color: #eef2ef; }
.demo-form { display: grid; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: grid; gap: 8px; font-size: 14px; color: #a9b2ad; border: 0; }
.field {
  width: 100%; height: 50px; padding: 0 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05); color: #f3f6f4;
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field:hover { border-color: rgba(255, 255, 255, .22); }
.field:focus { outline: 0; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(60, 207, 135, .16); background: rgba(255, 255, 255, .07); }
.field[aria-invalid] { border-color: var(--block); }
textarea.field { height: auto; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.f-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.f-choice legend { width: 100%; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: #eef2ef; font-size: 14.5px; transition: background-color .2s, color .2s, border-color .2s; }
.chip input:hover + span { border-color: rgba(255, 255, 255, .3); }
.chip input:checked + span { background: #eef2ef; color: #0d100e; border-color: #eef2ef; }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.demo .btn-primary { background: var(--signal); color: #03140b; }
.demo .btn-primary:hover { background: #62dca0; }
.demo-form .btn { justify-self: start; margin-top: 6px; }
.f-note { font-size: 13px; color: #a3aca7; }
.f-error { font-size: 14px; color: #ff9a9e; }
.demo-done { grid-column: 2; align-self: center; padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); outline: none; }
.demo-done p { margin-top: 14px; color: #a9b2ad; max-width: 44ch; }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--border); padding-block: 56px 36px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.foot-brand { display: flex; align-items: center; align-self: start; gap: 12px; color: var(--text); }
.foot-brand img { width: 26px; height: 33px; object-fit: contain; }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.foot-col h4 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.foot-col a { text-decoration: none; color: var(--text-2); width: fit-content; }
.foot-col a:hover { color: var(--text); text-decoration: underline; }
.foot-copy { grid-column: 1 / -1; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; }

/* ── product pages ────────────────────────────────────────────────────── */
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.p-title { font-size: clamp(2.8rem, 7vw, 6.6rem); }
.p-title .ht-2 { color: var(--accent-text); }
.meta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; animation: fade-up .9s var(--ease) .5s both; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--text-2); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pill.soon i { background: transparent; border: 1.5px dashed var(--muted); box-shadow: none; }

.p-stats { padding-block: clamp(56px, 7vw, 100px) 0; }
.p-stats .ledger { padding: clamp(20px, 3vw, 36px); }
.p-stats .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.steps-sec { padding-block: clamp(110px, 13vw, 180px) 0; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 6vw, 80px); position: relative; }
.steps::before { content: ''; position: absolute; top: 47px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-2) 15%, var(--border-2) 85%, transparent); }
.step { position: relative; padding: 28px 24px; text-align: center; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--border-2);
  font-size: 15px; font-weight: 600; color: var(--accent-text);
  position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg);
}
.step h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; text-wrap: pretty; }

.caps-sec { padding-block: clamp(110px, 13vw, 180px) 0; }
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 6vw, 80px); }
.cap { padding: clamp(24px, 2.6vw, 32px); transition: border-color .25s, transform .4s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }
.cap:hover { border-color: var(--border-2); transform: translateY(-3px); }
.cap h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.cap p { margin-top: 8px; color: var(--muted); font-size: 15.5px; text-wrap: pretty; }

.cross-sec { padding-block: clamp(110px, 13vw, 180px) clamp(40px, 5vw, 80px); }
.cross { min-height: 0; flex-direction: row; align-items: flex-end; gap: clamp(24px, 4vw, 64px); }
.cross .look-verb { flex: none; }
.cross .look-copy { max-width: 36rem; margin-inline-start: auto; }
.cross .h-l { color: inherit; }
.cross p { margin-top: 12px; }
.look-sn.cross p { color: #c9eada; }
.look-wb.cross p { color: #a9b2ad; }

.p-proof { padding-block: clamp(110px, 13vw, 180px) 0; }
.p-proof .pair:first-of-type { margin-top: clamp(48px, 6vw, 80px); }

/* Sentinel agent console */
.sn-body { grid-template-columns: 220px minmax(0, 1fr); }
.sn-main { padding: 20px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; overflow: hidden; }
.sn-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sn-head .cx-inc-title { min-width: 160px; }
.sn-policy { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: #8fe2b8; background: rgba(60, 207, 135, .12); }
.sn-alert { border-radius: var(--r-md); padding: 16px 18px; border: 1px solid rgba(242, 85, 90, .28); background: linear-gradient(180deg, rgba(242, 85, 90, .09), rgba(242, 85, 90, .02)); transition: border-color .4s, background .4s; }
.sn-alert.is-flag { border-color: rgba(233, 170, 63, .3); background: linear-gradient(180deg, rgba(233, 170, 63, .09), rgba(233, 170, 63, .02)); }
.sn-alert-h { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: #ff8a8e; }
.sn-alert.is-flag .sn-alert-h { color: #f3c47a; }
.sn-alert-t { margin-top: 8px; font-size: 16px; font-weight: 550; color: #f3f6f4; font-family: var(--mono); letter-spacing: -.01em; }
.sn-alert-d { margin-top: 6px; font-size: 13px; color: var(--gx-text); }
.sn-alert-d b { color: #fff; font-weight: 550; }
.sn-log { display: grid; }
.sn-log-row { display: grid; grid-template-columns: 70px 120px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--gx-line); font-size: 12.5px; color: var(--gx-text); animation: feed-in .5s var(--ease) both; }
.sn-log-row time { font-family: var(--mono); font-size: 11.5px; color: var(--gx-dim); }
.sn-log-row .ch { color: var(--gx-dim); }
.sn-log-row .it { font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.vd.b { color: #ff8a8e; background: rgba(242, 85, 90, .14); }
.vd.f { color: #f3c47a; background: rgba(233, 170, 63, .14); }
.vd.a { color: #8fe2b8; background: rgba(60, 207, 135, .12); }

@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .p-stats .stats { grid-template-columns: 1fr 1fr; }
  .cross { flex-direction: column; align-items: flex-start; }
  .cross .look-copy { margin-inline-start: 0; }
  .sn-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .steps, .caps { grid-template-columns: 1fr; }
  .step { text-align: start; padding: 20px 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
  .step::before { grid-row: 1 / 3; margin: 0; }
  .p-stats .stats { grid-template-columns: 1fr 1fr; }
  .sn-main { padding: 16px; }
  .sn-log-row { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .sn-log-row .ch { display: none; }
}

/* ── reveal on scroll ─────────────────────────────────────────────────── */
html.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; filter: none; }
.looks .reveal:nth-child(2), .who-grid .reveal:nth-child(even), .company-card + .company-card { transition-delay: .08s; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .cx-body { grid-template-columns: 190px minmax(0, 1fr); }
  .cx-feed { display: none; }
  .pair-copy, .pair-wide .pair-copy, .pair-rev .pair-copy { grid-column: 1 / -1; grid-row: 1; max-width: 640px; }
  .pair .frame, .pair-wide .frame, .pair-rev .frame { grid-column: 1 / -1; grid-row: 2; margin-top: 28px; }
  .graph { grid-template-columns: minmax(0, 1fr) 230px; }
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 84px; left: 12px; right: 12px; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; margin: 0;
    border-radius: var(--r-lg); border: 1px solid var(--border-2);
    background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
    visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top center;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links a { padding: 14px 16px; border-radius: 12px; font-size: 1.15rem; font-weight: 550; color: var(--text); }
  .nav-links .nav-links-cta { display: block; margin-top: 6px; text-align: center; background: var(--accent); color: var(--on-accent); }
  .nav-links .nav-links-cta:hover { background: var(--accent-hover); color: var(--on-accent); }
  .nav-toggle { display: block; }

  .cx-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .cx-sources { display: none; }

  .looks { grid-template-columns: 1fr; }
  .look { min-height: 0; gap: 64px; }
  .ledger-head, .company-lead { grid-template-columns: 1fr; }
  .ledger-head p, .company-lead p { justify-self: start; }
  .stats, .stats-3 { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo-done { grid-column: 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-shell { padding-inline: 14px 6px; }
  .nav-cta { display: none; }
  .lang-btn [data-lang-current] { display: none; }
  .hero-title { font-size: clamp(2.6rem, 13.5vw, 4.4rem); }
  .ht { white-space: normal; }
  .hero-form { flex-direction: column; border-radius: var(--r-lg); padding: 6px; }
  .hero-input { width: 100%; flex: none; height: 48px; }
  .hero-form .btn { width: 100%; }
  .device { padding: 5px; border-radius: 20px; }
  .console { border-radius: 15px; }
  .cx-bar { flex-wrap: wrap; row-gap: 6px; }
  .cx-bar .cx-crumb, .cx-bar .cx-stat, .cx-bar .cx-app { display: none; }
  .cx-incident { padding: 16px; }
  .cx-chain li { font-size: 10px; }
  .cx-tl li { grid-template-columns: 1fr; gap: 2px; }
  .graph { grid-template-columns: 1fr; }
  .graph-panel { border-inline-start: 0; border-top: 1px solid var(--gx-line); }
  .graph-stage { height: 340px; }
  .gnode { font-size: 11px; padding: 6px 9px; }
  .ghub { width: 88px; height: 88px; }
  .tl-row { grid-template-columns: 58px 1fr; }
  .tl-axis { margin-inline-start: 58px; }
  .tl-plot { left: calc(20px + 58px); }
  .tl-axis span:nth-child(even) { visibility: hidden; }
  .barrier { left: 60%; }
  .lanes-ends span:last-child { visibility: hidden; }
  .token { font-size: 11px; padding: 4px 9px; }
  .cpu-watch { grid-template-columns: 1fr; }
  .cpu-watch li:nth-child(odd) { border-inline-end: 0; }
  .cpu-watch li:nth-last-child(2) { border-bottom: 1px solid var(--gx-line); }
  .stats, .stats-3 { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .demo-form .btn { width: 100%; }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; filter: none; }
}
