:root {
  --ink: #11100f;
  --ink-2: #191715;
  --ink-3: #25211e;
  --paper: #f3efe8;
  --paper-2: #d8d1c7;
  --muted: #948d84;
  --line: #3a3530;
  --line-light: #c9c1b7;
  --red: #d84a3f;
  --red-dark: #a9312a;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Avenir Next", "Noto Sans SC", "PingFang SC", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", STSong, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--paper); background: var(--ink); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(216,74,63,.7); outline-offset: 3px; }
.grain { position: fixed; z-index: 100; inset: 0; pointer-events: none; opacity: .09; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.eyebrow { margin: 0; color: var(--red); font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .16em; }

.site-header { position: relative; z-index: 1; min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(20px,4vw,64px); border-bottom: 1px solid var(--line); background: rgba(17,16,15,.92); backdrop-filter: blur(14px); }
.nav-brand { display: flex; align-items: center; gap: 15px; width: max-content; line-height: 1.05; }
.nav-brand span { font-family: var(--serif); font-size: clamp(1.46rem,1.78vw,1.9rem); font-weight: 900; letter-spacing: .025em; transform: scaleY(1.09); transform-origin: left center; }
.nav-brand b { color: var(--red); font-family: var(--sans); font-size: clamp(1.06rem,1.28vw,1.38rem); font-weight: 950; letter-spacing: .1em; transform: scaleY(1.09); transform-origin: left center; }
.site-header nav { display: flex; gap: clamp(12px,2vw,28px); color: var(--paper-2); font-size: .78rem; }
.site-header nav a, .nav-cta { min-height: 44px; display: inline-flex; align-items: center; }
.site-header nav a:hover { color: var(--red); }
.nav-cta { justify-self: end; gap: 10px; color: var(--paper); font-size: .78rem; font-weight: 700; }
.nav-cta span { color: var(--red); font-size: 1.1rem; }

main > section { padding-inline: clamp(20px,4vw,64px); }
.hero { position: relative; min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding-top: 30px; padding-bottom: 34px; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero::before { position: absolute; z-index: -1; top: 0; left: 63%; width: 1px; height: 100%; content: ""; background: var(--line); }
.hero::after { position: absolute; z-index: -1; right: -10vw; bottom: -21vw; width: 54vw; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; content: ""; }
.hero-kicker { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-family: var(--mono); font-size: .65rem; letter-spacing: .13em; }
.hero h1 { margin: auto 0; padding: 6vh 0 4vh; line-height: .82; text-transform: uppercase; }
.hero-cn { display: block; font-family: var(--serif); font-size: clamp(6.4rem,18vw,19rem); font-weight: 800; letter-spacing: -.075em; }
.hero-en { display: block; margin: .31em 0 0 clamp(6rem,35vw,33rem); color: var(--red); font-family: var(--sans); font-size: clamp(3.3rem,9vw,10.5rem); font-weight: 900; letter-spacing: -.06em; line-height: .85; white-space: nowrap; }
.hero-bottom { width: 61%; display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-statement { max-width: 30ch; margin: 0; color: var(--paper-2); font-family: var(--serif); font-size: clamp(1.15rem,1.8vw,1.7rem); line-height: 1.28; }
.hero-statement-highlight { color: var(--paper); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 16px; border: 1px solid var(--paper-2); border-radius: 0; background: transparent; color: var(--paper); cursor: pointer; font-size: .78rem; font-weight: 700; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.985); }
.button.primary { border-color: var(--red); background: var(--red); }
.button.primary:hover { background: var(--red-dark); }
.button.secondary:hover { background: var(--paper); color: var(--ink); }
.hero-ledger { position: absolute; right: clamp(20px,4vw,64px); bottom: 34px; width: calc(32% - clamp(20px,4vw,64px)); border-top: 1px solid var(--red); }
.hero-ledger div { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hero-ledger span { grid-row: 1 / 3; color: var(--red); font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; }
.hero-ledger strong { font-family: var(--serif); font-size: clamp(1rem,1.55vw,1.36rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.hero-ledger small { margin-top: 4px; color: var(--muted); font-size: .7rem; }

.manifesto { padding-top: clamp(70px,9vw,140px); padding-bottom: clamp(70px,9vw,140px); border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.manifesto-line { display: flex; flex-wrap: wrap; gap: 0 .34em; margin-top: 24px; font-family: var(--serif); font-size: clamp(2.5rem,6.8vw,7.2rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.manifesto-line .accent { color: var(--red); }
.manifesto > p:last-child { width: min(620px,100%); margin: 38px 0 0 auto; padding-left: 22px; border-left: 2px solid var(--red); color: #514c46; }
.manifesto-copy strong { display: block; margin-top: 16px; color: var(--ink); font-weight: 800; }

.section-index { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid currentColor; color: var(--muted); font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; }
.section-index span:first-child { color: var(--red); }
.section-heading { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: clamp(40px,8vw,120px); align-items: end; padding: clamp(58px,8vw,110px) 0 48px; }
.section-heading h2, .catalog-head h2, .run-copy h2 { max-width: 14ch; margin: 17px 0 0; font-family: var(--serif); font-size: clamp(2.8rem,6vw,6.5rem); font-weight: 800; letter-spacing: -.045em; line-height: .99; }
.section-heading h2 em, .catalog-head h2 em, .run-copy h2 em { color: var(--red); font-style: normal; }
.section-heading > p { margin: 0; color: var(--muted); font-size: .9rem; }

.flagship { padding-bottom: clamp(80px,10vw,150px); }
.flagship-grid { display: grid; grid-template-columns: 1.35fr repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.flagship-card { position: relative; min-height: 275px; display: flex; flex-direction: column; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); transition: background .22s ease, transform .22s ease; }
.flagship-card:hover { z-index: 2; background: var(--ink-2); transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--red-dark); }
.flagship-card-main { grid-row: span 2; min-height: 550px; background: var(--red); }
.flagship-card-main:hover { background: var(--red-dark); box-shadow: 7px 7px 0 var(--paper); }
.flagship-card .meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; }
.flagship-card-main .meta { color: #f0c4bf; }
.flagship-card h3 { max-width: 12ch; margin: auto 0 18px; font-family: var(--serif); font-size: clamp(2.35rem,4vw,5.15rem); font-weight: 800; letter-spacing: -.045em; line-height: .96; }
.flagship-card:not(.flagship-card-main) h3 { max-width: 13ch; font-size: clamp(1.55rem,2.35vw,2.65rem); line-height: 1.02; }
.flagship-card h3 a, .free-row h3 a, .catalog-row h3 a { display: inline-block; text-decoration: none; transition: color .18s ease, transform .18s ease; }
.flagship-card h3 a:hover, .free-row h3 a:hover, .catalog-row h3 a:hover { color: var(--red); transform: translateX(3px); }
.flagship-card p { margin: 0 0 28px; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.flagship-card-main p { color: #f4d4d0; }
.flagship-card > a { min-height: 44px; display: flex; align-items: center; margin-top: auto; padding-top: 18px; border-top: 1px solid currentColor; font-family: var(--mono); font-size: .7rem; font-weight: 700; }
.section-link { min-height: 60px; display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding: 0 18px; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; }
.section-link:hover { border-color: var(--red); color: var(--red); }

.free-set { padding-bottom: clamp(80px,10vw,150px); background: var(--paper); color: var(--ink); }
.free-set .section-index { color: #746e67; }
.inverse > p { color: #5b554f; }
.free-list { border-top: 2px solid var(--ink); }
.free-row { display: grid; grid-template-columns: 56px minmax(160px,.6fr) minmax(240px,1.4fr) auto; gap: 24px; align-items: center; min-height: 98px; border-bottom: 1px solid var(--line-light); transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.free-row:hover { background: #ece4da; transform: translateX(3px); box-shadow: inset 3px 0 0 var(--red); }
.free-row > span { justify-self: start; padding-left: 11px; color: var(--red); font-family: var(--mono); font-size: .72rem; font-weight: 700; }
.free-row h3 { margin: 0; font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.04em; }
.free-row p { margin: 0; color: #5b554f; font-size: .82rem; }
.free-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; white-space: nowrap; }
.free-row-actions > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--red-dark); font-family: var(--mono); font-size: .7rem; font-weight: 700; text-decoration: none; }
.free-row-actions > a:hover { color: var(--red); }
.free-row-actions strong { display: inline-flex; gap: 0; color: var(--red-dark); font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-align: right; }
.review-gate { grid-template-columns: 56px minmax(160px,.6fr) minmax(240px,1.4fr) auto; }
.section-link.light { border-color: var(--line-light); }

.catalog { padding-bottom: clamp(90px,11vw,170px); }
.catalog-head { display: grid; grid-template-columns: 1fr minmax(300px,.7fr); gap: 50px; align-items: end; padding: clamp(58px,8vw,110px) 0 42px; }
.catalog-note { max-width: 74ch; margin: -14px 0 17px; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.catalog-search { display: block; position: relative; }
.catalog-search > span { display: block; margin-bottom: 10px; color: var(--muted); font-family: var(--mono); font-size: .64rem; letter-spacing: .11em; }
.catalog-search input { width: 100%; min-height: 58px; padding: 13px 50px 13px 15px; border: 1px solid var(--line); border-radius: 0; background: var(--ink-2); color: var(--paper); }
.catalog-search b { position: absolute; right: 16px; bottom: 16px; color: var(--red); }
.category-bar { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 22px; }
.filter-divider { width: 1px; min-height: 30px; margin: 5px 5px; background: var(--line); }
.filter-chip { min-height: 40px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .75rem; }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--red); color: var(--paper); }
.filter-chip.is-active { background: var(--red); }
.catalog-status { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .7rem; }
.catalog-status b { color: var(--paper); }
.catalog-row { display: grid; grid-template-columns: 64px minmax(190px,.65fr) minmax(260px,1.35fr) 150px; gap: 22px; align-items: center; min-height: 116px; border-bottom: 1px solid var(--line); transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.catalog-row:hover { background: var(--ink-2); transform: translateX(3px); box-shadow: inset 3px 0 0 var(--red); }
.catalog-row.is-index-only { cursor: default; }
.catalog-row.is-index-only:hover { background: transparent; }
.catalog-row .number { justify-self: start; padding-left: 13px; color: #5d5650; font-family: var(--mono); font-size: .68rem; }
.catalog-row h3 { margin: 0; font-family: var(--serif); font-size: 1.28rem; letter-spacing: -.02em; }
.catalog-row p { margin: 0; color: var(--muted); font-size: .8rem; }
.catalog-row .category { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; color: var(--red); font-family: var(--mono); font-size: .65rem; text-align: right; }
.catalog-row .catalog-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 12px; white-space: nowrap; }
.catalog-row .catalog-actions a { color: inherit; text-decoration: none; }
.catalog-row .catalog-actions a:hover { color: #f2d7d1; }
.catalog-row .catalog-actions a::after { content: " ↗"; color: var(--red); }
.catalog-empty { padding: 28px 0; color: var(--muted); }
.load-more { min-width: 180px; margin: 34px auto 0; }

.run-map { display: grid; grid-template-columns: minmax(0,.8fr) minmax(420px,1.2fr); gap: clamp(45px,8vw,130px); padding-bottom: clamp(90px,11vw,160px); background: var(--ink-2); }
.run-map .section-index { grid-column: 1 / -1; }
.run-copy { padding-top: 50px; }
.run-copy h2 { font-size: clamp(2.6rem,5vw,5.4rem); }
.run-copy > p:last-child { max-width: 46ch; margin: 28px 0 0; color: var(--muted); }
.core-page { min-height: calc(100svh - 72px); padding-bottom: clamp(80px,10vw,150px); }
.subpage-hero { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: clamp(40px,8vw,120px); align-items: end; padding: clamp(70px,10vw,155px) 0 54px; border-bottom: 1px solid var(--line); }
.subpage-hero h1 { max-width: 11ch; margin: 18px 0 0; font-family: var(--serif); font-size: clamp(3.8rem,8vw,8.6rem); font-weight: 800; letter-spacing: -.085em; line-height: .84; }
.subpage-hero h1 em { color: var(--red); font-style: normal; }
.subpage-hero p:last-child { margin: 0; color: var(--muted); }
.core-page .flagship-grid { margin-top: 48px; }
.terminal { align-self: start; margin-top: 50px; border: 1px solid var(--line); background: var(--ink); box-shadow: 12px 12px 0 var(--red-dark); }
.terminal-top { min-height: 50px; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); }
.terminal-top span { display: flex; gap: 6px; }
.terminal-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.terminal-top i:first-child { background: var(--red); }
.terminal-top code { color: var(--muted); font-size: .65rem; }
.terminal-body { padding: 28px 22px; }
.terminal-path + .terminal-path { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.terminal-body > .terminal-path > span { display: block; margin: 0 0 9px; color: var(--red); font-family: var(--mono); font-size: .63rem; }
.terminal-command { display: flex; justify-content: space-between; gap: 12px; align-items: start; padding: 15px; border: 1px solid var(--line); background: var(--ink-2); }
.terminal-command pre { min-width: 0; flex: 1; max-height: 176px; margin: 0; overflow: auto; }
.terminal-command code { display: block; white-space: pre; color: var(--paper-2); font: .69rem/1.55 var(--mono); }
.terminal-command button { min-width: 48px; min-height: 34px; border: 1px solid var(--line); background: transparent; color: var(--paper); cursor: pointer; }
.terminal-body p { margin: 0; color: var(--muted); font-size: .82rem; }
.terminal-copy-state { min-height: 20px; margin-top: 8px !important; color: #d7b0a8 !important; font-size: .7rem !important; }.terminal-copy-state.error { color: #e9b163 !important; }
.terminal-steps { display: grid; gap: 9px; margin: 0; padding-left: 20px; color: var(--paper-2); font-size: .8rem; line-height: 1.65; }
.terminal-note { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid var(--line); }

footer { min-height: 190px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; padding: 42px clamp(20px,4vw,64px); border-top: 1px solid var(--line); }
.footer-mark span { display: block; font-family: var(--serif); font-size: clamp(2.2rem,4vw,4.5rem); font-weight: 800; line-height: 1; }
.footer-mark b { display: block; margin-top: .22em; color: var(--red); font-size: clamp(1.7rem,3.5vw,3.8rem); letter-spacing: -.055em; line-height: .9; }
footer > p { align-self: end; margin: 0; color: var(--muted); font-size: .72rem; }
footer > div:last-child { display: flex; gap: 22px; font-size: .75rem; }

.tanco { position: fixed; z-index: 80; right: 0; bottom: 10px; width: 54px; }
.tanco.is-open { right: clamp(12px,2vw,28px); bottom: clamp(10px,1.4vw,18px); width: min(330px,calc(100vw - 32px)); }
.tanco-trigger { position: relative; width: 50px; min-height: 50px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--red); border-radius: 0; background: rgba(17,16,15,.96); color: var(--paper); box-shadow: 4px 4px 0 var(--red-dark); cursor: pointer; text-align: left; }
.tanco-trigger > span:last-child { display: none; }
.tanco-trigger::after { position: absolute; right: calc(100% + 12px); bottom: 4px; width: max-content; padding: 7px 9px; border: 1px solid var(--line); background: var(--ink); color: var(--paper); content: "Tanco · AI助手"; font: .65rem var(--mono); opacity: 0; pointer-events: none; transform: translateX(4px); transition: opacity .16s ease, transform .16s ease; }
.tanco-trigger:hover { background: var(--ink-2); transform: translate(-2px,-2px); }
.tanco-trigger:hover::after, .tanco-trigger:focus-visible::after { opacity: 1; transform: translateX(0); }
.tanco-trigger b, .tanco-panel-title b { display: block; font-family: var(--mono); font-size: .86rem; letter-spacing: .08em; }
.tanco-trigger small, .tanco-panel-title small { display: block; margin-top: 4px; color: var(--muted); font-size: .67rem; }
.tanco-avatar { position: relative; width: 40px; height: 29.6px; flex: 0 0 40px; display: block; overflow: visible; background: transparent; }
.tanco-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; opacity: 0; }
.tanco-frame:nth-child(1) { animation: tanco-stage-one 3.2s steps(1,end) infinite; }
.tanco-frame:nth-child(2) { animation: tanco-stage-two 3.2s steps(1,end) infinite; }
.tanco-frame:nth-child(3) { animation: tanco-stage-three 3.2s steps(1,end) infinite; }
@keyframes tanco-stage-one { 0%, 18%, 82%, 100% { opacity: 1; } 19%, 81% { opacity: 0; } }
@keyframes tanco-stage-two { 0%, 18%, 82%, 100% { opacity: 0; } 19%, 38%, 62%, 81% { opacity: 1; } 39%, 61% { opacity: 0; } }
@keyframes tanco-stage-three { 0%, 38%, 62%, 100% { opacity: 0; } 39%, 61% { opacity: 1; } }
.tanco-panel { margin-bottom: 14px; border: 1px solid var(--red); background: var(--ink); box-shadow: 8px 8px 0 var(--red-dark); }
.tanco-panel[hidden] { display: none; }
.tanco.is-open .tanco-trigger { display: none; }
.tanco-panel > header { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 15px; border-bottom: 1px solid var(--line); }
.tanco-panel-title { display: flex; align-items: center; gap: 12px; }
.tanco-panel-title .tanco-avatar { width: 52.8px; height: 39.2px; flex-basis: 52.8px; }
.tanco-close { width: 34px; height: 34px; border: 1px solid var(--line); background: transparent; color: var(--paper); cursor: pointer; font-size: 1.3rem; }
.tanco-close:hover { border-color: var(--red); color: var(--red); }
.tanco-chat { display: grid; gap: 8px; max-height: 284px; overflow-y: auto; padding: 14px; border-bottom: 1px solid var(--line); }
.tanco-message { width: fit-content; max-width: 88%; margin: 0; padding: 10px 11px; font-size: .77rem; line-height: 1.6; }
.tanco-message.assistant { border-left: 2px solid var(--red); background: var(--ink-2); color: var(--paper); }
.tanco-message.user { justify-self: end; background: var(--red); color: #fff; }
.tanco-form { position: relative; display: flex; align-items: end; gap: 8px; padding: 12px; }
.tanco-form textarea { width: 100%; min-height: 44px; max-height: 108px; padding: 11px 46px 11px 11px; border: 1px solid var(--line); border-radius: 0; background: var(--ink-2); color: var(--paper); font: inherit; font-size: .78rem; line-height: 1.45; resize: vertical; }
.tanco-send { position: absolute; right: 18px; bottom: 19px; width: 30px; height: 30px; border: 0; background: var(--red); color: #fff; cursor: pointer; font-size: 1.15rem; line-height: 1; }
.tanco-send:disabled { opacity: .55; cursor: wait; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero::before { left: 69%; }
  .hero-bottom { width: 66%; display: block; }
  .hero-actions { justify-content: flex-start; margin-top: 24px; }
  .hero-ledger { width: 26%; }
  .flagship-grid { grid-template-columns: 1.2fr 1fr; }
  .flagship-card-main { grid-row: span 2; }
  .free-row { grid-template-columns: 45px minmax(150px,.7fr) minmax(200px,1.3fr); }
  .free-row-actions { grid-column: 2 / -1; justify-content: flex-start; padding-bottom: 14px; }
  .review-gate strong { grid-column: 2 / -1; padding-bottom: 14px; text-align: left; }
  .catalog-row { grid-template-columns: 50px minmax(180px,.7fr) minmax(230px,1.3fr); }
  .catalog-row .category { grid-column: 2 / -1; align-items: flex-start; padding-bottom: 12px; text-align: left; }
  .catalog-row .catalog-actions { justify-content: flex-start; }
  .run-map { grid-template-columns: minmax(0,1fr); }
  .terminal { width: 100%; min-width: 0; margin-top: 0; }
  .terminal-command, .terminal-command code { min-width: 0; }
}

@media (max-width: 680px) {
  .site-header { min-height: 66px; }
  .nav-brand { gap: 11px; }
  .nav-brand span { font-size: 1.28rem; }
  .nav-brand b { font-size: .95rem; letter-spacing: .08em; }
  .nav-cta { font-size: .7rem; }
  .hero { min-height: calc(100svh - 62px); padding-top: 20px; }
  .hero::before { display: none; }
  .hero-kicker span:last-child { display: none; }
  .hero h1 { margin: 12vh 0 auto; padding: 0; line-height: .78; }
  .hero-cn { font-size: clamp(5.7rem,30vw,9rem); writing-mode: vertical-rl; }
  .hero-en { position: absolute; top: 29%; right: -1.2em; margin: 0; font-size: clamp(3rem,17vw,5.7rem); transform: rotate(90deg); transform-origin: center; }
  .hero-bottom { width: 100%; }
  .hero-statement { max-width: 20ch; }
  .hero-ledger { display: none; }
  .hero-actions { display: grid; }
  .manifesto-line { display: block; font-size: clamp(2.5rem,13vw,4.7rem); }
  .manifesto-line strong { display: block; }
  .section-heading, .catalog-head, .subpage-hero { grid-template-columns: 1fr; gap: 28px; }
  .section-heading h2, .catalog-head h2, .run-copy h2 { font-size: clamp(2.65rem,13vw,4.4rem); }
  .flagship-grid { grid-template-columns: 1fr; }
  .flagship-card, .flagship-card-main { min-height: 290px; grid-row: auto; }
  .free-row { grid-template-columns: 38px 1fr; gap: 14px; padding: 18px 0; }
  .free-row p, .free-row-actions { grid-column: 2; }
  .review-gate strong { grid-column: 2; padding-bottom: 0; }
  .catalog-row { grid-template-columns: 38px 1fr; gap: 12px; padding: 19px 0; }
  .catalog-row p, .catalog-row .category { grid-column: 2; }
  .catalog-row .category { padding-bottom: 0; }
  .terminal { box-shadow: 7px 7px 0 var(--red-dark); }
  .terminal-command { align-items: stretch; flex-direction: column; }
  .terminal-command button { width: 100%; }
  footer { grid-template-columns: 1fr; }
  footer > p { order: 3; }
  .tanco { right: 10px; bottom: 10px; }
  .tanco-trigger { min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .tanco-frame { animation: none !important; }
  .tanco-frame:nth-child(1), .tanco-frame:nth-child(2) { opacity: 0; }
  .tanco-frame:nth-child(3) { opacity: 1; }
}
