:root {
  --paper: #f3f0e8;
  --paper-2: #e9e4d7;
  --sheet: #fcfbf7;
  --ink: #17181c;
  --ink-2: #4a4c52;
  --muted: #8b8c8f;
  --line: #dcd6c8;
  --hl: #f5dc6b;
  --hl-soft: #fbf0bd;
  --ok: #1e7a49;
  --bad: #c8381c;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.015em; }
h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.04; }
h2 em, h1 em { font-style: italic; }
section { scroll-margin-top: 70px; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(243, 240, 232, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; height: 62px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .mark { width: 26px; height: 26px; border-radius: 6px; background: var(--ink); display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding: 5px; }
.logo .mark i { width: 4px; background: var(--hl); border-radius: 1px; }
.logo .mark i:nth-child(1) { height: 6px; } .logo .mark i:nth-child(2) { height: 10px; } .logo .mark i:nth-child(3) { height: 15px; }
.logo b { font: 600 18px/1 var(--sans); letter-spacing: -.01em; }
.logo small { font: 500 11px/1 var(--mono); color: var(--muted); border: 1px solid var(--line); padding: 4px 6px; border-radius: 4px; }
.top nav { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a.pill { background: var(--ink); color: var(--paper); padding: 9px 14px; border-radius: 999px; }

/* hero */
.hero { padding: 44px 0 26px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: end; }
.hero h1 { font-size: clamp(40px, 4.9vw, 74px); line-height: 1.02; }
.mono-word { font-family: var(--mono); font-size: .62em; letter-spacing: -.03em; background: var(--sheet); border: 1px solid var(--line); padding: 0 .25em; border-radius: 4px; white-space: nowrap; vertical-align: .08em; }
.hero-side p { margin: 0 0 18px; color: var(--ink-2); font-size: 17px; }
.legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 7px; }
.lg-code { font: 500 13px var(--mono); color: var(--ink); border: 1px solid var(--line); background: var(--sheet); padding: 1px 5px; border-radius: 3px; }
.lg-ai { font: italic 400 16px var(--serif); color: var(--ink); }
.lg-chip { font: 500 13px var(--mono); color: var(--ink); background: linear-gradient(transparent 10%, var(--hl) 10%, var(--hl) 90%, transparent 90%); padding: 0 4px; }
.lg-chip i { font-style: normal; color: var(--ok); font-size: 10px; vertical-align: 5px; margin-left: 2px; }

/* controls */
.stage-sec { padding-bottom: 80px; }
.controls { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 14px; flex-wrap: wrap; }
.store b { display: block; font: 600 17px/1.2 var(--sans); }
.store span { font-size: 13px; color: var(--muted); }
.weeks { display: flex; gap: 6px; }
.weeks button { border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 7px 12px; text-align: left; cursor: pointer; font: 500 14px/1.15 var(--mono); }
.weeks button small { display: block; font: 500 10px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.weeks button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.weeks button[aria-selected="true"] small { color: #a9aab0; }
.switch { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper-2); border-radius: 14px; padding: 5px; margin-bottom: 16px; }
.switch .thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); background: var(--ink); border-radius: 10px; transition: transform .55s cubic-bezier(.6, 0, .2, 1); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.switch button { position: relative; z-index: 1; border: 0; background: none; padding: 16px 10px; cursor: pointer; font: 600 17px/1 var(--sans); color: var(--ink-2); transition: color .4s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.switch button i { font: 500 12px/1 var(--mono); font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; }
.switch button[aria-selected="true"] { color: var(--paper); }
.switch button[data-mode="raw"] { font-family: var(--mono); font-weight: 500; font-size: 15px; }
.switch button[data-mode="story"] { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; }

/* stage */
.stage { display: grid; position: relative; background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 40px 80px -50px rgba(23, 24, 28, .45); padding: 28px; transition: background-color .6s, height .55s cubic-bezier(.6, 0, .2, 1); overflow: hidden; align-items: start; }
.stage[data-mode="raw"] { background-color: #fdfdfb; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 100% 28px, 96px 100%; background-position: 0 -1px; }
.stage[data-mode="raw"]::before { content: ''; position: absolute; inset: 0; background: rgba(253, 253, 251, .86); }
.stage[data-mode="story"] { background-color: #fbf8f0; }
.view { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; position: relative; min-width: 0; }
.view.active { opacity: 1; visibility: visible; transition: opacity .45s .1s, visibility 0s; }
.caption { margin: 14px 4px 0; font-size: 14px; color: var(--muted); max-width: 820px; }

/* raw */
.raw-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
.raw-grid .sheet:first-child { grid-row: span 2; }
.sheet { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-width: 0; }
.sheet-tab { font: 500 12px/1 var(--mono); padding: 10px 12px; background: var(--paper-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.file-ic { width: 11px; height: 13px; border: 1.5px solid var(--ink-2); border-radius: 2px; position: relative; }
.sheet-scroll { overflow-x: auto; }
.sheet table { border-collapse: collapse; width: 100%; font: 400 12.5px/1 var(--mono); white-space: nowrap; }
.sheet th { background: #f4f2ec; color: var(--muted); font-weight: 500; padding: 5px 8px; border: 1px solid #ece8de; text-align: left; }
.sheet td { padding: 7px 8px; border: 1px solid #ece8de; }
.sheet td.rn, .sheet th.rn { background: #f4f2ec; color: var(--muted); text-align: center; width: 30px; }
.sheet tr.hdr td { color: var(--muted); font-weight: 500; }
.sheet tr.prev td:not(.rn) { background: #faf5df; }
.sheet tr.cur td:not(.rn) { background: var(--hl-soft); }
.view.active .sheet tbody tr { animation: rowIn .5s both; animation-delay: calc(var(--i, 0) * 28ms); }
.raw-note { font: italic 400 22px/1.35 var(--serif); color: var(--ink-2); padding: 8px 4px; }
.raw-note b { font-style: normal; font-family: var(--mono); font-size: 18px; color: var(--ink); }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* computed */
.sum { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.sum b { font: 600 22px/1 var(--mono); color: var(--ink); margin-right: 4px; }
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mcard { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px 8px; min-width: 0; }
.mhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.mhead b { font: 600 15px/1.2 var(--sans); }
.flag { font: 600 11px/1 var(--mono); color: #fff; background: var(--bad); padding: 4px 7px; border-radius: 99px; }
.calm { font: 500 11px/1 var(--mono); color: var(--muted); }
.mcols, .mrow { display: grid; grid-template-columns: minmax(0, 1fr) 62px 82px 82px 70px; gap: 8px; align-items: center; }
.mcols { font: 500 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line); }
.mcols span:nth-child(n+3) { text-align: right; }
.mrow { padding: 5px 0; border-bottom: 1px dashed #ebe6da; font-size: 13.5px; position: relative; }
.mrow:last-child { border-bottom: 0; }
.view.active .mrow { animation: rowIn .45s both; animation-delay: calc(var(--i) * 18ms); }
.ml { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.mv, .mc { font: 500 13px/1 var(--mono); text-align: right; }
.mv.prev { color: var(--muted); }
.mc { font-size: 12px; color: var(--muted); }
.mrow.anom { background: linear-gradient(90deg, rgba(200, 56, 28, .08), rgba(200, 56, 28, .02)); margin: 0 -14px; padding: 5px 14px; border-left: 3px solid var(--bad); }
.mrow.anom .mc { color: #fff; background: var(--bad); padding: 3px 5px; border-radius: 4px; justify-self: end; }
.mrow.anom .ml { color: var(--ink); font-weight: 600; }
.mrow.flash { animation: flash 1.8s ease-out both !important; }
@keyframes flash { 0%, 30% { background: var(--hl); } 100% { background: transparent; } }
.spark { width: 62px; height: 22px; }
.spark polyline { fill: none; stroke: #c5bfb0; stroke-width: 1.5; }
.spark .seg { stroke: var(--ink); stroke-width: 2; fill: none; }
.spark circle { fill: var(--ink); }
.anom .spark .seg { stroke: var(--bad); }
.anom .spark circle { fill: var(--bad); }

/* story */
.story-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 56px; padding: 8px 8px 4px; }
.kicker { font: 500 12px/1.3 var(--mono); color: var(--muted); margin-bottom: 18px; }
.headline { font: 400 clamp(34px, 3.6vw, 52px)/1.08 var(--serif); letter-spacing: -.02em; }
.byline { margin-top: 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.status { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.status .dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--muted); }
.status.checking .dot { background: #d9a400; animation: blink .6s infinite alternate; }
.status.ready { border-color: rgba(30, 122, 73, .35); background: #eef6f0; }
.status.ready .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(30, 122, 73, .18); }
.status.held { border-color: rgba(200, 56, 28, .4); background: #fbefea; }
.status.held .dot { background: var(--bad); box-shadow: 0 0 0 4px rgba(200, 56, 28, .18); }
@keyframes blink { to { opacity: .3; } }
.draft-toggle { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--ink-2); cursor: pointer; user-select: none; }
.draft-toggle input { position: absolute; opacity: 0; }
.draft-toggle span { width: 38px; height: 22px; border-radius: 22px; background: var(--paper-2); border: 1px solid var(--line); position: relative; transition: background .25s; flex: none; }
.draft-toggle span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s; }
.draft-toggle input:checked + span { background: var(--bad); border-color: var(--bad); }
.draft-toggle input:checked + span::after { transform: translateX(16px); }
.draft-toggle input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.story-body p { font: 400 20px/1.6 var(--serif); margin: 0 0 18px; }
.v-story .w { opacity: 0; transition: opacity .3s; }
.v-story .w.on { opacity: 1; }
.chip { font: 500 .8em/1 var(--mono); padding: .14em .28em; border-radius: 2px; white-space: nowrap; opacity: 0; cursor: help; position: relative; background: linear-gradient(transparent 4%, var(--hl) 4%, var(--hl) 96%, transparent 96%); transition: background .3s; }
.headline .chip { font-size: .7em; }
.chip.on { opacity: 1; }
.chip.pop { animation: pop .4s both; }
.chip.land { animation: land .35s both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes land { 0% { transform: scale(1.25); } 100% { transform: none; } }
.chip.ok::after, .chip.skip::after, .chip.bad::after { position: absolute; top: -.85em; right: -.5em; font: 700 10px/1 var(--sans); width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; }
.chip.ok::after { content: '✓'; background: var(--ok); color: #fff; }
.chip.skip::after { content: '·'; background: var(--paper-2); color: var(--muted); }
.chip.bad { background: linear-gradient(transparent 4%, #f6c6b8 4%, #f6c6b8 96%, transparent 96%); color: var(--bad); text-decoration: line-through; text-decoration-thickness: 2px; }
.chip.bad::after { content: '!'; background: var(--bad); color: #fff; }
.chip.checked { animation: checked .45s both; }
@keyframes checked { 0% { box-shadow: 0 0 0 0 rgba(30, 122, 73, .5); } 100% { box-shadow: 0 0 0 8px rgba(30, 122, 73, 0); } }
.chip.bad.checked { animation: shake .45s both; }
@keyframes shake { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
.todo { margin-top: 26px; border-top: 2px solid var(--ink); padding-top: 14px; }
.todo h4 { margin: 0 0 10px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.todo ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 12px; }
.todo li { counter-increment: t; display: grid; grid-template-columns: 32px 1fr; font-size: 16px; }
.todo li::before { content: counter(t); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 12px/24px var(--mono); text-align: center; }
.todo li b { font-weight: 600; }
.todo li span { color: var(--ink-2); font-size: 15px; }
.flyer-layer { position: fixed; inset: 0; pointer-events: none; z-index: 80; }
.flyer { position: fixed; font: 500 14px/1 var(--mono); padding: 4px 5px; border-radius: 3px; color: var(--ink); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); will-change: transform; }
.tip { position: fixed; z-index: 90; max-width: 300px; background: var(--ink); color: #eceae4; padding: 12px 14px; border-radius: 8px; font-size: 13px; line-height: 1.45; opacity: 0; pointer-events: none; transition: opacity .15s; display: grid; gap: 3px; }
.tip.show { opacity: 1; }
.tip .src { font: 500 11px/1.2 var(--mono); color: #a9aab0; }
.tip b { color: #fff; font-weight: 600; }
.tip .num { font-family: var(--mono); }
.tip em { font-style: normal; color: #c9cacd; }
.tip em.ok { color: #7fd3a1; }
.tip b.bad { color: #ff9c86; }
.tip small { color: #8b8c8f; }

/* inbox */
.inbox, .how { padding: 96px 0; }
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; margin-bottom: 36px; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 17px; }
.mail { display: grid; grid-template-columns: 320px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(23, 24, 28, .45); }
.mail-list { border-right: 1px solid var(--line); background: #faf9f5; }
.ml-head { font: 600 13px/1 var(--sans); padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.ml-item { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 14px 18px; cursor: pointer; }
.ml-item.on { background: var(--hl-soft); box-shadow: inset 3px 0 0 var(--ink); }
.ml-item.old { opacity: .55; cursor: default; }
.ml-from { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.ml-item b { display: block; font: 600 14px/1.3 var(--sans); margin-bottom: 4px; }
.ml-pre { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mail-open { padding: 30px 40px 34px; max-width: 760px; }
.mo-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 22px; }
.mo-meta span { color: var(--muted); font-size: 13px; }
.mo-tag { font: 500 11px/1 var(--mono) !important; color: var(--ink) !important; background: var(--paper-2); padding: 6px 8px; border-radius: 4px; height: fit-content; }
.mail-open h3 { font-size: 32px; line-height: 1.12; margin-bottom: 18px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 20px; }
.kpis div { padding: 12px 14px; }
.kpis div + div { border-left: 1px solid var(--line); }
.kpis span { display: block; font-size: 12px; color: var(--muted); }
.kpis b { display: block; font: 600 20px/1.3 var(--mono); }
.kpis i { font: 500 12px/1 var(--mono); font-style: normal; color: var(--muted); }
.kpis i.anom { color: var(--bad); }
.mail-open p { font-size: 16px; color: var(--ink-2); margin: 0 0 14px; }
.mchip { font: 500 .9em var(--mono); color: var(--ink); background: linear-gradient(transparent 8%, var(--hl-soft) 8%, var(--hl-soft) 92%, transparent 92%); padding: 0 3px; cursor: help; }
.mo-todo { background: #faf9f5; border-radius: 8px; padding: 14px 18px; margin: 18px 0; font-size: 15px; }
.mo-todo ol { margin: 8px 0 0; padding-left: 20px; }
.mo-todo li { margin-bottom: 6px; }
.mo-todo li span { color: var(--muted); }
.mo-foot { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* how */
.how { background: var(--paper-2); }
.pipe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; position: relative; }
.pipe::before { content: ''; position: absolute; left: 4%; right: 4%; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); opacity: .35; }
.pipe li { position: relative; background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 14px 14px 16px; }
.pipe .tag { display: inline-block; font: 500 11px/1 var(--mono); padding: 5px 7px; border-radius: 4px; background: var(--ink); color: var(--paper); margin-bottom: 12px; }
.pipe .ai { background: #fff; }
.pipe .ai .tag { background: none; color: var(--bad); border: 1px solid var(--bad); font: italic 400 14px/1 var(--serif); }
.pipe .check { border-color: var(--ok); }
.pipe .check .tag { background: var(--ok); }
.pipe .out .tag { background: var(--hl); color: var(--ink); }
.pipe b { display: block; font: 600 15px/1.2 var(--sans); margin-bottom: 6px; }
.pipe .ai b { font: 400 19px/1.1 var(--serif); font-style: italic; }
.pipe p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.honest { margin-top: 48px; display: grid; grid-template-columns: 220px 1fr; gap: 10px 40px; border-top: 1px solid var(--ink); padding-top: 22px; }
.honest h3 { font-size: 28px; }
.honest ul { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 8px; }
.honest .origin { grid-column: 2; font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* get */
.get { background: var(--ink); color: #eceae4; padding: 88px 0; }
.get-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.get h2 { color: #fff; }
.get p { color: #b5b6ba; font-size: 17px; max-width: 560px; }
.needs { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.needs li { font: 500 13px/1 var(--mono); border: 1px solid #3a3b41; padding: 8px 10px; border-radius: 6px; color: #d8d7d2; }
.get-form { background: #222328; border: 1px solid #34353b; border-radius: 14px; padding: 24px; display: grid; gap: 14px; }
.get-form label { display: grid; gap: 6px; font-size: 13px; color: #a9aab0; }
.get-form input { background: #17181c; border: 1px solid #3a3b41; border-radius: 8px; padding: 12px 14px; color: #fff; }
.get-form input:focus { outline: 2px solid var(--hl); outline-offset: -1px; }
.get-form button { background: var(--hl); color: var(--ink); border: 0; border-radius: 8px; padding: 14px; font-weight: 600; cursor: pointer; }
.get-form small { color: #77787d; }
.sent b { color: #fff; font-size: 18px; }
footer { background: var(--ink); color: #77787d; font-size: 13px; padding: 0 0 36px; }
footer .wrap { border-top: 1px solid #2c2d32; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .pipe { grid-template-columns: repeat(4, 1fr); }
  .pipe::before { display: none; }
  .story-grid { grid-template-columns: 1fr; gap: 26px; }
  .mgrid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .top nav a:not(.pill) { display: none; }
  .top nav a.pill { font-size: 13px; padding: 8px 12px; }
  .logo small { display: none; }
  .hero { padding: 26px 0 18px; }
  .hero-grid, .sec-head, .get-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero h1 { font-size: 38px; }
  .hero-side p { font-size: 15px; }
  .controls { flex-direction: column; align-items: stretch; }
  .weeks { overflow-x: auto; }
  .weeks button { flex: 1; padding: 6px 8px; font-size: 12px; }
  .switch button { flex-direction: column; gap: 6px; padding: 10px 4px; font-size: 13px !important; }
  .switch button[data-mode="story"] { font-size: 16px !important; }
  .stage { padding: 14px; border-radius: 10px; }
  .raw-grid { grid-template-columns: 1fr; }
  .raw-grid .sheet:first-child { grid-row: auto; }
  .raw-note { font-size: 18px; }
  .mcols, .mrow { grid-template-columns: minmax(0, 1fr) 70px 70px 58px; }
  .spark, .mcols span:nth-child(2) { display: none; }
  .mrow { font-size: 12.5px; }
  .mv { font-size: 12px; }
  .sum { gap: 14px; }
  .sum b { font-size: 18px; }
  .story-grid { padding: 4px; }
  .headline { font-size: 30px; }
  .story-body p { font-size: 17.5px; }
  .inbox, .how { padding: 64px 0; }
  .mail { grid-template-columns: 1fr; }
  .mail-list { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .ml-head { display: none; }
  .ml-item { flex: 0 0 240px; border-bottom: 0; border-right: 1px solid var(--line); }
  .mail-open { padding: 20px 18px 24px; }
  .mail-open h3 { font-size: 25px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div:nth-child(3) { border-left: 0; }
  .kpis div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pipe { grid-template-columns: 1fr 1fr; }
  .honest { grid-template-columns: 1fr; }
  .honest .origin { grid-column: 1; }
  .get { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
}
