/* roulang page: index */
:root {
  --bg: #F3F6FB;
  --surface: #FFFFFF;
  --primary: #2B6BED;
  --primary-hover: #1E56C4;
  --text: #1C2430;
  --muted: #5C6B80;
  --line: #E3EAF3;
  --accent: #E8A87C;
  --accent-soft: #F8E6D8;
  --danger: #C94545;
  --ok-bg: #E7F0FF;
  --soft: #E7F0FF;
  --radius: 16px;
  --shadow: 0 10px 28px rgba(36,84,160,.08);
  --shadow-hover: 0 16px 36px rgba(36,84,160,.14);
  --pad: 96px;
  --container: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 64px;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; font-size: 16px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}
h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
}
h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.45; font-weight: 700; }
p { margin: 0 0 18px; }
.lead { color: var(--text); max-width: 760px; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}
.logo:hover { color: var(--primary); }
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 0 12px;
}
.step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.step:hover { color: var(--primary); }
.step i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C5D0E0;
  display: inline-block;
  flex: 0 0 auto;
}
.step.is-current { background: var(--primary); color: #fff; border-color: var(--primary); }
.step.is-current i { background: var(--accent); }
.step.is-done { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.step.is-done i { background: var(--primary); }
.step.is-todo { color: var(--muted); }
section { scroll-margin-top: 132px; }
.section { padding: var(--pad) 0; }
.section:nth-child(even) { background: var(--surface); }
.sub {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 36px;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 650;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: var(--primary-hover); }
.btn-ghost { background: var(--surface); color: var(--primary); border-color: var(--line); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--primary); color: var(--primary-hover); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }
.age-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.age-form label { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.age-form input { width: 16px; height: 16px; accent-color: var(--primary); }
.form-msg { flex: 1 1 100%; margin: 0; min-height: 1.5em; font-size: 14px; }
.age-form.is-error { border-color: var(--danger); }
.age-form.is-error .form-msg { color: var(--danger); }
.age-form.is-ok { border-color: var(--primary); background: var(--ok-bg); }
.age-form.is-ok .form-msg { color: var(--primary); }
.account-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 16px;
}
.cover-art {
  background: var(--soft);
  border-radius: 12px;
  min-height: 240px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.cover-art strong { font-size: 22px; line-height: 1.4; }
.account-meta {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.account-meta b { display: block; font-size: 16px; }
.account-meta small { color: var(--muted); }
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}
.sell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .8fr);
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card p:last-child { margin-bottom: 0; }
.sell-main { min-height: 280px; background: var(--surface); }
.section:nth-child(even) .card { background: var(--bg); }
.sell-side { display: grid; gap: 18px; margin-top: 42px; }
.sell-side .card:last-child { transform: translateX(28px); }
.sell-side .card:last-child:hover { transform: translateX(28px); }
.story {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.15fr .8fr .95fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.section:nth-child(even) .story { background: var(--bg); }
.story-cover {
  background: var(--soft);
  border-radius: 12px;
  min-height: 220px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.progress-box { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.progress {
  height: 8px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.progress span { display: block; width: 46%; height: 100%; background: var(--primary); border-radius: inherit; }
.chapter-list { list-style: none; margin: 0; padding: 0; }
.chapter-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.chapter-list li:last-child { border-bottom: 0; }
.proof-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-width: min(100%, 420px); }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
}
.section:nth-child(even) .stat { background: var(--bg); }
.stat strong { display: block; font-size: 32px; line-height: 1.2; color: var(--primary); }
.stat span { color: var(--muted); }
.stat em {
  display: inline-flex;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #6E4630;
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 8px;
}
.reviews {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.review {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.section:nth-child(even) .review { background: var(--bg); }
.review p { margin: 0; }
.compare {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.compare ul { list-style: none; margin: 12px 0 0; padding: 0; }
.compare li {
  position: relative;
  padding: 12px 0 12px 16px;
  border-top: 1px solid var(--line);
}
.compare li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 22px;
}
.compare .col-right li::before { background: #B7C3D4; }
.news-list { margin-top: 12px; display: grid; gap: 14px; }
.news-link {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: inherit;
  transition: box-shadow .2s;
}
.section:nth-child(even) .news-link { background: var(--bg); }
.news-link:hover { color: inherit; box-shadow: var(--shadow-hover); }
.news-cover {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--soft);
  display: flex;
  align-items: flex-end;
  padding: 10px;
  color: var(--text);
  font-weight: 700;
}
.news-link time { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.news-link p { margin: 0; color: var(--muted); }
.acc { margin-top: 18px; display: grid; gap: 10px; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.section:nth-child(even) .acc-item { background: var(--bg); }
.acc-btn {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.acc-btn:hover { color: var(--primary); }
.plus { width: 14px; height: 14px; position: relative; flex: 0 0 auto; transition: transform .2s; }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 1px;
}
.plus::before { width: 14px; height: 2px; left: 0; top: 6px; }
.plus::after { width: 2px; height: 14px; left: 6px; top: 0; }
.acc-btn[aria-expanded="true"] .plus { transform: rotate(45deg); }
.acc-panel { padding: 0 16px 16px; color: var(--text); }
.acc-panel p { margin: 0; }
.assure-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 14px 22px;
  color: var(--text);
}
.assure-line span { display: inline-flex; align-items: center; gap: 8px; }
.mosaic {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: 132px;
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--soft);
  box-shadow: var(--shadow);
  color: var(--text);
  transition: box-shadow .2s;
}
.tile:hover { color: var(--text); box-shadow: var(--shadow-hover); }
.tile:nth-child(1) { grid-row: span 2; background: #EAF2FF; }
.tile:nth-child(2) { background: #F7F9FC; }
.tile:nth-child(3) { background: #E7F0FF; }
.tile:nth-child(4) { grid-column: span 2; background: #F4F7FB; }
.tile p { margin: 0; color: var(--muted); }
.wall {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cover-card {
  min-height: 210px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--soft);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  color: var(--text);
  transition: box-shadow .2s;
}
.cover-card:hover { color: var(--text); box-shadow: var(--shadow-hover); }
.cover-card strong { font-size: 18px; line-height: 1.45; }
.cover-card span { color: var(--muted); }
.cover-card:nth-child(2n) { background: #F7F9FC; }
.cover-card:nth-child(3n) { background: #EAF2FF; }
.entry-card { margin-top: 22px; max-width: 720px; }
.text-link { font-weight: 700; }
.timeline { margin-top: 22px; display: grid; gap: 0; }
.node {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
}
.node-rail { position: relative; }
.node-rail::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: -8px;
  width: 2px;
  background: var(--line);
}
.node:last-child .node-rail::before { display: none; }
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--primary);
  position: relative;
  z-index: 1;
}
.node:nth-child(1) .dot { border-color: var(--accent); background: var(--accent); }
.node-body { padding-bottom: 22px; }
.node-body p { margin: 0; color: var(--muted); }
.path-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.path-card {
  display: block;
  min-height: 180px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  transition: box-shadow .2s;
}
.section:nth-child(even) .path-card { background: var(--bg); }
.path-card:hover { color: var(--text); box-shadow: var(--shadow-hover); }
.path-card b { display: block; margin-bottom: 8px; color: var(--primary); }
.path-card p { margin: 0; }
.close-band {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.section:nth-child(even) .close-band { background: var(--bg); }
.close-band p { margin: 0; max-width: 680px; }
.foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  padding: 42px 0 18px;
}
.foot a { display: inline-block; margin: 0 14px 8px 0; color: var(--muted); font-weight: 600; }
.foot a:hover { color: var(--primary); }
.foot p { margin: 0 0 8px; color: var(--muted); }
.copy {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 14px 0 28px;
  margin: 0;
}
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  z-index: 40;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(36,84,160,.06);
  transform: translateY(110%);
  transition: transform .25s;
}
.dock.is-on { transform: translateY(0); }
.dock-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dock p { margin: 0; font-weight: 700; }
@media (max-width: 1024px) {
  :root { --pad: 72px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .tile:nth-child(1) { grid-row: span 2; }
  .tile:nth-child(4) { grid-column: auto; }
  .path-grid { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr 1fr; }
  .story .chapter-list { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --pad: 48px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .head-bar { min-height: 64px; padding: 10px 0; flex-wrap: wrap; }
  .logo { font-size: 16px; }
  .steps {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 12px;
  }
  .step { flex: 0 0 auto; padding: 6px 14px; }
  .hero-grid, .sell, .compare, .proof-head, .close-band, .foot, .news-link { grid-template-columns: 1fr; }
  .sell-side { margin-top: 0; }
  .sell-side .card:last-child, .sell-side .card:last-child:hover { transform: none; }
  .story { grid-template-columns: 1fr; }
  .wall, .mosaic, .path-grid, .stats { grid-template-columns: 1fr; }
  .tile:nth-child(1), .tile:nth-child(4) { grid-row: auto; grid-column: auto; min-height: 160px; }
  .news-cover { width: 100%; }
  .assure-line { border-radius: var(--radius); }
  .dock { height: auto; }
  .dock-inner { height: auto; min-height: 64px; flex-direction: column; align-items: stretch; padding: 8px 0; }
  .dock .btn { width: 100%; }
  body { padding-bottom: 108px; }
}

/* roulang page: category1 */
:root {
 --bg: #F3F6FB;
 --surface: #FFFFFF;
 --primary: #2B6BED;
 --primary-hover: #1E56C4;
 --text: #1C2430;
 --muted: #5C6B80;
 --line: #E3EAF3;
 --accent: #E8A87C;
 --accent-soft: #F8E6D8;
 --danger: #C94545;
 --ok-bg: #E7F0FF;
 --soft: #E7F0FF;
 --radius: 16px;
 --shadow: 0 10px 28px rgba(36,84,160,.08);
 --shadow-hover: 0 16px 36px rgba(36,84,160,.14);
 --pad: 96px;
 --container: 1120px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 color: var(--text);
 background: var(--bg);
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; font-size: 16px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
a:focus-visible, button:focus-visible, input:focus-visible {
 outline: 2px solid var(--primary);
 outline-offset: 2px;
}
p { margin: 0 0 18px; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
h1 { font-size: 40px; margin-bottom: 10px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
.lead { color: var(--text); max-width: 760px; }
.sub { color: var(--muted); max-width: 720px; margin-bottom: 18px; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.topbar {
 position: sticky;
 top: 0;
 z-index: 40;
 background: rgba(243,246,251,.96);
 border-bottom: 1px solid var(--line);
}
.bar {
 min-height: 64px;
 display: flex;
 align-items: center;
 gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.logo {
 color: var(--text);
 font-size: 18px;
 font-weight: 700;
 letter-spacing: 0;
 white-space: nowrap;
}
.logo:hover { color: var(--primary); }
.badge-18 {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 height: 24px;
 padding: 0 8px;
 border-radius: 999px;
 background: var(--accent);
 color: var(--text);
 font-size: 13px;
 font-weight: 700;
 line-height: 1;
 flex: 0 0 auto;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
 color: var(--muted);
 font-weight: 600;
 padding: 8px 2px;
 border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); }
.steps {
 position: sticky;
 top: 64px;
 z-index: 35;
 background: var(--surface);
 border-bottom: 1px solid var(--line);
}
.step-row {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
}
.step {
 min-height: 48px;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 color: var(--muted);
 font-weight: 650;
 border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step span {
 width: 22px;
 height: 22px;
 border-radius: 50%;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-size: 12px;
 border: 1px solid var(--line);
 color: var(--muted);
}
.step.is-done { color: var(--primary); }
.step.is-done span { border-color: var(--primary); color: var(--primary); background: transparent; }
.step.is-now { background: var(--primary); color: #fff; }
.step.is-now span { background: var(--accent); border-color: var(--accent); color: var(--text); }
.step.is-todo { color: var(--muted); background: transparent; }
.step:hover { color: var(--primary-hover); }
.step.is-now:hover { color: #fff; }
section { scroll-margin-top: 132px; }
.section { padding: var(--pad) 0; }
main > .section:nth-child(even) { background: var(--surface); }
.pagehead { padding-top: 48px; }
.pagehead h1 { max-width: 16em; }
.age-form {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 12px 16px;
 padding: 14px 16px;
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 max-width: 640px;
}
.age-form label { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.age-form input { width: 16px; height: 16px; accent-color: var(--primary); }
.form-msg { flex: 1 1 100%; margin: 0; min-height: 1.5em; font-size: 14px; }
.age-form.is-error { border-color: var(--danger); }
.age-form.is-error .form-msg { color: var(--danger); }
.age-form.is-ok { border-color: var(--primary); background: var(--ok-bg); }
.age-form.is-ok .form-msg { color: var(--primary); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 height: 44px;
 padding: 0 18px;
 border-radius: 10px;
 border: 1px solid transparent;
 cursor: pointer;
 font-weight: 650;
 transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: var(--primary-hover); }
.btn-ghost { background: var(--surface); color: var(--primary); border-color: var(--line); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--primary); color: var(--primary-hover); transform: translateY(-1px); }
.scope-bar {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 10px 12px;
 padding: 14px 16px;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--radius);
}
main > .section:nth-child(even) .scope-bar { background: var(--bg); }
.scope-label { color: var(--muted); margin-right: 4px; }
.tag {
 display: inline-flex;
 align-items: center;
 height: 26px;
 padding: 0 8px;
 border-radius: 999px;
 background: var(--soft);
 color: var(--primary);
 font-size: 13px;
 font-weight: 700;
}
.tag.is-on { background: var(--primary); color: #fff; }
.vlist { display: grid; gap: 16px; }
.card {
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 22px;
 transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-hover); }
.vcard {
 display: grid;
 grid-template-columns: 280px minmax(0, 1fr);
 gap: 18px;
 align-items: center;
}
.vcard p:last-child { margin-bottom: 0; }
.cover {
 aspect-ratio: 16 / 10;
 border-radius: 12px;
 background: var(--soft);
 border: 1px solid var(--line);
 padding: 14px;
 display: flex;
 flex-direction: column;
 justify-content: flex-end;
 gap: 6px;
 color: var(--text);
 position: relative;
 overflow: hidden;
}
.cover::before {
 content: "";
 position: absolute;
 left: 0;
 top: 0;
 bottom: 0;
 width: 4px;
 background: var(--primary);
}
.cover strong { font-size: 18px; }
.cover-kicker { color: var(--primary); font-size: 13px; font-weight: 700; }
.vcard time { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.text-link { font-weight: 700; }
.more-sec .container { display: flex; }
.more-link {
 display: inline-flex;
 align-items: center;
 height: 44px;
 padding: 0 2px;
 font-weight: 700;
 border-bottom: 1px solid transparent;
}
.more-link:hover { border-bottom-color: var(--primary); }
.guide-list, .note-list { list-style: none; margin: 12px 0 0; padding: 0; max-width: 760px; }
.guide-list li, .note-list li {
 display: flex;
 justify-content: space-between;
 gap: 16px;
 align-items: baseline;
 padding: 14px 0;
 border-bottom: 1px solid var(--line);
}
.guide-list li:first-child, .note-list li:first-child { border-top: 1px solid var(--line); }
.guide-list a { font-weight: 700; color: var(--text); }
.guide-list a:hover { color: var(--primary); }
.guide-list span, .note-list span { color: var(--muted); white-space: nowrap; }
.note-list li { display: block; }
.note-list b { display: inline; margin-right: 8px; }
.path-row {
 display: grid;
 grid-template-columns: 1.2fr .9fr .9fr;
 gap: 18px;
 margin-top: 8px;
}
.path-item {
 padding: 8px 0 0 16px;
 border-left: 2px solid var(--line);
}
.path-item:first-child { border-left-color: var(--primary); }
.path-item a { font-weight: 700; }
.acc-list { display: grid; gap: 12px; margin-top: 8px; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
main > .section:nth-child(even) .acc-item { background: var(--bg); }
.acc-btn {
 width: 100%;
 min-height: 56px;
 padding: 12px 16px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 background: transparent;
 border: 0;
 color: var(--text);
 font-weight: 700;
 text-align: left;
 cursor: pointer;
}
.acc-btn:hover { color: var(--primary); }
.plus {
 width: 18px;
 height: 18px;
 position: relative;
 flex: 0 0 auto;
 transition: transform .2s;
}
.plus::before, .plus::after {
 content: "";
 position: absolute;
 background: var(--primary);
 border-radius: 1px;
}
.plus::before { width: 18px; height: 2px; left: 0; top: 8px; }
.plus::after { width: 2px; height: 18px; left: 8px; top: 0; }
.acc-btn[aria-expanded="true"] .plus { transform: rotate(45deg); }
.acc-panel { padding: 0 16px 16px; color: var(--text); }
.acc-panel p { margin: 0; }
.site-foot {
 background: var(--surface);
 border-top: 1px solid var(--line);
 padding: 36px 0 28px;
}
.foot-grid {
 display: grid;
 grid-template-columns: 1.3fr .8fr 1fr;
 gap: 24px;
}
.foot-grid a, .foot-grid p { display: block; color: var(--muted); margin: 0 0 8px; }
.foot-grid a:hover { color: var(--primary); }
.foot-grid .logo { margin-bottom: 8px; }
.copy {
 width: min(var(--container), calc(100% - 40px));
 margin: 8px auto 0;
 padding-top: 12px;
 border-top: 1px solid var(--line);
 color: var(--muted);
 font-size: 14px;
}
@media (max-width: 1024px) {
 :root { --pad: 72px; }
 .vcard { grid-template-columns: 220px minmax(0, 1fr); }
 .path-row { grid-template-columns: 1fr; }
 .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
 :root { --pad: 48px; }
 h1 { font-size: 28px; }
 h2 { font-size: 22px; }
 .bar { min-height: 56px; flex-wrap: wrap; padding: 8px 0; }
 .steps { top: 56px; }
 .step-row {
 display: flex;
 overflow-x: auto;
 gap: 8px;
 padding: 8px 0;
 }
 .step {
 flex: 0 0 auto;
 min-height: 36px;
 padding: 0 12px;
 border: 1px solid var(--line);
 border-radius: 999px;
 background: var(--bg);
 }
 .vcard { grid-template-columns: 1fr; }
 .guide-list li { flex-direction: column; gap: 4px; }
 .foot-grid { grid-template-columns: 1fr; }
 .age-form .btn { width: 100%; }
}
