/* RUBRO: an interlinear folio. Vellum paper, iron-gall ink, rubric red for meaning, lapis blue for raw bytes.
   Fraunces (display, italic rubrics), Instrument Sans (text), IBM Plex Mono (raw lines and data). */
:root {
  --vellum: #f1eadb; --paper: #fbf7ee; --paper-2: #f6efe0; --shade: #e7dcc6;
  --ink: #1d1813; --ink-2: #3d342b; --muted: #6f6355; --faint: #9a8d7b;
  --line: #ddd0b8; --line-2: #c9b998;
  --rubric: #b4231a; --rubric-deep: #8e160f; --rubric-soft: rgba(180,35,26,.08);
  --lapis: #2a4a8c; --lapis-soft: rgba(42,74,140,.08);
  --gold: #a87b22; --ok: #3d6b3a;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1200px; --gut: clamp(18px, 4vw, 40px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-motion { scroll-behavior: auto; }
body { margin: 0; background: var(--vellum); color: var(--ink); font: 400 16.5px/1.6 var(--f-sans); overflow-x: hidden;
  background-image: radial-gradient(1200px 700px at 85% -10%, rgba(255,255,255,.55), transparent 60%), radial-gradient(900px 600px at -10% 40%, rgba(168,123,34,.07), transparent 60%); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
.mono { font-family: var(--f-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--rubric); outline-offset: 3px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rubric); box-shadow: 0 0 0 3px var(--rubric-soft); flex: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 3px; border: 1px solid var(--ink); font: 600 15px/1 var(--f-sans); text-decoration: none; cursor: pointer; background: transparent; color: var(--ink); transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn i { font-style: normal; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--rubric-deep); border-color: var(--rubric-deep); }
.btn--rubric { background: var(--rubric); border-color: var(--rubric); color: #fff8ef; }
.btn--rubric:hover { background: var(--rubric-deep); border-color: var(--rubric-deep); transform: translateY(-1px); }
.btn--line { border-color: var(--line-2); background: rgba(251,247,238,.6); }
.btn--line:hover { border-color: var(--ink); background: var(--paper); }

/* ---------- top strip + nav ---------- */
.castrip { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 7px var(--gut); background: var(--ink); color: #e9dfcb; font-size: 12px; }
.castrip p { margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; }
.castrip__l code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.castrip__l code.is-empty { color: #a89a83; font-style: italic; }
.castrip__k { color: #a89a83; }
.castrip b { color: #fff; font-weight: 500; }
.castrip button, .castrip a { font: inherit; color: #f3b5a8; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.castrip__r .dot { background: #7ccf8a; box-shadow: 0 0 0 3px rgba(124,207,138,.18); }
.castrip.is-down .castrip__r .dot { background: #e0412f; }
.castrip .sep { color: #6f6355; }
.castrip__motion { margin-left: 8px; padding: 2px 8px !important; border: 1px solid #4a4036 !important; border-radius: 99px; color: #e9dfcb !important; }
.announce { padding: 10px var(--gut); background: var(--rubric); color: #fff8ef; text-align: center; font-size: 14px; }
.announce a { color: #fff; font-weight: 600; }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(241,234,219,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 25px/1 var(--f-display); letter-spacing: -.01em; }
.logo img { width: 32px; height: 32px; border-radius: 7px; }
.nav__links { display: flex; gap: 26px; font-size: 14.5px; }
.nav__links a { text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav__links a:hover, .nav__links a.on { color: var(--ink); border-bottom-color: var(--rubric); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__x svg { width: 19px; height: 19px; fill: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 3px; background: transparent; cursor: pointer; }
.burger svg { width: 20px; margin: auto; stroke: var(--ink); stroke-width: 1.8; fill: none; }
.menu { position: fixed; inset: 66px 0 auto 0; z-index: 29; display: grid; padding: 10px var(--gut) 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.menu a { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 20px/1.2 var(--f-display); }
.menu a span:first-child { width: 34px; color: var(--rubric); font-style: italic; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(28px, 4vw, 64px); align-items: center;
  width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; padding: clamp(44px, 7vw, 96px) 0 clamp(40px, 5vw, 70px); isolation: isolate; }
.hero__lens { position: absolute; inset: 0 calc(-1 * var(--gut)); z-index: -1; width: auto; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 45%); mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 45%); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 99px; background: rgba(251,247,238,.8); font-size: 12px; color: var(--ink-2); }
.kicker i { color: var(--faint); font-style: normal; }
.hero__title { margin: 0; font: 400 clamp(50px, 6.6vw, 98px)/.95 var(--f-display); letter-spacing: -.022em; word-spacing: .04em; font-variation-settings: "opsz" 144; }
.hero__title em { display: block; color: var(--rubric); font-style: italic; font-weight: 400; }
.hero__sub { max-width: 34em; margin: 26px 0 0; font-size: clamp(17px, 1.4vw, 19.5px); color: var(--ink-2); background: linear-gradient(90deg, rgba(241,234,219,.92), rgba(241,234,219,.6)); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { margin: 20px 0 0; font-size: 12px; color: var(--muted); }

/* the folio: a live transaction, rubricated */
.folio { position: relative; margin: 0; padding: 26px 28px 20px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 2px;
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -40px rgba(61,40,15,.55), 8px 8px 0 -1px var(--shade), 8px 8px 0 0 var(--line-2); }
.folio .ilin { position: relative; }
.folio .ilin::before { content: ""; position: absolute; top: 0; bottom: 0; left: 57px; width: 1px; background: rgba(180,35,26,.28); }
.folio__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px double var(--line-2); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.folio__head b { color: var(--ink); font-weight: 500; }
.folio__sum { display: flow-root; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 400 21px/1.35 var(--f-display); min-height: 3.2em; }
.folio__init { float: left; margin: 2px 10px 0 0; padding: 4px 9px 2px; font: 800 44px/.9 var(--f-display); color: var(--paper); background: var(--rubric); border-radius: 2px; box-shadow: 3px 3px 0 var(--gold); }
.folio figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.folio figcaption a { color: var(--rubric); white-space: nowrap; }

/* interlinear rows: the raw line on top, the rubro underneath */
.ilin { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; }
.ilin__row { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 14px; padding: 7px 0 8px; border-bottom: 1px dashed var(--line); }
.ilin__row:last-child { border-bottom: 0; }
.ilin__k { grid-row: 1 / span 2; padding-top: 2px; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ilin__raw { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12.5px/1.5 var(--f-mono); color: var(--lapis); }
.ilin__rubro { margin: 1px 0 0; font: italic 400 16.5px/1.35 var(--f-display); color: var(--rubric-deep); }
.ilin__row.is-alarm { background: var(--rubric-soft); box-shadow: -10px 0 0 var(--rubric-soft), 10px 0 0 var(--rubric-soft); }
.ilin__row.is-alarm .ilin__rubro { color: var(--rubric); font-weight: 600; }
.ilin.is-in .ilin__row { animation: ink .7s both; animation-delay: calc(var(--i, 0) * 140ms); }
.ilin.is-in .ilin__row .ilin__rubro { animation: write .9s both; animation-delay: calc(var(--i, 0) * 140ms + 260ms); }
@keyframes ink { from { opacity: 0; transform: translateY(4px); } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.no-motion .ilin.is-in .ilin__row, .no-motion .ilin.is-in .ilin__rubro { animation: none; }
.ilin--big .ilin__row { grid-template-columns: 70px minmax(0, 1fr); padding: 11px 0 12px; }
.ilin--big .ilin__raw { font-size: 13.5px; white-space: normal; word-break: break-all; }
.ilin--big .ilin__rubro { font-size: 19px; }
.ilin__row--empty .ilin__raw, .ilin__row--empty .ilin__rubro { color: var(--faint); }

/* ---------- what it reads ---------- */
.reads { display: flex; align-items: center; gap: 22px; width: min(1320px, 100% - 2 * var(--gut)); margin: 0 auto; padding: 18px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.reads__k { flex: none; margin: 0; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.reads__list { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font: italic 400 18px/1.3 var(--f-display); }
.reads__list li::before { content: "‸ "; color: var(--rubric); font-style: normal; }
.reads__list li.is-red { color: var(--rubric); }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0 0; }
.sec__bar { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; font-size: 13px; color: var(--muted); }
.sec__bar b { font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.sec__bar i { flex: 1; height: 1px; background: var(--line-2); }
.sec__num { font: italic 600 22px/1 var(--f-display); color: var(--rubric); }
.sec__head { margin-bottom: 38px; }
.sec__head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.h2 { margin: 0; font: 400 clamp(38px, 5vw, 66px)/1.02 var(--f-display); letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.h2 em { color: var(--rubric); font-style: italic; }
.lead { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 36em; }
.eyebrow { margin: 0 0 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--rubric); }
.fine { font-size: 12.5px; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 34px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in, .no-motion .reveal { opacity: 1; transform: none; }
.panel { background: var(--paper); border: 1px solid var(--line-2); border-radius: 2px; padding: 22px; }
.panel__k { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 10px; }

/* the reader */
.reader { padding: 22px; background: var(--ink); color: #e9dfcb; border-radius: 2px; }
.reader label { display: block; margin-bottom: 10px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #a89a83; }
.reader__row { display: flex; gap: 10px; }
.reader__row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #4a4036; border-radius: 2px; background: #2a231c; color: #fff; font-size: 14px; }
.reader__row input::placeholder { color: #8b7d68; }
.reader .btn--line { color: #e9dfcb; border-color: #5a4f43; background: transparent; }
.reader .btn--line:hover { border-color: #e9dfcb; background: #2a231c; }
.reader__err { min-height: 1.2em; margin: 10px 0 0; font-size: 12.5px; color: #f3b5a8; }
.sheet { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 0; margin-top: 16px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 2px; }
.sheet__l { padding: 24px; border-right: 1px solid var(--line-2); background: var(--paper-2); }
.sheet__k { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sheet__sum { margin: 0 0 20px; font: 400 23px/1.3 var(--f-display); }
.sheet[data-state="loading"] .sheet__sum { color: var(--muted); font-style: italic; }
.sheet[data-state="reverted"] .sheet__sum { color: var(--rubric); }
.sheet__meta { margin: 0 0 18px; display: grid; gap: 0; font-size: 13px; }
.sheet__meta div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sheet__meta dt { color: var(--muted); } .sheet__meta dd { margin: 0; text-align: right; }
.sheet .ilin { padding: 14px 24px 16px; }
.model { margin: 18px 0 0; padding: 16px 18px; border-left: 3px solid var(--rubric); background: var(--paper-2); font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.model b { color: var(--ink); }

/* four readers */
.readers { border: 1px solid var(--line-2); background: var(--paper); border-radius: 2px; }
.readers__tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-2); }
.readers__tabs button { padding: 15px 10px; border: 0; border-right: 1px solid var(--line-2); background: var(--paper-2); font: 500 13px/1.2 var(--f-mono); color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.readers__tabs button:last-child { border-right: 0; }
.readers__tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: inset 0 -3px 0 var(--rubric); }
.readers__tabs button:hover { color: var(--ink); }
.readers__page { padding: 22px 26px 24px; }
.readers__cap { margin: 0 0 16px; font-size: 13px; color: var(--ink-2); min-height: 2.6em; }
.specimen { list-style: none; margin: 0; padding: 0; }
.specimen__row { display: grid; grid-template-columns: 34px 62px minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--line); animation: ink .45s both; animation-delay: calc(var(--i) * 60ms); }
.no-motion .specimen__row { animation: none; }
.specimen__n { color: var(--faint); font-size: 12px; } .specimen__k { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.specimen__raw { color: var(--lapis); font-size: 13px; overflow-wrap: anywhere; }
.specimen__read { grid-column: 3; margin: 4px 0 0; }
.specimen__read--popup { font: 500 14px/1.4 var(--f-sans); color: var(--ink); padding: 2px 8px; background: var(--shade); border-radius: 3px; justify-self: start; }
.specimen__read--you { font: 400 15px/1.4 var(--f-sans); color: var(--faint); text-decoration: line-through dotted var(--faint); }
.specimen__read--rubro { font: italic 400 18px/1.35 var(--f-display); color: var(--rubric-deep); }
.specimen__row.is-alarm { background: var(--rubric-soft); box-shadow: -14px 0 0 var(--rubric-soft), 14px 0 0 var(--rubric-soft); }
.specimen__row.is-alarm .specimen__read--rubro { color: var(--rubric); font-weight: 600; }
.readers__page[data-view="you"] .specimen__raw { opacity: .3; }
.readers__count { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.readers__count b { color: var(--rubric); font-size: 16px; }

/* live */
.live { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.live div { padding: 22px 18px 20px; border-right: 1px solid var(--line-2); }
.live div:last-child { border-right: 0; }
.live dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.live dd { margin: 10px 0 6px; font: 400 clamp(26px, 2.8vw, 38px)/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.live small { font-size: 11.5px; color: var(--muted); }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-2); background: var(--paper); }
.why article { padding: 30px 28px 32px; border-right: 1px solid var(--line-2); }
.why article:last-child { border-right: 0; }
.why__n { margin: 0 0 18px; font: italic 600 40px/1 var(--f-display); color: var(--rubric); }
.why h3 { margin: 0 0 10px; font: 600 24px/1.15 var(--f-display); }
.why p { margin: 0; color: var(--ink-2); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid var(--ink); }
.steps li { padding: 22px 16px 22px 0; margin-right: 16px; border-bottom: 1px solid var(--line-2); }
.steps__n { display: block; font: italic 600 30px/1 var(--f-display); color: var(--rubric); }
.steps h3 { margin: 14px 0 6px; font: 600 21px/1.1 var(--f-display); }
.steps p { margin: 0 0 12px; font-size: 14.5px; color: var(--ink-2); }
.steps code { display: inline-block; font-size: 11.5px; padding: 3px 7px; background: var(--lapis-soft); color: var(--lapis); border-radius: 2px; }

/* limits */
.limits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 5vw, 70px); align-items: center; }
.limits .lead { margin-top: 20px; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: "‸"; position: absolute; left: 4px; top: -2px; color: var(--rubric); font: 700 22px/1 var(--f-display); }
.rulebook { padding: 24px 26px; background: var(--ink); color: #e9dfcb; border-radius: 2px; box-shadow: 10px 10px 0 -1px var(--shade); font-size: 13.5px; }
.rulebook p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 0; border-bottom: 1px solid #3a3129; }
.rulebook span { color: #a89a83; } .rulebook b { font-weight: 500; color: #fff; }
.rulebook__k { color: #a89a83 !important; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px double #5a4f43 !important; }
.rulebook b.on { color: #9fd9a6; }
.rulebook__verdict { border-bottom: 0 !important; margin-top: 6px !important; padding: 12px !important; background: rgba(224,65,47,.14); border-radius: 2px; }
.rulebook__verdict span { color: #e9dfcb; } .rulebook b.no { color: #ff8f80; }

/* promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.promises article { padding: 22px 22px 24px 0; margin-right: 22px; border-bottom: 1px solid var(--line-2); }
.promises h3 { margin: 0 0 8px; font: 600 21px/1.15 var(--f-display); }
.promises p { margin: 0; color: var(--ink-2); font-size: 15px; }
.promises article:last-child h3 { color: var(--rubric); }

/* builders */
.term { background: var(--ink); color: #e9dfcb; border-radius: 2px; padding: 20px; }
.term__cmd { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #2a231c; border: 1px solid #4a4036; border-radius: 2px; font-size: 13px; }
.term__cmd span { color: #f3b5a8; } .term__cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; color: #fff; }
.term .btn--line { color: #e9dfcb; border-color: #5a4f43; background: transparent; }
.term__out { margin: 14px 0; padding: 16px; max-height: 380px; overflow: auto; font-size: 12.5px; line-height: 1.6; color: #d8ccb4; background: #15110d; border-radius: 2px; white-space: pre-wrap; word-break: break-word; }
.term .fine { color: #a89a83; margin: 0; } .term .fine code { color: #fff; } .term .fine b { color: #f3b5a8; }

/* token */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin-bottom: 18px; border: 1px solid var(--line-2); background: var(--paper-2); border-radius: 2px; }
.notice .dot { margin-top: 8px; } .notice p { margin: 0; color: var(--ink-2); }
.token { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
.token__ca code { display: block; margin-bottom: 16px; font-size: 15px; word-break: break-all; color: var(--lapis); }
.token__ca code.is-empty { color: var(--faint); font-style: italic; }
.token__ca .fine { margin: 16px 0 0; }
.specs { margin: 0; display: grid; font-size: 13.5px; }
.specs > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); } .specs dd { margin: 0; text-align: right; } .specs dd.is-tbd { color: var(--faint); font-style: italic; }
.specs .dist { display: grid; gap: 8px; border-bottom: 0; }
.dist__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
.dist__row i { grid-column: 1 / -1; height: 4px; background: linear-gradient(90deg, var(--rubric) var(--pct), var(--shade) 0); }
.market { margin-top: 18px; font-size: 13px; }
.market header { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; }
.market header span { display: flex; align-items: center; gap: 8px; } .market header i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.market[data-state="ok"] header i { background: var(--ok); }
.market header a { color: var(--rubric); }
.market__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.market__grid dt { color: var(--muted); font-size: 11.5px; } .market__grid dd { margin: 4px 0 0; font: 400 22px/1.1 var(--f-display); }
.market__grid dd[data-dir="up"] { color: var(--ok); } .market__grid dd[data-dir="down"] { color: var(--rubric); }
.market[data-state="ok"] .market__msg { display: none; }
.market:not([data-state="ok"]) .market__grid { opacity: .4; }
.market__msg, .market__upd { margin: 12px 0 0; color: var(--muted); }

/* roadmap */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.phase { padding: 22px 20px 24px 0; margin-right: 20px; }
.phase__n { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; color: var(--muted); }
.phase__n span { font: italic 600 26px/1 var(--f-display); color: var(--rubric); }
.phase__st::after { content: "next · not live yet"; font-style: normal; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 10.5px; }
.phase[data-status="now"] .phase__st::after { content: "now"; background: var(--rubric); border-color: var(--rubric); color: #fff8ef; }
.phase[data-status="done"] .phase__st::after { content: "done"; background: var(--ok); border-color: var(--ok); color: #fff; }
.phase h3 { margin: 16px 0 10px; font: 600 23px/1.1 var(--f-display); }
.phase ul { margin: 0; padding: 0 0 0 18px; color: var(--ink-2); font-size: 14.5px; display: grid; gap: 6px; }
.phase li::marker { color: var(--rubric); }

/* story */
.sec--narrow { max-width: 820px; }
.paras { margin-top: 26px; max-width: 42em; }
.paras p { margin: 0 0 16px; color: var(--ink-2); font-size: 17px; break-inside: avoid; }
.paras p:first-child::first-letter { float: left; margin: 6px 10px 0 0; font: 800 58px/.8 var(--f-display); color: var(--rubric); }

/* faq */
.faqsec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; }
.faqsec .lead { margin-top: 18px; }
.qa { border-top: 2px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--line-2); }
.qa summary { position: relative; padding: 18px 40px 18px 0; cursor: pointer; list-style: none; font: 500 20px/1.3 var(--f-display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 26px/1 var(--f-display); color: var(--rubric); transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { margin: 0 0 20px; color: var(--ink-2); max-width: 44em; }

/* cta */
.cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-bottom: clamp(60px, 8vw, 100px); }
.cta__h { margin: 0 0 18px; font: italic 400 clamp(52px, 7vw, 100px)/.95 var(--f-display); color: var(--rubric); letter-spacing: -.035em; }
.cta__live { margin: 0; font-size: 13.5px; }
.cta__live > div:not(.row) { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cta__live dt { color: var(--muted); } .cta__live dd { margin: 0; }
.cta__live .row { margin-top: 16px; }

/* footer */
.foot { background: var(--ink); color: #e9dfcb; overflow: hidden; }
.foot__word { margin: 0; padding: 30px 0 0; text-align: center; font: italic 400 clamp(110px, 22vw, 330px)/.8 var(--f-display); letter-spacing: -.05em; color: #2c241d; user-select: none; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; padding: 40px 0 34px; border-top: 1px solid #3a3129; }
.foot .logo { color: #fff; } .foot__brand p { margin: 12px 0 0; color: #a89a83; font-style: italic; font-family: var(--f-display); font-size: 18px; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; font-size: 13px; }
.foot__cols p { margin: 0 0 10px; color: #a89a83; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.foot__cols a { display: block; padding: 4px 0; color: #e9dfcb; text-decoration: none; }
.foot__cols a:hover { color: #f3b5a8; }
.foot__fine { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 28px; border-top: 1px solid #3a3129; font-size: 11.5px; color: #8b7d68; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; } .burger { display: block; }
  .hero { grid-template-columns: 1fr; } .folio { max-width: 640px; }
  .steps { grid-template-columns: repeat(3, 1fr); } .live { grid-template-columns: repeat(3, 1fr); }
  .live div:nth-child(3) { border-right: 0; } .live div:nth-child(n+4) { border-top: 1px solid var(--line-2); }
  .phases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .sec__head--split, .limits, .faqsec, .cta, .token, .foot__top { grid-template-columns: 1fr; }
  .sheet { grid-template-columns: 1fr; } .sheet__l { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .why, .promises { grid-template-columns: 1fr; } .why article { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .readers__tabs { grid-template-columns: repeat(2, 1fr); } .readers__tabs button:nth-child(2) { border-right: 0; } .readers__tabs button:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .market__grid { grid-template-columns: repeat(3, 1fr); }
  .paras { columns: 1; }
  .reads { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot__fine { flex-direction: column; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .castrip { font-size: 11px; } .castrip__gas, .castrip__motion { display: none; }
  .hero__lens { display: none; }
  .castrip__r { flex: none; }
  .nav .btn--sm { display: none; }
  .hero__title { font-size: 50px; }
  .folio { padding: 20px 16px 16px; box-shadow: 0 30px 60px -40px rgba(61,40,15,.55); } .folio .ilin::before { display: none; }
  .ilin__row, .ilin--big .ilin__row { grid-template-columns: 1fr; } .ilin__k { grid-row: auto; padding: 0 0 2px; }
  .reader__row { flex-wrap: wrap; } .reader__row input { flex-basis: 100%; } .reader__row .btn { flex: 1; justify-content: center; }
  .steps, .live, .phases { grid-template-columns: 1fr; } .live div { border-right: 0; border-top: 1px solid var(--line-2); }
  .specimen__row { grid-template-columns: 26px minmax(0, 1fr); } .specimen__k { display: none; } .specimen__read { grid-column: 2; }
  .term__cmd { flex-wrap: wrap; } .market__grid { grid-template-columns: repeat(2, 1fr); }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .ilin__row, .ilin__rubro, .specimen__row { animation: none !important; } }
