/* About Ex10siv — ALIVE blue tokens */
:root {
  color-scheme: dark;
  --paper: #071329;
  --ink: #ECF2FF;
  --muted: #91A7C8;
  --accent: #6197FF;
  --ice: #8EBEFF;
  --accent-soft: #173467;
  --border: #243B60;
  --action: #326EF5;
  --surface: #0C1F3F;

  --sleep: #2A3F66;
  --awake: #8EBEFF;
  --wait: #F06A7E;
  --done: #3CCB9A;
  --blocked: #E2483D;

  --font: "Manrope", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, #0E2B59 0%, #091A36 45%, #071329 80%) no-repeat, var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 16px; background: var(--ink); color: var(--paper); padding: 8px 16px; z-index: 30; border-radius: 6px; }
.skip-link:focus { top: 10px; }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -0.035em; line-height: 1.1; }
h1 span { color: var(--ice); display: block; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1em; max-width: 64ch; }
h2 + p { margin-top: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.two-col { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr; }
.two-col > * { min-width: 0; }
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 6fr; align-items: start; } }

/* Buttons */
.btn, .btn-ghost, .pill {
  display: inline-flex; align-items: center; gap: .5em; text-decoration: none;
  font-weight: 600; font-size: .95rem; border-radius: 12px; padding: .8em 1.3em;
}
.btn { background: var(--action); color: #F3F7FF; border: 1px solid #4F86FF; }
.btn:hover { background: #4C89FF; }
.btn-ghost { border: 1px solid #4B72A9; color: var(--ink); background: #17376A55; }
.btn-ghost:hover { background: #2454A0A6; border-color: #7BAFF9; }
.pill { border-radius: 30px; padding: .55em 1.1em; font-size: .85rem; border: 1px solid #4B72A9; background: #17376A55; }
.pill:hover { background: #2454A0A6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  background: #071329E6; backdrop-filter: blur(12px);
  border-bottom: 1px solid #243B6080;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-word { font-size: 31px; line-height: 1; font-weight: 800; letter-spacing: -1.9px; color: #ECF2FF; }
.brand-ten { letter-spacing: -2.5px; }
.brand-dot { color: #72ACFF; padding-left: 1px; }
.brand-tag { font-size: .85rem; color: #8DA9D1; border-left: 1px solid #2B4264; padding-left: 14px; letter-spacing: .02em; }
.top-nav { display: none; gap: 26px; font-size: .9rem; color: #B2C6E6; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { color: var(--ink); }
@media (min-width: 980px) { .top-nav { display: flex; } }
@media (max-width: 420px) { .brand-tag { display: none; } .brand-word { font-size: 26px; } }

/* Hero */
.hero {
  display: grid; gap: 40px; max-width: 1440px; margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) 64px;
}
.hero > * { min-width: 0; }
@media (min-width: 1100px) { .hero { grid-template-columns: 5fr 7fr; align-items: center; } }
.lede { font-size: 1.12rem; color: #A9BCDC; margin-top: 24px; }

.swarm { margin: 0; background: #0A1B38; border: 1px solid var(--border); border-radius: 20px; padding: clamp(12px, 2vw, 26px); }
.swarm canvas { width: 100%; aspect-ratio: 16 / 9; }
.families { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--muted); }
.js .families { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.no-canvas canvas { display: none; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; margin-top: 16px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stat { border-top: 2px solid var(--c); padding-top: 8px; }
.stat span { display: block; font-size: .78rem; color: var(--muted); }
.stat strong { font-size: 1.55rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.s-awake { --c: var(--awake); } .s-proposed { --c: #4A6290; } .s-waiting { --c: var(--wait); }
.s-done { --c: var(--done); } .s-blocked { --c: var(--blocked); }
.note { font-size: .8rem; color: #7F96BA; margin: 14px 0 0; }

/* Bands */
.band { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid #243B6066; }
.band-deep { background: #0A1A35; }
.section-lede { font-size: 1.1rem; color: #A9BCDC; }
.source { font-size: .8rem; color: #7F96BA; margin-top: 28px; }

/* Market */
.market { display: grid; gap: 28px; margin: 48px 0 0; }
@media (min-width: 760px) { .market { grid-template-columns: repeat(3, 1fr); } }
.market div { border-top: 1px solid var(--border); padding-top: 18px; }
.market dt { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.04em; color: var(--ice); line-height: 1.1; }
.market dd { margin: 8px 0 0; color: #B6C7E2; }
.market cite { display: block; font-style: normal; font-size: .8rem; color: #7F96BA; margin-top: 4px; }

/* Problem */
.pressures { margin: 0; display: grid; gap: 24px; }
@media (min-width: 640px) { .pressures { grid-template-columns: 1fr 1fr; } }
.pressures dt { font-weight: 600; }
.pressures dd { margin: 4px 0 0; color: var(--muted); }
.flows { display: grid; gap: 14px; margin-top: 56px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 22px; border-radius: 16px; }
.flow-old { background: #0C1D3A; border: 1px dashed #34507C; color: var(--muted); }
.flow-new { background: var(--accent-soft); border: 1px solid #2F5A9E; }
.flow-name { font-weight: 600; min-width: 110px; }
.flow ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flow li { padding: 6px 14px; border-radius: 30px; font-weight: 500; font-size: .95rem; }
.flow-old li { border: 1px solid #2B4369; }
.flow-new li { background: #ffffff14; }
.flow-new li.human { background: var(--wait); color: #fff; }
.flow li:not(:last-child)::after { content: ""; display: inline-block; width: 16px; height: 1px; margin-left: 14px; vertical-align: middle; background: currentColor; opacity: .5; }

/* Platform steps (a real sequence) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 48px 0 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.steps li::before { content: "Step " counter(step); display: block; font-size: .82rem; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: #B6C7E2; margin: 0; }
.steps .rule { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 16px; }

.matrix-wrap { margin-top: 56px; overflow-x: auto; }
.matrix { width: 100%; min-width: 640px; border-collapse: collapse; }
.matrix caption { text-align: left; font-weight: 600; margin-bottom: 12px; }
.matrix th, .matrix td { padding: 12px 8px; border-bottom: 1px solid var(--border); text-align: center; }
.matrix thead th { font-size: .85rem; font-weight: 500; color: var(--muted); }
.matrix tbody th { text-align: left; font-weight: 600; }
.matrix tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.matrix i, .legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1.5px dashed #4A6290; vertical-align: middle; }
.matrix i.on, .legend i.on { background: var(--accent); border: 1.5px solid var(--accent); box-shadow: 0 0 12px #6197FF66; }
.legend { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.legend i:nth-of-type(2) { margin-left: 16px; }

/* Retail */
.areas { display: grid; gap: 1px; margin-top: 48px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
@media (min-width: 700px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.areas article { background: #0B1D3B; padding: 26px; }
.areas h3 { margin-bottom: 8px; }
.areas p { margin: 0; color: var(--muted); }
.film { margin: 56px 0 0; }
.film video { width: 100%; border-radius: 16px; border: 1px solid var(--border); background: #050E21; }
.film figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.value { margin-top: 56px; }
.value dl { display: grid; gap: 20px; margin: 20px 0 0; }
@media (min-width: 760px) { .value dl { grid-template-columns: repeat(4, 1fr); } }
.value dl div { border-left: 2px solid var(--accent); padding-left: 14px; }
.value dt { font-weight: 600; }
.value dd { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }

/* Control */
.checks { padding-left: 1.2em; margin: 24px 0 0; color: #B6C7E2; }
.checks li { margin-bottom: 10px; }
.autonomy { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: clamp(20px, 3vw, 34px); }
.autonomy-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.autonomy-label output { font-size: 1.6rem; color: var(--ice); }
.autonomy input[type=range] { width: 100%; margin-top: 16px; accent-color: var(--action); }
.ladder { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.autonomy-desc { margin-top: 20px; min-height: 3.4em; color: #C9D7EE; }
.pipeline { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pipeline li { text-align: center; font-size: .8rem; font-weight: 600; padding: 10px 2px; border-radius: 9px; background: #12284C; color: var(--muted); transition: background .3s, color .3s; }
.pipeline li.agent { background: #2459A4; color: #fff; }
.pipeline li.human { background: var(--wait); color: #fff; }
@media (max-width: 480px) { .pipeline li { font-size: .66rem; } }
.key { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.key .k-agent { background: #2459A4; }
.key .k-human { background: var(--wait); margin-left: 12px; }

/* Model */
.roadmap-tag { display: inline-block; font-size: .82rem; font-weight: 600; padding: 4px 12px; border-radius: 30px; border: 1px solid var(--accent); color: var(--ice); }
.moe-grid { display: grid; grid-template-columns: repeat(32, 1fr); gap: 3px; }
.moe-grid span { aspect-ratio: 1; border-radius: 50%; background: var(--sleep); transition: background .25s, box-shadow .25s; }
.moe-grid span.lit { background: var(--ice); box-shadow: 0 0 8px #8EBEFF; }
.moe-figure { margin-top: 20px; color: #B6C7E2; }
.moe-figure strong { font-size: 2.4rem; font-weight: 600; color: var(--ice); margin-right: 6px; letter-spacing: -0.03em; }
.benefits { display: grid; gap: 28px; margin-top: 56px; }
@media (min-width: 800px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefits h3 { margin-bottom: 6px; }
.benefits p { color: var(--muted); margin: 0; }

/* Vision */
.band-vision { background: radial-gradient(ellipse at 80% 20%, #1C3F86 0%, #0D2350 45%, #071329 85%); }
.horizon { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 32px; }
@media (min-width: 900px) { .horizon { grid-template-columns: repeat(3, 1fr); } }
.horizon li { border-top: 1px solid #3C639A; padding-top: 18px; }
.horizon li:last-child { border-top: 2px solid var(--ice); }
.horizon h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 10px; }
.horizon p { color: #B6C7E2; }

/* Team */
.team { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(4, 1fr); } }
.initials { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 1.3rem; color: var(--ice); background: var(--accent-soft); border: 1px solid #2F5A9E; margin-bottom: 16px; }
.team .role { color: var(--accent); font-weight: 600; margin: 4px 0 8px; font-size: .92rem; }
.team p { font-size: .93rem; color: #B6C7E2; }
.team a { font-weight: 600; color: var(--ice); }

/* Transcript */
.transcript { list-style: none; padding: 0; margin: 0; }
.transcript li { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid #243B6088; color: #B6C7E2; }
.transcript li:last-child { border: 0; }
.transcript time { font-size: .8rem; color: var(--accent); padding-top: 2px; font-variant-numeric: tabular-nums; }
.text-link { color: var(--ice); font-weight: 600; }

/* CTA */
.cta { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid #243B6066; text-align: left; }
.cta p { color: #A9BCDC; font-size: 1.1rem; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px var(--gutter) 40px; font-size: .8rem; color: #7F96BA; border-top: 1px solid #243B6066; }
.foot a { color: #9CB6DD; text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
