:root {
  --ink: #191a20;
  --ink-2: #22232b;
  --ink-3: #2b2d36;
  --paper: #fff4e8;
  --coral: #ff5a4f;
  --coral-hot: #ff766d;
  --mint: #6ce0a0;
  --muted: #a5a6ad;
  --line: rgba(255, 244, 232, 0.14);
  --grid: rgba(255, 244, 232, 0.045);
  --max: 1240px;
  --radius: 26px;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; color: var(--paper); background: var(--ink); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
::selection { color: var(--ink); background: var(--coral); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; color: var(--ink); background: var(--paper); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.site-header { position: fixed; z-index: 100; top: 18px; left: 50%; display: flex; width: min(1180px, calc(100% - 40px)); height: 64px; align-items: center; justify-content: space-between; padding: 0 18px; border: 1px solid transparent; border-radius: 18px; transform: translateX(-50%); transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(25,26,32,.84); box-shadow: 0 14px 40px rgba(0,0,0,.2); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 780; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 650; }
.site-nav a { color: rgba(255,244,232,.7); text-decoration: none; transition: color .2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--paper); }
.menu-button { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--ink-2); }
.menu-button span:not(.sr-only) { display: block; width: 17px; height: 1px; margin: 5px auto; background: var(--paper); }

.hero { display: grid; min-height: 900px; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(36px, 7vw, 100px); padding-top: 118px; padding-bottom: 90px; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--coral-hot); font-family: var(--mono); font-size: .74rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: rgba(255,244,232,.76); letter-spacing: .04em; text-transform: none; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(108,224,160,.1); }
.hero h1 { max-width: 740px; margin: 0; font-size: clamp(3.6rem, 7vw, 6.9rem); font-weight: 800; letter-spacing: -.075em; line-height: .88; }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-lede { max-width: 640px; margin: 34px 0 0; color: rgba(255,244,232,.68); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.hero-actions, .start-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid var(--line); border-radius: 13px; font-size: .9rem; font-weight: 750; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); border-color: var(--coral); background: var(--coral); box-shadow: 0 12px 34px rgba(255,90,79,.2); }
.button-primary:hover { background: var(--coral-hot); }
.button-quiet { background: rgba(255,244,232,.045); }
.button-quiet:hover { border-color: rgba(255,244,232,.3); background: rgba(255,244,232,.08); }
.button-pixel { width: 8px; height: 8px; border: 2px solid var(--paper); }
.hero-stats { display: flex; gap: 34px; margin: 54px 0 0; }
.hero-stats div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 7px; }
.hero-stats dt { font-family: var(--mono); font-size: 1.28rem; font-weight: 750; }
.hero-stats dd { margin: 0; color: var(--muted); font-size: .75rem; }

.hero-stage { position: relative; min-height: 630px; overflow: hidden; border: 1px solid var(--line); border-radius: 42px; background: #15161b; box-shadow: 0 35px 90px rgba(0,0,0,.32); isolation: isolate; }
.stage-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg,var(--grid) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, black, transparent 92%); }
.hero-stage::after { position: absolute; right: -18%; bottom: -35%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,90,79,.1); filter: blur(80px); content: ""; }
.stage-label { position: absolute; z-index: 2; color: rgba(255,244,232,.5); font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.stage-label-top { top: 28px; left: 30px; }
.stage-label-bottom { right: 28px; bottom: 27px; color: var(--mint); }
.hero-icon-wrap { position: absolute; top: 50%; left: 50%; width: min(68%, 420px); transform: translate(-50%,-55%); }
.hero-icon { position: relative; z-index: 2; width: 100%; border-radius: 22%; filter: drop-shadow(0 28px 38px rgba(0,0,0,.28)); animation: icon-float 6s ease-in-out infinite; }
.hero-icon-halo { position: absolute; inset: 12%; border-radius: 28%; background: var(--coral); opacity: .2; filter: blur(55px); }
.gate-orbit { position: absolute; z-index: 3; top: 37%; right: -6%; width: 22%; aspect-ratio: 1; border: 1px solid rgba(255,90,79,.45); border-radius: 50%; animation: orbit 10s linear infinite; }
.gate-orbit span { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 3px; background: var(--coral); }
.hero-rail { position: absolute; bottom: 86px; left: 30px; display: flex; width: 44%; align-items: center; }
.hero-rail span { display: block; height: 7px; background: var(--paper); }
.rail-source { width: 43%; }
.rail-gate { width: 30px; height: 30px !important; margin: 0 -2px; border: 7px solid var(--coral); background: transparent !important; }
.rail-output { width: 37%; }
.size-stack { position: absolute; top: 26px; right: 28px; display: flex; min-height: 64px; align-items: end; gap: 12px; }
.size-stack img { border-radius: 20%; box-shadow: 0 8px 18px rgba(0,0,0,.25); image-rendering: pixelated; }
@keyframes icon-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes orbit { to { transform: rotate(360deg); } }

.problem-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.problem-grid { display: grid; grid-template-columns: .7fr 1.25fr 1fr 1.2fr; align-items: center; gap: 34px; padding-block: 72px; }
.problem-grid .section-kicker { margin: 0; }
.problem-grid h2 { margin: 0; font-size: clamp(2rem, 3.3vw, 3.35rem); line-height: 1; letter-spacing: -.06em; }
.problem-grid > p:not(.section-kicker) { margin: 0; color: rgba(25,26,32,.66); }
.problem-sizes { display: flex; min-height: 140px; align-items: end; justify-content: end; gap: 16px; }
.problem-sizes figure { display: grid; min-width: 30px; justify-items: center; gap: 9px; margin: 0; }
.problem-sizes img { border-radius: 20%; box-shadow: 0 9px 28px rgba(25,26,32,.14); image-rendering: pixelated; }
.problem-sizes figcaption { color: rgba(25,26,32,.5); font-family: var(--mono); font-size: .65rem; }
.problem-small { padding: 8px; border: 1px solid rgba(25,26,32,.16); border-radius: 10px; }

.proof-section, .styles-section, .start-section { padding-block: 140px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 70px; align-items: end; margin-bottom: 56px; }
.section-heading .section-kicker { grid-column: 1 / -1; margin-bottom: -8px; }
.section-heading h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .96; letter-spacing: -.065em; }
.section-heading h2 span { color: rgba(255,244,232,.34); }
.section-heading > p:last-child { max-width: 520px; justify-self: end; margin: 0 0 5px; color: rgba(255,244,232,.62); }

.proof-lab { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #131419; box-shadow: 0 30px 90px rgba(0,0,0,.26); }
.proof-toolbar { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.proof-toolbar fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.proof-toolbar legend { margin-bottom: 9px; color: var(--muted); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.segmented { display: flex; min-width: 0; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: #0f1014; }
.segmented button { flex: 1; min-width: 0; padding: 7px 9px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-family: var(--mono); font-size: .7rem; cursor: pointer; }
.segmented button.is-active { color: var(--ink); background: var(--paper); }
.surface-buttons { display: flex; gap: 10px; }
.surface-buttons button { width: 32px; height: 32px; border: 2px solid transparent; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); cursor: pointer; }
.surface-buttons button.is-active { border-color: var(--coral); }
.surface-dark { background: #111217; }.surface-light { background: #fff; }.surface-gray { background: #8f9092; }.surface-coral { background: #ff8a80; }
.proof-workbench { display: grid; grid-template-columns: 1fr 340px; min-height: 510px; transition: background .2s; }
.proof-workbench[data-surface="dark"] { background: #101116; }.proof-workbench[data-surface="light"] { background: #fff; }.proof-workbench[data-surface="gray"] { background: #8f9092; }.proof-workbench[data-surface="coral"] { background: #ff8a80; }
.proof-canvas { display: grid; min-width: 0; grid-template-columns: .72fr 1.28fr; gap: 1px; background: rgba(128,128,128,.22); }
.actual-panel, .zoom-panel { position: relative; display: grid; min-height: 510px; place-items: center; background: inherit; }
.panel-label { position: absolute; top: 18px; left: 20px; padding: 5px 8px; border-radius: 5px; color: #a8a9af; background: rgba(15,16,20,.85); font-family: var(--mono); font-size: .62rem; text-transform: uppercase; }
.actual-stage { display: grid; width: 190px; height: 190px; place-items: center; outline: 1px dashed rgba(128,128,128,.4); outline-offset: 10px; }
.actual-stage[data-crop="circle"] img { border-radius: 50%; clip-path: circle(50%); }
.actual-stage[data-crop="rounded"] img { border-radius: 28%; clip-path: inset(0 round 28%); }
.actual-stage img { max-width: none; image-rendering: pixelated; }
.measurement { position: absolute; bottom: 22px; color: #74767e; font-family: var(--mono); font-size: .68rem; }
.zoom-grid { display: grid; width: min(74%, 320px); aspect-ratio: 1; place-items: center; border: 1px solid rgba(128,128,128,.3); background-image: linear-gradient(rgba(128,128,128,.12) 1px, transparent 1px), linear-gradient(90deg,rgba(128,128,128,.12) 1px, transparent 1px); background-size: 16px 16px; }
.zoom-grid img { width: 80%; height: 80%; object-fit: contain; image-rendering: pixelated; }
.pixel-verdict { position: absolute; bottom: 21px; color: #74767e; font-family: var(--mono); font-size: .64rem; }
.pixel-verdict span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--mint); }
.receipt-panel { padding: 24px; border-left: 1px solid var(--line); background: #1c1d24; }
.receipt-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.receipt-heading p { margin: 0; font-size: .84rem; font-weight: 750; }
.source-toggle { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .64rem; cursor: pointer; }
.source-toggle input { position: absolute; opacity: 0; }
.source-toggle span { position: relative; width: 28px; height: 16px; border-radius: 999px; background: #3b3c45; transition: background .2s; }
.source-toggle span::after { position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); content: ""; transition: transform .2s; }
.source-toggle input:checked + span { background: var(--coral); }
.source-toggle input:checked + span::after { transform: translateX(12px); }
.receipt-status { display: flex; align-items: center; gap: 12px; margin: 24px 0; padding: 15px; border: 1px solid rgba(108,224,160,.28); border-radius: 12px; background: rgba(108,224,160,.08); }
.receipt-status.is-stale { border-color: rgba(255,90,79,.35); background: rgba(255,90,79,.09); }
.receipt-icon { width: 12px; height: 12px; flex: 0 0 auto; border: 3px solid var(--mint); border-radius: 3px; }
.is-stale .receipt-icon { border-color: var(--coral); transform: rotate(12deg); }
.receipt-status strong, .receipt-status small { display: block; }
.receipt-status strong { font-size: .75rem; }.receipt-status small { margin-top: 2px; color: var(--muted); font-size: .65rem; }
.receipt-scores { margin: 0; }
.receipt-scores div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .72rem; }
.receipt-scores dt { color: var(--muted); }.receipt-scores dd { margin: 0; font-family: var(--mono); }
.receipt-hash { display: flex; justify-content: space-between; margin-top: 22px; color: var(--muted); font-family: var(--mono); font-size: .64rem; }

.flow-section { position: relative; padding-block: 140px; border-block: 1px solid var(--line); background: #15161b; }
.flow-section::before { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg,var(--grid) 1px, transparent 1px); background-size: 48px 48px; content: ""; pointer-events: none; }
.flow-section .section-shell { position: relative; }
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); list-style: none; overflow: hidden; }
.flow-steps li { display: grid; min-height: 220px; grid-template-columns: 50px 1fr; gap: 22px; padding: 32px; background: #191a20; }
.flow-steps li > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--coral); font-family: var(--mono); font-size: .7rem; }
.flow-steps h3 { margin: 5px 0 10px; font-size: 1.3rem; letter-spacing: -.03em; }
.flow-steps p { margin: 0; color: var(--muted); font-size: .88rem; }

.worlds-section { position: relative; padding-block: 150px; border-bottom: 1px solid var(--line); overflow: hidden; }
.worlds-section::before { position: absolute; top: -260px; left: 50%; width: 920px; height: 520px; border-radius: 50%; background: rgba(255,90,79,.09); filter: blur(110px); content: ""; transform: translateX(-50%); pointer-events: none; }
.worlds-section .section-shell { position: relative; }
.axis-note { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--line); overflow: hidden; }
.axis-note > div { display: grid; grid-template-columns: 140px 160px 1fr; align-items: center; gap: 18px; padding: 22px 24px; background: #15161b; }
.axis-note span { color: var(--coral); font-family: var(--mono); font-size: .65rem; letter-spacing: .07em; text-transform: uppercase; }
.axis-note strong { font-size: .92rem; }
.axis-note p { margin: 0; color: var(--muted); font-size: .76rem; }
.world-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.world-card { position: relative; display: grid; min-height: 560px; grid-template-rows: auto 1fr auto; grid-column: span 4; padding: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: #20212a; box-shadow: 0 24px 60px rgba(0,0,0,.18); overflow: hidden; isolation: isolate; }
.world-card::before { position: absolute; z-index: -1; top: -24%; right: -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.1); filter: blur(42px); content: ""; }
.world-knot { grid-column: span 7; color: #fff4e8; background: #251d32; }
.world-cat { grid-column: span 5; color: #2a2432; border-color: rgba(42,36,50,.12); background: #cfe6e1; }
.world-dog { color: #252731; border-color: rgba(37,39,49,.12); background: #fff4e8; }
.world-koi { color: #172933; border-color: rgba(23,41,51,.12); background: #e8e3d4; }
.world-hero { color: #20232c; border-color: rgba(32,35,44,.12); background: #f4eada; }
.world-sky { color: #202027; border-color: rgba(32,32,39,.12); background: #f2e7d2; }
.world-coop { color: #f7fbff; background: #151927; }
.world-forest { color: #202126; border-color: rgba(32,33,38,.12); background: #e7c58e; }
.world-helm { grid-column: span 12; color: #f4f6fa; background: #11151e; }
.world-wide { min-height: 470px; grid-template-columns: .84fr 1.16fr; grid-template-rows: 1fr auto; gap: 24px 56px; }
.world-wide .world-copy { align-self: center; }
.world-wide .world-visual { grid-row: 1; grid-column: 2; }
.world-wide footer { grid-column: 1 / -1; }
.world-copy { position: relative; z-index: 2; }
.world-number { font-family: var(--mono); font-size: .65rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; opacity: .64; }
.world-card h3 { margin: 13px 0 14px; font-size: clamp(2rem, 3.4vw, 3.7rem); line-height: .92; letter-spacing: -.065em; }
.world-card:not(.world-wide) h3 { font-size: clamp(1.9rem, 2.7vw, 2.75rem); }
.world-card p { max-width: 560px; margin: 0; font-size: .9rem; opacity: .72; }
.world-device { display: inline-flex; margin-top: 20px; padding: 7px 10px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--mono); font-size: .61rem; opacity: .68; }
.world-visual { display: grid; min-height: 230px; place-items: center; }
.world-icon { width: min(74%, 340px); max-height: 340px; filter: drop-shadow(0 24px 30px rgba(0,0,0,.2)); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.world-card:hover .world-icon { transform: translateY(-7px) rotate(1.5deg) scale(1.025); }
.world-wide .world-icon { width: min(62%, 360px); }
.world-card footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid currentColor; font-family: var(--mono); font-size: .63rem; opacity: .68; }
.world-card footer > span:last-child { display: flex; gap: 15px; }
.world-card footer a { text-underline-offset: 4px; }
.world-card footer a:hover { opacity: .65; }
.world-pixel { display: inline-flex; align-items: center; gap: 8px; }
.world-pixel img { max-width: none; border-radius: 3px; image-rendering: pixelated; }

.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.style-card { position: relative; display: grid; min-height: 240px; grid-template-columns: 42% 1fr; align-items: center; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #1c1d24; transition: transform .25s, border-color .25s, background .25s; overflow: hidden; }
.style-card:hover { border-color: rgba(255,90,79,.45); background: #202129; transform: translateY(-5px); }
.style-card::after { position: absolute; top: -40px; left: -30px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,90,79,.07); filter: blur(30px); content: ""; }
.style-card img { position: relative; z-index: 1; width: 100%; border-radius: 20%; filter: drop-shadow(0 16px 18px rgba(0,0,0,.24)); }
.style-card span, .evidence-card figcaption > span, .evidence-receipt > div:last-child > span { color: var(--coral); font-family: var(--mono); font-size: .61rem; letter-spacing: .06em; text-transform: uppercase; }
.style-card h3 { margin: 7px 0; font-size: 1.3rem; letter-spacing: -.035em; }
.style-card p { margin: 0; color: var(--muted); font-size: .76rem; }
.styles-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.styles-footer p { max-width: 760px; margin: 0; color: var(--muted); font-size: .83rem; }
.text-button { flex: 0 0 auto; padding: 0; border: 0; border-bottom: 1px solid var(--coral); color: var(--paper); background: none; font-size: .83rem; font-weight: 750; cursor: pointer; }

.evidence-section { padding-block: 140px; border-block: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.evidence-section .section-heading h2 span { color: rgba(25,26,32,.34); }
.evidence-section .section-kicker { color: var(--coral); }
.evidence-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.evidence-card { margin: 0; overflow: hidden; border: 1px solid rgba(25,26,32,.13); border-radius: 22px; background: #f8eee3; }
.evidence-wide { grid-column: 1 / -1; }
.evidence-image { overflow: hidden; background: var(--ink); }
.evidence-image img { width: 100%; transition: transform .5s; }
.evidence-card:hover .evidence-image img { transform: scale(1.012); }
.evidence-wide .evidence-image { aspect-ratio: 2.25; }
.evidence-wide .evidence-image img { height: 100%; object-fit: cover; object-position: top; }
.evidence-review { height: 500px; }
.evidence-review img { width: 100%; height: auto; }
.evidence-card figcaption, .evidence-receipt > div:last-child { padding: 24px 26px 28px; }
.evidence-card h3 { margin: 7px 0; font-size: 1.35rem; letter-spacing: -.035em; }
.evidence-card p { margin: 0; color: rgba(25,26,32,.62); font-size: .84rem; }
.evidence-receipt { display: flex; min-height: 500px; flex-direction: column; padding: 22px; color: var(--paper); background: var(--ink); }
.terminal-dots { display: flex; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.terminal-dots span { width: 9px; height: 9px; border-radius: 50%; background: #555761; }.terminal-dots span:first-child { background: var(--coral); }.terminal-dots span:last-child { background: var(--mint); }
.evidence-receipt pre { flex: 1; margin: 26px 5px; color: rgba(255,244,232,.83); font-family: var(--mono); font-size: clamp(.72rem, 1.3vw, .9rem); line-height: 1.8; white-space: pre-wrap; }
.evidence-receipt > div:last-child { padding: 0 5px 6px; }
.evidence-receipt p { color: var(--muted); }

.start-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: clamp(36px, 6vw, 72px); border: 1px solid var(--line); border-radius: 30px; background: #15161b; overflow: hidden; }
.start-card::before { position: absolute; top: -120px; left: -100px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,90,79,.12); filter: blur(90px); content: ""; }
.start-card > * { position: relative; }
.start-card h2 { margin: 0; font-size: clamp(2.6rem, 4.5vw, 4.6rem); line-height: .95; letter-spacing: -.065em; }
.start-card > div:first-child > p:not(.section-kicker) { color: var(--muted); }
.install-terminal { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: #0f1014; box-shadow: 0 24px 60px rgba(0,0,0,.3); overflow: hidden; }
.terminal-bar { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 13px; border-bottom: 1px solid var(--line); }
.terminal-bar span { width: 8px; height: 8px; border-radius: 50%; background: #454751; }.terminal-bar span:first-child { background: var(--coral); }
.terminal-bar p { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: .58rem; }
.install-terminal pre { margin: 0; padding: 28px 24px 32px; overflow-x: auto; color: rgba(255,244,232,.8); font-family: var(--mono); font-size: .73rem; line-height: 1.8; }
.copy-button { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #1b1c22; font-family: var(--mono); font-size: .62rem; cursor: pointer; }
.copy-button:hover { color: var(--paper); }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 38px; padding-block: 42px 55px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; }.footer-brand img { border-radius: 10px; }.footer-brand strong,.footer-brand span { display: block; }.footer-brand strong { color: var(--paper); font-size: .9rem; }.footer-brand span { font-size: .68rem; }
.site-footer p { margin: 0; }.site-footer nav { display: flex; gap: 20px; }.site-footer nav a { text-decoration: none; }.site-footer nav a:hover { color: var(--paper); }

.gallery-dialog { width: min(1320px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 24px; color: var(--paper); background: #14151a; box-shadow: 0 40px 120px rgba(0,0,0,.65); }
.gallery-dialog::backdrop { background: rgba(8,9,12,.78); backdrop-filter: blur(10px); }
.gallery-dialog form { position: sticky; z-index: 2; top: 0; display: flex; justify-content: end; padding: 16px; background: linear-gradient(#14151a 70%, transparent); }
.gallery-dialog form button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #202129; cursor: pointer; }
.gallery-dialog > div { padding: 0 22px 28px; }.gallery-dialog h2 { margin: 0 0 22px; font-size: 2rem; }.gallery-dialog img { width: 100%; border: 1px solid var(--line); border-radius: 14px; }

.not-found { display: grid; min-height: 100vh; place-items: center; text-align: center; }
.not-found img { margin: 0 auto 28px; border-radius: 20px; }
.not-found h1 { margin: 0 0 22px; font-size: clamp(3rem,10vw,7rem); line-height: .9; letter-spacing: -.07em; }
.not-found > div > p:not(.section-kicker) { margin-bottom: 30px; color: var(--muted); }

.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 820px; }
  .hero-stage { min-height: 620px; }
  .problem-grid { grid-template-columns: 1fr 1.5fr; }.problem-sizes { justify-content: start; }.problem-grid > p:not(.section-kicker) { max-width: 560px; }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-workbench { grid-template-columns: 1fr 300px; }.proof-canvas { grid-template-columns: 1fr; }.actual-panel { min-height: 240px; }.zoom-panel { min-height: 330px; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .axis-note > div { grid-template-columns: 110px 130px 1fr; }
  .world-knot, .world-cat, .world-dog, .world-koi, .world-hero, .world-sky, .world-coop, .world-forest { grid-column: span 6; }
  .world-wide { min-height: 520px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 30px, var(--max)); }
  .site-header { top: 10px; width: calc(100% - 20px); }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 70px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(25,26,32,.97); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
  .site-nav.is-open { display: flex; }.site-nav a { padding: 12px; }
  .hero { gap: 48px; padding-top: 120px; padding-bottom: 70px; }.hero h1 { font-size: clamp(3.2rem, 16vw, 5.4rem); }.hero-lede { margin-top: 26px; }.hero-stats { gap: 18px; flex-wrap: wrap; }.hero-stats div { min-width: 120px; }
  .hero-stage { min-height: 500px; border-radius: 28px; }.hero-icon-wrap { width: 72%; }.stage-label-bottom { right: 18px; bottom: 18px; }.hero-rail { bottom: 65px; left: 18px; }.size-stack { right: 18px; }
  .problem-grid { grid-template-columns: 1fr; padding-block: 62px; }.problem-sizes { justify-content: center; overflow: hidden; }
  .proof-section, .styles-section, .start-section, .flow-section, .worlds-section, .evidence-section { padding-block: 95px; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 40px; }.section-heading .section-kicker { grid-column: auto; }.section-heading > p:last-child { justify-self: start; }
  .proof-toolbar { grid-template-columns: 1fr; }.proof-workbench { grid-template-columns: 1fr; }.proof-canvas { grid-template-columns: 1fr; }.receipt-panel { border-top: 1px solid var(--line); border-left: 0; }
  .zoom-grid { width: 250px; }.pixel-verdict { padding-inline: 14px; text-align: center; }
  .flow-steps { grid-template-columns: 1fr; }.flow-steps li { min-height: 180px; }
  .axis-note { grid-template-columns: 1fr; }.axis-note > div { grid-template-columns: 1fr; gap: 6px; padding: 20px; }.axis-note strong { order: -1; font-size: 1.05rem; }
  .world-grid { grid-template-columns: 1fr; }.world-knot, .world-cat, .world-dog, .world-koi, .world-hero, .world-sky, .world-coop, .world-forest, .world-helm { grid-column: auto; }.world-card, .world-wide { min-height: 540px; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding: 24px; }.world-wide .world-visual { grid-row: auto; grid-column: auto; }.world-wide footer { grid-column: auto; }.world-card h3, .world-card:not(.world-wide) h3 { font-size: 2.6rem; }
  .style-grid { grid-template-columns: 1fr; }.style-card { min-height: 210px; }.styles-footer { align-items: start; flex-direction: column; }
  .evidence-grid { grid-template-columns: 1fr; }.evidence-wide { grid-column: auto; }.evidence-wide .evidence-image { aspect-ratio: 1.4; }.evidence-wide .evidence-image img { object-position: left top; }.evidence-review { height: 420px; }
  .start-card { grid-template-columns: 1fr; gap: 40px; padding: 34px 22px; }.install-terminal pre { font-size: .62rem; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; }.site-footer nav { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 3.25rem; }.hero-stage { min-height: 420px; }.stage-label-bottom { font-size: .55rem; }.size-stack img:first-child { display: none; }
  .problem-sizes { gap: 10px; transform: scale(.9); transform-origin: left center; }
  .proof-toolbar { padding: 16px 12px; }.segmented button { padding-inline: 5px; font-size: .62rem; }.proof-lab { border-radius: 18px; }.actual-stage { width: 150px; height: 150px; }
  .style-card { grid-template-columns: 38% 1fr; padding: 16px; }.style-card h3 { font-size: 1.15rem; }
  .world-card, .world-wide { min-height: 500px; padding: 20px; border-radius: 22px; }.world-card h3, .world-card:not(.world-wide) h3 { font-size: 2.25rem; }.world-card footer { align-items: flex-start; flex-direction: column; }.world-visual { min-height: 200px; }
}

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