/* roulang page: index */
:root {
  --bg: #F3F7FB;
  --foam: #EAF1F8;
  --white: #ffffff;
  --primary: #3C7DDE;
  --deep: #245FBE;
  --ink: #1E2937;
  --mute: #5B6B7C;
  --coral: #E07A72;
  --coral-deep: #d46860;
  --line: #D5E2F0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(36,95,190,.08);
  --shadow-hover: 0 16px 36px rgba(36,95,190,.14);
  --space: 24px;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: var(--ink); }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.28; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.35; font-weight: 700; }
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--primary); color: #fff;
  padding: 8px 14px; border-radius: 999px; z-index: 80;
}
.skip:focus { top: 12px; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
main > section { padding: 76px 0; scroll-margin-top: 92px; }
.sec-a { background: var(--white); }
.sec-b { background: var(--foam); }
.sec-c { background: var(--bg); }
.kicker { color: var(--mute); font-size: 14px; margin-bottom: 8px; }
.lead { color: var(--mute); margin-top: 10px; max-width: 760px; }
.sub { color: var(--deep); font-size: 15px; margin-top: 8px; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(36,95,190,.08); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 20px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 18px; color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 12px; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 16px; flex: none;
}
.primary-nav { display: flex; align-items: center; gap: 22px; margin-left: 12px; }
.primary-nav a {
  min-height: 44px; display: inline-flex; align-items: center; color: var(--ink);
  border-bottom: 2px solid transparent; font-weight: 600;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--deep); }
.primary-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-btn span { width: 16px; height: 2px; background: var(--ink); display: block; }
.badge, .chip {
  display: inline-flex; align-items: center; justify-content: center; min-height: 28px;
  padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.badge-age { background: #1E2937; color: #fff; }
.badge-live { background: rgba(224,122,114,.14); color: #b85a53; }
.badge-ok { background: rgba(60,125,222,.12); color: var(--deep); }
.chip { background: #fff; border: 1px solid var(--line); color: var(--mute); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 700;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--coral-deep); box-shadow: 0 8px 20px rgba(224,122,114,.28); }
.btn-primary:active { background: #c45c54; }
.btn-secondary { background: #fff; color: var(--deep); border-color: var(--primary); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: #eaf1f8; color: var(--deep); box-shadow: var(--shadow); }
.btn-secondary:active { background: #dce8f6; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 36px; align-items: center; }
.pain {
  margin-top: 16px; padding: 10px 14px; border-left: 3px solid var(--coral);
  background: #fff; color: var(--ink); border-radius: 0 12px 12px 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.status-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
}
.status-card header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.slot-list { list-style: none; padding: 0; margin: 14px 0; }
.slot-list li {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 0;
  border-top: 1px solid var(--line); font-size: 15px;
}
.count-box {
  background: var(--foam); border-radius: 12px; padding: 12px 14px; display: flex;
  justify-content: space-between; align-items: center; gap: 8px;
}
.count-box strong { color: var(--coral); font-variant-numeric: tabular-nums; }
.matrix { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; }
.matrix-side { display: grid; gap: 16px; }
.tile {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px; min-height: 148px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover, .tile:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.tile.wide { min-height: 312px; background: linear-gradient(180deg, #fff 0%, #f7fbff 100%); display: flex; flex-direction: column; justify-content: space-between; }
.tile p { color: var(--mute); margin-top: 8px; }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.track::-webkit-scrollbar { height: 8px; }
.track::-webkit-scrollbar-thumb { background: #c5d6ea; border-radius: 999px; }
.scene {
  flex: 0 0 300px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; min-height: 180px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.scene:hover, .scene:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.scene p { color: var(--mute); margin-top: 8px; }
.statbar {
  display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
.statbar div { padding: 22px 10px; text-align: center; }
.statbar div + div { border-left: 1px solid var(--line); }
.statbar strong { display: block; font-size: 32px; line-height: 1.2; color: var(--deep); }
.statbar span { color: var(--mute); font-size: 13px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.compare article { padding: 24px; }
.compare article + article { border-left: 1px solid var(--line); }
.compare ul { list-style: none; padding: 0; margin: 14px 0 0; }
.compare li { position: relative; padding: 8px 0 8px 22px; color: var(--ink); }
.compare li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 99px; background: var(--primary);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px;
  min-height: 210px;
}
.step em {
  display: inline-flex; min-width: 36px; height: 36px; border-radius: 999px; align-items: center; justify-content: center;
  background: rgba(60,125,222,.12); color: var(--deep); font-style: normal; font-weight: 700;
}
.step p { color: var(--mute); margin-top: 8px; }
.schedule { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.schedule a {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 18px; border-top: 1px solid var(--line); min-height: 72px;
}
.schedule a:first-child { border-top: 0; }
.schedule a:hover, .schedule a:focus-visible { background: #f7fbff; }
.schedule time { color: var(--deep); font-weight: 700; }
.wall { display: grid; grid-template-columns: 1.35fr 1fr; grid-auto-rows: 96px; gap: 16px; }
.poster {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #fff; padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .2s ease, box-shadow .2s ease;
}
.poster:hover, .poster:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.poster:nth-child(1) { grid-row: span 2; background: #e7f0fb; }
.poster:nth-child(2) { background: #fff; }
.poster:nth-child(3) { background: #f7fbff; }
.poster:nth-child(4) { grid-column: 1 / span 2; grid-row: span 1; background: #eef4fb; }
.poster:nth-child(5) { background: #fff; }
.poster strong { font-size: 18px; }
.poster p { color: var(--mute); font-size: 14px; }
.set-grid { display: grid; grid-template-columns: 1.4fr .8fr; grid-template-rows: auto auto; gap: 16px; }
.set-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 180px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.set-card:hover, .set-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.set-card.major { grid-row: span 2; min-height: 376px; background: #f4f8fd; }
.set-card p { color: var(--mute); margin: 8px 0 16px; }
.news-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 20px; }
.news-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.news-list a.row, .feature-row {
  display: block; padding: 16px 18px; border-top: 1px solid var(--line);
}
.news-list a.row:first-child { border-top: 0; }
.news-list a.row:hover, .feature-row:hover, .feature-row:focus-visible { background: #f7fbff; }
.more-line { padding: 14px 18px; border-top: 1px solid var(--line); }
.summary-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; height: 100%;
}
.summary-card p { color: var(--mute); margin: 10px 0 18px; }
.editor {
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px;
}
.editor p { color: var(--mute); margin-top: 6px; }
.logo-line { display: flex; flex-wrap: wrap; gap: 16px; }
.logo-line li {
  list-style: none; min-height: 64px; min-width: 160px; padding: 0 18px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; color: #7d8da1; font-weight: 700;
}
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; box-shadow: var(--shadow);
}
.faq details + details { margin-top: 12px; }
.faq summary { min-height: 58px; display: flex; align-items: center; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--deep); }
.faq details p { color: var(--mute); padding-bottom: 16px; }
.promise {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 8px;
}
.promise div { padding: 14px 12px; min-height: 88px; }
.promise strong { display: block; }
.promise span { color: var(--mute); font-size: 14px; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li {
  background: #fff; border-left: 3px solid var(--primary); border-radius: 0 12px 12px 0;
  padding: 12px 16px; box-shadow: var(--shadow);
}
.consult {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start;
}
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label, .full { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 12px;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.75; }
input:hover, select:hover, textarea:hover { border-color: #b9cce4; }
.form-note { color: var(--mute); font-size: 13px; margin-top: 10px; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 42px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 24px; }
.site-footer a { display: inline-flex; min-height: 36px; align-items: center; color: var(--mute); }
.site-footer a:hover { color: var(--deep); }
.copyright { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px;
}
::selection { background: #d9e6f8; }
@media (max-width: 1279px) {
  .container { width: min(1120px, calc(100% - 40px)); }
}
@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
    box-shadow: 0 16px 30px rgba(36,95,190,.08);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { border-bottom: 1px solid var(--line); }
  .hero-grid, .matrix, .compare, .news-grid, .consult, .set-grid, .foot-grid { grid-template-columns: 1fr; }
  .tile.wide, .set-card.major { min-height: 0; grid-row: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .statbar { grid-template-columns: repeat(3, 1fr); }
  .statbar div:nth-child(4), .statbar div:nth-child(5) { border-top: 1px solid var(--line); }
  .promise { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .poster, .poster:nth-child(1), .poster:nth-child(4) { grid-column: auto; grid-row: auto; min-height: 132px; }
  .schedule a { grid-template-columns: 1fr; gap: 4px; }
  .editor { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  main > section { padding: 52px 0; }
  .container { width: calc(100% - 32px); }
  .count-chip { display: none; }
  .header-inner { min-height: 68px; }
  .fields, .steps, .statbar, .promise, .compare { grid-template-columns: 1fr; }
  .compare article + article { border-left: 0; border-top: 1px solid var(--line); }
  .statbar div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 639px) {
  h1 { font-size: 30px; }
  .logo span { font-size: 15px; }
  .scene { flex-basis: 84%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --bg: #F3F7FB;
 --foam: #EAF1F8;
 --white: #ffffff;
 --primary: #3C7DDE;
 --deep: #245FBE;
 --ink: #1E2937;
 --mute: #5B6B7C;
 --coral: #E07A72;
 --coral-deep: #d46860;
 --line: #D5E2F0;
 --radius: 16px;
 --shadow: 0 10px 30px rgba(36,95,190,.08);
 --shadow-hover: 0 16px 36px rgba(36,95,190,.14);
 --space: 24px;
 --max: 1120px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: var(--ink); }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
main > section { padding: 72px 0; scroll-margin-top: 92px; }
main > section.cat-head { padding: 36px 0 28px; }
main > section.slim { padding: 28px 0; }
.sec-a { background: var(--white); }
.sec-b { background: var(--foam); }
.lead { color: var(--mute); margin-top: 10px; max-width: 760px; }
.site-header {
 position: sticky; top: 0; z-index: 50; background: #fff;
 border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(36,95,190,.08); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 20px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 18px; color: var(--ink); }
.logo-mark {
 width: 36px; height: 36px; border-radius: 12px; background: var(--primary); color: #fff;
 display: grid; place-items: center; font-size: 16px; flex: none;
}
.primary-nav { display: flex; align-items: center; gap: 22px; margin-left: 12px; }
.primary-nav a {
 min-height: 44px; display: inline-flex; align-items: center; color: var(--ink);
 border-bottom: 2px solid transparent; font-weight: 600;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--deep); }
.primary-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn {
 display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
 background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
 position: relative;
}
.menu-btn span:not(.sr-only) { width: 16px; height: 2px; background: var(--ink); display: block; }
.badge, .chip {
 display: inline-flex; align-items: center; justify-content: center; min-height: 28px;
 padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.badge-age { background: #1E2937; color: #fff; }
.badge-live { background: rgba(224,122,114,.14); color: #b85a53; }
.badge-ok { background: rgba(60,125,222,.12); color: var(--deep); }
.chip { background: #fff; border: 1px solid var(--line); color: var(--mute); font-weight: 600; }
.btn {
 display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
 padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 700;
 transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--coral-deep); box-shadow: 0 8px 20px rgba(224,122,114,.28); }
.btn-primary:active { background: #c45c54; }
.btn-secondary { background: #fff; color: var(--deep); border-color: var(--primary); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: #eaf1f8; color: var(--deep); box-shadow: var(--shadow); }
.btn-secondary:active { background: #dce8f6; }
a:focus-visible, button:focus-visible, summary:focus-visible {
 outline: 2px solid var(--primary);
 outline-offset: 3px;
}
.page-kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.count-badge {
 min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(224,122,114,.14);
 color: #b85a53; font-weight: 800; display: inline-flex; align-items: center;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.filter-btn { min-height: 44px; padding: 0 16px; background: #fff; cursor: pointer; }
.filter-btn.is-on { color: var(--deep); border-color: var(--primary); background: #eaf1f8; }
.dir-board {
 background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
 box-shadow: var(--shadow); overflow: hidden;
}
.dir-row {
 display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center;
 padding: 18px 20px; border-top: 1px solid var(--line); min-height: 84px;
 transition: background .2s ease, transform .2s ease;
}
.dir-row:first-child { border-top: 0; }
.dir-row:hover, .dir-row:focus-visible { background: #f7fbff; }
.dir-title { font-weight: 800; font-size: 18px; line-height: 1.45; }
.dir-sub { color: var(--mute); font-size: 14px; margin-top: 2px; }
.dir-meta { color: var(--ink); font-weight: 700; white-space: nowrap; }
.dir-go { pointer-events: none; }
.sort-bar, .slim-bar, .cta-panel, .path-card, .article-board {
 background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.sort-bar, .slim-bar, .cta-panel { padding: 22px 24px; }
.article-link, .path-link {
 display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center;
 padding: 18px 20px; border-top: 1px solid var(--line); min-height: 76px;
 transition: background .2s ease;
}
.article-link:first-child, .path-link:first-child { border-top: 0; }
.article-link:hover, .article-link:focus-visible, .path-link:hover, .path-link:focus-visible { background: #f7fbff; }
.path-card { padding: 8px 0; }
.path-index {
 width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
 background: rgba(60,125,222,.12); color: var(--deep); font-weight: 800;
}
.faq details {
 background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; box-shadow: var(--shadow);
}
.faq details + details { margin-top: 12px; }
.faq summary { min-height: 58px; display: flex; align-items: center; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; margin-left: auto; color: var(--primary); font-size: 22px; font-weight: 500; }
.faq details[open] summary:after { content: "–"; }
.faq details p { color: var(--mute); padding: 0 0 16px; }
.slim-bar { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.slim-bar strong { font-size: 15px; }
.slim-bar span { color: var(--mute); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 28px; }
.site-footer .lead { font-size: 14px; }
.site-footer strong { display: block; margin-bottom: 8px; }
.site-footer a { min-height: 36px; display: inline-flex; align-items: center; color: var(--deep); font-weight: 600; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--primary); }
.copyright { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 1280px) {
 .container { width: min(var(--max), calc(100% - 40px)); }
}
@media (max-width: 1024px) {
 .menu-btn { display: flex; }
 .primary-nav {
  display: none; position: absolute; top: 76px; left: 0; right: 0; z-index: 40;
  flex-direction: column; align-items: stretch; gap: 0; margin: 0;
  background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  box-shadow: var(--shadow);
 }
 .primary-nav.is-open { display: flex; }
 .primary-nav a { width: 100%; border-bottom: 1px solid var(--foam); }
 .dir-row { grid-template-columns: minmax(0, 1fr) auto; }
 .dir-meta { grid-column: 1; }
 .dir-go { grid-column: 2; grid-row: 1 / span 2; }
 .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
 .count-chip { display: none; }
 .container { width: min(var(--max), calc(100% - 32px)); }
 main > section { padding: 48px 0; }
 h1 { font-size: 28px; }
 .article-link, .path-link { grid-template-columns: 64px minmax(0, 1fr); }
 .article-link .btn, .path-link .btn { grid-column: 1 / -1; width: fit-content; }
 .foot-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
 .logo { font-size: 15px; }
 .header-inner { gap: 8px; min-height: 68px; }
 .header-tools .btn { padding: 0 12px; }
 .dir-row { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
 .dir-go { grid-column: auto; grid-row: auto; width: fit-content; }
 .sort-bar, .slim-bar, .cta-panel { padding: 16px; }
}
