/* roulang page: index */
:root {
  --paper: #F4F7FB;
  --card: #FFFFFF;
  --ink: #1C2430;
  --muted: #5C6B7E;
  --blue: #2F5F9E;
  --blue-hover: #244E84;
  --line: #E4EAF3;
  --warm: #8C6239;
  --warm-bg: #F8F1E8;
  --warm-line: #EAD9C6;
  --blue-soft: #E7EEF7;
  --danger: #8E3B3B;
  --ok: #1E6B45;
  --radius: 12px;
  --shadow: 0 10px 28px rgba(47, 95, 158, 0.08);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "PMingLiU", "PingFang SC", serif;
  --space: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.75;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font-family: var(--sans); }
.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: #fff;
  color: var(--blue);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}
.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; min-width: 0; max-width: 280px; }
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}
.brand-sub { font-family: var(--sans); font-size: 12px; color: var(--blue); letter-spacing: 0.04em; }
.desk-nav { display: flex; align-items: center; gap: 18px; flex: 1; }
.nav-group { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.nav-label {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-right: 2px;
}
.desk-nav a, .off-link {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  padding: 6px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.desk-nav a:hover, .off-link:hover { color: var(--blue); }
.desk-nav a.is-active {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--blue);
  text-decoration: none;
}
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.action-link {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--blue);
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
}
.action-link:hover { background: var(--blue-soft); text-decoration: none; }
.action-solid { background: var(--blue); color: #fff; }
.action-solid:hover { background: var(--blue-hover); color: #fff; }
.menu-toggle, .close-canvas {
  min-height: 44px;
  min-width: 44px;
  border-radius: 12px;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
}
.menu-toggle:hover, .close-canvas:hover { background: var(--blue-soft); }
.age-bar {
  background: var(--blue-soft);
  color: var(--blue-hover);
  font-family: var(--sans);
  font-size: 12px;
  text-align: center;
  padding: 6px 14px;
  border-bottom: 1px solid var(--line);
}
.off-canvas {
  background: var(--paper);
  padding: 22px 18px 32px;
  width: 300px;
}
.off-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.off-group { margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.off-label {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--warm);
  margin-bottom: 4px;
}
.off-link { display: flex; width: 100%; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.block { padding: var(--space) 0; }
.block-paper { background: var(--paper); }
.block-white { background: var(--card); }
.block-blue { background: var(--blue-soft); }
.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
h1, h2, h3 { font-family: var(--sans); color: var(--ink); margin: 0; letter-spacing: 0; }
h1 { font-size: 40px; line-height: 1.28; font-weight: 760; }
h2 { font-size: 30px; line-height: 1.35; font-weight: 720; }
h3 { font-size: 20px; line-height: 1.45; font-weight: 700; }
.lead, .prose { color: var(--ink); max-width: 68ch; }
.lead { margin: 14px 0 0; font-size: 16px; }
.section-head { margin-bottom: 28px; max-width: 760px; }
.hero-copy .lead { margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--blue);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus, .action-link:focus, .menu-toggle:focus, .desk-nav a:focus, .pill:focus, .word-cell:focus, input:focus, select:focus, textarea:focus, .accordion-title:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric-card, .bento-card, .board, .assure-card, .side-card, .feature-main, .register-card, .still {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.metric-card { padding: 18px 18px 16px; }
.metric-num {
  font-family: var(--sans);
  font-size: 34px;
  line-height: 1;
  color: var(--blue);
  font-weight: 760;
}
.metric-label { margin: 10px 0 0; font-family: var(--sans); font-weight: 700; }
.metric-note { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.bento-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}
.bento-card:hover { text-decoration: none; transform: translateY(-2px); border-color: #c9d7ea; }
.bento-card p { color: var(--muted); margin: 10px 0 16px; }
.card-link { margin-top: auto; font-family: var(--sans); color: var(--blue); font-weight: 700; }
.stack { display: grid; gap: 16px; }
.still { overflow: hidden; }
.still-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(160deg, rgba(28, 36, 48, 0.08), rgba(47, 95, 158, 0.28)),
    repeating-linear-gradient(90deg, #d5e1f0 0 12px, #edf3fa 12px 14px);
}
.still-wide .still-frame { aspect-ratio: 2.35 / 1; }
.frame-b { background: linear-gradient(145deg, #d7e4f5, #f7f1e8 55%, #c9d8ee); }
.frame-c { background: linear-gradient(160deg, #e7eef8, #d5c4ae 70%, #edf3fa); }
.frame-d { background: linear-gradient(180deg, #f4f7fb, #d9e4f3 40%, #c5b39a); }
.still-index {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--warm-bg);
  color: var(--warm);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}
.still-name {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
}
.still figcaption, .caption {
  padding: 10px 14px 12px;
  color: var(--muted);
  font-size: 13px;
  font-family: var(--sans);
}
.issue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.issue-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.issue-item:hover { text-decoration: none; }
.issue-item strong { display: block; font-family: var(--sans); }
.issue-item span { color: var(--muted); font-size: 14px; }
.issue-no { font-family: var(--sans); color: var(--warm); font-weight: 760; }
.board { padding: 20px; height: 100%; }
.board h3 { margin-bottom: 8px; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.compare-table th, .compare-table td {
  text-align: left;
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}
.compare-table th { font-family: var(--sans); color: var(--blue); font-weight: 700; }
.offset-still { margin-top: 28px; }
.timeline { list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 1px;
  background: #c9d6e8;
}
.timeline li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
}
.when { font-family: var(--sans); color: var(--warm); font-weight: 760; font-size: 13px; }
.timeline p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.news-list { display: grid; }
.news-row, .notice-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.news-row:hover, .notice-row:hover { text-decoration: none; background: rgba(47, 95, 158, 0.03); }
.news-date { font-family: var(--sans); color: var(--warm); font-weight: 700; }
.news-row strong, .notice-row strong { font-family: var(--sans); display: block; }
.news-row span, .notice-row span { color: var(--muted); font-size: 14px; }
.tag-block { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); height: 100%; }
.tag-block h3 { font-size: 16px; margin-bottom: 10px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--warm-bg);
  color: var(--warm);
  border: 1px solid var(--warm-line);
  font-family: var(--sans);
  font-size: 13px;
  text-decoration: none;
}
.pill:hover { background: #fff; text-decoration: none; }
.assure-card { padding: 20px; height: 100%; }
.assure-card p { color: var(--muted); margin: 8px 0 0; }
.icon-line { width: 36px; height: 36px; color: var(--blue); }
.assure-split { display: flex; gap: 14px; align-items: flex-start; }
.assure-quote { border-left: 3px solid var(--warm); padding-left: 12px; }
.status-line { margin-top: 14px; font-family: var(--sans); color: var(--blue); font-size: 14px; }
.qa-bar {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.qa-bar:last-child { border-bottom: 1px solid var(--line); }
.qa-bar strong { font-family: var(--sans); }
.qa-bar p { margin: 0; }
.collect-list { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.collect-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
}
.collect-list li:last-child a { border-bottom: 0; }
.collect-list a:hover { color: var(--blue); }
.mark { color: var(--warm); font-size: 13px; white-space: nowrap; }
.feature-main { overflow: hidden; height: 100%; }
.feature-body { padding: 18px 18px 20px; }
.side-card { display: block; padding: 16px; margin-bottom: 16px; color: inherit; text-decoration: none; }
.side-card:hover { text-decoration: none; transform: translateY(-2px); }
.side-card p { color: var(--muted); margin: 8px 0 0; font-size: 14px; }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.accordion-title {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  padding: 14px 16px;
  border: 0;
}
.accordion-title:hover { color: var(--blue); background: #f8fbff; }
.accordion-item.is-active .accordion-title { background: var(--paper); color: var(--blue); }
.accordion-content { border: 0; padding: 0 16px 14px; color: var(--ink); }
.word-tools { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.search-input, .input, select.input, textarea.input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  box-shadow: none;
  margin: 0;
}
textarea.input { min-height: 120px; resize: vertical; }
.search-input { max-width: 360px; }
.word-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.word-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
}
.word-cell:hover { color: var(--blue); border-color: #c9d7ea; text-decoration: none; }
.notice-no { font-family: var(--sans); color: var(--blue); font-weight: 700; }
.register-card { padding: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--sans); font-size: 14px; margin-bottom: 6px; }
.field-error { display: block; color: var(--danger); font-family: var(--sans); font-size: 13px; min-height: 1.2em; }
.is-invalid { border-color: var(--danger); }
.form-banner {
  background: #fdf3f3;
  color: var(--danger);
  border: 1px solid #f0d2d2;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: var(--sans);
  margin-bottom: 12px;
}
.form-success {
  background: #f3faf6;
  border: 1px solid #cfe6d8;
  border-radius: 12px;
  padding: 18px;
}
.form-success strong { font-family: var(--sans); color: var(--ok); }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: 42px; }
.foot-brand { font-family: var(--sans); font-weight: 760; font-size: 18px; margin: 0 0 8px; }
.site-footer a { display: inline-flex; min-height: 36px; align-items: center; margin-right: 12px; }
.site-footer p { color: var(--muted); }
.foot-bottom {
  margin-top: 20px;
  padding: 14px 0;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
}
.empty-tip { color: var(--muted); font-family: var(--sans); }
@media (max-width: 1024px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .word-grid { grid-template-columns: 1fr 1fr; }
  .qa-bar { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 768px) {
  :root { --space: 48px; }
  .wrap { width: min(1180px, calc(100% - 24px)); }
  .offset-still { margin-top: 0; }
  .news-row, .notice-row, .issue-item { grid-template-columns: 1fr; gap: 4px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .header-row { min-height: 64px; }
}
@media (max-width: 520px) {
  h1 { font-size: 26px; }
  .metric-grid, .timeline, .word-grid { grid-template-columns: 1fr; }
  .brand { max-width: calc(100% - 64px); }
  .brand-name { font-size: 14px; }
  .btn { width: 100%; }
  .collect-list a { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --paper: #F4F7FB;
  --card: #FFFFFF;
  --ink: #1C2430;
  --muted: #5C6B7E;
  --blue: #2F5F9E;
  --blue-hover: #244E84;
  --line: #E4EAF3;
  --warm: #8C6239;
  --warm-bg: #F8F1E8;
  --warm-line: #EAD9C6;
  --blue-soft: #E7EEF7;
  --danger: #8E3B3B;
  --ok: #1E6B45;
  --radius: 12px;
  --shadow: 0 10px 28px rgba(47, 95, 158, 0.08);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "PMingLiU", "PingFang SC", serif;
  --space: 96px;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.75;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font-family: var(--sans); }
h1, h2, h3, h4, p { margin-top: 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.brand { display: flex; flex-direction: column; text-decoration: none; min-width: 0; max-width: 280px; }
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}
.brand-sub { font-family: var(--sans); font-size: 12px; color: var(--blue); letter-spacing: 0.04em; }
.desk-nav { display: flex; align-items: center; gap: 18px; flex: 1; flex-wrap: wrap; }
.nav-group { display: flex; align-items: center; gap: 8px; min-height: 44px; flex-wrap: wrap; }
.nav-label {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-right: 2px;
}
.desk-nav a, .off-link {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  padding: 6px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.desk-nav a:hover, .off-link:hover { color: var(--blue); text-decoration: none; }
.desk-nav a.is-active, .off-link.is-active {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--blue);
  text-decoration: none;
  font-weight: 700;
}
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.action-link {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--blue);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
}
.action-link:hover { background: var(--blue-soft); text-decoration: none; color: var(--blue-hover); }
.menu-toggle, .close-canvas {
  min-height: 44px;
  min-width: 44px;
  border-radius: 12px;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  padding: 0 12px;
}
.menu-toggle:hover, .close-canvas:hover { background: var(--blue-soft); }
.age-bar {
  background: var(--blue-soft);
  color: var(--blue-hover);
  font-family: var(--sans);
  font-size: 13px;
  text-align: center;
  padding: 6px 16px;
  border-bottom: 1px solid var(--line);
}
.band { padding: var(--space) 0; }
.band-white { background: #fff; }
.band-paper { background: var(--paper); }
.band-soft { background: #eef3fa; }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-head h2, .cat-hero h1, .topic-card h2, .mag-card h3, .scope-copy h2 {
  font-family: var(--sans);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}
.section-head h2 { font-size: 28px; margin: 0 0 8px; }
.section-head p, .lead { color: var(--ink); margin: 0; }
.kicker {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--warm);
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.cat-hero h1 { font-size: 40px; margin: 0; }
.cat-hero .lead { margin-top: 14px; max-width: 62ch; }
.issue-side {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  border-left: 1px solid var(--line);
  padding: 4px 0 4px 22px;
  margin-top: 8px;
}
.issue-side p { margin: 0 0 4px; }
.issue-no { color: var(--warm); letter-spacing: 0.06em; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--blue);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus, .action-link:focus, .menu-toggle:focus, .close-canvas:focus, .desk-nav a:focus, .off-link:focus, .pill:focus, .badge:focus, input:focus, select:focus, textarea:focus, .accordion-title:focus, .seg-opt input:focus + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-hover); }
.filter-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 8px;
}
.seg {
  border: 0;
  margin: 0 0 14px;
  padding: 0;
}
.seg legend {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  padding: 0;
}
.seg-options { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-opt {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}
.seg-opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
}
.seg-opt span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
}
.seg-opt input:checked + span {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.seg-opt:hover span { border-color: #c9d7ea; }
.filter-status {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin: 4px 0 10px;
}
.mag-card, .topic-card, .scope-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mag-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  padding: 16px;
  margin-bottom: 16px;
}
.mag-card:hover { border-color: #c9d7ea; transform: translateY(-2px); transition: transform .2s ease, border-color .2s ease; }
.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: var(--blue-soft);
}
.frame figcaption {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}
.mag-card h3 { font-size: 20px; margin: 0 0 8px; }
.mag-card h3 a { color: var(--ink); }
.mag-card h3 a:hover { color: var(--blue); }
.summary { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.badge-row, .pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge, .pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--warm-bg);
  color: var(--warm);
  border: 1px solid var(--warm-line);
  font-family: var(--sans);
  font-size: 13px;
  text-decoration: none;
}
.pill:hover { background: #fff; text-decoration: none; }
.more-row { margin: 8px 0 0; }
.scope-panel { padding: 28px 28px 22px; }
.scope-copy h2 { font-size: 28px; margin-bottom: 12px; }
.scope-copy p { margin: 0 0 14px; max-width: 72ch; }
.pull {
  margin: 8px 0 0;
  padding: 8px 0 8px 16px;
  border-left: 3px solid var(--warm);
  color: var(--ink);
  font-family: var(--sans);
}
.topic-card {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.topic-card:hover { text-decoration: none; transform: translateY(-2px); border-color: #c9d7ea; }
.topic-card h2 { font-size: 24px; margin: 8px 0; }
.topic-card p { color: var(--muted); margin: 0 0 16px; }
.card-link { margin-top: auto; font-family: var(--sans); color: var(--blue); font-weight: 700; }
.topic-wide { background: linear-gradient(#fff, #fff); }
.rhythm-item, .note-row {
  display: grid;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.rhythm-item { grid-template-columns: 140px 1fr; }
.rhythm-item time, .note-row strong {
  font-family: var(--sans);
  color: var(--warm);
  font-weight: 700;
}
.rhythm-item a { color: var(--ink); font-family: var(--sans); font-weight: 700; }
.rhythm-item a:hover { color: var(--blue); }
.rhythm-item span, .note-row p { display: block; color: var(--muted); font-weight: 400; font-family: var(--serif); }
.note-row { grid-template-columns: 48px 1fr; align-items: start; }
.note-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.note-row h3 { font-family: var(--sans); font-size: 18px; margin: 0 0 4px; }
.note-row p { margin: 0; }
.faq-block .accordion {
  background: transparent;
  border: none;
  margin: 0;
  list-style: none;
}
.faq-block .accordion-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-block .accordion-title {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  padding: 16px 42px 16px 18px;
  line-height: 1.5;
  border: none;
}
.faq-block .accordion-title:hover,
.faq-block .accordion-title:focus {
  color: var(--blue);
  background: var(--blue-soft);
  text-decoration: none;
}
.faq-block .accordion-content {
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 18px 16px;
  font-size: 15px;
}
.faq-actions { margin-top: 18px; }
.off-canvas.position-right {
  width: min(320px, 86vw);
  background: #fff;
  color: var(--ink);
  padding: 18px 16px 32px;
}
.off-group { margin: 8px 0 16px; }
.off-label {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 2px;
}
.off-link { width: 100%; border-bottom: 1px solid var(--line); }
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.site-footer h3 {
  font-family: var(--sans);
  font-size: 15px;
  margin: 0 0 12px;
}
.site-footer a {
  display: block;
  padding: 4px 0;
  font-family: var(--sans);
  font-size: 14px;
}
.site-footer p { color: var(--muted); font-size: 14px; }
.foot-brand {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.foot-bottom {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding: 14px 0 18px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
}
@media (max-width: 1024px) {
  .brand { max-width: 210px; }
  .desk-nav { gap: 10px; }
}
@media (max-width: 768px) {
  .band { padding: 52px 0; }
  .cat-hero h1 { font-size: 30px; }
  .section-head h2, .scope-copy h2, .topic-card h2 { font-size: 24px; }
  .mag-card { grid-template-columns: 1fr; }
  .issue-side { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; margin-top: 18px; }
  .rhythm-item { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 520px) {
  .band { padding: 44px 0; }
  .brand-name { font-size: 13px; }
  .header-row { gap: 8px; }
  .action-link { padding: 0 8px; }
  .cat-hero h1 { font-size: 26px; }
  .scope-panel, .topic-card, .mag-card { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
