/* ===========================================================================
   Asayl AI Platform — product page
   Asayl tokens (cream paper, ink, one teal accent, amber for states only).
   Structure: a single framed column drawn with hairlines; every section is a
   set of square cells. Visual vocabulary: consoles, traces, receipts, the box.
   =========================================================================== */

:root {
  --paper:      #F4F1EA;
  --paper-2:    #EEEAE0;
  --white:      #FCFBF7;
  --ink:        #1A1A1A;
  --ink-soft:   #3A3A36;
  --muted:      #6B6B63;
  --line:       #D8D3C7;
  --line-soft:  #E4DFD4;
  --teal:       #1B9E8F;
  --teal-deep:  #157E72;
  --amber:      #D9A441;
  --amber-deep: #9A6A1E;

  --frame: 1320px;
  --pad: clamp(20px, 3vw, 40px);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); line-height: 1.55; font-size: 16px; overflow-x: hidden; }
a { color: inherit; }
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.teal { color: var(--teal); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* the frame: one column drawn with hairlines, like an engineering sheet */
.frame { max-width: var(--frame); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); position: relative; }
main.frame > section { border-top: 1px solid var(--line); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: .98; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.04; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.1; }

.kicker, .crumb, .rail-title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker { display: block; margin-bottom: 1.1rem; }
.kicker::before { content: "■ "; color: var(--teal); font-size: .6rem; vertical-align: 1px; }

/* ---------- Buttons: square, engineered ---------- */
.btn { font-family: var(--font-display); font-weight: 500; font-size: .95rem; display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.2rem; border: 1px solid transparent; border-radius: 2px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--white); color: var(--ink); }
.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow, .nav-cta:hover .arrow { transform: translateX(3px); }

/* ---------- Nav: a row of cells ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: stretch; height: 56px; }
.nav-cell { display: flex; align-items: center; padding: 0 1.1rem; border-right: 1px solid var(--line); text-decoration: none; color: var(--ink-soft); font-size: .9rem; transition: background .2s, color .2s; }
.nav-links { display: flex; }
.nav-links .nav-cell:hover { background: var(--paper-2); color: var(--ink); }
.wordmark { gap: .7rem; color: var(--ink); padding-left: var(--pad); padding-right: 1.4rem; }
.brand-logo { width: 66px; height: 22px; display: block; color: currentColor; }
.product-badge { font-size: .76rem; font-weight: 600; color: var(--muted); padding-left: .7rem; border-left: 1px solid var(--line); }
.nav-right { margin-left: auto; display: flex; }
.nav-right .nav-cell { border-right: 0; border-left: 1px solid var(--line); }
.lang { background: none; border: 0; font-family: var(--font-mono); font-size: .78rem; cursor: pointer; color: var(--muted); }
.lang:hover { color: var(--ink); background: var(--paper-2); }
.nav-cta { background: var(--ink); color: var(--white) !important; font-family: var(--font-display); font-weight: 500; gap: .5rem; padding: 0 1.3rem; }
.nav-cta:hover { background: var(--teal-deep); }

/* ===================== HERO ===================== */
.hero-head { padding: clamp(40px, 6vw, 88px) var(--pad) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.hero-head h1 { margin-top: 1.2rem; }
.hero-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.hero-side { padding: clamp(24px, 3vw, 40px) var(--pad); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.8rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft); line-height: 1.5; max-width: 34ch; }
.cta-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.hero-machine { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .3rem; }
.hero-machine .k { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hero-machine .mono { font-size: .88rem; color: var(--ink); }

/* console: the product itself, large */
.console { margin: clamp(16px, 2vw, 28px); background: var(--white); border: 1px solid var(--ink); display: flex; flex-direction: column; box-shadow: 10px 10px 0 var(--paper-2); }
.console-bar { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.console-brand { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: var(--muted); }
.console-brand .brand-logo { width: 52px; height: 17px; color: var(--ink); }
.console-brand span { padding-left: .6rem; border-left: 1px solid var(--line); }
.console-health { display: inline-flex; align-items: center; gap: .45rem; font-size: .76rem; color: var(--muted); font-family: var(--font-mono); }
.console-health i { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 22%, transparent); }
.console-body { display: grid; grid-template-columns: 172px minmax(0, 1fr) minmax(0, 1fr); flex: 1; min-height: 400px; }
.console-rail { padding: 1rem .8rem; border-right: 1px solid var(--line); background: var(--paper); }
.console-rail ul { list-style: none; margin-top: .8rem; display: grid; gap: 2px; }
.console-rail li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .84rem; padding: .4rem .5rem; color: var(--ink-soft); }
.console-rail li.on { background: color-mix(in srgb, var(--teal) 10%, transparent); color: var(--ink); box-shadow: inset 2px 0 0 var(--teal); }

.st { font-family: var(--font-mono); font-weight: 500; font-size: .62rem; letter-spacing: .06em; padding: .12rem .4rem; border-radius: 2px; white-space: nowrap; }
.st.live { color: var(--teal-deep); background: color-mix(in srgb, var(--teal) 13%, transparent); }
.st.beta { color: var(--amber-deep); background: color-mix(in srgb, var(--amber) 18%, transparent); }

.console-run { padding: 1rem 1.2rem; border-right: 1px solid var(--line); }
.run-head { display: flex; flex-direction: column; padding-bottom: .8rem; border-bottom: 1px dashed var(--line); }
.run-kicker { font-size: .68rem; color: var(--muted); }
.run-head strong { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.run-steps { list-style: none; margin-top: .8rem; }
.run-steps li { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; padding: .38rem 0; position: relative; opacity: .35; transition: opacity .4s var(--ease); }
.run-steps li::before { content: ""; position: absolute; left: 9.5px; top: 1.6rem; bottom: -.5rem; width: 1px; background: var(--line); }
.run-steps li:last-child::before { display: none; }
.run-steps i { width: 20px; height: 20px; border: 1.5px solid var(--line); background: var(--white); position: relative; z-index: 1; margin-top: .1rem; transition: all .3s var(--ease); }
.run-steps li > div { display: flex; flex-direction: column; line-height: 1.3; }
.run-steps li .mono { font-size: .84rem; }
.run-steps small { font-size: .76rem; color: var(--muted); }
.run-steps .gate-ok { display: none; }
.run-steps li.is-active, .run-steps li.is-done, .run-steps li.is-wait { opacity: 1; }
.run-steps li.is-active i { border-color: var(--teal); animation: blink 1s steps(2) infinite; }
.run-steps li.is-done i { background: var(--teal); border-color: var(--teal); }
.run-steps li.is-done i::after { content: ""; position: absolute; left: 5.5px; top: 2px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.run-steps li.is-wait i { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 25%, var(--white)); animation: blink 1s steps(2) infinite; }
.run-steps li.is-wait .gate-wait { color: var(--amber-deep); font-weight: 500; }
.run-steps li.gate.is-done .gate-wait { display: none; }
.run-steps li.gate.is-done .gate-ok { display: inline; color: var(--teal-deep); font-weight: 500; }
@keyframes blink { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 18%, transparent); } }

.console-out { padding: 1rem 1.2rem; background: var(--paper); position: relative; }
.console-out .out { position: absolute; inset: 2.6rem 1.2rem 1.2rem; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; display: flex; flex-direction: column; justify-content: center; }
.console-out .out.on { opacity: 1; transform: none; }

/* output fragments — shared by the console and the walkthrough stages */
.o-file, .st-doc { display: flex; align-items: center; gap: .9rem; background: var(--white); border: 1px solid var(--line); padding: .9rem 1rem; }
.o-file div, .st-doc div { display: flex; flex-direction: column; }
.o-file small, .st-doc small { color: var(--muted); font-size: .78rem; }
.o-file-ico { font-family: var(--font-mono); font-size: .66rem; font-weight: 500; color: var(--white); background: var(--ink); width: 36px; height: 44px; display: grid; place-items: center; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); flex: 0 0 auto; }
.o-text { display: flex; flex-wrap: wrap; gap: .45rem .4rem; align-items: center; background: var(--white); border: 1px solid var(--line); padding: 1rem; }
.o-text i { display: block; height: 7px; width: var(--w); background: var(--line-soft); }
.o-text span { font-family: var(--font-mono); font-size: .74rem; color: var(--teal-deep); background: color-mix(in srgb, var(--teal) 12%, transparent); padding: .1rem .35rem; }
.o-bars { display: grid; gap: .8rem; background: var(--white); border: 1px solid var(--line); padding: 1rem; }
.o-bars div { display: grid; grid-template-columns: 1fr auto; gap: .3rem .8rem; align-items: center; }
.o-bars span { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-soft); }
.o-bars em { font-style: normal; font-family: var(--font-mono); font-size: .8rem; color: var(--ink); grid-row: 1; grid-column: 2; }
.o-bars b { grid-column: 1 / -1; height: 8px; background: var(--line-soft); position: relative; overflow: hidden; }
.o-bars b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--teal); }
.o-bars b.warn::after { background: var(--amber); }
.o-quote { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.4; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal); padding: 1rem; }
.o-src { display: block; margin-top: .5rem; font-family: var(--font-mono); font-size: .7rem; color: var(--muted); }
.o-approve { display: flex; flex-direction: column; gap: .9rem; background: color-mix(in srgb, var(--amber) 12%, var(--white)); border: 1px solid var(--amber); padding: 1rem; }
.o-approve strong { font-family: var(--font-display); font-weight: 500; font-size: .98rem; }
.o-btns { display: flex; gap: .5rem; }
.o-btns em { font-style: normal; font-family: var(--font-display); font-size: .82rem; padding: .45rem .8rem; border: 1px solid var(--ink-soft); }
.o-btns em.yes { background: var(--ink); color: var(--white); border-color: var(--ink); }
.o-done { display: flex; flex-direction: column; gap: .5rem; background: var(--white); border: 1px solid var(--teal); padding: 1rem; }
.o-done strong { font-family: var(--font-mono); color: var(--teal-deep); font-weight: 500; letter-spacing: .04em; }
.o-done small { font-size: .74rem; color: var(--muted); line-height: 1.6; }

/* ===================== FACTS STRIP ===================== */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { padding: clamp(22px, 3vw, 36px) var(--pad); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .3rem; }
.fact:last-child { border-right: 0; }
.fact strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; }
.fact span { font-size: .86rem; color: var(--muted); }

/* ===================== SPLIT: proposition ===================== */
.split { display: grid; grid-template-columns: 5fr 7fr; }
.split-l { padding: clamp(40px, 5vw, 72px) var(--pad); border-right: 1px solid var(--line); }
.compare { align-self: stretch; display: flex; flex-direction: column; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); flex: 1; }
.compare-row:last-child { border-bottom: 0; }
.compare-row span { padding: 1.1rem var(--pad); display: flex; align-items: center; font-size: 1rem; }
.compare-row span:first-child { color: var(--muted); border-right: 1px solid var(--line); }
.compare-row span:last-child { font-weight: 500; }
.compare-row span:last-child::before { content: "→"; color: var(--teal); margin-right: .6rem; }
.compare-head { flex: 0; background: var(--paper-2); }
.compare-head span { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding-block: .8rem; }
.compare-head span:last-child { color: var(--teal-deep); }
.compare-head span:last-child::before { content: ""; margin: 0; }

/* ===================== WALKTHROUGH ===================== */
.walk-head { padding: clamp(48px, 6vw, 88px) var(--pad) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.walk-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.walk-index { position: sticky; top: 56px; align-self: start; display: flex; flex-direction: column; padding: 1.4rem 1rem; gap: 2px; }
.walk-index a { font-size: .88rem; color: var(--muted); text-decoration: none; padding: .55rem .8rem; border: 1px solid transparent; transition: all .2s; }
.walk-index a:hover { color: var(--ink); }
.walk-index a.on { color: var(--ink); background: var(--white); border-color: var(--line); box-shadow: inset 3px 0 0 var(--teal); }
.walk-steps { border-left: 1px solid var(--line); }
.step { border-bottom: 1px solid var(--line); scroll-margin-top: 56px; }
.step:last-child { border-bottom: 0; }
.step h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); padding: clamp(28px, 3vw, 44px) var(--pad) 1.2rem; }
.stage { margin: 0 var(--pad); min-height: 260px; display: grid; place-items: center; padding: clamp(24px, 4vw, 56px);
  background-color: var(--paper-2);
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 28px 28px; border: 1px solid var(--line); }
.stage > * { width: min(560px, 100%); box-shadow: 8px 8px 0 color-mix(in srgb, var(--ink) 8%, transparent); }
.stage .st-doc { width: auto; flex-wrap: wrap; }
.st-arrow { color: var(--teal); font-size: 1.2rem; }
.st-api { font-size: .8rem; background: var(--ink); color: var(--white); padding: .35rem .6rem; }
.o-file-ico.big { width: 46px; height: 56px; }
.o-text.big { padding: 1.4rem; gap: .6rem .5rem; }
.o-text.big i { height: 9px; }
.o-text.big span { font-size: .86rem; }
.o-bars.big { padding: 1.4rem; gap: 1.1rem; }
.o-bars.big b { height: 12px; }
.o-quote.big { font-size: clamp(1.15rem, 1.8vw, 1.45rem); padding: 1.4rem 1.6rem; }
.o-approve.big { padding: 1.4rem; }
.o-approve.big strong { font-size: 1.2rem; }
.o-done.big { padding: 1.4rem; }
.o-done.big strong { font-size: 1.2rem; }
.cells { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.cells > div { padding: 1.4rem var(--pad) 1.8rem; }
.cells > div + div { border-left: 1px solid var(--line); }
.cells strong { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; display: block; margin-bottom: .4rem; }
.cells p { color: var(--muted); font-size: .93rem; max-width: 42ch; }

/* ===================== CAPABILITIES ===================== */
.caps-head { padding: clamp(48px, 6vw, 88px) var(--pad) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.catalog { display: grid; grid-template-columns: repeat(12, 1fr); }
.cap { grid-column: span 3; padding: 1.6rem var(--pad) 1.8rem; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; border-right: 1px solid var(--line); border-top: 1px solid var(--line); transition: background .2s; }
.cap:hover { background: var(--white); }
.cap.live { grid-column: span 4; min-height: 260px; border-top: 0; }
.cap.live:nth-child(3), .cap:nth-child(7) { border-right: 0; }
.cap h3 { margin-top: .4rem; }
.cap.live h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.cap p { color: var(--muted); font-size: .94rem; max-width: 34ch; }
.cap.live p { color: var(--ink-soft); font-size: 1rem; }
.cap-id { margin-top: auto; font-size: .74rem; color: var(--muted); padding-top: 1rem; }

/* ===================== SOVEREIGNTY (dark) ===================== */
.sov { display: grid; grid-template-columns: 5fr 7fr; background: var(--ink); color: var(--paper); }
.sov-copy { padding: clamp(48px, 6vw, 88px) var(--pad); border-right: 1px solid #34332f; }
.sov h2 { color: var(--white); }
.sov .teal { color: #3CC2B1; }
.sov .kicker { color: #9d998e; }
.sov p { color: #D8D3C7; margin-top: 1.4rem; max-width: 44ch; }
.sov-note { font-size: .9rem; color: #9d998e !important; padding-top: 1.2rem; border-top: 1px solid #34332f; }
.sov-visual { padding: clamp(32px, 4vw, 56px) var(--pad); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  background-image: linear-gradient(#262522 1px, transparent 1px), linear-gradient(90deg, #262522 1px, transparent 1px); background-size: 28px 28px; }
.box-art { width: 100%; max-width: 620px; height: auto; margin: 0 auto; display: block; }
.box-pc > rect:first-child { fill: #22211e; stroke: #5a5850; stroke-width: 1.5; }
.box-pc .face { fill: #2b2a26; stroke: #45433d; }
.box-pc .pwr { fill: none; stroke: #3CC2B1; stroke-width: 2; filter: drop-shadow(0 0 6px #3CC2B1); }
.box-pc .vents path { stroke: #45433d; stroke-width: 2; }
.box-pc .port { fill: #1a1a18; stroke: #45433d; }
.box-pc .lbl { font-family: var(--font-mono); font-size: 12px; fill: #9d998e; }
.box-lines path { fill: none; stroke: #3CC2B1; stroke-width: 1.5; stroke-dasharray: 5 5; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.box-caps rect { fill: #1f1e1b; stroke: #3CC2B1; stroke-width: 1.2; }
.box-caps text { font-family: var(--font-display); font-size: 15px; fill: var(--white); }
.box-caps text.lv { font-family: var(--font-mono); font-size: 10px; fill: #3CC2B1; }
.spec-card { border: 1px solid #45433d; background: #151513; padding: 1rem 1.2rem; max-width: 620px; width: 100%; margin: 0 auto; }
.spec-title { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #3CC2B1; }
.spec-card dl { margin-top: .5rem; display: grid; grid-template-columns: 1fr 1fr; }
.spec-card dl div { padding: .45rem 0; border-top: 1px solid #2a2a27; display: flex; flex-direction: column; font-size: .86rem; }
.spec-card dt { color: #8f8b80; font-size: .74rem; }
.spec-card dd { color: var(--white); }

/* ===================== DUO: governance + deployment ===================== */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo-cell { padding: clamp(48px, 6vw, 80px) var(--pad); display: flex; flex-direction: column; }
.duo-cell + .duo-cell { border-left: 1px solid var(--line); }
.duo-cell > p { color: var(--ink-soft); margin-top: 1.2rem; max-width: 46ch; }
.receipt { margin-top: 2.2rem; background: var(--white); border: 1px solid var(--ink); padding: 1.2rem 1.3rem; font-family: var(--font-mono); font-size: .82rem; box-shadow: 8px 8px 0 var(--paper-2); }
.receipt-head { display: flex; justify-content: space-between; padding-bottom: .7rem; border-bottom: 1px dashed var(--line); font-weight: 500; letter-spacing: .06em; }
.receipt dl { padding-top: .5rem; }
.receipt dl div { display: grid; grid-template-columns: 110px 1fr; gap: .8rem; padding: .22rem 0; }
.receipt dt { color: var(--muted); }
.receipt dd.ok { color: var(--teal-deep); font-weight: 500; }
.deploy { margin-top: 2.2rem; border: 1.5px dashed var(--ink-soft); padding: 2.2rem clamp(.8rem, 2vw, 1.6rem) 1.3rem; position: relative; text-align: center; }
.deploy-label { position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%); background: var(--paper); padding: 0 .7rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; white-space: nowrap; }
.deploy-box { background: var(--white); border: 1px solid var(--ink); padding: 1.2rem clamp(.6rem, 2vw, 1.2rem) 1.3rem; }
.deploy-name { display: block; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; margin-bottom: 1rem; }
.deploy-row { display: flex; justify-content: center; align-items: center; gap: .5rem; flex-wrap: wrap; }
.deploy-row span { border: 1px solid var(--line); padding: .5rem .7rem; font-size: .88rem; background: var(--paper); min-width: 6.4rem; }
.deploy-row i { font-style: normal; color: var(--teal); }
.deploy-down { color: var(--teal); padding: .3rem 0; }
.deploy-api span { background: var(--ink); color: var(--paper); border-color: var(--ink); font-family: var(--font-mono); font-size: .78rem; min-width: min(100%, 20rem); }
.deploy-foot { margin-top: 1.1rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--teal-deep); }

/* ===================== ECOSYSTEM ===================== */
.eco { display: grid; grid-template-columns: 1fr 1fr; }
.eco-copy { padding: clamp(48px, 6vw, 80px) var(--pad); border-right: 1px solid var(--line); }
.eco-copy p { color: var(--ink-soft); margin: 1.2rem 0 2rem; max-width: 46ch; }
.eco-flow { list-style: none; display: flex; flex-direction: column; }
.eco-flow li { flex: 1; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 1rem; padding: 1.2rem var(--pad); border-bottom: 1px solid var(--line); font-size: 1rem; }
.eco-flow li:last-child { border-bottom: 0; }
.eco-flow li .mono { font-size: .74rem; color: var(--muted); }
.eco-flow li strong { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
.eco-flow li small { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.eco-flow li.hl { background: var(--ink); }
.eco-flow li.hl strong { color: var(--white); }
.eco-flow li.hl small, .eco-flow li.hl .mono { color: #3CC2B1; }

/* ===================== CTA BAND (full bleed teal) ===================== */
.band-cta { background: var(--teal); color: var(--white); }
.band-cta .frame { border-color: color-mix(in srgb, var(--white) 25%, transparent); }
.band-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; padding: clamp(56px, 8vw, 120px) var(--pad) clamp(40px, 5vw, 64px); }
.band-cta h2 { color: var(--white); font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 16ch; }
.band-cta p { margin-top: 1rem; color: color-mix(in srgb, var(--white) 85%, transparent); max-width: 46ch; }
.band-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.band-phone { font-family: var(--font-mono); color: var(--white); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--white) 50%, transparent); }

/* ===================== FOOTER ===================== */
footer { border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.foot-col { padding: 2rem var(--pad) 2.4rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .15rem; }
.foot-col:last-child { border-right: 0; }
.foot-col h4 { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.foot-col a { text-decoration: none; font-size: .92rem; color: var(--ink-soft); padding: .15rem 0; }
.foot-col a:hover { color: var(--teal); }
.foot-mark { border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; padding: clamp(32px, 5vw, 64px) var(--pad) 1.6rem; overflow: hidden; }
.foot-logo { width: min(640px, 70%); aspect-ratio: 796 / 258; height: auto; color: var(--ink); display: block; }
.foot-legal { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-machine { margin-top: 0; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(3) { border-right: 0; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--line); }
  .split, .sov, .eco, .duo { grid-template-columns: 1fr; }
  .split-l, .sov-copy, .eco-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .sov-copy { border-color: #34332f; }
  .duo-cell + .duo-cell { border-left: 0; border-top: 1px solid var(--line); }
  .walk-grid { grid-template-columns: 1fr; }
  .walk-index { position: sticky; top: 56px; z-index: 5; flex-direction: row; overflow-x: auto; padding: .6rem var(--pad); background: var(--paper); border-bottom: 1px solid var(--line); }
  .walk-index a { white-space: nowrap; }
  .walk-steps { border-left: 0; }
  .cap, .cap.live { grid-column: span 6; border-top: 1px solid var(--line); }
  .cap.live:first-child { border-top: 0; }
  .cap:nth-child(even) { border-right: 0; }
  .cap:nth-child(odd) { border-right: 1px solid var(--line); }
  .cap:nth-child(7) { grid-column: span 12; border-right: 0; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .product-badge { display: none; }
  .console-body { grid-template-columns: 1fr; }
  .console-rail { border-right: 0; border-bottom: 1px solid var(--line); padding: .7rem .9rem; }
  .console-rail ul { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
  .console-rail li { font-size: .74rem; padding: .2rem .4rem; border: 1px solid var(--line-soft); gap: .4rem; }
  .console-run { border-right: 0; border-bottom: 1px solid var(--line); }
  .console-out { min-height: 210px; }
  .console { box-shadow: 6px 6px 0 var(--paper-2); margin: 14px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(3) { border-right: 1px solid var(--line); }
  .fact:nth-child(even) { border-right: 0; }
  .fact:last-child { grid-column: span 2; }
  .compare-row span { font-size: .9rem; padding: .9rem 1rem; }
  .compare-row span:last-child::before { margin-right: .4rem; }
  .cells { grid-template-columns: 1fr; }
  .cells > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stage { min-height: 0; padding: 20px 14px; }
  .cap, .cap.live, .cap:nth-child(7) { grid-column: span 12; border-right: 0 !important; min-height: 0; }
  .spec-card dl { grid-template-columns: 1fr; }
  .receipt dl div { grid-template-columns: 90px 1fr; }
  .receipt { font-size: .76rem; }
  .deploy-chain { flex-direction: column; gap: .3rem; }
  .deploy-chain span { min-width: 60%; }
  .deploy-chain i { transform: rotate(90deg); }
  .eco-flow li { grid-template-columns: 32px 1fr; }
  .eco-flow li small { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-col:nth-child(2) { border-right: 0; }
  .foot-col:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-mark { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .foot-logo { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .run-steps li, .console-out .out { transition: none !important; }
  .run-steps li i, .box-lines path { animation: none !important; }
}

/* ===================== FILM ===================== */
.film-head { padding: clamp(48px, 6vw, 80px) var(--pad) clamp(24px, 3vw, 36px); }
.film-stage { margin: 0 var(--pad); background: var(--ink); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--paper-2); }
.film-video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; background: #0f0f0e; }
.film-caption { padding: 1rem var(--pad) clamp(32px, 4vw, 48px); font-size: .74rem; color: var(--muted); }
.btn .play { font-size: .7rem; }

/* ===================== GO FURTHER ===================== */
.more { display: grid; grid-template-columns: repeat(3, 1fr); }
.more-cell { position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 1.8rem var(--pad) 2rem; border-right: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .2s; }
.more-cell:last-child { border-right: 0; }
.more-cell:hover { background: var(--white); }
.more-cell .mono { font-size: .72rem; color: var(--muted); }
.more-cell strong { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }
.more-cell span:not(.mono) { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.more-cell i { position: absolute; top: 1.7rem; right: var(--pad); font-style: normal; color: var(--teal); font-size: 1.2rem; transition: transform .2s; }
.more-cell:hover i { transform: translateX(3px); }

/* ===================== SUB-PAGE HERO ===================== */
.sub-hero { padding: clamp(40px, 6vw, 80px) var(--pad) clamp(28px, 4vw, 48px); }
.sub-hero h1 { margin-top: 1.2rem; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.sub-hero .crumb a { color: inherit; }

@media (max-width: 760px) {
  .more { grid-template-columns: 1fr; }
  .more-cell { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- icons (/assets/icons.svg) ---------- */
.ico { width: 26px; height: 26px; color: var(--ink); flex: 0 0 auto; }
.ico .a, .ico use { }
.ico { --a: var(--teal); }
.cap-ico { width: 34px; height: 34px; margin: .2rem 0 .1rem; }
.cap.live .cap-ico { width: 40px; height: 40px; }
.fact-ico { width: 24px; height: 24px; color: var(--teal-deep); margin-bottom: .5rem; display: block; }
.more-ico { width: 30px; height: 30px; color: var(--teal-deep); margin-bottom: .2rem; }
.k-ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: .35rem; color: var(--teal-deep); }
.wi-ico { width: 16px; height: 16px; vertical-align: -3px; margin-right: .5rem; color: var(--muted); }
.walk-index a.on .wi-ico { color: var(--teal-deep); }
