:root {
  color-scheme: dark;
  --ink-950: #090b0a;
  --ink-925: #0c0f0d;
  --ink-900: #101410;
  --text: #f2f5ed;
  --muted: #aab2a5;
  --quiet: #99a293;
  --lime: #cfed01;
  --lime-soft: #e5f56a;
  --line: #2b322b;
  --control-line: #697364;
  --danger: #ffb4a8;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --side: clamp(20px, 5vw, 64px);
  --section-space: clamp(64px, 7vw, 104px);
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--ink-950); }
body { margin: 0; color: var(--text); background: var(--ink-950); font: 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .25em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
svg { flex: 0 0 auto; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1, h2 { font-weight: 650; letter-spacing: -.055em; }
h2 { font-size: clamp(2.3rem, 4vw, 3.5rem); }
.shell { width: min(100%, calc(1200px + var(--side) * 2)); margin-inline: auto; padding-inline: var(--side); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
#main-content:focus { outline: none; }
::selection { background: var(--lime); color: var(--ink-950); }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 12px; padding: 12px 18px; background: var(--lime); color: var(--ink-950); transform: translateY(-160%); border-radius: 6px; font-weight: 650; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--ink-950); }
.header-inner { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.15rem; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #323c20; border-radius: 50%; background: #141909; }
.brand img { display: block; object-fit: contain; }
.brand-period, .accent { color: var(--lime); }
.header-nav { display: flex; align-items: center; gap: 32px; font-size: .85rem; }
.nav-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); text-decoration: none; }
.nav-link:hover, .text-link:hover { color: var(--lime-soft); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 24px; padding: 12px 22px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 650; line-height: 1.35; transition: background-color 160ms, border-color 160ms; }
.button span { font-size: 1.1rem; line-height: 1; }
.button-primary { color: var(--ink-950); background: var(--lime); border-color: var(--lime); }
.button-primary:hover { background: var(--lime-soft); border-color: var(--lime-soft); }
.button-primary:active { background: #bad500; }
.button-quiet { color: var(--text); background: #111610; border-color: #424b3d; }
.button-quiet:hover { background: #1d2515; border-color: #7c8c54; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); align-items: center; column-gap: clamp(40px, 6vw, 80px); padding-top: clamp(60px, 7vw, 100px); }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: radial-gradient(ellipse at 85% 45%, #cfed0108, transparent 60%); }
.eyebrow, .kicker, .direction-index, .stage-chrome, .map-node > span, .map-foundation > span, .stage-footer, .hero-footnote { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .07em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; color: var(--muted); text-transform: uppercase; }
.status-dot { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
h1 { font-size: clamp(3.1rem, 5.6vw, 5.15rem); line-height: 1.03; }
h1 > span { display: block; color: var(--lime-soft); }
.hero-summary { max-width: 49ch; margin-top: 28px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.text-link { display: inline-flex; min-height: 48px; align-items: center; gap: 12px; font-size: .88rem; font-weight: 550; text-decoration: none; }
.product-signals { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: .8rem; }
.product-signals span { margin-right: 8px; color: var(--lime); font: .65rem var(--font-mono); }
.product-stage { overflow: hidden; border: 1px solid #3b4535; border-radius: 20px; background: linear-gradient(145deg, #171d1290, #0d110dc0); }
.stage-chrome { display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); color: var(--quiet); font-size: .57rem; }
.stage-canvas { position: relative; aspect-ratio: 480 / 380; background-image: linear-gradient(#28302030 1px, transparent 1px), linear-gradient(90deg, #28302030 1px, transparent 1px); background-size: 32px 32px; }
.branch-map { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #9cb733; stroke-width: 1; }
.branch-map .branch-root { stroke: #465d35; }
.branch-map .branch { stroke-dasharray: 5 6; }
.branch-map circle { fill: var(--lime); stroke: none; }
.map-node { position: absolute; z-index: 2; min-width: 115px; padding: 12px 14px; border: 1px solid #3b4535; border-radius: 8px; background: #0e130d; }
.map-node > span, .map-foundation > span { display: block; color: var(--lime); font-size: .53rem; }
.map-node strong, .map-foundation strong { display: block; margin-top: 5px; font-size: .69rem; font-weight: 550; }
.node-app { top: 23%; left: 4%; }
.node-game { top: 5%; left: 50%; transform: translateX(-50%); }
.node-ai { top: 23%; right: 4%; }
.tree-core { position: absolute; display: grid; top: 40%; left: 50%; width: 25%; aspect-ratio: 1; transform: translateX(-50%); place-items: center; border: 1px solid #657d1b; border-radius: 50%; background: #0c110a; box-shadow: 0 0 0 13px #cfed0106, 0 0 0 14px #cfed0117; }
.tree-core img { width: 70%; height: auto; }
.map-foundation { position: absolute; bottom: 9%; left: 50%; transform: translateX(-50%); text-align: center; padding: 8px 14px; border: 1px solid #3b4535; border-radius: 6px; background: #0e130d; white-space: nowrap; }
.stage-footer { display: flex; align-items: center; gap: 9px; padding: 16px 20px; border-top: 1px solid var(--line); font-size: .56rem; color: var(--muted); letter-spacing: .015em; }
.stage-footer .status-dot { width: 4px; height: 4px; }
.hero-footnote { display: flex; justify-content: space-between; gap: 24px; grid-column: 1 / -1; padding-block: 46px 26px; color: var(--quiet); font-size: .59rem; }
.directions { padding-block: var(--section-space); border-top: 1px solid var(--line); }
.directions, .support-section { scroll-margin-top: calc(24px - var(--section-space)); }
.section-heading { display: grid; grid-template-columns: 1fr 1.65fr; gap: 48px; margin-bottom: 48px; }
.kicker { display: flex; align-items: center; gap: 16px; color: var(--lime); text-transform: uppercase; }
.kicker > span { color: var(--quiet); }
.direction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.direction-card { padding: 28px; border-right: 1px solid var(--line); background: linear-gradient(145deg, #141a1270, #0e120d20); }
.direction-card:last-child { border: 0; }
.direction-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 40px; color: var(--lime); }
.direction-index { color: var(--quiet); font-size: .63rem; }
.direction-top svg { width: 23px; height: 23px; }
.direction-card h3 { margin-bottom: 14px; font-size: 1.22rem; font-weight: 550; letter-spacing: -.025em; }
.direction-card p { max-width: 35ch; font-size: .9rem; line-height: 1.75; color: var(--muted); }
.support-section { padding-block: var(--section-space); border-top: 1px solid var(--line); background: linear-gradient(135deg, #11170e, var(--ink-950) 60%); }
.support-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(48px, 8vw, 112px); }
.support-intro { padding-top: 8px; }
.support-intro h2 { margin-top: 28px; font-size: clamp(2.75rem, 4vw, 3.5rem); }
.support-intro > p:not(.kicker) { max-width: 34ch; margin-top: 24px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.support-guidance { display: grid; gap: 26px; max-width: 365px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.guidance-item { display: flex; align-items: flex-start; gap: 14px; }
.guidance-item > svg { width: 20px; height: 20px; color: var(--quiet); }
.guidance-item h3 { font-size: .85rem; font-weight: 550; line-height: 1.5; letter-spacing: -.01em; }
.guidance-item p { margin-top: 6px; font-size: .83rem; line-height: 1.7; color: var(--muted); }
.support-panel { min-width: 0; padding: clamp(24px, 3vw, 36px); border: 1px solid #3b4535; border-radius: 20px; background: linear-gradient(145deg, #171e13, #101510 70%); box-shadow: 0 16px 48px #0000001a; }
.panel-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.panel-heading h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.03em; }
.panel-heading p { color: var(--muted); font-size: .72rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { min-width: 0; margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: .82rem; font-weight: 550; color: #dce2d5; }
.field input, .field textarea { display: block; width: 100%; border: 1px solid var(--control-line); border-radius: 7px; background: #0d120c; color: var(--text); caret-color: var(--lime); font-size: .9rem; transition: border-color 150ms; }
.field input { min-height: 48px; padding: 11px 14px; }
.field textarea { min-height: 150px; padding: 12px 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { opacity: 1; color: #9aa492; }
.field input:hover, .field textarea:hover { border-color: #8a967f; }
.field input:focus, .field textarea:focus { border-color: var(--lime); outline: 1px solid var(--lime); outline-offset: 1px; }
.field input.invalid, .field textarea.invalid { border-color: var(--danger); }
.field-hint { margin-top: 9px; font-size: .7rem; line-height: 1.6; color: var(--muted); }
.validation-message, .validation-summary { color: var(--danger); font-size: .83rem; }
.validation-message { margin-top: 7px; }
.validation-summary:empty { display: none; }
.validation-summary ul { padding-left: 20px; margin: 0 0 24px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.form-actions { padding-top: 4px; }
.form-actions .button { width: 100%; justify-content: space-between; }
.form-actions > p { display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; color: var(--muted); font-size: .71rem; line-height: 1.6; }
.form-actions svg { width: 15px; height: 15px; margin-top: 2px; }
.form-notice { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; padding: 18px; border: 1px solid #596c29; border-radius: 8px; background: #0c120a; font-size: .9rem; }
.form-notice p { margin-top: 7px; color: var(--muted); }
.form-success { min-height: 220px; align-items: center; margin-bottom: 0; }
.form-success > span { display: grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--ink-950); background: var(--lime); }
.form-error { border-color: #a76b60; color: var(--danger); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; min-height: 108px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .75rem; }
.brand-small { color: var(--text); font-size: 1rem; }
.footer-signature { margin-right: auto; padding-left: 22px; border-left: 1px solid var(--line); }
.error-page { display: flex; max-width: 900px; min-height: 100vh; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding-block: 80px; }
.error-page h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.error-page p { color: var(--muted); }
#blazor-error-ui { display: none; }
@media (max-width: 1100px) {
  .hero { column-gap: 32px; }
  .map-node { min-width: 95px; padding: 9px; }
  .map-node strong { font-size: .59rem; }
  .stage-chrome { padding-inline: 14px; font-size: .5rem; }
  .support-grid { gap: 48px; }
  .direction-card { padding: 24px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 660px; }
  h1 { font-size: clamp(3.25rem, 8vw, 4.75rem); }
  .product-stage { width: min(100%, 480px); margin: 48px auto 0; }
  .map-node { min-width: 115px; padding: 12px 14px; }
  .map-node strong { font-size: .69rem; }
  .stage-chrome { padding: 18px 22px; font-size: .57rem; }
  .support-grid { grid-template-columns: 1fr; gap: 36px; }
  .support-intro > p:not(.kicker) { max-width: 50ch; }
  .support-guidance { grid-template-columns: 1fr 1fr; max-width: none; gap: 32px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px; }
  .direction-top { margin-bottom: 22px; }
  .direction-card p { max-width: 58ch; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 88px; }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand { gap: 8px; font-size: 1rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark img { width: 26px; height: 26px; }
  .nav-link { display: none; }
  .header-nav .button { min-height: 44px; padding: 10px 12px; gap: 9px; font-size: .72rem; }
  .hero { padding-top: 52px; }
  .eyebrow { font-size: .58rem; letter-spacing: .045em; align-items: baseline; gap: 8px; }
  h1 { font-size: clamp(2.55rem, 10.5vw, 3.8rem); }
  .hero-summary { font-size: .95rem; }
  .hero-actions { gap: 22px; }
  .hero-actions .button { gap: 16px; padding-inline: 17px; font-size: .82rem; }
  .text-link { font-size: .8rem; gap: 8px; }
  .product-signals { gap: 12px; font-size: .75rem; }
  .product-signals span { margin-right: 4px; }
  .hero-footnote { padding-top: 30px; font-size: .53rem; }
  .hero-footnote > span:last-child { display: none; }
  .map-node { min-width: 92px; padding: 8px; }
  .map-node > span { font-size: .48rem; }
  .map-node strong { font-size: .56rem; }
  .node-app, .node-ai { top: 30%; }
  .stage-chrome { padding: 15px; font-size: .49rem; }
  .stage-footer { padding: 14px; font-size: .5rem; }
  .map-foundation { padding: 5px 10px; bottom: 5%; }
  .map-foundation > span { font-size: .47rem; }
  .map-foundation strong { font-size: .62rem; }
  .support-intro h2 { font-size: 2.65rem; }
  .support-intro h2 br { display: initial; }
  .support-guidance { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; padding-top: 24px; }
  .support-panel { padding: 24px 20px; border-radius: 14px; }
  .panel-heading { padding-bottom: 20px; margin-bottom: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field input, .field textarea { font-size: 1rem; }
  .form-actions > p { font-size: .72rem; }
  .footer-inner { padding-block: 30px; gap: 18px; }
  .footer-signature { order: 3; width: 100%; border: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
  .button, .field input, .field textarea, .support-panel, .map-node, .tree-core { border-color: ButtonText; }
}
