:root {
  color-scheme: dark;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #060907;
  color: #f2f7f3;
  --green: #91ff9f;
  --muted: #95a097;
  --line: #26342a;
  --panel: #0c120e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #060907; overflow-x: hidden; }
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(#12201655 1px, transparent 1px),
    linear-gradient(90deg, #12201655 1px, transparent 1px),
    radial-gradient(circle at 70% 0%, #26533055, transparent 28%);
  background-size: 64px 64px, 64px 64px, auto;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo { font-weight: 900; letter-spacing: -.04em; }
.logo i { color: var(--green); font-style: normal; }
.nav nav { display: flex; gap: 30px; color: #bbc4bd; font-size: 14px; }
.nav nav a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-link { color: #aeb8b0; font-size: 12px; font-weight: 700; }
.lang-link:hover { color: var(--green); }
.nav-cta { padding: 10px 15px; border: 1px solid #416048; border-radius: 999px; font-size: 13px; }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 480px);
  align-items: center;
  gap: 52px;
  padding-block: 90px;
}

.eyebrow { margin: 0; color: var(--green); font: 800 11px ui-monospace, SFMono-Regular, monospace; letter-spacing: .18em; }
.hero h1 { margin: 26px 0 22px; font-size: clamp(72px, 9vw, 132px); line-height: 1; letter-spacing: -.05em; }
.hero h1 span, .hero h1 em { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.hero h1 em { margin-top: .12em; }
.lang-en .hero h1 { font-size: clamp(50px, 5.6vw, 82px); letter-spacing: -.06em; }
.lang-zh .hero h1 { font-size: clamp(64px, 7vw, 100px); }
h1 em, h2 em { color: var(--green); font-style: normal; }
.hero-thesis { margin: 0 0 22px; color: #e2e9e4; font-size: clamp(20px, 2vw, 27px); font-weight: 650; letter-spacing: -.025em; }
.hero-thesis span, .hero-thesis strong { white-space: nowrap; }
.hero-thesis strong { color: var(--green); font-weight: 750; }
.lede { max-width: 700px; margin: 0; color: #adb8b0; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.button { padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 750; }
.button.primary { background: var(--green); border-color: var(--green); color: #071009; }
.button.ghost:hover { border-color: var(--green); }
.technical-promise { margin: 25px 0 0; color: #728077; font: 700 11px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.loop-promise { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 0; color: #e7f3e9; font-size: 16px; font-weight: 800; }
.loop-promise strong { padding: 9px 12px; border: 1px solid #45604c; border-radius: 999px; background: #0b140e; }
.loop-promise strong:last-child { border-color: #3d6670; color: #75e8f2; }
.loop-promise i { color: var(--green); font-style: normal; }

.surface-demo { overflow: hidden; border: 1px solid #3a5140; border-radius: 18px; background: #080d09; box-shadow: 0 35px 100px #000a; }
.surface-bar { min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line); font: 750 10px ui-monospace, monospace; letter-spacing: .1em; }
.surface-bar b { color: var(--green); }
.surface-bar span { color: #667169; }
.surface-canvas { position: relative; min-height: 360px; overflow: hidden; background: radial-gradient(circle at 72% 22%, #315c3a66, transparent 30%), linear-gradient(#13201855 1px, transparent 1px), linear-gradient(90deg, #13201855 1px, transparent 1px), #060907; background-size: auto, 42px 42px, 42px 42px, auto; }
.artifact-card { position: absolute; left: 16%; right: 12%; top: 34%; padding: 24px; border: 1px solid #57705d; border-radius: 12px; background: #0c140fdd; box-shadow: 0 20px 50px #0008; }
.artifact-card small, .artifact-card strong, .artifact-card span { display: block; }
.artifact-card small { color: var(--green); font: 750 9px ui-monospace, monospace; letter-spacing: .12em; }
.artifact-card strong { margin: 14px 0 8px; font-size: 24px; letter-spacing: -.04em; }
.artifact-card span { color: #7f8c82; font-size: 12px; }
.cursor { --cursor: #91ff9f; position: absolute; display: grid; grid-template-columns: 18px auto; align-items: center; column-gap: 5px; color: var(--cursor); filter: drop-shadow(0 3px 6px #000); }
.cursor i { grid-row: 1 / 3; width: 16px; height: 22px; background: currentColor; clip-path: polygon(0 0, 100% 70%, 57% 72%, 38% 100%); transform: rotate(-18deg); }
.cursor b { padding: 4px 6px; border-radius: 4px; background: var(--cursor); color: #071009; font: 800 9px ui-monospace, monospace; letter-spacing: .05em; }
.cursor span { color: #d5ddd7; font: 650 9px ui-monospace, monospace; }
.cursor-a { --cursor: #69d8ff; left: 8%; top: 15%; }
.cursor-b { --cursor: #d1a1ff; right: 4%; top: 14%; }
.cursor-c { --cursor: #ffca67; right: 3%; bottom: 13%; }
.cursor-human { --cursor: #fff; left: 8%; bottom: 12%; }
.surface-events { display: grid; gap: 0; }
.surface-events span { padding: 10px 15px; border-top: 1px solid #1d2920; color: #8e9a90; font: 650 10px ui-monospace, monospace; }
.surface-events b { display: inline-block; width: 75px; color: #d8e3da; }

.hero-aside { display: grid; grid-template-columns: 40px 1fr; border-top: 1px solid var(--line); }
.hero-aside span, .hero-aside p { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
.hero-aside span { color: var(--green); font: 700 11px ui-monospace, monospace; }
.hero-aside p { color: #c9d0cb; font-size: 14px; }

.surface, .verified-runs, .loops, .film, .cases, .how { padding-block: 110px; }
.film-head, .section-title { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 38px; }
.film h2, .section-title h2, .proof h2 { margin: 12px 0 0; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.06em; }
.film-head > p, .section-title > p, .proof-intro > p { margin: 0; color: var(--muted); line-height: 1.75; }
.player-frame { position: relative; overflow: hidden; border: 1px solid #385040; border-radius: 18px; background: #020403; box-shadow: 0 30px 90px #0009; }
.player-frame video { display: block; width: 100%; aspect-ratio: 16/9; }
.player-frame > span { position: absolute; top: 14px; right: 14px; padding: 7px 9px; border: 1px solid #3a4d3f; border-radius: 999px; background: #050806cc; color: #aeb9b0; font: 700 9px ui-monospace, monospace; letter-spacing: .1em; pointer-events: none; }

.verified-runs { border-top: 1px solid var(--line); }
.verified-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.verified-run { overflow: hidden; border: 1px solid #3d5845; border-radius: 18px; background: linear-gradient(145deg, #0e1711, #080c09); box-shadow: 0 30px 90px #0008; }
.verified-media { position: relative; background: #020403; }
.verified-media video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #020403; }
.verified-media > span { position: absolute; top: 14px; right: 14px; padding: 7px 9px; border: 1px solid #45604c; border-radius: 999px; background: #050806e8; color: #d6e3d9; font: 700 9px ui-monospace, monospace; letter-spacing: .08em; pointer-events: none; }
.verified-copy { padding: 28px; }
.verified-copy small { color: var(--green); font: 800 10px ui-monospace, monospace; letter-spacing: .14em; }
.verified-copy h3 { margin: 14px 0 14px; font-size: 32px; line-height: 1.1; letter-spacing: -.045em; }
.verified-copy p { margin: 0; color: var(--muted); line-height: 1.7; }
.verified-copy p b { color: #65e5f1; }
.framework-copy h2 { margin: 14px 0 24px; font-size: clamp(42px, 5vw, 70px); line-height: 1; letter-spacing: -.055em; }
.framework-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.75; }
.run-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.run-stats b { padding: 8px 10px; border: 1px solid #38513f; border-radius: 999px; color: #b8c4bb; font: 750 10px ui-monospace, monospace; letter-spacing: .04em; }

.loops { border-top: 1px solid var(--line); }
.loops-intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 38px; }
.loops-intro h2 { margin: 12px 0 0; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.06em; }
.loops-intro > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.loop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.loop-card { padding: 30px; border: 1px solid #3d5845; border-radius: 18px; background: linear-gradient(145deg, #0e1711, #080c09); }
.loop-card.ai-loop { border-color: #33545c; background: radial-gradient(circle at 90% 5%, #16414a66, transparent 32%), #080d0e; }
.loop-card header { min-height: 180px; }
.loop-card small { color: var(--green); font: 800 11px ui-monospace, monospace; letter-spacing: .12em; }
.loop-card.ai-loop small, .loop-card.ai-loop h3 { color: #75e8f2; }
.loop-card h3 { margin: 18px 0 12px; font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: -.05em; }
.loop-card header p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.loop-card ol { margin: 10px 0 28px; padding: 0; list-style: none; }
.loop-card li { display: grid; grid-template-columns: 105px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.loop-card li b { color: #dce7de; font: 800 12px ui-monospace, monospace; letter-spacing: .08em; }
.loop-card li span { color: #aeb9b0; font-size: 16px; line-height: 1.55; }
.loop-card code { color: #8ee553; font-size: .86em; }
.loop-result { display: block; padding-top: 22px; border-top: 1px solid #45604c; color: var(--green); font: 800 12px ui-monospace, monospace; letter-spacing: .1em; }
.ai-loop .loop-result { border-color: #33545c; color: #75e8f2; }

.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-grid article { min-height: 250px; padding: 25px; border: 1px solid var(--line); border-right: 0; background: #080d09aa; }
.signal-grid article:last-child { border-right: 1px solid var(--line); }
.signal-grid b { color: var(--green); font: 800 10px ui-monospace, monospace; letter-spacing: .14em; }
.signal-grid h3 { margin: 65px 0 12px; font-size: 26px; letter-spacing: -.04em; }
.signal-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.benchmark { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; padding-block: 110px; border-block: 1px solid var(--line); }
.benchmark-copy h2 { margin: 14px 0 24px; font-size: clamp(42px, 5vw, 70px); line-height: 1; letter-spacing: -.055em; }
.benchmark-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.benchmark-copy small { display: block; margin-top: 24px; color: #748077; line-height: 1.6; }
.benchmark-table { border: 1px solid #334538; border-radius: 15px; overflow: hidden; background: #080d09; }
.benchmark-row { display: grid; grid-template-columns: 1.45fr .7fr .8fr 1.1fr .9fr; align-items: center; min-height: 66px; padding-inline: 18px; border-top: 1px solid var(--line); }
.benchmark-row:first-child { border-top: 0; }
.benchmark-row b { font: 800 11px ui-monospace, monospace; letter-spacing: .06em; }
.benchmark-row span { color: #c7d0c9; font-size: 13px; text-align: center; }
.benchmark-row span:first-child { text-align: left; }
.benchmark-head { min-height: 42px; background: #101711; }
.benchmark-head span { color: #748077; font: 750 8px ui-monospace, monospace; letter-spacing: .08em; }
.benchmark-row.warn { background: #2a160b99; }
.benchmark-row.warn b { color: #ffb36b; }
.benchmark-row.good { background: #17321d99; }
.benchmark-row.good b { color: var(--green); }

.proof { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding-block: 110px; border-block: 1px solid var(--line); }
.proof-intro > p:last-child { margin-top: 25px; }
.proof-flow { margin: 0; padding: 0; list-style: none; counter-reset: proof; }
.proof-flow li { display: grid; grid-template-columns: 100px 1fr; gap: 30px; padding: 24px 0; border-top: 1px solid var(--line); }
.proof-flow li:last-child { border-bottom: 1px solid var(--line); }
.proof-flow b { color: var(--green); font: 800 12px ui-monospace, monospace; letter-spacing: .14em; }
.proof-flow span { color: #bcc5be; }

.case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.case { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #0e1510, #090d0a); }
.case-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr .75fr; }
.case-media { position: relative; width: 100%; padding: 0; border: 0; overflow: hidden; background: #050806; cursor: pointer; }
.case-media img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 600ms, filter 600ms; }
.case-media span { position: absolute; left: 18px; bottom: 18px; padding: 10px 13px; border-radius: 999px; background: #ecfff0; color: #071009; font-size: 12px; font-weight: 800; }
.case-media:hover img { transform: scale(1.025); filter: brightness(.7); }
.case-copy { padding: 28px; }
.case-copy small { color: var(--green); font: 800 10px ui-monospace, monospace; letter-spacing: .14em; }
.case-copy h3 { margin: 13px 0 12px; font-size: 29px; line-height: 1.15; letter-spacing: -.04em; }
.case-copy p { margin: 0; color: var(--muted); line-height: 1.7; }
.case-copy ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.case-copy li { padding: 7px 9px; border: 1px solid #34463a; border-radius: 999px; color: #bec8c0; font: 700 10px ui-monospace, monospace; }

.agent-framework { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; margin-block: 40px 100px; padding: 72px; border: 1px solid #3b5542; border-radius: 20px; background: radial-gradient(circle at 82% 15%, #235b5266, transparent 34%), #0b110d; }
.framework-flow { margin: 0; padding: 0; list-style: none; }
.framework-flow li { display: grid; grid-template-columns: 86px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid #304238; }
.framework-flow li:last-child { border-bottom: 1px solid #304238; }
.framework-flow b { color: #65e5f1; font: 800 11px ui-monospace, monospace; letter-spacing: .12em; }
.framework-flow span { color: #c0cac2; line-height: 1.5; }

.how { border-top: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.how-grid article { min-height: 260px; padding: 24px; border: 1px solid var(--line); border-right: 0; }
.how-grid article:last-child { border-right: 1px solid var(--line); }
.how-grid span { color: var(--green); font: 800 11px ui-monospace, monospace; }
.how-grid h3 { margin: 68px 0 12px; font-size: 28px; letter-spacing: -.04em; }
.how-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.build-proof { margin-block: 90px; padding: 72px; border: 1px solid #3b5542; border-radius: 20px; background: radial-gradient(circle at 80% 20%, #34714366, transparent 34%), #0b110d; }
.build-proof h2 { max-width: 880px; margin: 16px 0; font-size: clamp(42px, 6vw, 82px); line-height: 1; letter-spacing: -.055em; }
.build-proof > p:not(.eyebrow) { max-width: 760px; color: #afbbb1; font-size: 18px; line-height: 1.7; }
.receipts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.receipts span { padding: 9px 11px; border: 1px solid #45604c; border-radius: 999px; font: 700 10px ui-monospace, monospace; }

.closing { margin-block: 80px; padding: 90px; border-radius: 22px; background: radial-gradient(circle at 80% 20%, #34714377, transparent 33%), #0b110d; border: 1px solid #354a3b; }
.closing h2 { margin: 18px 0 24px; font-size: clamp(62px, 7.5vw, 104px); line-height: 1; letter-spacing: -.045em; }
.closing h2 span, .closing h2 em { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.closing h2 em { margin-top: .12em; }
.lang-en .closing h2 { font-size: clamp(54px, 6.8vw, 90px); letter-spacing: -.055em; }
.closing > p:not(.eyebrow) { max-width: 650px; color: #aeb8b0; font-size: 18px; line-height: 1.7; }
.platforms { display: flex; gap: 10px; margin-top: 32px; }
.platforms span { padding: 10px 13px; border: 1px solid #45604c; border-radius: 999px; color: #d8e6db; font: 700 10px ui-monospace, monospace; letter-spacing: .08em; }

footer { min-height: 110px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer span { text-align: right; }

dialog { width: min(1100px, calc(100% - 40px)); padding: 42px 18px 18px; border: 1px solid #3b5141; border-radius: 18px; background: #080c09; color: #fff; box-shadow: 0 40px 120px #000; }
dialog::backdrop { background: #020403dd; backdrop-filter: blur(10px); }
dialog video { display: block; width: 100%; margin-top: 12px; border-radius: 10px; background: #000; }
.dialog-close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #19231c; cursor: pointer; }

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 640px); }
  .nav nav { display: none; }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); gap: 55px; padding-block: 80px; }
  .hero h1 { font-size: clamp(58px, 16vw, 90px); letter-spacing: -.045em; }
  .lang-en .hero h1 { font-size: clamp(42px, 11.5vw, 76px); letter-spacing: -.055em; }
  .hero h1 span, .hero h1 em, .closing h2 span, .closing h2 em { width: auto; white-space: normal; }
  .hero-thesis { max-width: 14em; font-size: 20px; line-height: 1.5; }
  .hero-thesis span, .hero-thesis strong { display: block; }
  .lang-en .hero-thesis { max-width: 19em; }
  .lang-en .closing h2 { font-size: clamp(32px, 9vw, 52px); }
  .lang-zh .closing h2 { font-size: clamp(40px, 11vw, 62px); }
  .surface, .verified-runs, .loops, .film, .cases, .how { padding-block: 78px; }
  .film-head, .section-title, .loops-intro, .proof, .benchmark, .agent-framework { grid-template-columns: 1fr; gap: 28px; }
  .verified-grid, .loop-grid { grid-template-columns: 1fr; }
  .proof { padding-block: 80px; }
  .benchmark { padding-block: 80px; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal-grid article:nth-child(2) { border-right: 1px solid var(--line); }
  .case-list { grid-template-columns: 1fr; }
  .case-wide { grid-column: auto; display: block; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-grid article:nth-child(2) { border-right: 1px solid var(--line); }
  .agent-framework, .build-proof, .closing { padding: 54px 26px; }
  .platforms { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 520px) {
  .nav-cta { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .surface-canvas { min-height: 330px; }
  .artifact-card { left: 8%; right: 8%; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid article { border-right: 1px solid var(--line); }
  .run-stats { align-items: flex-start; flex-direction: column; }
  .loop-card { padding: 24px; }
  .loop-card header { min-height: 0; margin-bottom: 28px; }
  .loop-card li { grid-template-columns: 78px 1fr; gap: 12px; }
  .benchmark-head { display: none; }
  .benchmark-row { grid-template-columns: 1fr 1fr; gap: 9px 18px; min-height: 0; padding: 16px; }
  .benchmark-row b { grid-column: 1 / -1; margin-bottom: 4px; }
  .benchmark-row span { display: grid; grid-template-columns: 1fr auto; gap: 8px; text-align: right; font-size: 12px; }
  .benchmark-row span::before { color: #748077; font: 700 8px ui-monospace, monospace; letter-spacing: .06em; text-align: left; }
  .benchmark-row span:nth-of-type(1)::before { content: "TIME"; }
  .benchmark-row span:nth-of-type(2)::before { content: "COLLISIONS"; }
  .benchmark-row span:nth-of-type(3)::before { content: "HUMAN OVERWRITE"; }
  .benchmark-row span:nth-of-type(4)::before { content: "FRESH REVIEW"; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid article { border-right: 1px solid var(--line); }
  .framework-flow li { grid-template-columns: 70px 1fr; gap: 12px; }
}
