:root {
  --serif: "Newsreader", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 40px);
}

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap.wide { max-width: 1320px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
code { font-family: var(--mono); font-size: .92em; }
.code-chip { background: var(--paper-2); padding: 1px 6px; color: var(--ink); }
[hidden] { display: none !important; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled, .nav.ruled { border-bottom-color: var(--rule); }
.nav-row { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.wordmark:hover { color: var(--ink); }
.wordmark .p { position: relative; display: inline-block; }
.wordmark .p::after { content: ""; position: absolute; left: .27em; top: .22em; width: 0; height: 0; border-left: .2em solid var(--accent); border-top: .12em solid transparent; border-bottom: .12em solid transparent; }
.wordmark small { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; color: var(--ink-3); }
.nav-right { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a, .nav-menu a { text-decoration: none; }
.nav-links .gh { display: flex; align-items: center; gap: 6px; }
.nav-links .gh svg { width: 16px; height: 16px; }
.theme { display: flex; border: 1px solid var(--ink); padding: 0; background: transparent; cursor: pointer; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.theme span { padding: 8px 8px 7px; color: var(--ink-2); }
.theme i { font-style: normal; }
.theme .on { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; min-height: 44px; min-width: 44px; border: 0; background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; padding: 0 4px; }
.nav-menu { border-top: 1px solid var(--rule); padding: 8px var(--gutter) 16px; display: flex; flex-direction: column; font-size: 16px; }
.nav-menu a { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.nav-menu a:last-child { border-bottom: 0; }
@media (max-width: 899px) { .nav-links { display: none; } .menu-btn { display: block; } }
@media (min-width: 900px) { .nav-menu { display: none !important; } }
@media (max-width: 519px) { .theme i { display: none; } }

/* shared section furniture */
.masthead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 8px 0 7px; border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.section { padding-bottom: 104px; }
.kicker { border-top: 1px solid var(--ink); padding-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.h2 { margin: 22px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5.4vw, 64px); line-height: 1; letter-spacing: -.022em; text-wrap: balance; }
.lede { margin: 16px 0 34px; max-width: 60ch; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.dashed-chip { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border: 1px dashed var(--ink-2); color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.pill.solid { background: var(--ink); color: var(--paper); }
.pill.solid:hover { color: var(--paper); }
.codeblock { margin: 0; padding: 16px 18px; background: var(--paper-2); border: 1px solid var(--rule); overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: var(--ink); }
.codeblock .t { color: var(--teal); }
.codeblock .d { color: var(--ink-3); }
.blocks { display: flex; align-items: center; gap: 3px; }
.blocks span { display: block; }

/* badge */
.ppb { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--ink); font-family: "Geist", system-ui, sans-serif; max-width: 100%; min-width: 0; }
.ppb-btn { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; background: var(--accent); cursor: pointer; }
.ppb.touch { height: 44px; }
.ppb.touch .ppb-btn { width: 36px; height: 36px; }
.ppb.focus .ppb-btn { outline: 2px solid var(--focus); outline-offset: 2px; }
.ppb[data-state="error"] .ppb-btn, .ppb[data-state="background"] .ppb-btn { background: var(--paper-3); cursor: default; }
.ppb-g { display: none; }
.ppb[data-state="idle"] .g-play, .ppb[data-state="paused"] .g-play { display: block; width: 0; height: 0; border-left: 10px solid var(--on-accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.ppb[data-state="playing"] .g-pause, .ppb[data-state="buffering"] .g-pause { display: flex; gap: 3px; }
.g-pause i { width: 3px; height: 11px; background: var(--on-accent); }
.ppb[data-state="preparing"] .g-spin { display: block; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--on-accent); border-right-color: transparent; animation: pp-spin .8s linear infinite; }
.ppb[data-state="background"] .g-clock { display: block; position: relative; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink-2); }
.g-clock::before, .g-clock::after { content: ""; position: absolute; background: var(--ink-2); }
.g-clock::before { left: 4.75px; top: 1.5px; width: 1.5px; height: 4.5px; }
.g-clock::after { left: 4.75px; top: 4.75px; width: 4px; height: 1.5px; }
.ppb[data-state="error"] .g-err { display: block; width: 10px; height: 2px; background: var(--ink-3); }
.ppb-text { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; min-width: 0; }
.ppb-label { font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
.ppb[data-state="error"] .ppb-label, .ppb[data-state="background"] .ppb-label { color: var(--ink-2); }
.ppb-meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.ppb-wave { display: flex; align-items: center; gap: 2px; height: 20px; flex: none; }
.ppb-wave span { display: block; width: 3px; border-radius: 1px; transition: background .25s; }
.ppb-voice { font-family: var(--mono); font-size: 11px; color: var(--ink-3); padding-left: 10px; border-left: 1px solid var(--rule); white-space: nowrap; }
@media (max-width: 479px) { .ppb-voice { display: none; } }

/* hero */
.hero { padding-top: 20px; padding-bottom: 72px; }
.hero-cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); margin-top: clamp(28px, 5vw, 56px); align-items: flex-start; }
.hero-article { flex: 3 1 520px; min-width: 0; }
.hero-kicker { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent-ink); font-weight: 500; }
.display { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 7vw, 86px); line-height: .96; letter-spacing: -.025em; text-wrap: balance; }
.subhead { margin: 22px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.3vw, 25px); line-height: 1.35; color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.byline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 26px; padding: 9px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.byline .mono { font-size: 12px; }
.hero-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 22px 0 6px; }
.hero-badge a { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.hint { margin: 0 0 18px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.hero-body { font-family: var(--serif); font-size: 19px; line-height: 1.6; max-width: 64ch; }
.hero-body p { margin: 0 -10px 6px; padding: 6px 10px; border-radius: 2px; transition: background .4s; text-wrap: pretty; }
.hero-body p.reading { background: var(--hl); }
.dropcap { float: left; font-size: 4.1em; line-height: .82; font-weight: 600; padding: .07em .08em 0 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ticker { flex: 2 1 320px; min-width: 0; position: sticky; top: 84px; }
.panel { border-top: 3px solid var(--ink); background: var(--paper-2); }
.ticker-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 14px 8px; border-bottom: 1px solid var(--rule); }
.ticker-head b { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.ticker-head span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.log { padding: 10px 14px 14px; min-height: 292px; font-family: var(--mono); font-size: 12px; line-height: 1.5; }
.log p { margin: 6px 0 0; color: var(--ink-3); }
.log div { display: grid; grid-template-columns: auto 58px minmax(0, 1fr); gap: 0 10px; padding: 3px 0; border-bottom: 1px dotted var(--rule); animation: pp-in .3s ease-out both; }
.log .t { color: var(--ink-3); }
.log .v { color: var(--ink-2); font-weight: 600; }
.log .v.play { color: var(--accent-ink); }
.log .v.tts { color: var(--teal); }
.log .m { overflow-wrap: anywhere; }
.foot-note { margin: 8px 0 0; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }

/* three ways */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); overflow: hidden; margin-top: 18px; }
.ways > div { padding: 18px clamp(0px, 2vw, 28px) 22px; box-shadow: -1px 0 0 var(--rule), 0 -1px 0 var(--rule); }
.ways .blocks { height: 30px; }
.ways .blocks span { width: 7px; }
.ways h3 { margin: 14px 0 6px; font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.ways p { margin: 0; font-size: 15.5px; color: var(--ink-2); text-wrap: pretty; }
.ways .tag { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* playground */
.pg-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin: 16px 0 36px; }
.pg-intro p { margin: 0; max-width: 58ch; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.pg-intro a { font-family: var(--mono); font-size: 12.5px; }
.pg { display: flex; flex-direction: column; gap: 28px; }
.pg-cols { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.pg-left { flex: 1 1 400px; min-width: 0; }
.pg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin-bottom: 8px; }
.pg-head > span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pg-voices { display: flex; border: 1px solid var(--rule); border-radius: 999px; padding: 2px; }
.pg-voices button { border: 0; border-radius: 999px; padding: 4px 10px; min-height: 28px; font-family: var(--mono); font-size: 11.5px; cursor: pointer; background: transparent; color: var(--ink-2); }
.pg-voices button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.pg-para { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px; border-bottom: 1px solid var(--rule); padding: 10px 0 4px; }
.pg-para label, .pg-row > span { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); padding-top: 5px; }
.pg-para textarea { width: 100%; resize: none; border: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.55; padding: 2px 6px 8px; margin: 0 0 0 -6px; border-radius: 2px; field-sizing: content; }
.pg-para textarea:focus { background: var(--paper-2); outline: 2px solid var(--focus); outline-offset: 0; }
.pg-map { flex: 1 1 360px; min-width: 0; position: relative; padding: 16px 16px 18px; }
.pg-map-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 14px; }
.pg-map-head h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 10px; height: 10px; background: var(--pending); }
.legend .ink { background: var(--ink); }
.legend .reused { background: var(--teal-wash); border: 1.5px solid var(--teal); }
.pg-rows { display: flex; flex-direction: column; gap: 8px; }
.pg-row { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px; align-items: start; }
.pg-row > span { padding-top: 8px; }
.pg-row > div { display: flex; flex-wrap: wrap; gap: 4px; }
.chunk { min-width: 74px; display: flex; flex-direction: column; gap: 1px; padding: 5px 7px; border-radius: 2px; background: var(--pending); color: var(--ink-2); border: 1px solid var(--pending); font-family: var(--mono); transition: background .3s, color .3s; }
.chunk b { display: flex; justify-content: space-between; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; }
.chunk small { font-size: 10px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chunk.spin { color: var(--ink); }
.chunk.spin b::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: pp-spin .7s linear infinite; }
.chunk.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chunk.reused { background: var(--teal-wash); color: var(--teal); border: 1.5px solid var(--teal); }
.pg-count { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 13.5px; }
.pg-count strong { font-size: 17px; }
.pg-count .teal { color: var(--teal); }
.pg-count .note { color: var(--ink-3); }
.pg-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pg-btns button { min-height: 40px; padding: 0 16px; border-radius: 999px; background: transparent; font-size: 14px; cursor: pointer; }
.pg-revisit { border: 1.5px solid var(--teal); color: var(--teal); font-weight: 600; }
.pg-revisit:hover { background: var(--teal-wash); }
.pg-reset { border: 1px solid var(--rule); color: var(--ink-2); }
.pg-reset:hover { color: var(--ink); border-color: var(--ink); }
.stamp { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%) rotate(-9deg); padding: 8px 18px 6px; border: 4px double var(--teal); color: var(--teal); font-family: var(--mono); font-weight: 600; font-size: clamp(28px, 5vw, 40px); letter-spacing: .18em; background: color-mix(in oklab, var(--paper-2) 70%, transparent); animation: pp-stamp .45s cubic-bezier(.2, .9, .3, 1.2) both; pointer-events: none; text-align: center; line-height: 1.05; }
.stamp span { display: block; font-size: 11px; letter-spacing: .14em; font-weight: 500; }
.pg-caption { margin: 0; max-width: 68ch; font-size: 15px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.pg-caption strong { color: var(--ink); }

/* how it works */
.how-cols { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 80px); align-items: flex-start; }
.rail { flex: 0 0 260px; position: sticky; top: 84px; }
.rail > p { margin: 0 0 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rail > p.branch { margin: 6px 0 0; font-size: 10px; letter-spacing: .06em; text-transform: none; color: var(--teal); }
.snake { position: relative; width: 250px; height: 524px; }
.snake > svg { position: absolute; left: 0; top: 0; overflow: visible; }
.snake path { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.snake path.br { stroke: var(--teal); stroke-width: 2; stroke-dasharray: 3 5; }
.snake path.trail { stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0 99999; }
.snake circle { fill: var(--accent); stroke: var(--paper); stroke-width: 2; opacity: 0; }
.stop-btn { position: absolute; width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; padding: 0; z-index: 1; }
.ibox { display: flex; align-items: center; justify-content: center; gap: 1px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px; transition: all .25s; }
.ibox svg { display: block; width: 16px; height: 16px; }
.ibox.two svg { width: 11px; height: 11px; }
.stop-btn .ibox { position: absolute; inset: 0; }
.stop-btn em { position: absolute; top: 33px; font-style: normal; font-size: 11px; line-height: 1.1; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .25s; }
.branch-stop .ibox { border-color: var(--teal); }
.visited .ibox, .visited.branch-stop .ibox { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.active .ibox, .active.branch-stop .ibox { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.stop-btn.active .ibox { transform: scale(1.18); box-shadow: 0 0 0 4px var(--accent-wash); }
.stop-btn.active em { font-weight: 700; color: var(--ink); }
.stop-btn.visited em { color: var(--ink); }
.strip { display: none; position: sticky; top: 60px; z-index: 5; flex: 1 1 100%; background: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--rule); }
.strip div { display: flex; gap: 3px; align-items: center; }
.strip i { flex: 1; height: 8px; border: 1.5px solid var(--ink); transition: all .25s; }
.strip i.branch-stop { border-color: var(--teal); }
.strip i.visited { background: var(--ink); border-color: var(--ink); }
.strip i.active { height: 14px; background: var(--accent); border-color: var(--accent); }
.strip p { margin: 6px 0 0; font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
@media (max-width: 899px) { .rail { display: none; } .strip { display: block; } }
.stops { flex: 1 1 460px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.stops li { display: grid; grid-template-columns: clamp(52px, 7vw, 88px) minmax(0, 1fr); gap: clamp(12px, 2vw, 24px); padding: 22px 0 28px; border-top: 1px solid var(--rule); }
.stops li:first-child { border-top-color: var(--ink); }
.stops li.fork { border-top: 1.5px dashed var(--teal); }
.stops .num { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 54px); font-weight: 600; line-height: .9; color: var(--ink-3); transition: color .3s; }
.stops .visited .num { color: var(--ink); }
.stops .active .num { color: var(--accent-ink); }
.stops .fork-head { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.stops .head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.stops .ibox { gap: 3px; padding: 6px; background: transparent; border-color: var(--ink); }
.stops .ibox svg, .stops .ibox.two svg { width: 20px; height: 20px; }
.stops h3 { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.8vw, 30px); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.stops .sub { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.stops .note { margin: 10px 0 0; max-width: 56ch; font-family: var(--serif); font-size: clamp(18px, 1.8vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.flow { margin-top: 44px; border-top: 1px solid var(--rule); padding-top: 18px; }
.flow h3 { margin: 0 0 14px; }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px 40px; }
.flow li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; align-items: baseline; text-wrap: pretty; }
.flow li b { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; }

/* voices */
.sleeves { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 28px; }
.sleeve { position: relative; overflow: hidden; background: var(--paper-2); border: 1.5px solid var(--ink); padding: 24px 24px 22px; min-height: 420px; display: flex; flex-direction: column; }
.disc { position: absolute; right: -90px; top: -90px; width: 250px; height: 250px; border-radius: 50%; background: repeating-radial-gradient(circle, var(--ink) 0 2px, var(--ink-2) 2px 3px); display: grid; place-items: center; }
.disc i { width: 84px; height: 84px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.disc.teal i { background: var(--teal-wash); }
.disc i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.sleeve .cat { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-2); }
.sleeve h3 { margin: 56px 0 0; font-family: var(--serif); font-size: clamp(48px, 6vw, 68px); font-weight: 600; letter-spacing: -.03em; line-height: .95; }
.chip { align-self: flex-start; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--ink); }
.chip.solid { background: var(--ink); color: var(--paper); }
.specs { list-style: none; margin: 20px 0 0; padding: 0; font-size: 15px; }
.specs li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--ink-3); }
.specs li span:first-child { color: var(--ink-2); }
.specs li span:last-child { text-align: right; font-weight: 500; }
.sample { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.sample button { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 600; }
.sample button i { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.sample button i::after { content: ""; width: 0; height: 0; border-left: 9px solid var(--on-accent); border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; margin-left: 2px; }
.sample button.playing i::after { width: 9px; height: 9px; border: 0; margin: 0; background: var(--on-accent); }
.sample span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }

/* self-host */
.host-cols { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); align-items: flex-start; }
.term { flex: 3 1 520px; min-width: 0; background: var(--term-bg); color: var(--term-fg); border-radius: 8px; overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 18px 40px -24px rgba(0, 0, 0, .5); }
.term-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.term-bar div { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; color: var(--term-dim); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a4640; }
.term-bar i:last-of-type { margin-right: 8px; }
.term-bar button { min-height: 32px; padding: 0 12px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--term-fg); cursor: pointer; font-family: var(--mono); font-size: 11.5px; }
.term-bar button:hover { border-color: rgba(255, 255, 255, .5); }
.term-bar button:focus-visible { outline-color: var(--term-fg); }
.term pre { margin: 0; padding: 16px 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.75; min-height: 290px; }
.term pre span { display: block; }
.term pre b { font-weight: 400; color: var(--term-dim); }
.term pre b.ok { color: var(--term-ok); }
.term pre i { font-style: normal; color: var(--term-dim); }
.caret { display: inline-block !important; width: 8px; height: 15px; background: var(--term-fg); vertical-align: -2px; margin-left: 1px; animation: pp-caret 1s steps(1) infinite; }
.gets { flex: 2 1 300px; min-width: 0; }
.gets ul { list-style: none; margin: 0; padding: 0; }
.gets li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.gets li::before { content: ""; width: 11px; height: 11px; margin-top: 6px; background: var(--ink); }
.gets p { margin: 14px 0 0; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.gets p span { color: var(--ink-2); }
.embed { margin-top: 40px; max-width: 760px; }
.embed-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; }
.embed-head .h3 { margin: 0; }

/* principles */
.princ { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0 28px; }
.princ li { border-top: 1px solid var(--ink); padding: 16px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.princ .blocks { align-items: flex-end; height: 26px; }
.princ .blocks span { width: 9px; }
.princ b { font-family: var(--serif); font-size: 20px; line-height: 1.25; font-weight: 500; text-wrap: pretty; }

/* faq */
.faq { max-width: 820px; border-top: 1px solid var(--ink); }
.faq > div { border-bottom: 1px solid var(--rule); }
.faq h3 { margin: 0; }
.faq button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; border: 0; background: transparent; cursor: pointer; text-align: left; font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); }
.faq button span { flex: none; font-family: var(--mono); font-size: 16px; color: var(--ink-3); }
.faq [role="region"] { padding: 0 0 18px; font-size: 16.5px; color: var(--ink-2); max-width: 62ch; }

/* footers */
.colophon { border-top: 3px double var(--ink); }
.colophon .wrap { padding-top: 40px; padding-bottom: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.colophon .mono { font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.colophon .set { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; max-width: 40ch; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; }
.colophon small { margin-top: 8px; max-width: 62ch; font-size: 12.5px; color: var(--ink-3); }
.subfoot { border-top: 3px double var(--ink); padding: 28px var(--gutter) 40px; }

/* sub-pages */
.page-head { padding: 32px 0 48px; }
.page-h1 { margin: 28px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -.025em; max-width: 16ch; }
.h2s { margin: 0 0 20px; border-top: 1px solid var(--ink); padding-top: 12px; font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -.02em; }
.sub-section { padding-bottom: 72px; }

/* demo: podcast mock */
.pod-cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); align-items: flex-start; }
.phone-col { flex: 0 1 340px; min-width: 0; margin: 0 auto; }
.phone { width: 100%; max-width: 340px; aspect-ratio: 340/700; background: #0E0D0C; border-radius: 46px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 6px; font-size: 13px; font-weight: 600; }
.statusbar i { width: 84px; height: 22px; border-radius: 12px; background: #0E0D0C; }
.statusbar .mono { font-size: 10px; font-weight: 400; }
.app { flex: 1; overflow: hidden; padding: 4px 18px 0; }
.app .back { margin: 0 0 10px; font-size: 13px; color: var(--accent-ink); font-weight: 500; }
.show { display: flex; gap: 14px; align-items: flex-end; }
.cover { flex: none; width: 118px; aspect-ratio: 1; background: #1B1A17; color: #F5F1E8; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; }
.cover small { font-family: var(--mono); font-size: 7.5px; letter-spacing: .14em; color: #B9B2A4; }
.cover b { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: .9; letter-spacing: -.02em; }
.cover .blocks { align-items: flex-end; gap: 2px; height: 12px; }
.cover .blocks span { width: 4px; background: #6B655A; }
.show h4 { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.1; }
.show p { margin: 4px 0 8px; font-size: 11.5px; color: var(--ink-2); }
.show .sub-btn { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 11.5px; font-weight: 600; }
.app .eps { margin: 16px 0 4px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--ink-3); }
.ep { padding: 9px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 3px; }
.ep small { font-size: 10.5px; color: var(--ink-3); }
.ep b { font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.2; }
.ep:first-of-type b { color: var(--accent-ink); }
.ep span { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--ink-2); }
.ep span i { font-style: normal; font-family: var(--mono); padding: 1px 5px; border: 1px solid var(--ink-3); font-size: 9px; letter-spacing: .06em; }
.now { margin: 0 10px 10px; padding: 9px 10px; border-radius: 14px; background: var(--paper-3); display: flex; align-items: center; gap: 10px; }
.now .art { flex: none; width: 34px; height: 34px; background: #1B1A17; display: grid; place-items: center; }
.now .art::after { content: ""; width: 6px; height: 6px; background: #E8462A; }
.now .mid { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.now .mid b { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now .prog { display: flex; gap: 1.5px; height: 5px; }
.now .prog i { flex: 1; background: var(--ink-3); }
.now .prog i:nth-child(-n+11) { background: var(--ink); }
.now .prog i:nth-child(12) { background: var(--accent); }
.now .pause { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; gap: 2.5px; }
.now .pause i { width: 2.5px; height: 9px; background: var(--on-accent); }
.pod-facts { flex: 1 1 380px; min-width: 0; }
.pod-facts .h3 { font-size: 26px; }
.facts { list-style: none; margin: 0 0 28px; padding: 0; }
.facts li { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.facts code { font-size: 13px; }
.facts span { color: var(--ink-2); }

/* badge spec */
.try { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 22px; }
.try > span { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.try > span:first-child { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.states-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; border-top: 1px solid var(--ink); padding-top: 12px; margin-bottom: 20px; }
.states-head .h2s { border: 0; padding: 0; margin: 0; }
.states-head label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; min-height: 44px; }
.states-head input { width: 18px; height: 18px; accent-color: var(--ink); }
.state-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.state-row > div { min-width: 0; }
.state-row .name { margin: 0; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.state-row .desc { margin: 4px 0 6px; font-size: 14.5px; color: var(--ink-2); text-wrap: pretty; }
.state-row .aria { margin: 0; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 8px; }
.cell { background: var(--paper); color: var(--ink); border: 1px solid var(--rule); padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 12px; min-width: 0; overflow: hidden; }
.cell > span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cell > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cell .touch .ppb-voice { display: none; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px 48px; }
.kv > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--ink-3); font-size: 14.5px; }
.kv > div span:first-child { color: var(--ink-2); }
.kv > div span:last-child { font-family: var(--mono); font-size: 13px; text-align: right; }
.kv.a11y > div { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
.kv.a11y code { font-size: 12.5px; overflow-wrap: anywhere; }
.kv.a11y > div span:last-child { font-family: inherit; font-size: inherit; text-align: left; color: var(--ink-2); }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 40px; margin-bottom: 40px; }
.swatches > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.swatches .pair { display: flex; }
.swatches .pair i { width: 30px; height: 30px; border: 1px solid rgba(0, 0, 0, .15); }
.swatches .txt { min-width: 0; display: flex; flex-direction: column; }
.swatches code { font-size: 12.5px; }
.swatches small { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.tok-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px 48px; }
.tok-cols .label { display: block; margin: 0 0 10px; }
.scale > div { padding: 8px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.scale code { font-size: 11.5px; color: var(--ink-3); text-align: right; }
.spacing { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.spacing div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.spacing i { display: block; height: 10px; background: var(--ink); }
.radii { display: flex; flex-wrap: wrap; gap: 16px; }
.radii div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.radii i { width: 56px; height: 40px; border: 1.5px solid var(--ink); }
.radii code { font-size: 11px; color: var(--ink-3); }
