/* ElCampeon Systems: Build / Break
   Dark, loud, and honest. Gold builds, red breaks, mint means fixed,
   clay marks where Claude helps. Archivo's width axis does the shouting. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2-variations"), url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #09090b;
  --bg-2: #0e0e11;
  --panel: #131317;
  --panel-2: #1a1a20;
  --line: rgba(242, 238, 230, 0.09);
  --line-2: rgba(242, 238, 230, 0.17);
  --text: #f2eee6;
  --muted: #a9a59d;
  --dim: #77746e;
  --build: #ffc23d;
  --build-hi: #ffd774;
  --break: #ff5a43;
  --ok: #3ee6b5;
  --clay: #e08a66;
  --ink-on-build: #171100;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 20px;
  --r-sm: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.22s ease both; }
::view-transition-new(root) { animation: vt-in 0.38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* Film grain, so the black feels like a surface rather than a void. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--build); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
strong, b { font-weight: 700; }
::selection { background: var(--build); color: var(--ink-on-build); }
:focus-visible { outline: 2px solid var(--build); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--build); color: var(--ink-on-build); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

.scroll-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--build), var(--break));
  transform-origin: 0 50%; transform: scaleX(var(--scroll, 0));
}

/* ---------- Type ---------- */

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.k-build { color: var(--build); }
.k-break { color: var(--break); }
.k-ok { color: var(--ok); }
.k-claude { color: var(--clay); }
.section-title { font-size: clamp(2rem, 4.5vw, 3.5rem); font-stretch: 108%; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.03em; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.lede strong { color: var(--text); font-weight: 600; }
.t-build { color: var(--build); }
.t-break { color: var(--break); }
.t-ok { color: var(--ok); }
.t-clay { color: var(--clay); }
.t-muted { color: var(--muted); }
.note { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--dim); margin: 14px 0 0; }
.note::before { content: "// "; }

/* ---------- Buttons ---------- */

.btn {
  --tx: 0px; --ty: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-stretch: 106%; line-height: 1; text-decoration: none; cursor: pointer;
  transform: translate(var(--tx), var(--ty));
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--build); color: var(--ink-on-build); box-shadow: 0 0 0 0 rgba(255, 194, 61, 0); }
.btn-primary:hover { background: var(--build-hi); box-shadow: 0 10px 40px -10px rgba(255, 194, 61, 0.55); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn-break { background: var(--break); color: #1a0500; }
.btn-break:hover { box-shadow: 0 10px 40px -10px rgba(255, 90, 67, 0.6); }
.btn-sm { padding: 10px 16px; font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Status chips ---------- */

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted);
  white-space: nowrap; line-height: 1.2;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.status-live { color: var(--ok); border-color: rgba(62, 230, 181, 0.35); }
.status-dev { color: var(--build); border-color: rgba(255, 194, 61, 0.35); }
.status-dev::before { animation: pulse 1.8s ease-in-out infinite; }
.status-open { color: var(--break); border-color: rgba(255, 90, 67, 0.35); }
.status-later { color: var(--muted); }
.status-claude { color: var(--clay); border-color: rgba(224, 138, 102, 0.35); }
@keyframes pulse { 50% { opacity: 0.25; transform: scale(0.7); } }

/* ---------- Header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 11, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 1.06rem; letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand-sub { color: var(--muted); font-weight: 500; font-stretch: 100%; }
.brand .brand-break { transition: transform 0.35s var(--ease); }
.brand:hover .brand-break { transform: translate(2px, 1.5px); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav ul { display: flex; gap: 2px; list-style: none; padding: 0; }
.nav-link {
  display: block; padding: 8px 13px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-weight: 500; transition: color 0.2s, background-color 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-link[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-icon { display: grid; gap: 6px; width: 18px; }
.menu-icon span { height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  html:not(.js) .site-head .wrap { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .nav { width: 100%; flex-wrap: wrap; margin-left: 0; }
  html:not(.js) .nav ul { flex-wrap: wrap; }
  .js .menu-btn { display: inline-flex; }
  .js .nav {
    position: fixed; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 18px var(--gutter) 28px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
    max-height: calc(100svh - 66px); overflow-y: auto;
  }
  .js .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
  .js .nav ul { flex-direction: column; }
  .js .nav-link { font-size: 1.7rem; font-weight: 800; font-stretch: 115%; text-transform: uppercase; color: var(--text); padding: 10px 2px; border-radius: 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
  .js .nav-link[aria-current="page"] { background: none; color: var(--build); }
  .js .nav-cta { align-self: flex-start; }
}
@media (max-width: 420px) { .brand-sub { display: none; } }

/* ---------- Reveal ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal="scale"].in { transform: none; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(68px, 9vw, 120px); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5.5vw, 72px); }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: end; }
.section-head.split .lede { margin: 0; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

.card {
  position: relative; isolation: isolate;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(22px, 3vw, 38px); overflow: hidden;
}
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -30%), var(--glow, rgba(255, 255, 255, 0.07)), transparent 45%);
  opacity: 0; transition: opacity 0.35s;
}
.spot:hover::before { opacity: 1; }
.spot { transition: border-color 0.3s, transform 0.4s var(--ease); }
.spot:hover { border-color: var(--line-2); }
.glow-build { --glow: rgba(255, 194, 61, 0.13); }
.glow-break { --glow: rgba(255, 90, 67, 0.14); }
.glow-ok { --glow: rgba(62, 230, 181, 0.11); }
.glow-clay { --glow: rgba(224, 138, 102, 0.14); }

.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 7px;
  border-left: 2px solid var(--tick, var(--ok)); border-bottom: 2px solid var(--tick, var(--ok));
  transform: translateY(-60%) rotate(-45deg);
}
.dashes { list-style: none; padding: 0; display: grid; gap: 8px; }
.dashes li { position: relative; padding-left: 22px; color: var(--muted); }
.dashes li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--dash, var(--dim)); }

/* ---------- Home: hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 980px);
  display: flex; align-items: flex-end;
  padding: clamp(110px, 16vh, 180px) 0 clamp(48px, 7vw, 88px);
  margin-top: -67px;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(130% 95% at 72% 30%, #000 25%, transparent 82%);
  mask-image: radial-gradient(130% 95% at 72% 30%, #000 25%, transparent 82%);
}
.hero::before {
  content: ""; position: absolute; z-index: -3; inset: -20%;
  background:
    radial-gradient(38% 34% at 78% 22%, rgba(255, 90, 67, 0.16), transparent 70%),
    radial-gradient(34% 30% at 18% 70%, rgba(255, 194, 61, 0.11), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }

.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 7px 14px 7px 8px; margin-bottom: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line-2); border-radius: 18px; background: rgba(9, 9, 11, 0.6);
  font-size: 0.88rem; color: var(--muted);
  animation: rise 0.9s var(--ease) both;
}
.hero-chip b { color: var(--text); font-weight: 600; }
.hero-chip .status { padding: 3px 9px; }

.hero-title {
  font-size: clamp(2.1rem, 9.6vw, 7.8rem);
  line-height: 0.86; letter-spacing: -0.045em; text-transform: uppercase; font-weight: 900;
  margin: 0 0 clamp(26px, 4vw, 44px);
}
.hero-title .line { display: block; overflow: hidden; white-space: nowrap; padding: 0.04em 0 0.06em; margin-bottom: -0.06em; }
.hero-title .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .l1 > span { font-stretch: 100%; }
.hero-title .l2 > span { animation: rise 1s var(--ease) 0.12s both, stretch 1.6s var(--ease) 0.3s both; }
@keyframes rise { from { transform: translateY(105%); opacity: 0; } }
@keyframes stretch { from { font-stretch: 62%; } to { font-stretch: 100%; } }

.glitch { position: relative; display: inline-block; color: var(--break); }
.glitch .g1, .glitch .g2 { position: absolute; left: 0; top: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
.glitch .g1 { color: var(--ok); animation: glitch-a 5s steps(1) 2.4s infinite; }
.glitch .g2 { color: var(--build); animation: glitch-b 5s steps(1) 2.4s infinite; }
@keyframes glitch-a {
  0%, 89%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  90% { clip-path: inset(12% 0 64% 0); transform: translate(-0.04em, 0); }
  92% { clip-path: inset(58% 0 22% 0); transform: translate(0.05em, 0); }
  94% { clip-path: inset(30% 0 48% 0); transform: translate(-0.02em, 0); }
  96% { clip-path: inset(80% 0 4% 0); transform: translate(0.03em, 0); }
}
@keyframes glitch-b {
  0%, 90%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  91% { clip-path: inset(70% 0 10% 0); transform: translate(0.05em, 0); }
  93% { clip-path: inset(5% 0 80% 0); transform: translate(-0.05em, 0); }
  95% { clip-path: inset(44% 0 36% 0); transform: translate(0.02em, 0); }
}
.underline-build { position: relative; color: var(--build); }

.hero-foot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.hero-foot .lede { color: #c9c5bc; margin-bottom: 28px; animation: rise 1s var(--ease) 0.35s both; }
.hero-foot .actions { animation: rise 1s var(--ease) 0.45s both; }
.now-card {
  border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(14, 14, 17, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 8px; animation: rise 1s var(--ease) 0.55s both;
}
.now-card li { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 14px 14px; border-radius: 14px; }
.now-card li + li { border-top: 1px solid var(--line); border-radius: 0; }
.now-card ul { padding: 0; }
.now-card .label { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.now-card .what { font-weight: 600; line-height: 1.35; }
.now-card .status { justify-self: start; }
.now-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); grid-row: span 2; }
.now-card .ic svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}

/* ---------- Ticker ---------- */

.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding-block: 18px; }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; padding: 0 0 0 0; }
.ticker li {
  display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; white-space: nowrap;
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.ticker li::after { content: "✦"; color: var(--build); font-size: 0.7rem; }
.ticker li:nth-child(3n + 2)::after { color: var(--break); }
.ticker li:nth-child(3n)::after { color: var(--clay); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Home: build / break sides ---------- */

.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.side { display: flex; flex-direction: column; min-height: 520px; }
.side-word {
  font-size: clamp(3.6rem, 8.6vw, 7.6rem); font-weight: 900; line-height: 0.82; letter-spacing: -0.05em;
  text-transform: uppercase; margin: 0 0 28px; transition: font-stretch 0.7s var(--ease), letter-spacing 0.7s var(--ease);
}
.side-build .side-word { color: var(--build); font-stretch: 112%; }
.side-break .side-word { color: var(--break); font-stretch: 62%; }
.side-build:hover .side-word { font-stretch: 62%; }
.side-break:hover .side-word { font-stretch: 112%; }
.side .unit { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side > p:not(.side-word) { font-size: 1.12rem; }
.side .ticks { margin: 8px 0 32px; }
.side-build .ticks { --tick: var(--build); }
.side-break .ticks { --tick: var(--break); }
.side .more { margin-top: auto; }
.more {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--line-2); padding-bottom: 4px; align-self: flex-start; transition: border-color 0.2s, gap 0.25s var(--ease);
}
.more:hover { border-color: currentColor; gap: 14px; }
.more::after { content: "→"; }
.side-build .more { color: var(--build); }
.side-break .more { color: var(--break); }
@media (max-width: 860px) { .sides { grid-template-columns: 1fr; } .side { min-height: 0; } }

/* ---------- Facts ---------- */

.facts { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fact { padding: clamp(22px, 3vw, 34px); border-left: 1px solid var(--line); background: var(--bg-2); }
.fact:first-child { border-left: 0; }
.fact .n { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 900; line-height: 1; letter-spacing: -0.04em; font-stretch: 112%; margin-bottom: 10px; }
.fact .l { color: var(--muted); font-size: 0.98rem; line-height: 1.45; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Seam: code vs attack ---------- */

.seam-wrap { display: grid; gap: 22px; }
.seam {
  --seam: 52%;
  position: relative; display: grid; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--panel);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
  touch-action: pan-y;
}
.seam:has(input:focus-visible) { outline: 2px solid var(--build); outline-offset: 4px; }
.layer { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; min-height: 380px; }
.layer-build { background: linear-gradient(160deg, #15140f, #0f0f12 60%); }
.layer-break { background: linear-gradient(200deg, #1c0d0b, #110b0c 60%); clip-path: inset(0 0 0 var(--seam)); }
.layer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.76rem; color: var(--dim);
}
.layer-bar .tag { font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.layer-build .tag { background: rgba(255, 194, 61, 0.14); color: var(--build); }
.layer-break .tag { background: rgba(255, 90, 67, 0.16); color: var(--break); }
.layer pre {
  margin: 0; padding: clamp(18px, 3vw, 30px); flex: 1;
  font-family: var(--mono); font-size: clamp(0.72rem, 1.55vw, 0.95rem); line-height: 1.75;
  white-space: pre-wrap; overflow-wrap: anywhere; color: #ddd8ce;
}
.layer .watermark {
  position: absolute; bottom: -0.16em; margin: 0; pointer-events: none;
  font-size: clamp(4rem, 13vw, 10rem); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -0.05em; opacity: 0.07;
}
.layer-build .watermark { left: 14px; color: var(--build); font-stretch: 112%; }
.layer-break .watermark { right: 14px; color: var(--break); font-stretch: 62%; }
.tok-c { color: #77746e; }
.tok-k { color: var(--clay); }
.tok-s { color: var(--ok); }
.tok-f { color: #9ab8ff; }
.tok-gap { background: rgba(255, 90, 67, 0.12); text-decoration: underline wavy var(--break); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tok-m { color: var(--build); font-weight: 700; }
.tok-ok { color: var(--ok); }
.tok-dim { color: #77746e; }
.tok-hit { background: rgba(255, 90, 67, 0.22); color: #ffd4cc; border-radius: 3px; padding: 0 2px; }
.handle { position: absolute; top: 0; bottom: 0; left: var(--seam); width: 2px; margin-left: -1px; background: var(--text); pointer-events: none; z-index: 2; }
.handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: var(--bg); font-size: 1.15rem; box-shadow: 0 0 0 6px rgba(242, 238, 230, 0.12);
}
.seam input[type="range"] {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.seam-foot { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.seam-foot p { margin: 0; color: var(--muted); max-width: 70ch; }
.seam-foot .note { display: block; }
.seam-foot p strong { color: var(--text); }
.toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; gap: 2px; }
.toggle button {
  font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--muted); background: none; border: 0;
  padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
@media (min-width: 761px) {
  .layer-build pre { padding-right: calc(50% + 12px); }
  .layer-break pre { padding-left: calc(50% + 12px); }
  .layer-break .layer-bar { padding-left: calc(50% + 18px); }
}
/* Narrow screens and no-JS: show both panels in full, one above the other. */
@media (max-width: 760px) {
  .seam { display: block; }
  .layer { min-height: 0; }
  .layer-break { clip-path: none; border-top: 1px solid var(--line-2); }
  .layer .watermark { font-size: 4.5rem; }
  .handle, .seam input[type="range"], .toggle { display: none; }
  .seam-foot { grid-template-columns: 1fr; }
}
html:not(.js) .seam { display: block; }
html:not(.js) .layer-break { clip-path: none; }
html:not(.js) .layer-build pre, html:not(.js) .layer-break pre { padding-inline: clamp(18px, 3vw, 30px); }
html:not(.js) .toggle, html:not(.js) .handle, html:not(.js) .seam input[type="range"] { display: none; }

/* ---------- Claude on both sides ---------- */

.duo { display: grid; grid-template-columns: 1fr minmax(220px, 300px) 1fr; gap: 20px; align-items: stretch; }
.duo .card h3 { display: flex; align-items: center; gap: 10px; }
.duo .card .dashes li { color: #cfcac1; }
.duo-build .dashes { --dash: var(--build); }
.duo-break .dashes { --dash: var(--break); }
.orbit { position: relative; display: grid; place-items: center; min-height: 300px; }
.orbit-ring {
  position: absolute; width: min(100%, 280px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--build), transparent 30%, var(--clay) 50%, transparent 70%, var(--break), transparent 95%, var(--build));
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin 14s linear infinite;
}
.orbit-ring.r2 { width: min(78%, 214px); animation-duration: 22s; animation-direction: reverse; opacity: 0.5; }
.orbit-core { position: relative; text-align: center; display: grid; gap: 6px; padding: 20px; }
.orbit-core .big { font-size: 2rem; font-weight: 900; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; color: var(--clay); }
.orbit-core .plus { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); letter-spacing: 0.1em; text-transform: uppercase; }
.orbit-core .human { font-size: 1.15rem; font-weight: 700; }
.orbit-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; top: 50%; left: 50%; offset-path: circle(min(140px, 47%)); animation: orbit 9s linear infinite; }
.orbit-dot.d1 { background: var(--build); box-shadow: 0 0 18px var(--build); }
.orbit-dot.d2 { background: var(--break); box-shadow: 0 0 18px var(--break); animation-delay: -4.5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (max-width: 980px) {
  .duo { grid-template-columns: 1fr; }
  .orbit { min-height: 240px; order: -1; }
  .orbit-ring { width: 220px; }
  .orbit-ring.r2 { width: 168px; }
  .orbit-dot { offset-path: circle(110px); }
}

/* ---------- Rule statement ---------- */

.rule-block { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.rule-mark { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 90, 67, 0.12); color: var(--break); }
.rule-mark svg { width: 34px; height: 34px; }
.rule-text {
  font-size: clamp(1.75rem, 4.6vw, 3.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; font-stretch: 104%;
  margin: 0; max-width: 22ch;
}
.rule-text em { font-style: normal; color: var(--break); }
.js .rule-text.split .w { color: rgba(242, 238, 230, 0.16); transition: color 0.35s; }
.js .rule-text.split .w.lit { color: var(--text); }
.js .rule-text.split em .w.lit { color: var(--break); }
.rule-sub { margin-top: 28px; color: var(--muted); max-width: 62ch; }
@media (max-width: 640px) { .rule-block { grid-template-columns: 1fr; } }

/* ---------- Pipeline: app -> worker -> Claude ---------- */

.pipe { display: grid; grid-template-columns: 1fr minmax(48px, 90px) 1fr minmax(48px, 90px) 1fr; align-items: stretch; }
.pipe-node { display: flex; flex-direction: column; gap: 8px; }
.pipe-node .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); margin-bottom: 8px; }
.pipe-node .ic svg { width: 24px; height: 24px; }
.pipe-node h3 { margin: 0; font-size: 1.2rem; }
.pipe-node p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.pipe-node .key { color: var(--ok); }
.pipe-link { position: relative; align-self: center; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.pipe-link i { position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%); animation: packet 2.6s linear infinite; }
.pipe-link i:nth-child(1) { background: var(--build); box-shadow: 0 0 12px var(--build); }
.pipe-link i:nth-child(2) { background: var(--clay); box-shadow: 0 0 12px var(--clay); animation-name: packet-back; animation-delay: -1.3s; }
@keyframes packet { from { left: 0%; opacity: 0; } 10%, 90% { opacity: 1; } to { left: 100%; opacity: 0; } }
@keyframes packet-back { from { left: 100%; opacity: 0; } 10%, 90% { opacity: 1; } to { left: 0%; opacity: 0; } }
.pipe-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; font-family: var(--mono); font-size: 0.78rem; color: var(--dim); }
.pipe-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pipe-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pipe-legend .lb { background: var(--build); }
.pipe-legend .lc { background: var(--clay); }
@media (max-width: 860px) {
  .pipe { grid-template-columns: 1fr; }
  .pipe-link { justify-self: center; width: 2px; height: 56px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .pipe-link i { left: 50%; animation-name: packet-v; }
  .pipe-link i:nth-child(2) { animation-name: packet-v-back; }
}
@keyframes packet-v { from { top: 0%; opacity: 0; } 10%, 90% { opacity: 1; } to { top: 100%; opacity: 0; } }
@keyframes packet-v-back { from { top: 100%; opacity: 0; } 10%, 90% { opacity: 1; } to { top: 0%; opacity: 0; } }

/* ---------- Roadmap ---------- */

.road { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.road li { display: flex; flex-direction: column; gap: 14px; }
.road .when { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.road .when b { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; font-stretch: 112%; text-transform: uppercase; line-height: 1; }
.road li:nth-child(1) .when b { color: var(--build); }
.road li:nth-child(2) .when b { color: var(--clay); }
.road li:nth-child(3) .when b { color: var(--break); }
.road h3 { margin: 6px 0 0; font-size: 1.1rem; }
.road .item + .item { padding-top: 14px; border-top: 1px dashed var(--line); }
.road .item p { margin: 6px 0 0; color: var(--muted); font-size: 0.98rem; }
.road-track { height: 3px; border-radius: 3px; background: var(--line); margin-bottom: 28px; overflow: hidden; }
.road-track span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--build), var(--clay), var(--break)); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
@media (max-width: 860px) { .road { grid-template-columns: 1fr; } }

/* ---------- Contact CTA ---------- */

.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 100%, rgba(255, 90, 67, 0.14), transparent 60%),
    radial-gradient(50% 70% at 0% 0%, rgba(255, 194, 61, 0.09), transparent 60%);
}
.cta-title { font-size: clamp(2.3rem, 7vw, 6rem); text-transform: uppercase; line-height: 0.9; letter-spacing: -0.04em; font-stretch: 110%; max-width: 16ch; }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: clamp(26px, 4vw, 44px) 0; }
.mail-big {
  font-size: clamp(1.45rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; font-stretch: 104%;
  text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(90deg, var(--text), var(--text)) 0 100% / 0 3px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.mail-big:hover { background-size: 100% 3px; color: var(--build); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 14px;
  transition: border-color 0.2s, color 0.2s;
}
.copy-btn:hover { border-color: var(--text); }
.copy-btn.done { color: var(--ok); border-color: var(--ok); }
.copy-btn svg { width: 16px; height: 16px; }
html:not(.js) .copy-btn { display: none; }
.cta-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; }
.cta-notes > div { border-top: 1px solid var(--line-2); padding-top: 16px; }
.cta-notes b { display: block; margin-bottom: 6px; }
.cta-notes p { color: var(--muted); margin: 0; }
@media (max-width: 700px) { .cta-notes { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 11vw, 150px) 0 clamp(52px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 90% at 80% 0%, #000, transparent 75%);
  mask-image: radial-gradient(70% 90% at 80% 0%, #000, transparent 75%);
}
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -24vw; top: -36vw; border-radius: 50%; opacity: 0.2; background: radial-gradient(closest-side, var(--hero-glow, var(--build)), transparent); pointer-events: none; }
.page-security { --hero-glow: var(--break); }
.page-claude { --hero-glow: var(--clay); }
.page-founder { --hero-glow: #8a7dff; }
.page-disclosure { --hero-glow: var(--ok); }
.page-title { font-size: clamp(2.4rem, 6.4vw, 5.6rem); text-transform: uppercase; line-height: 0.88; letter-spacing: -0.045em; font-weight: 900; margin-bottom: 28px; max-width: 15ch; }
.page-title .cond { font-stretch: 62%; }
.page-title .wide { font-stretch: 116%; }
.page-hero .lede { margin: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; }
.hero-grid .actions { margin-top: 32px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.js .page-hero .kicker, .js .page-hero .page-title, .js .page-hero .lede, .js .page-hero .actions, .js .page-hero .hero-side { animation: rise-soft 0.9s var(--ease) both; }
.js .page-hero .page-title { animation-delay: 0.06s; }
.js .page-hero .lede { animation-delay: 0.16s; }
.js .page-hero .actions { animation-delay: 0.24s; }
.js .page-hero .hero-side { animation-delay: 0.3s; }
@keyframes rise-soft { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Terminal ---------- */

.terminal {
  border: 1px solid var(--line-2); border-radius: var(--r); background: #0c0c0f; overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a31; }
.terminal-bar i:nth-child(1) { background: var(--break); }
.terminal-bar i:nth-child(2) { background: var(--build); }
.terminal-bar i:nth-child(3) { background: var(--ok); }
.terminal-bar span { margin-left: 10px; font-family: var(--mono); font-size: 0.74rem; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.terminal-body { padding: 18px 20px 22px; font-family: var(--mono); font-size: clamp(0.74rem, 1.4vw, 0.86rem); line-height: 1.8; overflow-x: auto; min-height: 250px; }
.t-line { display: block; white-space: pre; color: #cfcac1; }
.t-line.out { color: var(--muted); }
.t-prompt { color: var(--ok); }
.t-cmd { color: var(--text); }
.js [data-terminal] .t-line { visibility: hidden; }
.js [data-terminal] .t-line.on { visibility: visible; }
.js [data-terminal] .t-cmd { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: pre; width: calc(var(--n, 0) * 1ch); }
.js [data-terminal] .t-line.done .t-cmd { width: auto; }
.t-line.typing::after { content: ""; display: inline-block; width: 0.6ch; height: 1.1em; vertical-align: -0.2em; background: var(--text); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Security page ---------- */

.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc .card { display: flex; flex-direction: column; gap: 14px; }
.svc .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.svc .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--panel-2); }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.45rem; margin: 6px 0 0; }
.svc p { color: var(--muted); margin: 0; }
.svc .dashes { --dash: var(--break); margin-top: 4px; }
.svc .dashes li { color: #cfcac1; font-size: 0.98rem; }
.svc .soon { opacity: 0.85; border-style: dashed; }
@media (max-width: 980px) { .svc { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; position: relative; }
.steps-track { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 26px; }
.steps-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--build), var(--clay) 40%, var(--break) 70%, var(--ok)); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.steps li::after { content: "0" counter(step); order: -1; font-family: var(--mono); font-size: 0.82rem; color: var(--dim); }
.steps .status { white-space: normal; }
.steps h3 { font-size: 1.12rem; margin: 0; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.steps .who { margin-top: auto; padding-top: 8px; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li:last-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

.finding { padding: 0; }
.finding-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 22px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.finding-id { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); margin: 0 0 4px; }
.finding-head h3 { margin: 0; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.sev { display: flex; align-items: center; gap: 14px; }
.sev-score { font-size: 2.4rem; font-weight: 900; line-height: 1; font-stretch: 112%; letter-spacing: -0.03em; color: var(--break); }
.sev-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--break); border: 1px solid rgba(255, 90, 67, 0.4); border-radius: 6px; padding: 4px 8px; }
.finding-body { display: grid; grid-template-columns: 1fr 1fr 1.15fr; }
.finding-body > div { padding: 22px clamp(20px, 3vw, 32px); border-left: 1px solid var(--line); min-width: 0; }
.finding-body > div:first-child { border-left: 0; }
.finding-body h4 { font-family: var(--mono); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.finding-body ol { padding-left: 1.2em; color: #cfcac1; display: grid; gap: 6px; font-size: 0.95rem; }
.finding-body p { color: #cfcac1; font-size: 0.95rem; }
.finding-vector { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); padding: 14px clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.diff { font-family: var(--mono); font-size: 0.78rem; line-height: 1.65; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; background: #0c0c0f; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.diff .del { color: #ff8e7f; background: rgba(255, 90, 67, 0.08); display: block; }
.diff .add { color: var(--ok); background: rgba(62, 230, 181, 0.07); display: block; }
.diff + p { margin: 12px 0 0; }
@media (max-width: 900px) { .finding-body { grid-template-columns: 1fr; } .finding-body > div { border-left: 0; border-top: 1px solid var(--line); } .finding-body > div:first-child { border-top: 0; } }

.cvss { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cvss form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.cvss fieldset { border: 0; padding: 12px 0; margin: 0; min-width: 0; border-top: 1px solid var(--line); }
.cvss legend { font-size: 0.92rem; font-weight: 600; padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.cvss legend + * { clear: both; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label {
  cursor: pointer; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 0.86rem; color: var(--muted); transition: background-color 0.2s, color 0.2s, border-color 0.2s; user-select: none;
}
.seg label:hover { border-color: var(--text); color: var(--text); }
.seg input:checked + label { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.seg input:focus-visible + label { outline: 2px solid var(--build); outline-offset: 2px; }
.score-panel { position: sticky; top: 90px; text-align: left; }
.score-panel .big { font-size: clamp(4.5rem, 10vw, 7.5rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.05em; font-stretch: 112%; margin: 6px 0 12px; font-variant-numeric: tabular-nums; transition: color 0.3s; }
.score-panel .rating { font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; }
.gauge { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--ok), var(--build) 45%, var(--break) 75%, #ff2e63); margin: 22px 0 8px; position: relative; }
.gauge i { position: absolute; top: 50%; left: calc(var(--score, 8.1) * 10%); width: 18px; height: 18px; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); transform: translate(-50%, -50%); transition: left 0.5s var(--ease); }
.gauge-scale { position: relative; height: 1.2em; font-family: var(--mono); font-size: 0.7rem; color: var(--dim); }
.gauge-scale span { position: absolute; top: 0; transform: translateX(-50%); }
.gauge-scale span:nth-child(1) { left: 0; transform: none; }
.gauge-scale span:nth-child(2) { left: 40%; }
.gauge-scale span:nth-child(3) { left: 70%; }
.gauge-scale span:nth-child(4) { left: 90%; }
.gauge-scale span:nth-child(5) { left: auto; right: 0; transform: none; }
.vector { margin-top: 22px; padding: 12px 14px; border-radius: 10px; background: #0c0c0f; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.78rem; overflow-wrap: anywhere; color: #cfcac1; }
.score-panel .copy-btn { margin-top: 12px; }
.sev-none { color: var(--muted); }
.sev-low { color: var(--ok); }
.sev-medium { color: var(--build); }
.sev-high { color: var(--break); }
.sev-critical { color: #ff2e63; }
@media (max-width: 980px) { .cvss { grid-template-columns: 1fr; } .score-panel { position: static; } }
@media (max-width: 560px) { .cvss form { grid-template-columns: 1fr; } }

.deliver { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.deliver li { background: var(--bg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 8px; align-content: start; transition: background-color 0.3s; }
.deliver li:hover { background: var(--panel); }
.deliver .num { font-family: var(--mono); font-size: 0.78rem; color: var(--break); }
.deliver b { font-size: 1.15rem; }
.deliver span { color: var(--muted); }
@media (max-width: 900px) { .deliver { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .deliver { grid-template-columns: 1fr; } }

.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.terms .card { padding: 24px; }
.terms dt { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--build); margin-bottom: 10px; }
.terms dd { margin: 0; color: #cfcac1; }
@media (max-width: 900px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; } }

/* ---------- Apps page ---------- */

.app-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 6vw, 88px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.app-row + .app-row { border-top: 1px solid var(--line); }
.app-row:nth-child(even) .app-info { order: 2; }
.app-icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 24px; }
.app-icon svg { width: 38px; height: 38px; }
.ai-sec { background: linear-gradient(140deg, #3b1510, #1c0c0b); color: var(--break); border: 1px solid rgba(255, 90, 67, 0.3); }
.ai-alg { background: linear-gradient(140deg, #3a2d0c, #1a150a); color: var(--build); border: 1px solid rgba(255, 194, 61, 0.3); }
.ai-bmi { background: linear-gradient(140deg, #0d3328, #0a1915); color: var(--ok); border: 1px solid rgba(62, 230, 181, 0.3); }
.app-name { font-size: clamp(2rem, 4.6vw, 3.6rem); text-transform: uppercase; line-height: 0.95; letter-spacing: -0.035em; font-stretch: 106%; }
.app-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.app-info > p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.plan { border: 1px solid rgba(224, 138, 102, 0.28); background: linear-gradient(160deg, rgba(224, 138, 102, 0.08), transparent 70%); border-radius: var(--r-sm); padding: 18px 20px; margin: 22px 0 26px; }
.plan-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 8px; }
.plan-h b { color: var(--clay); }
.plan p { margin: 0; color: #cfcac1; }
.play-btn { display: inline-flex; align-items: center; gap: 12px; }
.play-btn svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .app-row { grid-template-columns: 1fr; } .app-row:nth-child(even) .app-info { order: 0; } }

.phone {
  width: min(320px, 100%); margin-inline: auto; aspect-ratio: 9 / 17.5;
  border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #2a2a31, #141418);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative; transform: rotate(var(--tilt, -3deg)); transition: transform 0.6s var(--ease);
}
.app-row:nth-child(even) .phone { --tilt: 3deg; }
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone-screen { height: 100%; border-radius: 34px; background: #0b0b0e; overflow: hidden; display: flex; flex-direction: column; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 30px 16px 12px; border-bottom: 1px solid var(--line); }
.phone-top .av { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.phone-top .av svg { width: 16px; height: 16px; }
.phone-top b { font-size: 0.82rem; line-height: 1.2; display: block; }
.phone-top small { font-family: var(--mono); font-size: 0.62rem; color: var(--clay); }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 76px; height: 20px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.chat { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; font-size: 0.8rem; line-height: 1.45; overflow: hidden; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.msg.me { align-self: flex-end; background: var(--text); color: var(--bg); border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: #ddd8ce; }
.msg code { font-family: var(--mono); font-size: 0.72rem; color: var(--build); }
.msg .opt { display: block; margin-top: 6px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 0.74rem; }
.js .chat .msg { opacity: 0; transform: translateY(10px); }
.js .chat .msg.on { opacity: 1; transform: none; }
.phone-foot { padding: 10px 12px 18px; }
.phone-input { border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 14px; font-size: 0.72rem; color: var(--dim); }
.phone-cap { text-align: center; }

/* ---------- Claude page ---------- */

.uses { display: grid; gap: 14px; }
.use { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto; gap: 18px 32px; align-items: start; }
.use h3 { margin: 0; font-size: 1.2rem; }
.use .lbl { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.use .lbl-claude { color: var(--clay); }
.use .lbl-human { color: var(--ok); }
.use p { margin: 0; color: #cfcac1; font-size: 0.98rem; }
@media (max-width: 980px) { .use { grid-template-columns: 1fr 1fr; } .use h3 { grid-column: 1 / -1; } }
@media (max-width: 600px) { .use { grid-template-columns: 1fr; } }

.commit { list-style: none; padding: 0; counter-reset: c; display: grid; }
.commit li { counter-increment: c; display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.commit li:last-child { border-bottom: 1px solid var(--line); }
.commit li::before { content: counter(c, decimal-leading-zero); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1; color: var(--clay); font-stretch: 112%; letter-spacing: -0.04em; }
.commit h3 { margin: 0 0 6px; font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.commit p { margin: 0; color: var(--muted); max-width: 70ch; }
@media (max-width: 600px) { .commit li { grid-template-columns: 1fr; gap: 10px; } }

.guard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.guard .card { padding: 24px; }
.guard h3 { font-size: 1.1rem; margin-bottom: 8px; }
.guard p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 900px) { .guard { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */

.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.creds .card { display: flex; flex-direction: column; gap: 10px; }
.creds .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--build); }
.creds h3 { margin: 0; font-size: 1.3rem; }
.creds p { margin: 0; color: var(--muted); }
.creds .wide-card { grid-column: span 2; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font-weight: 600; }
.badge small { font-family: var(--mono); font-size: 0.68rem; color: var(--dim); font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; }
.badge svg { width: 18px; height: 18px; color: var(--build); }
.meter { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 8px; }
.meter span { display: block; height: 100%; width: 100%; background: repeating-linear-gradient(90deg, var(--clay) 0 10px, rgba(224, 138, 102, 0.4) 10px 14px); animation: slide 1.2s linear infinite; background-size: 28px 100%; }
@keyframes slide { to { background-position: 28px 0; } }
@media (max-width: 980px) { .creds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .creds { grid-template-columns: 1fr; } .creds .wide-card { grid-column: auto; } }

.monogram {
  aspect-ratio: 1; width: min(100%, 360px); margin-left: auto; border-radius: 32px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(255, 194, 61, 0.2), transparent 55%), radial-gradient(circle at 80% 90%, rgba(255, 90, 67, 0.22), transparent 55%), var(--panel);
  border: 1px solid var(--line-2); position: relative; overflow: hidden;
}
.monogram span { font-size: clamp(6rem, 16vw, 11rem); font-weight: 900; line-height: 1; letter-spacing: -0.06em; }
.monogram .t { font-stretch: 62%; color: var(--build); }
.monogram .p { font-stretch: 125%; color: var(--break); }

/* ---------- Prose (privacy, disclosure) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2em 0 0.6em; letter-spacing: -0.02em; font-stretch: 104%; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #d3cec5; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose a { color: var(--build); }
.prose .updated { font-family: var(--mono); font-size: 0.8rem; color: var(--dim); }
.toc { position: sticky; top: 96px; }
.toc p { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.toc ol { list-style: none; padding: 0; display: grid; gap: 4px; }
.toc a { color: var(--muted); text-decoration: none; display: block; padding: 4px 0 4px 14px; border-left: 1px solid var(--line); transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--text); border-color: var(--build); }
.doc-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .doc-grid { grid-template-columns: 1fr; } .toc { position: static; } }
.callout { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 18px 20px; background: var(--panel); margin: 0 0 1.4em; }
.callout p:last-child { margin: 0; }

/* ---------- 404 ---------- */

.nf { min-height: 72vh; display: grid; align-items: center; padding-block: 80px; }
.nf-code { font-size: clamp(7rem, 30vw, 22rem); font-weight: 900; line-height: 0.8; letter-spacing: -0.07em; margin: 0 0 24px; font-stretch: 62%; color: var(--break); }
.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .nf-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(56px, 8vw, 96px) 0 32px; }
.foot-top { display: grid; grid-template-columns: 1.2fr 1.5fr; gap: 48px; }
.foot-word { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; }
.fw-build { color: var(--build); font-stretch: 112%; }
.fw-slash { color: var(--dim); margin: 0 0.08em; font-weight: 300; }
.fw-break { color: var(--break); font-stretch: 62%; }
.foot-brand p:not(.foot-word) { color: var(--muted); max-width: 44ch; }
.foot-mail { font-weight: 700; font-size: 1.15rem; }
.foot-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-h { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.foot-nav ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--text); }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.foot-legal p { margin: 0; font-size: 0.85rem; color: var(--dim); }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .foot-nav { grid-template-columns: 1fr 1fr; } }

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack-lg > * + * { margin-top: clamp(40px, 6vw, 72px); }
.center { text-align: center; }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden="true"] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .glitch .g1, .glitch .g2, .pipe-link i, .orbit-dot { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media print {
  body::before, .site-head, .hero-canvas, .scroll-bar, .ticker, .site-foot .foot-nav { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
