/* "Lit Lines": daylight tool page. The only colour is the beam; the night lives in the output panel
   and the footer. */
@font-face { font-family: "Bricolage"; src: url(/fx/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fx/fonts/geist-mono-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-2: #f6f8f7;
  --line: #e3e8e5;
  --ink: #0b1411;
  --ink-2: #5b6660;
  --green-deep: #0e7a43;
  --green-beam: #22e07a;
  --green-wash: #e6f8ee;
  --night: #0b1411;
  --night-2: #121e19;
  --night-line: #22302a;
  --night-ink: #e8efea;
  --night-ink-2: #8a9a92;
  --amber: #e0a53a;
  --sans: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: hidden; }
.mono { font-family: var(--mono); }
a { color: var(--green-deep); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem .8rem; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 38px; padding: 0 14px; border-radius: 8px; border: 1px solid transparent;
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn--go { background: var(--green-deep); color: #fff; }
.btn--go:hover { background: #0b6537; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #c9d2cd; background: var(--bg-2); }
.btn--beam { background: var(--green-beam); color: var(--night); font-weight: 600; }
.btn--beam:hover { background: #5ff0a0; }
.btn--lg { height: 44px; padding: 0 18px; font-size: 16px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 18px; }
.tag { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--green-deep); background: var(--green-wash); padding: 3px 7px; border-radius: 99px; font-weight: 500; white-space: nowrap; }
.nav__links { display: flex; gap: 26px; margin: 0 auto; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav__links a:hover { color: var(--green-deep); }
.nav__act { display: flex; gap: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 100px 100%; background-position: calc(50% - 600px) 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0, #fff calc(50% - 600px), transparent calc(50% - 600px), transparent calc(50% + 600px), #fff calc(50% + 600px)); opacity: .6; pointer-events: none; }
.sea { position: absolute; inset: -20px 0 auto 0; margin: 0; font-size: 11px; line-height: 22px; color: #e6ebe8; white-space: pre; overflow: hidden; user-select: none; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 34%, transparent 48%, rgba(0,0,0,.85) 78%); mask-image: radial-gradient(ellipse 62% 70% at 50% 34%, transparent 48%, rgba(0,0,0,.85) 78%); }
.sea-canvas { position: absolute; inset: 0; pointer-events: none; }
/* Spotlight: two soft cones, the right one is the beam, the left a faint answer */
.cone { position: absolute; pointer-events: none; opacity: 0; filter: blur(28px); animation: cone-in 1.1s ease-out .15s forwards; }
.cone--r { top: -32%; right: -14%; width: 64%; height: 150%; transform: rotate(32deg); transform-origin: top right;
  background: radial-gradient(ellipse 30% 70% at 70% 0%, rgba(34,224,122,.22), rgba(34,224,122,.06) 55%, transparent 75%); }
.cone--l { top: -30%; left: -18%; width: 52%; height: 130%; transform: rotate(-30deg); transform-origin: top left;
  background: radial-gradient(ellipse 28% 65% at 30% 0%, rgba(34,224,122,.10), transparent 70%); }
@keyframes cone-in { to { opacity: 1; } }
.corner { position: absolute; font-size: 11px; color: #a7b2ac; letter-spacing: .04em; }
.corner--tl { top: 18px; left: calc(50% - 600px + 14px); }
.corner--tr { top: 18px; right: calc(50% - 600px + 14px); }
.corner--bl { bottom: 18px; left: calc(50% - 600px + 14px); }
.corner--br { bottom: 18px; right: calc(50% - 600px + 14px); }

.hero__in { position: relative; max-width: 1080px; margin: 0 auto; padding: 56px 24px 56px; text-align: center; }
h1 { margin: 0; font-weight: 650; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.025em; }
h1 em { font-style: normal; color: var(--green-deep); }
.lede { max-width: 620px; margin: 20px auto 0; color: var(--ink-2); font-size: 18px; }

.cta { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.mcp { font: 600 10.5px/1 var(--mono); letter-spacing: .06em; color: var(--green-beam); background: var(--night); padding: 5px 6px; border-radius: 5px; }
.install { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 14px; border: 1px dashed #c9d2cd; border-radius: 8px; font-size: 14px; background: #fff; }
.install__prompt { color: var(--green-deep); }
.install code { font-family: var(--mono); }
.install__copy { font: 500 12px/1 var(--mono); height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); cursor: pointer; }
.install--night { background: transparent; border-color: #33453c; color: var(--night-ink); }
.install--night .install__prompt { color: var(--green-beam); }
.install--night .install__copy { background: var(--night-2); border-color: var(--night-line); color: var(--night-ink); }

/* connect dropdown */
.connect { position: relative; }
.connect__menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 50%; translate: -50% 0; width: min(540px, 92vw); text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 18px 50px -12px rgba(11,20,17,.22); }
.connect__head { margin: 6px 10px 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.connect__row { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 10px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.connect__row:hover { background: var(--bg-2); }
.connect__row b { font-weight: 600; font-size: 14px; }
.connect__row code { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.connect__copied { font-size: 11px; color: var(--green-deep); }

/* ---------- playground ---------- */
.pg { position: relative; margin: 36px auto 0; max-width: 1000px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 1px 0 rgba(11,20,17,.03), 0 30px 70px -30px rgba(11,20,17,.28); overflow: hidden; }
.pg__form { padding: 12px 12px 0; }
.pg__groups { display: flex; gap: 10px; align-items: flex-end; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 28px; }
.pg__groups::-webkit-scrollbar { display: none; }
.pg__group { flex: none; }
.pg__glabel { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #5f6a64; margin: 0 0 5px 6px; }
.pg__tabs { display: flex; gap: 2px; padding: 4px; background: var(--bg-2); border-radius: 10px; }
.pg__tab { font: 500 14px/1 var(--sans); padding: 8px 12px; border: 0; border-radius: 7px; background: none; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.pg__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11,20,17,.12); }
.pg__bar { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 10px; }
.pg__bar:focus-within { border-color: var(--green-deep); box-shadow: 0 0 0 3px var(--green-wash); }
.pg__icon { color: var(--ink-2); font-size: 18px; }
.pg__bar input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 15px; color: var(--ink); background: none; }
.pg__run[disabled] { opacity: .6; cursor: progress; }
.pg__hint { margin: 0 0 10px 4px; font-size: 11.5px; color: #5f6a64; }

.pg__panel { display: grid; grid-template-columns: 300px 1fr; background: var(--night); color: var(--night-ink); min-height: 320px; }
.pg__trace { padding: 16px 18px; border-right: 1px solid var(--night-line); }
.status { display: flex; gap: 8px; align-items: baseline; margin: 0 0 14px; font-size: 12px; color: var(--night-ink-2); line-height: 1.5; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--night-ink-2); translate: 0 -1px; }
.status--live { color: var(--night-ink); }
.status--live .dot { background: var(--green-beam); box-shadow: 0 0 10px var(--green-beam); }
.status--limited .dot { background: var(--amber); }
.status--down .dot { background: none; border: 1.5px solid var(--night-ink-2); }

/* tool chips: pending → running → done */
.chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 12px; line-height: 1.45; }
.chip { display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; align-items: start; padding: 7px 9px; border: 1px solid var(--night-line); border-radius: 8px; background: var(--night-2); animation: chip-in .25s ease-out; }
.chip i { width: 10px; height: 10px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--night-ink-2); }
.chip span { min-width: 0; overflow-wrap: anywhere; }
.chip em { font-style: normal; color: var(--night-ink-2); }
.chip--run i { border-color: var(--green-beam); border-right-color: transparent; animation: spin .8s linear infinite; }
.chip--done i { border: 0; background: var(--green-deep); box-shadow: inset 0 0 0 2px var(--night-2), 0 0 0 1px var(--green-beam); }
.chip--beam { border-color: rgba(34,224,122,.35); }
.chip--beam i { border: 0; background: var(--green-beam); }
.chip--off { color: var(--night-ink-2); }
.chip--off i { border-color: #4a5a52; position: relative; }
@keyframes chip-in { from { opacity: 0; translate: -4px 0; } }
@keyframes spin { to { rotate: 360deg; } }

.pg__out { min-width: 0; display: flex; flex-direction: column; }
.pg__vtabs { display: flex; gap: 2px; }
.pg__views { display: flex; gap: 2px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--night-line); }
.pg__view { font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 6px; border: 0; background: none; color: var(--night-ink-2); cursor: pointer; }
.pg__view[aria-selected="true"] { background: var(--night-2); color: var(--night-ink); box-shadow: inset 0 0 0 1px var(--night-line); }
.pg__open { margin-left: auto; font-size: 12px; color: var(--green-beam); text-decoration: none; }
.pg__open:hover { text-decoration: underline; }
.pg__result { padding: 14px 18px 16px; font-size: 14px; max-height: 360px; overflow: auto; }
.pg--full .pg__result { max-height: 620px; }
/* context cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.card { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 12px; border: 1px solid var(--night-line); border-radius: 10px; background: var(--night-2); }
.card__n { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; color: var(--night); background: var(--green-beam); }
.card__b { min-width: 0; }
.card a, .card b { color: var(--night-ink); font-weight: 600; text-decoration: none; display: block; }
.card a:hover { text-decoration: underline; }
.card .src { display: block; font-size: 11.5px; color: var(--night-ink-2); margin: 2px 0 6px; overflow-wrap: anywhere; }
.snip { display: block; color: #96a59e; line-height: 1.5; }
.lit { color: var(--night-ink); background: linear-gradient(90deg, rgba(34,224,122,.2), rgba(34,224,122,.08)); box-shadow: inset 2px 0 0 var(--green-beam);
  padding: 1px 4px 1px 6px; border-radius: 2px; background-size: 0 100%; background-repeat: no-repeat; animation: beam .45s ease-out .1s forwards; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@keyframes beam { to { background-size: 100% 100%; } }
.lit mark { background: none; color: var(--green-beam); }
.legend { margin: 12px 0 0; font-size: 11px; color: var(--night-ink-2); }
.pg__result pre { margin: 0; font: 12.5px/1.6 var(--mono); color: #a9b7b0; white-space: pre-wrap; word-break: break-word; }
.card pre { max-height: 260px; overflow: auto; }
.pg__note { margin: 0; padding: 10px 16px; font-size: 11.5px; color: var(--ink-2); border-top: 1px solid var(--line); background: var(--bg-2); }
.proof { margin: 22px 0 0; font-size: 12.5px; color: var(--ink-2); }
.proof b { color: var(--green-deep); font-weight: 400; padding: 0 4px; }

/* ---------- sections ---------- */
.band { position: relative; padding: 96px 24px; border-bottom: 1px solid var(--line); }
.wrap { position: relative; max-width: 1200px; margin: 0 auto; }
.wrap--narrow { max-width: 820px; }
.wrap--split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.rail { margin: 0 0 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #5f6a64; }
h2 { margin: 0; font-weight: 650; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.02em; max-width: 760px; }
h3 { margin: 0; font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.sub { color: var(--ink-2); font-size: 18px; max-width: 620px; margin: 14px 0 0; }
/* Lamp: a beam line that lights above the title */
.lamp { position: relative; padding-top: 18px; }
.lamp::before { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 120px; border-radius: 2px; transform-origin: left; transform: scaleX(.15);
  background: linear-gradient(90deg, var(--green-beam), rgba(34,224,122,0)); box-shadow: 0 0 18px 2px rgba(34,224,122,.35); opacity: .4; transition: transform .7s ease-out, opacity .7s; }
.lamp.on::before { transform: scaleX(1); opacity: 1; }

/* 02 works with */
.band--works { padding: 64px 24px; background: var(--bg-2); }
.works { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.works li { padding: 12px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; font-size: 16px; }
.works__any { color: var(--ink-2); font-weight: 400 !important; border-style: dashed !important; background: transparent !important; }
.works__how { margin: 18px 0 0; font-size: 12.5px; color: var(--ink-2); }
.works__how b { color: var(--green-deep); font-weight: 400; padding: 0 4px; }

/* 03 three calls */
.calls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.call { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.call p { margin: 0; color: var(--ink-2); }
.call__k { font-size: 12px; color: var(--green-deep) !important; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.call__tag { font-style: normal; font-size: 10.5px; letter-spacing: .04em; color: var(--ink-2); border: 1px solid var(--line); border-radius: 99px; padding: 2px 7px; }
.call__ex { margin-top: auto !important; padding: 12px; border-radius: 10px; background: var(--night); color: var(--night-ink) !important; font-size: 12.5px; line-height: 1.5; }
.call__ex > span:last-child { display: block; color: var(--night-ink-2); font-size: 11px; margin-top: 6px; }
.call__ex .lit { display: inline; animation: none; background-size: 100% 100%; }
.code { margin-top: 20px; border: 1px solid var(--night-line); border-radius: 14px; background: var(--night); overflow: hidden; }
.code__tabs { position: relative; display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid var(--night-line); }
.code__tabs button { position: relative; z-index: 1; font: 500 12.5px/1 var(--mono); padding: 8px 12px; border: 0; background: none; color: var(--night-ink-2); cursor: pointer; border-radius: 6px; }
.code__tabs button[aria-selected="true"] { color: var(--night-ink); }
.code__ind { position: absolute; top: 8px; left: 0; height: calc(100% - 16px); border-radius: 6px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line), inset 0 -2px 0 var(--green-beam); transition: transform .25s ease, width .25s ease; }
.code__pane { margin: 0; padding: 18px 20px; font-size: 13.5px; line-height: 1.7; color: var(--night-ink); white-space: pre-wrap; overflow-x: auto; }
.code__pane .c, .code-out { color: var(--night-ink-2); }
.code-out { color: #c9d6cf !important; }

/* 04 task rows */
.band--trace { background: var(--bg-2); }
.points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; color: var(--ink-2); }
.points b { color: var(--ink); font-weight: 600; }
.rows { margin: 0; padding: 20px; border-radius: 16px; background: var(--night); box-shadow: 0 30px 70px -30px rgba(11,20,17,.35); }
.rows__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--night-ink); }
.rows__list li { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 9px; border: 1px solid var(--night-line); background: var(--night-2); transition: opacity .3s, border-color .3s; }
.rows__list li span { overflow-wrap: anywhere; }
.rows__list li em { font-style: normal; color: var(--night-ink-2); }
.rows__list li i { width: 12px; height: 12px; border-radius: 50%; }
.rows__list li[data-state="pending"] { opacity: .88; }
.rows__list li[data-state="pending"] i { border: 1.5px solid var(--night-ink-2); }
.rows__list li[data-state="run"] { border-color: rgba(34,224,122,.4); }
.rows__list li[data-state="run"] i { border: 1.5px solid var(--green-beam); border-right-color: transparent; animation: spin .8s linear infinite; }
.rows__list li[data-state="done"] i, .rows__list li:not([data-state]) i { background: var(--green-deep); box-shadow: inset 0 0 0 2px var(--night-2), 0 0 0 1px var(--green-beam); }
.rows figcaption { margin-top: 12px; font-size: 11.5px; color: var(--night-ink-2); }

/* 05 split-flap proofs */
.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.proofcard { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.proofcard__n { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.proofcard__n small { font-size: inherit; opacity: .7; }
.proofcard h3 { font-size: 17px; }
.proofcard p.mono { margin: 10px 0 0; font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.arrow { color: var(--green-deep); font-size: 22px; }
.flap { display: inline-flex; gap: 3px; font-size: 30px; font-weight: 600; line-height: 1; }
.flap__static { display: none; }
.flap__c, .flap__s { display: inline-grid; place-items: center; min-width: 28px; height: 42px; border-radius: 6px; }
.flap__c { position: relative; background: var(--night); color: var(--green-beam); box-shadow: inset 0 -1px 0 rgba(255,255,255,.04); }
.flap__c::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.55); }
.flap__c.flip { transform: scaleY(.92); }
.flap__s { min-width: 10px; color: var(--ink-2); }
html:not(.fx) .flap__static { display: inline; }

/* 06 lanes */
.band--lanes { overflow: hidden; }
.dots { position: absolute; inset: 0; pointer-events: none; }
.band--lanes .wrap { z-index: 1; }
.records { width: 100%; margin-top: 30px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.records th, .records td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.records thead th { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #5f6a64; background: var(--bg-2); }
.records tbody th { font-weight: 600; }
.records td.mono { font-size: 12.5px; color: var(--ink-2); }
.records tbody tr:last-child > * { border-bottom: 0; }
.records tbody tr:hover > * { background: var(--green-wash); }
.also { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 0; font-size: 12px; }
.also span { color: #5f6a64; text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }
.also i { font-style: normal; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink); }
.records__note { margin: 14px 0 0; font-size: 12px; color: var(--ink-2); }

/* 07 wizard */
.wiz { margin-top: 32px; display: grid; grid-template-columns: 240px 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.wiz__steps { list-style: none; margin: 0; padding: 18px; display: grid; gap: 6px; align-content: start; background: var(--bg-2); border-right: 1px solid var(--line); font-size: 13px; color: #5f6a64; }
.wiz__steps li { padding: 10px 12px; border-radius: 8px; }
.wiz__steps li.on { color: var(--ink); background: #fff; box-shadow: inset 2px 0 0 var(--green-deep); }
.wiz__body { padding: 26px; min-height: 230px; }
.wiz__pane > p { margin: 0 0 16px; font-size: 18px; }
.wiz__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.wiz__opt { font: 600 15px/1 var(--sans); padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; color: var(--ink); }
.wiz__opt:hover { border-color: var(--green-deep); background: var(--green-wash); }
.wiz pre { margin: 0; padding: 16px 18px; border-radius: 10px; background: var(--night); color: var(--night-ink); font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.wiz__nav { display: flex; gap: 8px; margin-top: 16px; }

/* 08 pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.plan { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.plan--hi { border-color: var(--green-deep); box-shadow: 0 0 0 3px var(--green-wash); }
.plan__p { margin: 6px 0 0; display: flex; align-items: baseline; gap: 6px; }
.plan__p b { font-size: 36px; font-weight: 650; letter-spacing: -.02em; }
.plan__p span, .plan p.mono { color: var(--ink-2); font-size: 13px; margin: 0; }
.plan .btn { margin-top: 12px; }

/* 09 faq */
.faq { margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 24px/1 var(--mono); color: var(--green-deep); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 680px; }

/* ---------- footer: the one night band ---------- */
.foot { position: relative; background: var(--night); color: var(--night-ink); overflow: hidden; padding: 70px 24px 28px; }
.foot__path { position: absolute; inset: 0 0 auto 0; width: 100%; height: 160px; pointer-events: none; }
.foot__beamline { fill: none; stroke: rgba(34,224,122,.25); stroke-width: 1; }
.foot__path text { font-size: 12px; fill: rgba(34,224,122,.55); letter-spacing: .04em; }
.foot__in { position: relative; max-width: 1200px; margin: 0 auto; }
.foot__mark { position: relative; margin-top: 90px; }
.foot__canvas { display: block; width: 100%; }
.foot__word { margin: 0; font: 700 clamp(80px, 22vw, 300px)/0.9 var(--sans); letter-spacing: -.04em; color: var(--night-ink); text-align: center; }
.foot__cta { display: grid; justify-items: center; text-align: center; gap: 14px; margin-top: 28px; }
.foot__line { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 650; letter-spacing: -.02em; }
.foot__act { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.foot__then { margin: 0; font-size: 12.5px; color: var(--night-ink-2); }
.foot__index { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--night-line); }
.foot__index a { display: grid; gap: 6px; padding: 22px 16px 22px 0; text-decoration: none; color: var(--night-ink); border-bottom: 1px solid var(--night-line); transition: color .2s; }
.foot__index a b { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.foot__index a span { font-size: 12px; color: var(--night-ink-2); }
.foot__index a:hover b { color: var(--green-beam); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 18px; margin: 22px 0 0; font-size: 12px; color: var(--night-ink-2); }
.foot__legal a { color: var(--night-ink-2); text-decoration: none; }
.foot__legal a:hover { color: var(--night-ink); }
.foot--slim { padding: 28px 24px; }

/* ---------- full playground page ---------- */
.pgpage__head { text-align: center; padding: 64px 24px 8px; }
.pgpage__head h1 { font-size: clamp(36px, 4.4vw, 56px); }
.pgpage__box { padding: 0 24px 80px; }
.pgpage__box .pg { max-width: 1160px; }

@media (max-width: 960px) {
  .calls, .proofs { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .wrap--split { grid-template-columns: 1fr; gap: 32px; }
  .foot__index { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__act .btn--ghost { display: none; }
  .nav__act { margin-left: auto; }
  .hero__in { padding: 48px 16px 40px; }
  .pg__panel { grid-template-columns: 1fr; }
  .pg__trace { border-right: 0; border-bottom: 1px solid var(--night-line); }
  .pg__code { display: none; }
  .corner { display: none; }
  .install { font-size: 13px; }
  .band { padding: 64px 16px; }
  .wiz { grid-template-columns: 1fr; }
  .wiz__steps { grid-auto-flow: column; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .records th, .records td { padding: 11px 12px; }
  .records thead th:nth-child(3), .records td:nth-child(3) { display: none; }
}
@media (max-width: 520px) {
  .plans { grid-template-columns: 1fr; }
  .flap { font-size: 24px; }
  .flap__c { min-width: 22px; height: 34px; }
  .pg__open { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cone { animation: none; opacity: 1; }
  .lit { animation: none; background-size: 100% 100%; }
  .chip, .chip--run i, .rows__list li i { animation: none !important; }
  .lamp::before { transition: none; }
}

/* the optional question for a page read */
.pg__ask { flex: 1; min-width: 0; border: 0; border-left: 1px solid var(--line); padding-left: 12px; outline: 0; font-size: 15px; color: var(--ink); background: none; }
.pg__ask::placeholder { color: #8a948f; }
@media (max-width: 860px) { .pg__bar { flex-wrap: wrap; } .pg__ask { flex-basis: 100%; order: 3; border-left: 0; border-top: 1px solid var(--line); padding: 8px 0 2px; } }

/* sub-pages */
.subpage h1 { font-size: clamp(34px, 4.4vw, 54px); max-width: 820px; }
.textlink { color: var(--green-deep); font-weight: 600; }

/* ---------- r7: address line + long-form legal pages ---------- */
.foot__addr { margin: 10px 0 0; font-size: 11.5px; color: var(--night-ink-2); }
.foot__addr a { color: var(--night-ink-2); }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; max-width: 1080px; margin: 0 auto; }
.doc__toc { position: sticky; top: 88px; align-self: start; display: grid; gap: 2px; font-size: 13px; }
.doc__toc a { color: var(--ink-2); text-decoration: none; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); }
.doc__toc a:hover { color: var(--ink); border-left-color: var(--green-beam); }
.doc__body { max-width: 720px; }
.doc__body section { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.doc__body section:first-child { border-top: 0; padding-top: 0; }
.doc__body h2 { font-size: 24px; letter-spacing: -.01em; margin-bottom: 10px; }
.doc__body p, .doc__body li { color: #2c3631; font-size: 16.5px; line-height: 1.65; }
.doc__body ul { padding-left: 20px; margin: 8px 0; }
.doc__body li { margin: 4px 0; }
.doc__note { margin: 18px 0 0; padding: 12px 16px; border: 1px solid var(--line); border-left: 3px solid var(--green-deep); border-radius: 10px; background: var(--bg-2); font-size: 14px; color: var(--ink-2); }
.lcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 34px; }
.lcard { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.lcard h2 { font-size: 20px; margin-bottom: 8px; }
.lcard p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.lcard a { color: var(--green-deep); }
.lcard .mono { font-size: 13.5px; }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.state i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-deep); }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; gap: 24px; } .doc__toc { position: static; grid-template-columns: repeat(2, 1fr); } }
.band--doc { padding-top: 48px; }
