/* The homepage story: Hooks infrastructure, four actions, one window into the work. */
.hero-scope { display: block; font-size: .7em; color: var(--muted); margin-top: 14px; }
.story { padding: 82px 0; }
.story[id], .questions details[id] { scroll-margin-top: 84px; }
.story h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; font-weight: 500; margin: 0 0 20px; }
.story h2 em { color: var(--coral); font-style: normal; }
.story p { color: var(--muted); line-height: 1.65; }
.story-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.story-head h2 { margin-bottom: 0; }
.story-head > p { max-width: 370px; margin: 0; font-size: 16px; }
.possibilities { padding-top: 66px; padding-bottom: 30px; }
.chain-line { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 30px; margin-bottom: 12px; font-size: 12px; }
.chain-line > span { color: var(--glass); font-weight: 500; }
.chain-line > a { margin-left: auto; color: var(--ink); }
.chain-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; padding: 0; margin: 0; list-style: none; }
.chain-logos li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: var(--ink-2); }
.chain-logos img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.chain-rh-mark { display: inline-flex; width: 24px; height: 24px; }
.chain-mark-dark, body.light .chain-mark-light { display: none; }
body.light .chain-mark-dark { display: block; }
.filter-sample { display: flex; align-items: center; gap: 24px; margin: 0 22px 16px; padding: 18px 22px; background: var(--glass-dim); border: 1px solid var(--line); border-radius: 7px; }
.filter-sample > strong { font-size: 35px; font-weight: 500; min-width: 85px; font-variant-numeric: tabular-nums; color: var(--glass); }
.filter-sample b { font-size: 13px; font-weight: 500; }
.filter-sample p { font-size: 11px; margin: 5px 0 0; }
.loop-intro { max-width: 68ch; font-size: 17px; }
.step-status { display: block; font: 10px/1.7 var(--mono); color: var(--glass); margin-top: 16px; }
.launch-pace { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding: 26px 0; margin-top: 36px; border-block: 1px solid var(--line); }
.launch-pace .step-status { margin-top: 0; }
.launch-pace h3 { margin: 8px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.launch-pace p { font-size: 15px; margin: 0; }
.action-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.action-item { display: flex; flex-direction: column; min-width: 0; border-top: 1px solid var(--line-2); padding-top: 18px; }
.action-hooks { border-top: 2px solid var(--coral); padding-top: 17px; }
.action-hooks h3 { color: var(--coral-2); }
.action-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.action-number { font: 11px var(--mono); color: var(--faint); }
.action-state { font: 10px var(--mono); color: var(--glass); background: var(--glass-dim); padding: 5px 7px; border-radius: 3px; }
.action-state.next { color: var(--muted); background: var(--bg-3); }
.action-item h3 { font-size: 30px; font-weight: 500; letter-spacing: -.04em; margin: 22px 0 10px; }
.action-item p { font-size: 15px; margin: 0; }
.action-item a { display: inline-flex; padding-top: 20px; margin-top: auto; font-size: 13px; color: var(--ink); gap: 12px; }
.work-window { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-1); box-shadow: var(--shadow); }
.work-tabs { display: flex; gap: 5px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.work-tabs button { background: transparent; border: 0; padding: 10px 16px; border-radius: 6px; color: var(--muted); cursor: pointer; font-size: 14px; white-space: nowrap; }
.work-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.work-panel[hidden] { display: none; }
.browser-status { font: 11px var(--mono); color: var(--muted); }
.browser-status::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 8px; }
.browser-pause { border: 1px solid var(--line-2); border-radius: 5px; background: transparent; padding: 6px 10px; font-size: 11px; cursor: pointer; }
.browser-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); }
.browser-crew { padding: 14px 10px; border-right: 1px solid var(--line); }
.browser-crew button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 15px 10px; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.browser-crew button[aria-pressed="true"] { background: var(--glass-dim); border-color: var(--line-2); }
.browser-crew img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.browser-crew strong { display: block; font-size: 14px; font-weight: 500; }
.browser-crew small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; line-height: 1.4; }
.browser-stage { min-width: 0; }
.browser-mission { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 18px; }
.browser-mission span { font: 10px/1.5 var(--mono); color: var(--muted); }
.browser-mission h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.025em; font-weight: 500; margin: 6px 0 0; }
.browser-controls { display: flex; flex-direction: column; align-items: end; gap: 8px; flex: none; }
.browser-controls .browser-status { font-size: 10px; }
.browser-progress { height: 3px; background: var(--line); }
.browser-progress span { display: block; width: 100%; height: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; }
.browser-chapters { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 18px; }
.browser-chapters[hidden] { display: none; }
.browser-chapters button { border: 1px solid var(--line-2); border-radius: 5px; background: transparent; padding: 7px 12px; font-size: 11px; cursor: pointer; color: var(--muted); }
.browser-chapters button[aria-pressed="true"] { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.browser-chapters button:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.browser-address { padding: 12px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; background: var(--bg-3); }
.browser-address a { font: 11px var(--mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-address span { margin-left: auto; color: var(--muted); font-size: 13px; }
.browser-image { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.browser-image video { width: 100%; height: 100%; display: block; object-fit: contain; background: var(--bg-2); }
.browser-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 24px; }
.browser-empty[hidden] { display: none; }
.browser-empty strong { font-size: 22px; font-weight: 500; }
.browser-empty p { max-width: 38ch; margin: 12px auto 0; font-size: 13px; }
.browser-caption { padding: 10px 18px; margin: 0; font: 10px/1.5 var(--mono); border-top: 1px solid var(--line); color: var(--muted); }
.work-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.market-heading { padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.market-heading h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.market-heading p { margin: 0; font-size: 12px; }
.market-scroll { max-height: 580px; overflow: auto; padding: 0 22px; }
.market-scroll .watch-list { padding: 0; }
.market-extra { padding: 18px 22px; border-top: 1px solid var(--line); }
.market-extra summary { cursor: pointer; font-size: 13px; }
.market-extra .rig-in { max-width: 520px; margin-top: 20px; }
.market-extra .rig-out { margin-top: 12px; }
.work-panel .island-feed { max-height: 570px; overflow: auto; padding: 0 22px; }
.work-panel .pane-foot { padding: 18px 22px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { border-top: 1px solid var(--line); padding-top: 24px; counter-increment: steps; }
.steps li::before { content: '0' counter(steps); font: 12px var(--mono); color: var(--glass); }
.steps h3 { font-size: 22px; font-weight: 500; margin: 20px 0 12px; letter-spacing: -.025em; }
.steps p { margin: 0; font-size: 15px; }
.evolve { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 60px; padding: 52px; margin-top: 54px; background: var(--glass-dim); border: 1px solid var(--line-2); border-radius: 12px; }
.evolve h3 { font-size: clamp(28px,3vw,38px); font-weight: 500; letter-spacing: -.045em; margin: 0 0 18px; }
.evolve p { margin: 0; font-size: 16px; }
.evolve-example { padding: 24px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; }
.evolve-example header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.evolve-example img { width: 44px; height: 44px; }
.evolve-example header strong { font-size: 15px; font-weight: 500; }
.evolve-example header small { display: block; font: 10px var(--mono); color: var(--muted); margin-top: 5px; }
.brief-line { padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.brief-line span { font: 10px var(--mono); color: var(--muted); margin-right: 10px; }
.evolve-example .carry { font: 10px/1.6 var(--mono); color: var(--glass); margin-top: 15px; }
.agent-story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.agent-art { border-radius: 12px; aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.agent-story p { max-width: 40ch; font-size: 17px; }
.story-link { display: inline-flex; margin-top: 20px; color: var(--ink); gap: 20px; font-size: 14px; }
.record-details { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.record-details > summary { padding: 22px 0; cursor: pointer; font-size: 15px; }
.record-details .ledger { padding: 0 0 24px; max-height: 650px; overflow: auto; }
.record-details .ledger-note { font-size: 12px; }
.funding { border-top: 1px solid var(--line); }
.funding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.funding-grid p { font-size: 16px; }
.funding-splits { list-style: none; margin: 0; padding: 0; }
.funding-splits li { display: flex; align-items: center; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.funding-splits strong { font-size: 35px; font-weight: 500; letter-spacing: -.04em; min-width: 88px; color: var(--coral); }
.funding-splits span { font-size: 16px; }
.funding-splits small { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }
.funding-grid .funding-state { font: 11px/1.7 var(--mono); }
.questions { padding-top: 0; }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { font-size: 17px; cursor: pointer; padding: 23px 0; }
.questions details p { font-size: 15px; max-width: 75ch; margin: 0 0 24px; }
.chain-support { margin: 0 0 24px; max-width: 75ch; }
.chain-support div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.chain-support dt { font-weight: 500; }
.chain-support dd { margin: 0; color: var(--muted); }
.story-close { text-align: center; padding-top: 45px; padding-bottom: 90px; }
.story-close p { margin: 0 auto 28px; }
@media(max-width: 1100px) {
 .action-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
 .action-hooks { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
 .action-hooks .action-top { grid-column: 1; justify-content: flex-start; gap: 16px; }
 .action-hooks h3 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
 .action-hooks p { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
 .action-hooks a { grid-column: 2; padding-top: 14px; }
 .chain-line > span { flex-basis: 100%; }
}
@media(max-width: 900px) {
 .action-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
 .story-head { align-items: start; flex-direction: column; gap: 20px; }
 .story-head > p { max-width: 55ch; }
 .evolve { gap: 30px; padding: 30px; }
 .browser-layout { grid-template-columns: 170px minmax(0,1fr); }
 .agent-story,.funding-grid { gap: 30px; }
}
@media(max-width: 620px) {
 .story { padding: 54px 0; }
 .possibilities { padding-bottom: 0; }
 .chain-line { gap: 18px; }
 .chain-line > span { width: 100%; }
 .chain-line > a { margin-left: 0; }
 .chain-logos { gap: 16px 20px; }
 .filter-sample { margin: 0 14px 14px; padding: 14px; gap: 14px; }
 .filter-sample > strong { min-width: 60px; font-size: 28px; }
 .launch-pace { grid-template-columns: 1fr; gap: 15px; }
 .action-grid { gap: 30px 20px; }
 .action-item h3 { font-size: 27px; }
 .action-item p { font-size: 13px; }
 .action-hooks { display: flex; }
 .action-hooks .action-top { flex-direction: row; align-items: center; justify-content: space-between; }
 .action-hooks h3 { margin-bottom: 10px; }
 .action-hooks p { align-self: auto; max-width: 42ch; }
 .action-hooks a { padding-top: 18px; }
 .action-top { align-items: start; flex-direction: column; }
 .work-tabs { padding: 10px 8px; gap: 2px; }
 .work-tabs button { padding: 9px 10px; font-size: 11px; flex: 1; }
 .browser-status { font-size: 10px; }
 .browser-layout { display: block; }
 .browser-crew { display: flex; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
 .browser-crew button { width: auto; flex: 1 0 auto; padding: 8px; }
 .browser-crew img { width: 26px; height: 26px; }
 .browser-crew strong { font-size: 12px; }
 .browser-crew small { display: none; }
 .browser-empty strong { font-size: 17px; }
 .browser-empty p { font-size: 11px; }
 .browser-address,.browser-caption { padding: 10px 12px; }
 .browser-mission { padding: 16px 12px; gap: 10px; }
 .browser-mission h3 { font-size: 18px; }
 .browser-controls .browser-status { font-size: 9px; }
 .browser-pause { font-size: 10px; }
 .browser-chapters { padding: 10px 12px; }
 .chain-support div { grid-template-columns: 1fr; gap: 4px; }
 .market-heading { padding: 16px; align-items: start; }
 .market-scroll { padding: 0 14px; }
 .steps,.evolve,.agent-story,.funding-grid { grid-template-columns: 1fr; }
 .steps { gap: 26px; }
 .steps h3 { margin-top: 12px; }
 .evolve { margin-top: 36px; padding: 24px; gap: 24px; }
 .evolve-example { padding: 18px; }
 .agent-story { gap: 28px; }
 .agent-art { order: 2; }
 .questions { padding-top: 0; }
 .funding-grid { gap: 20px; }
}
@media(max-width: 400px) {
 .head .rail { gap: 8px; }
 .head nav a { padding-inline: 7px; min-height: 44px; display: inline-flex; align-items: center; }
 .head nav a:not(.keep) { display: none; }
}
@media(prefers-reduced-motion:reduce) { .story * { scroll-behavior: auto; } }
