/* roulang page: index */
:root {
  --bg: #F3F6FB;
  --paper: #FFFFFF;
  --ink: #1B2430;
  --muted: #5E6C80;
  --line: #D5E0EE;
  --blue: #3C6EAE;
  --blue-d: #2C558C;
  --wash: #E7EEF7;
  --accent: #C45C78;
  --bar: #F7F9FC;
  --shadow: 0 10px 28px rgba(44, 85, 140, .08);
  --radius: 12px;
  --gap: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html[lang="zh-CN"] { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html[lang="zh-CN"] body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; font-size: 16px; color: var(--ink); }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 30;
  background: var(--bar);
  border-bottom: 1px solid var(--line);
  height: 64px;
}
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.header-bar { height: 64px; }
.bar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.logo, .tools, .tool, .menu-label { pointer-events: auto; }
.logo { display: flex; flex-direction: column; justify-content: center; min-width: 148px; line-height: 1.15; }
.logo-mark { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: 0; }
.logo-sub { margin-top: 3px; font-size: 12px; color: var(--muted); font-weight: 500; }
.tools { display: flex; align-items: center; gap: 22px; }
.tool {
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.tool:hover, .tool:focus-visible { color: var(--blue-d); border-bottom-color: var(--accent); outline: none; }
.menu-label {
  display: none;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}
.nav-main { margin-top: -64px; position: relative; z-index: 1; }
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  pointer-events: none;
}
.top-link, .has-sub { pointer-events: auto; }
.top-link {
  font-size: 15px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.top-link.active { color: var(--blue-d); border-bottom-color: var(--accent); }
.top-link:hover, .top-link:focus-visible { color: var(--blue-d); outline: none; }
.has-sub { position: relative; }
.sub-label {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  padding: 8px 0;
}
.sub-label::-webkit-details-marker { display: none; }
.sub-label:hover, .has-sub[open] > .sub-label { color: var(--blue-d); }
.menu-panel { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding-top: 8px; z-index: 40; }
.has-sub:hover > .menu-panel, .has-sub:focus-within > .menu-panel, .has-sub[open] > .menu-panel { display: block; }
.menu-panel-inner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
}
.menu-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--wash); color: var(--blue-d); outline: none; }
.mobile-tools { display: none; }
main { display: block; }
.section { padding: 88px 0; }
.section-paper { background: var(--paper); }
.section-wash { background: var(--wash); }
.section-bg { background: var(--bg); }
.section h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}
.section h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
}
.lead { margin: 0 0 28px; max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero { padding: 72px 0 80px; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.hero-sub { margin: 0 0 12px; color: var(--ink); font-size: 16px; line-height: 1.75; }
.hero-copy { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--blue-d); border-color: var(--blue-d); outline: none; }
.btn-primary:active { background: #244872; }
.btn-secondary { background: var(--paper); color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--wash); outline: none; }
.btn-secondary:active { background: #dce6f2; }
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px 12px;
}
.panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.panel-head strong { font-size: 16px; font-weight: 700; }
.panel-head span { color: var(--accent); font-size: 13px; font-weight: 700; }
.sample { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.sample b { color: var(--accent); font-size: 14px; }
.sample p { margin: 0; font-size: 14px; line-height: 1.5; }
.sample small { display: block; color: var(--muted); font-size: 12px; }
.matrix { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.m1, .m4 { grid-column: span 4; }
.m2, .m3 { grid-column: span 2; }
.m5, .m6 { grid-column: span 3; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(44, 85, 140, .12); }
.card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.45; font-weight: 650; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
}
.card-index { display: flex; justify-content: space-between; align-items: center; border-top: 3px solid var(--accent); margin: -22px -22px 14px; padding: 12px 22px 0; }
.card-index span { color: var(--accent); font-weight: 700; font-size: 14px; }
.card-index em { font-style: normal; color: var(--muted); font-size: 12px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 36px; line-height: 1; font-weight: 700; color: var(--blue-d); }
.stat i { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--accent); font-weight: 700; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step-no { display: inline-block; color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.case-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  min-height: 0;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.case-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(44, 85, 140, .12); }
.case-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.case-card:hover h3 { color: var(--blue-d); }
.case-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.case-card .chips { margin-top: auto; padding-top: 14px; }
.news-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 20px; align-items: start; }
.news-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.news-list li { border-top: 1px solid var(--line); }
.news-list li:first-child { border-top: 0; }
.news-list a { display: block; padding: 16px 20px; }
.news-list a:hover, .news-list a:focus-visible { background: var(--wash); outline: none; }
.news-list strong { display: block; font-size: 16px; font-weight: 650; color: var(--ink); }
.news-list span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.pin-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.pin-card:hover { border-color: var(--blue); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 13px; font-weight: 700; }
.pin-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.45; }
.pin-card h3 a:hover { color: var(--blue-d); }
.pin-card p { margin: 0; color: var(--muted); font-size: 14px; }
.partner-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.partner-name {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  color: var(--ink);
  font-size: 15px;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.faq-item summary { padding: 16px 20px; cursor: pointer; font-weight: 650; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.faq-item[open] { border-color: var(--blue); }
.faq-a { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.assure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}
.assure div { padding: 22px 24px; border-left: 1px solid var(--line); }
.assure div:first-child { border-left: 0; }
.assure strong { display: block; margin-bottom: 6px; font-size: 16px; }
.assure p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.form-card, .side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 650; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  outline: none;
  line-height: 1.6;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(60, 110, 174, .25); }
.form-note { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.side-card p { margin: 0 0 18px; color: var(--muted); }
.channel-grid, .topic-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.index-table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 22px 22px; }
.index-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.index-row span { color: var(--muted); }
.index-link { display: inline-flex; margin-top: 16px; color: var(--blue); font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.index-link:hover, .index-link:focus-visible { color: var(--blue-d); outline: none; }
.scene-row { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.scene-row:first-of-type { border-top: 1px solid var(--line); }
.scene-row h3 { margin: 0; font-size: 18px; }
.scene-row p { margin: 0; color: var(--muted); }
.schedule { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.schedule a, .summary-card a.inline { color: var(--blue-d); font-weight: 650; }
.schedule a { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.schedule a:first-child { border-top: 0; }
.schedule a:hover { background: var(--wash); }
.summary-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.summary-card h3 { margin: 0 0 10px; font-size: 20px; }
.summary-card p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.result { margin-top: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.result-head, .result-row { display: grid; grid-template-columns: .7fr 1.2fr 1fr .7fr; gap: 8px; padding: 12px 16px; font-size: 14px; }
.result-head { background: var(--wash); color: var(--muted); font-weight: 700; }
.result-row { border-top: 1px solid var(--line); }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr .9fr; gap: 28px; padding-bottom: 28px; }
.site-footer h2 { font-size: 16px; margin: 0 0 12px; font-weight: 700; }
.site-footer h2::after { display: none; }
.site-footer p, .site-footer a { font-size: 14px; color: var(--muted); line-height: 1.8; }
.site-footer a { display: block; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--blue-d); outline: none; }
.foot-logo { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.age { margin-top: 10px; font-size: 13px; color: var(--muted); }
.copybar { border-top: 1px solid var(--line); padding: 14px 0; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.copybar p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (min-width: 640px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .case-grid { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .c1 { grid-column: span 5; min-height: 300px; }
  .c2 { grid-column: span 3; min-height: 220px; }
  .c3 { grid-column: span 4; min-height: 260px; }
  .c4 { grid-column: span 4; min-height: 240px; }
  .c5 { grid-column: span 5; min-height: 280px; }
  .c6 { grid-column: span 3; min-height: 230px; }
  .c7 { grid-column: span 7; min-height: 210px; }
  .c8 { grid-column: span 5; min-height: 250px; }
}
@media (max-width: 1023px) {
  .hero-grid, .news-grid, .contact-grid, .channel-grid, .topic-grid, .steps, .assure, .footer-grid { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr 1fr; }
  .m1, .m2, .m3, .m4, .m5, .m6 { grid-column: span 1; }
  .m1, .m4 { grid-column: span 2; }
  .assure div { border-left: 0; border-top: 1px solid var(--line); }
  .assure div:first-child { border-top: 0; }
  .c1, .c2, .c3, .c4, .c5, .c6, .c7, .c8 { grid-column: auto; min-height: 0; }
}
@media (max-width: 767px) {
  .section { padding: 44px 0; }
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 32px; }
  .section h2 { font-size: 24px; }
  .menu-label { display: inline-flex; }
  .tool-extra { display: none; }
  .nav-main {
    display: none;
    margin-top: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    height: auto;
    background: var(--bar);
    border-bottom: 1px solid var(--line);
    pointer-events: auto;
  }
  .nav-toggle:checked ~ .nav-main { display: block; }
  .nav-inner {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 8px 0 18px;
    pointer-events: auto;
  }
  .has-sub .menu-panel { display: block; position: static; min-width: 0; padding-top: 0; }
  .menu-panel-inner { box-shadow: none; border: 0; background: transparent; padding: 0; }
  .sub-label { pointer-events: none; }
  .mobile-tools { display: block; padding-top: 4px; border-top: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { display: block; margin-left: 8px; border-left: 1px solid var(--line); }
  .step { position: relative; margin: 0 0 12px 16px; }
  .partner-bar { grid-template-columns: 1fr 1fr; }
  .scene-row, .schedule a, .result-head, .result-row, .index-row { grid-template-columns: 1fr; gap: 4px; }
  .nav-toggle:checked ~ .header-bar .menu-label { color: var(--blue-d); border-color: var(--blue); }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .matrix, .stats, .partner-bar, .case-grid { grid-template-columns: 1fr; }
  .m1, .m4 { grid-column: auto; }
  .hero h1 { font-size: 28px; }
  .copybar { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #F3F6FB;
  --paper: #FFFFFF;
  --ink: #1B2430;
  --muted: #5E6C80;
  --line: #D5E0EE;
  --blue: #3C6EAE;
  --blue-d: #2C558C;
  --wash: #E7EEF7;
  --accent: #C45C78;
  --bar: #F7F9FC;
  --shadow: 0 10px 28px rgba(44, 85, 140, .08);
  --radius: 12px;
  --gap: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html[lang="zh-CN"] { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html[lang="zh-CN"] body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; font-size: 16px; color: var(--ink); }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: relative;
  z-index: 30;
  background: var(--bar);
  border-bottom: 1px solid var(--line);
  height: 64px;
}
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.header-bar { height: 64px; }
.bar-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.logo, .tools, .tool, .menu-label { pointer-events: auto; }
.logo { display: flex; flex-direction: column; justify-content: center; min-width: 148px; line-height: 1.15; }
.logo-mark { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: 0; }
.logo-sub { margin-top: 3px; font-size: 12px; color: var(--muted); font-weight: 500; }
.tools { display: flex; align-items: center; gap: 18px; }
.tool {
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 6px 0;
  border-radius: 8px;
}
.tool:hover, .tool:focus-visible { color: var(--blue-d); outline: none; }
.menu-label {
  display: none;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}
.menu-label:hover, .menu-label:focus-visible { border-color: var(--blue); color: var(--blue-d); outline: none; }
.nav-main { margin-top: -64px; position: relative; z-index: 1; }
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  pointer-events: none;
}
.top-link, .sub-label {
  pointer-events: auto;
  font-size: 14px;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  font-weight: 500;
}
.top-link:hover, .sub-label:hover, .top-link:focus-visible, .sub-label:focus-visible { color: var(--blue-d); outline: none; }
.top-link.active { color: var(--blue-d); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.has-sub { position: relative; pointer-events: auto; }
summary.sub-label { list-style: none; }
summary.sub-label::-webkit-details-marker { display: none; }
.menu-panel { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding-top: 8px; z-index: 40; }
.has-sub:hover > .menu-panel, .has-sub:focus-within > .menu-panel, .has-sub[open] > .menu-panel { display: block; }
.menu-panel-inner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
}
.menu-panel a, .mobile-tools a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.menu-panel a:hover, .menu-panel a:focus-visible, .mobile-tools a:hover, .mobile-tools a:focus-visible {
  background: var(--wash);
  color: var(--blue-d);
  outline: none;
}
.menu-panel a.active { background: var(--wash); color: var(--blue-d); font-weight: 700; }
.mobile-tools { display: none; }
main { display: block; }
.section { padding: 88px 0; }
.section-paper { background: var(--paper); }
.section-wash { background: var(--wash); }
.section-bg { background: var(--bg); }
.section h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}
.section h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
}
.lead { margin: 0 0 28px; max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--blue-d); border-color: var(--blue-d); outline: none; }
.btn-primary:active { background: #244872; }
.btn-secondary { background: var(--paper); color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--wash); outline: none; }
.btn-secondary:active { background: #dce6f2; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(44, 85, 140, .12); }
.card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.45; font-weight: 650; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
}
.card-index { display: flex; justify-content: space-between; align-items: center; border-top: 3px solid var(--accent); margin: -22px -22px 14px; padding: 12px 22px 0; }
.card-index span { color: var(--accent); font-weight: 700; font-size: 14px; }
.card-index em { font-style: normal; color: var(--muted); font-size: 12px; }
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  min-height: 0;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.case-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(44, 85, 140, .12); }
.case-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.case-card:hover h3 { color: var(--blue-d); }
.case-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.case-card .chips { margin-top: auto; padding-top: 14px; }
.case-card[hidden] { display: none; }
.cat-head { padding: 36px 0 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
.cat-head h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.cat-head .scope { margin: 0; max-width: 640px; color: var(--muted); font-size: 16px; }
.count-board {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  min-width: 210px;
}
.count-board b { display: block; font-size: 28px; line-height: 1.2; color: var(--blue); font-weight: 700; }
.count-board span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.count-row { display: flex; gap: 16px; margin-top: 10px; }
.count-row div { flex: 1; }
.count-row strong { display: block; color: var(--accent); font-size: 16px; }
.count-row em { font-style: normal; color: var(--muted); font-size: 12px; }
.filter-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.filter-table th, .filter-table td { text-align: left; vertical-align: middle; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
.filter-table tr:last-child th, .filter-table tr:last-child td { border-bottom: 0; }
.filter-table th { width: 96px; color: var(--ink); font-size: 14px; background: var(--bar); white-space: nowrap; }
.filter-table th i { color: var(--accent); font-style: normal; margin-right: 6px; font-weight: 700; }
.filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-actions button {
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.filter-actions button:hover, .filter-actions button:focus-visible { border-color: var(--blue); color: var(--blue-d); outline: none; }
.filter-actions button.is-on { background: var(--wash); border-color: var(--blue); color: var(--blue-d); font-weight: 700; }
.masonry { columns: 1; column-gap: 16px; }
.masonry .case-card { break-inside: avoid; margin: 0 0 16px; }
.masonry .case-card:nth-child(3n) p { min-height: 4.8em; }
.masonry .case-card:nth-child(4n) { padding-bottom: 28px; }
.more-row { display: flex; justify-content: flex-start; margin-top: 8px; }
.note-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.note-grid p { margin: 0 0 12px; color: var(--ink); }
.note-side { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.article-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.article-list li { border-top: 1px solid var(--line); }
.article-list li:first-child { border-top: 0; }
.article-list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; align-items: center; }
.article-list a:hover, .article-list a:focus-visible { background: var(--wash); outline: none; }
.article-list strong { font-size: 16px; font-weight: 650; }
.article-list span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.path-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.path-table th, .path-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.path-table tr:last-child th, .path-table tr:last-child td { border-bottom: 0; }
.path-table th { width: 88px; color: var(--accent); font-size: 14px; background: var(--bar); font-weight: 700; }
.path-table td b { display: block; font-size: 16px; margin-bottom: 4px; }
.path-table td span { color: var(--muted); font-size: 14px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 12px;
  box-shadow: var(--shadow);
}
.faq summary { cursor: pointer; font-weight: 650; font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] { border-color: var(--blue); }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.end-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow); }
.end-row p { margin: 0; max-width: 640px; }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 28px; }
.site-footer h2 { margin: 0 0 12px; font-size: 16px; line-height: 1.4; font-weight: 700; }
.site-footer h2::after { display: none; }
.site-footer a { display: block; padding: 4px 0; color: var(--muted); font-size: 14px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--blue-d); outline: none; }
.foot-logo { margin: 0; font-size: 18px; font-weight: 700; }
.site-footer p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.age { font-size: 13px !important; }
.copybar { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 14px 0 18px; color: var(--muted); font-size: 12px; }
.copybar p { margin: 0; font-size: 12px; }
@media (min-width: 640px) {
  .masonry { columns: 2; }
}
@media (max-width: 1024px) {
  .section { padding: 64px 0; }
  .note-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .site-header { height: auto; }
  .header-bar { height: 64px; }
  .menu-label { display: inline-flex; }
  .tool-extra { display: none; }
  .nav-main { display: none; margin-top: 0; background: var(--bar); border-top: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav-main { display: block; }
  .nav-inner {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding: 8px 0 20px;
    pointer-events: auto;
  }
  .top-link { border-bottom: 1px solid var(--line); }
  .has-sub { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .menu-panel, .has-sub[open] > .menu-panel, .has-sub:hover > .menu-panel { position: static; display: block; min-width: 0; padding-top: 0; }
  .menu-panel-inner { box-shadow: none; }
  .mobile-tools { display: block; }
  .mobile-tools .sub-label { margin: 0 0 8px; }
  .section { padding: 44px 0; }
  .cat-head { padding: 28px 0 22px; }
  .cat-head h1, .section h2 { font-size: 26px; }
  .note-grid, .footer-grid, .end-row { grid-template-columns: 1fr; display: grid; }
  .end-row { display: flex; flex-direction: column; align-items: flex-start; }
  .count-board { min-width: 0; }
  .filter-table th { width: 72px; }
  .article-list a { flex-direction: column; align-items: flex-start; }
  .copybar { flex-direction: column; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 28px); }
  .count-row { flex-direction: column; gap: 8px; }
  .filter-table, .filter-table tbody, .filter-table tr, .filter-table th, .filter-table td { display: block; width: 100%; }
  .filter-table th { border-bottom: 0; padding-bottom: 0; }
}
