:root {
  --paper: #f6f7f5;
  --ink: #111316;
  --muted: #697078;
  --line: #cfd4d5;
  --red: #e43b2f;
  --cyan: #8bdfe2;
  --cyan-deep: #177e86;
  --soft: #e9ecea;
  --black: #151719;
  --max: 1240px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.16; letter-spacing: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.7rem, 6vw, 6.9rem); max-width: 760px; }
h2 { font-size: clamp(1.8rem, 3vw, 3.15rem); max-width: 720px; }
h3 { font-size: 1.18rem; }
.site-header { max-width: var(--max); margin: auto; min-height: 76px; padding: 18px 26px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: baseline; gap: 3px; font-weight: 900; font-size: 1.35rem; letter-spacing: -.05em; white-space: nowrap; }
.wordmark span { color: var(--red); }
.wordmark small { font-size: .55rem; letter-spacing: .16em; color: var(--muted); margin-left: 10px; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: .9rem; }
.site-nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { border-color: var(--red); }
.site-nav .nav-cta { border: 1px solid var(--ink); padding: 8px 13px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--ink); padding: 8px 10px; }
.section-wide { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: 26px; padding-right: 26px; }
.cover-hero { max-width: var(--max); margin: auto; padding: 45px 26px 56px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: end; border-bottom: 1px solid var(--ink); }
.cover-copy, .cover-visual { min-width: 0; }
.issue-line { display: flex; justify-content: space-between; gap: 18px; border-top: 4px solid var(--ink); padding: 10px 0 20px; font-size: .72rem; letter-spacing: .12em; font-weight: 800; }
.cover-copy h1 { max-width: 700px; margin-bottom: 24px; font-size: clamp(2.4rem, 4vw, 4.5rem); line-height: 1.14; }
.hero-lead { font-size: 1.18rem; line-height: 1.75; max-width: 620px; }
.hero-actions, .entry-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--ink); padding: 12px 18px; font-weight: 800; min-height: 48px; transition: transform .18s ease, background .18s ease; }
.button-red { background: var(--red); border-color: var(--red); color: #fff; }
.button-black { background: var(--black); color: #fff; border-color: var(--black); }
.button-outline { background: transparent; }
.button:hover { transform: translateY(-2px); }
.hero-notes { display: flex; gap: 14px; flex-wrap: wrap; font-size: .7rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.cover-visual { margin: 0; position: relative; background: #fff; border: 1px solid var(--ink); padding: 10px; transform: rotate(1deg); box-shadow: 14px 16px 0 var(--cyan); }
.cover-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.cover-visual figcaption { font-size: .65rem; letter-spacing: .12em; font-weight: 800; padding: 9px 0 2px; }
.index-strip { max-width: var(--max); margin: auto; padding: 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ink); }
.index-strip > div { padding: 22px 20px 22px 0; border-right: 1px solid var(--line); }
.index-strip > div:not(:first-child) { padding-left: 20px; }
.index-strip > div:last-child { border-right: 0; }
.strip-number, .device-code, .article-tag, .eyebrow { display: block; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.index-strip strong { font-size: 1.1rem; }
.index-strip p { font-size: .88rem; margin: 4px 0 0; }
.directory-section, .task-band, .manifest-section, .feature-section, .articles-section, .faq-section, .closing-band { padding-top: 92px; padding-bottom: 92px; }
.section-heading { max-width: 690px; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading > p { font-size: 1.02rem; max-width: 640px; }
.directory-section, .task-band, .manifest-section, .feature-section, .faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.directory-table, .feature-list, .faq-list, .route-table, .plan-board { border-top: 2px solid var(--ink); }
.table-head, .table-row { display: grid; grid-template-columns: 1.15fr 1.55fr .6fr; gap: 18px; align-items: center; }
.table-head { padding: 12px 10px; font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.table-row { padding: 18px 10px; border-top: 1px solid var(--line); font-size: .9rem; }
.table-row:hover { background: var(--cyan); }
.table-row span:first-child { font-weight: 800; }
.table-row i { font-style: normal; color: var(--red); font-size: .7rem; margin-right: 10px; }
.task-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.device-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.device-grid a { padding: 22px 14px; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.device-grid a:nth-child(2n) { border-right: 0; }
.device-grid strong, .device-grid small { display: block; }
.device-grid small { color: var(--muted); margin-top: 6px; }
.device-code { color: var(--ink); margin: 0 0 6px; }
.manifest-line { display: flex; gap: 20px; border-top: 1px solid var(--line); padding: 14px 0; }
.manifest-line b { width: 80px; color: var(--cyan-deep); font-size: .78rem; letter-spacing: .12em; }
.manifest-line span { color: var(--muted); }
.manifest-card, .side-note, .help-ticket, .route-stamp, .source-stamp { border: 1px solid var(--ink); background: #fff; padding: 30px; }
.manifest-card { align-self: start; box-shadow: 10px 10px 0 var(--red); }
.card-pin { display: inline-block; background: var(--ink); color: #fff; padding: 4px 8px; font-size: .7rem; letter-spacing: .1em; margin-bottom: 40px; }
.manifest-card strong { font-size: 1.35rem; display: block; margin-bottom: 14px; }
.text-link, .read-link { display: inline-flex; gap: 8px; font-weight: 800; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.text-link span, .read-link span { color: var(--red); }
.feature-section, .articles-section, .faq-section { border-top: 1px solid var(--line); }
.feature-copy .button { margin-top: 14px; }
.feature-list > div { display: grid; grid-template-columns: 50px 1fr; column-gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature-list span { color: var(--red); font-weight: 800; }
.feature-list p { grid-column: 2; margin: 2px 0 0; }
.article-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 32px; }
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.article-card { padding: 20px 16px 22px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin-right: 16px; }
.article-card:last-child { border-right: 0; }
.article-card time { font-size: .75rem; color: var(--muted); display: block; margin-bottom: 18px; }
.article-card h3 { margin-bottom: 12px; }
.article-card h3 a:hover { color: var(--red); }
.article-card p { font-size: .88rem; }
.read-link { font-size: .82rem; gap: 7px; border: 0; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; list-style: none; font-weight: 800; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--red); font-size: 1.4rem; line-height: 1; }
details p { padding: 12px 30px 0 0; margin: 0; }
.closing-band { background: var(--black); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-left: 40px !important; padding-right: 40px !important; }
.closing-band p { color: #c9d0cf; }
.closing-band .eyebrow { color: var(--cyan); }
.inner-page { max-width: var(--max); margin: auto; }
.inner-hero { padding: 70px 26px 58px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 55px; border-bottom: 1px solid var(--ink); align-items: end; }
.inner-hero h1 { font-size: clamp(2.25rem, 4vw, 4.2rem); max-width: 850px; margin-bottom: 20px; }
.lead { font-size: 1.12rem; max-width: 720px; }
.side-note, .help-ticket, .route-stamp, .source-stamp { padding: 22px; }
.side-note span, .help-ticket span, .route-stamp span, .source-stamp span { font-size: .7rem; letter-spacing: .1em; color: var(--red); font-weight: 900; }
.side-note strong, .help-ticket strong { display: block; font-size: 1.2rem; margin: 30px 0 8px; }
.body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 60px; padding: 65px 26px 80px; }
.main-column { min-width: 0; }
.lead-paragraph { font-size: 1.25rem; color: var(--ink); max-width: 850px; margin-bottom: 50px; }
.task-block { position: relative; border-top: 2px solid var(--ink); padding: 24px 0 35px; }
.task-block .section-index, .article-section .section-index { color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.task-block h2 { font-size: 2rem; margin: 6px 0 15px; }
.task-block p { max-width: 820px; }
.task-block ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; margin: 18px 0 0; list-style: none; }
.task-block li { border-left: 3px solid var(--cyan-deep); padding: 4px 0 4px 12px; font-size: .9rem; }
.rail { padding-top: 6px; }
.rail-card { border-top: 3px solid var(--ink); padding: 18px 0 24px; }
.rail-card span { display: block; color: var(--muted); font-size: .7rem; letter-spacing: .1em; font-weight: 800; }
.rail-card strong { display: block; margin: 10px 0; font-size: 1.1rem; }
.rail-red { border-top-color: var(--red); }
.support-strip { border-top: 1px solid var(--line); padding: 55px 26px; display: flex; justify-content: space-between; gap: 35px; align-items: end; }
.support-links { display: flex; gap: 18px; flex-wrap: wrap; }
.network-hero { background: #e7f1f0; }
.route-stamp, .source-stamp { background: var(--ink); color: #fff; border: 0; text-align: right; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.route-stamp strong, .source-stamp strong { font-size: 2rem; line-height: .95; }
.route-stamp span, .source-stamp span { color: var(--cyan); }
.route-table { margin-bottom: 40px; }
.route-table .table-row { grid-template-columns: 1fr 1.15fr 1.35fr 1.1fr; }
.route-cards, .check-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--ink); }
.route-cards > div, .check-cell { padding: 24px 18px 28px 0; border-right: 1px solid var(--line); margin-right: 18px; }
.route-cards > div:last-child, .check-cell:last-child { border-right: 0; }
.route-cards span, .plan-code { font-size: .72rem; color: var(--red); font-weight: 900; letter-spacing: .08em; }
.route-cards h2, .check-cell h2 { font-size: 1.45rem; margin: 20px 0 12px; }
.check-cell { padding: 26px 18px 30px 0; }
.check-cell > span { font-size: .75rem; font-weight: 900; color: var(--cyan-deep); letter-spacing: .1em; }
.plan-row { display: grid; grid-template-columns: 60px 1fr 1fr 120px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.plan-row h2 { font-size: 1.55rem; }
.plan-row p { margin: 4px 0; font-size: .9rem; }
.plan-row b { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.plan-row > a { font-weight: 800; text-align: right; }
.entry-page { padding: 100px 26px 120px; max-width: 1000px; }
.entry-kicker { font-weight: 900; letter-spacing: .12em; color: var(--red); margin-bottom: 20px; }
.entry-page h1 { max-width: 850px; font-size: clamp(2.4rem, 5vw, 5.2rem); }
.entry-page > .lead { font-size: 1.35rem; max-width: 800px; margin: 24px 0; }
.entry-actions { margin: 28px 0 70px; }
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.entry-grid > div { padding: 22px 18px 0 0; border-right: 1px solid var(--line); margin-right: 18px; }
.entry-grid > div:last-child { border-right: 0; }
.entry-grid span { font-size: .72rem; color: var(--red); font-weight: 900; }
.entry-grid h2 { font-size: 1.5rem; margin: 20px 0 10px; }
.article-index { padding: 70px 26px 100px; }
.index-header { display: flex; justify-content: space-between; gap: 40px; border-bottom: 1px solid var(--ink); padding-bottom: 55px; }
.index-header h1 { font-size: clamp(2.2rem, 4vw, 4.4rem); margin: 16px 0; }
.index-count { border: 1px solid var(--ink); background: var(--cyan); height: 130px; width: 130px; display: flex; flex-direction: column; justify-content: center; align-items: center; flex: none; }
.index-count strong { font-size: 3.5rem; line-height: 1; }
.index-count span { font-size: .8rem; font-weight: 800; }
.article-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin-top: 35px; }
.article-wall .article-card { margin: 0; border-right: 0; padding-right: 12px; }
.article-wall .article-card:nth-child(3n+1) { border-top: 2px solid var(--ink); }
.article-wall .article-card:nth-child(3n+2), .article-wall .article-card:nth-child(3n+3) { border-top: 1px solid var(--line); }
.article-page { padding: 70px 26px 100px; }
.article-header { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 55px; border-bottom: 1px solid var(--ink); padding-bottom: 60px; }
.article-header time { display: block; color: var(--muted); font-size: .8rem; margin: 6px 0 18px; }
.article-header h1 { font-size: clamp(2.25rem, 4vw, 4.7rem); margin-bottom: 20px; }
.article-header aside { border-left: 3px solid var(--red); padding: 10px 0 10px 20px; align-self: end; }
.article-header aside span { font-size: .7rem; color: var(--red); font-weight: 900; }
.article-header aside strong { display: block; margin: 22px 0 8px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 800px) 240px; gap: 80px; padding-top: 65px; }
.article-section { border-top: 2px solid var(--ink); padding: 22px 0 25px; }
.article-section h2 { font-size: 2.05rem; margin: 6px 0 15px; }
.article-section p { font-size: 1.04rem; line-height: 1.95; color: #363b3e; }
.article-rail { border-top: 2px solid var(--ink); padding-top: 16px; align-self: start; }
.article-rail > span { font-size: .7rem; color: var(--red); font-weight: 900; letter-spacing: .1em; }
.article-rail a { display: block; border-bottom: 1px solid var(--line); padding: 15px 0; font-size: .85rem; font-weight: 800; }
.article-end { border-top: 1px solid var(--line); padding-top: 25px; display: flex; gap: 20px; flex-wrap: wrap; }
.text-hero { padding: 72px 26px 55px; border-bottom: 1px solid var(--ink); }
.text-hero h1 { font-size: clamp(2.2rem, 4vw, 4.2rem); margin: 16px 0; }
.text-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 70px; padding: 60px 26px 100px; }
.text-columns section { border-top: 2px solid var(--ink); padding: 22px 0 30px; }
.text-columns h2 { font-size: 1.8rem; margin: 10px 0; }
.not-found { max-width: 900px; margin: auto; padding: 130px 26px 170px; }
.error-code { font-size: 8rem; line-height: 1; color: var(--red); font-weight: 900; }
.not-found h1 { font-size: 3.5rem; margin: 10px 0 20px; }
.site-footer { max-width: var(--max); margin: auto; border-top: 3px solid var(--ink); padding: 42px 26px 25px; }
.footer-mark { display: grid; grid-template-columns: 180px 1fr; gap: 0 28px; margin-bottom: 40px; }
.footer-mark strong { font-size: 1.5rem; }
.footer-mark span { font-size: .78rem; letter-spacing: .1em; color: var(--red); font-weight: 800; }
.footer-mark p { grid-column: 2; max-width: 530px; margin-top: 8px; font-size: .87rem; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 40px; }
.footer-columns div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-columns b { font-size: .75rem; letter-spacing: .1em; color: var(--red); margin-bottom: 10px; }
.footer-columns a { font-size: .85rem; padding: 2px 0; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 15px; display: flex; justify-content: space-between; gap: 20px; font-size: .7rem; color: var(--muted); }
@media (max-width: 900px) {
  .site-header { padding: 15px 18px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { display: none; position: absolute; z-index: 5; top: 70px; left: 18px; right: 18px; background: var(--paper); border: 1px solid var(--ink); padding: 15px; flex-direction: column; align-items: stretch; gap: 8px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 8px; }
  .wordmark small { display: none; }
  .cover-hero, .directory-section, .task-band, .manifest-section, .feature-section, .faq-section { grid-template-columns: 1fr; gap: 35px; }
  .cover-hero { padding-top: 28px; }
  .cover-visual { order: 0; transform: none; box-shadow: 8px 8px 0 var(--cyan); }
  .index-strip { grid-template-columns: 1fr; }
  .index-strip > div, .index-strip > div:not(:first-child) { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .index-strip > div:last-child { border-bottom: 0; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card { margin-right: 12px; }
  .body-grid, .inner-hero, .article-header { grid-template-columns: 1fr; gap: 32px; }
  .body-grid { padding-top: 40px; }
  .route-cards, .check-grid { grid-template-columns: repeat(2, 1fr); }
  .check-cell:nth-child(2) { border-right: 0; }
  .plan-row { grid-template-columns: 45px 1fr; gap: 10px; }
  .plan-row > div:nth-child(3), .plan-row > a { grid-column: 2; }
  .plan-row > a { text-align: left; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-rail { order: -1; }
  .text-columns { grid-template-columns: 1fr; }
  .footer-mark { grid-template-columns: 1fr; }
  .footer-mark p { grid-column: 1; }
  .footer-bottom { flex-direction: column; }
  .task-block ul { grid-template-columns: 1fr; }
  .support-strip, .closing-band, .article-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  h1 { font-size: 2.25rem; width: 100%; max-width: 100%; word-break: break-all; overflow-wrap: anywhere; }
  .cover-copy h1 { font-size: 2.1rem; line-height: 1.25; }
  .site-header { min-height: 66px; }
  .cover-hero, .section-wide { padding-left: 18px; padding-right: 18px; }
  .issue-line { font-size: .62rem; gap: 14px; }
  .issue-line span:last-child { white-space: nowrap; }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .table-head { display: none; }
  .table-row { grid-template-columns: 1fr; gap: 4px; padding: 17px 0; }
  .table-row span:last-child { color: var(--red); }
  .device-grid { grid-template-columns: 1fr; }
  .device-grid a { border-right: 0; }
  .directory-section, .task-band, .manifest-section, .feature-section, .articles-section, .faq-section, .closing-band { padding-top: 58px; padding-bottom: 58px; }
  .article-grid, .route-cards, .check-grid, .entry-grid { grid-template-columns: 1fr; }
  .article-card { border-right: 0 !important; margin-right: 0; padding-right: 0; }
  .route-cards > div, .check-cell, .entry-grid > div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); }
  .route-cards > div:last-child, .check-cell:last-child, .entry-grid > div:last-child { border-bottom: 0; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-columns div:last-child { grid-column: 1 / -1; }
  .not-found h1 { font-size: 2.8rem; }
  .error-code { font-size: 5.5rem; }
  .cover-visual figcaption { font-size: .58rem; }
}
