/* roulang page: index */
:root {
  --blue: #1E6FE0;
  --blue-dark: #175BB8;
  --blue-soft: #E8F1FC;
  --amber: #E3A31A;
  --amber-deep: #8A5A00;
  --amber-soft: #FFF6E4;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --mist: #EEF3F8;
  --ink: #1C2836;
  --muted: #5C6B7A;
  --line: #E3E8EF;
  --danger: #B42318;
  --radius: 12px;
  --pill: 999px;
  --shadow: 0 10px 16px rgba(28, 40, 54, 0.08);
  --shadow-hover: 0 16px 22px rgba(28, 40, 54, 0.12);
  --header-h: 72px;
  --container: 1120px;
  --space: 96px;
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  padding-bottom: 72px;
}
img { max-width: 100%; display: block; border: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 44px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 30px; line-height: 1.35; font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 21px; line-height: 1.4; font-weight: 700; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(28, 40, 54, 0.03);
}
.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 18px; flex: 0 0 auto;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--mist);
  display: grid; place-items: center; color: var(--blue);
}
.logo-mark svg { width: 20px; height: 20px; }
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.site-nav a {
  color: var(--ink); font-size: 15px; font-weight: 400;
  padding: 8px 10px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a.active { color: var(--blue); font-weight: 600; border-bottom-color: var(--blue); }
.nav-search { margin-left: auto; position: relative; flex: 0 1 240px; }
.nav-search input {
  width: 100%; height: 40px; border-radius: var(--pill);
  border: 1px solid var(--line); background: var(--bg);
  padding: 0 14px 0 38px; color: var(--ink); font-size: 14px;
}
.nav-search input::placeholder { color: #8A97A6; }
.nav-search svg {
  position: absolute; left: 14px; top: 11px; width: 16px; height: 16px; color: var(--muted);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: var(--pill);
  border: 1px solid transparent; font-size: 15px; font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  gap: 8px; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-primary:active { background: #124d9e; }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative; margin: 0 auto;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.hero { padding: 56px 0 28px; background: var(--white); }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--amber-deep); background: var(--amber-soft);
  border-radius: var(--pill); padding: 4px 12px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.hero h1 { margin-bottom: 16px; }
.lede { color: var(--muted); font-size: 17px; margin-bottom: 28px; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; }
.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--mist); border: 1px solid var(--line);
}
.media.is-broken { min-height: 180px; display: grid; place-items: center; }
.media.is-broken::after {
  content: "圖片暫不可用"; color: var(--muted); font-size: 14px;
}
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-16-10 { aspect-ratio: 16 / 10; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute; left: 18px; bottom: 18px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--amber); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 16px rgba(227, 163, 26, 0.35);
}
.play-badge svg { width: 22px; height: 22px; margin-left: 2px; }
.section { padding: var(--space) 0; }
.section-mist { background: var(--mist); }
.section-white { background: var(--white); }
.section-head { margin-bottom: 28px; max-width: 720px; }
.section-head p { color: var(--muted); margin: 0; }
.flow {
  display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); gap: 24px; align-items: stretch;
}
.step-board, .scene-card, .quote-less, .cta-card, .faq-item, .news-row {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.step-board { padding: 8px 8px 8px 0; }
.step {
  display: grid; grid-template-columns: 92px 1fr; gap: 8px;
  padding: 22px 28px; border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-no { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.step h3 { margin: 0 0 4px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.scene-card {
  display: flex; flex-direction: column; overflow: hidden; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.scene-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: inherit; }
.scene-card .media { border: 0; border-radius: 0; flex: 1; min-height: 240px; }
.scene-card figcaption { padding: 18px 20px 20px; }
.badge {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border-radius: var(--pill); background: var(--amber-soft); color: var(--amber-deep);
  font-size: 13px; font-weight: 600;
}
.scene-card strong { display: block; margin-top: 10px; font-size: 18px; color: var(--ink); }
.scene-layout {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
.scene-copy h2 { margin-bottom: 16px; }
.scene-copy p { color: var(--muted); margin-bottom: 14px; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "→"; }
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 820px; }
.time-item {
  display: grid; grid-template-columns: 18px 1fr; gap: 18px;
}
.time-item:nth-child(1) { margin-bottom: 18px; }
.time-item:nth-child(2) { margin-bottom: 36px; }
.time-item:nth-child(3) { margin-bottom: 0; }
.time-rail { position: relative; }
.time-rail i {
  display: block; width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber); margin-top: 8px; position: relative; z-index: 1;
}
.time-item:not(:last-child) .time-rail::after {
  content: ""; position: absolute; left: 5px; top: 20px; bottom: -28px; width: 2px; background: #F0D48A;
}
.time-item h3 { margin-bottom: 4px; }
.time-item p { margin: 0; color: var(--muted); }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 0; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.news-cover { display: block; background: var(--mist); min-height: 158px; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.news-body { padding: 18px 22px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.news-body h3 { margin: 0 0 8px; font-size: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty-state {
  border: 1px dashed var(--line); border-radius: var(--radius); background: var(--white);
  padding: 36px 24px; text-align: center; color: var(--ink);
}
.empty-frame {
  width: 72px; height: 52px; margin: 0 auto 12px; border: 1px solid var(--line); border-radius: 8px; position: relative;
}
.empty-frame::before, .empty-frame::after {
  content: ""; position: absolute; background: var(--mist);
}
.empty-frame::before { width: 28px; height: 18px; left: 8px; top: 16px; border-radius: 3px; }
.empty-frame::after { width: 22px; height: 8px; right: 8px; bottom: 12px; }
.search-note { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { box-shadow: none; overflow: hidden; }
.faq-item button {
  width: 100%; text-align: left; background: #fff; border: 0; padding: 18px 20px;
  font-size: 17px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item button svg { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .2s ease; color: var(--muted); }
.faq-item.is-open button svg { transform: rotate(180deg); }
.faq-item .faq-a { display: none; background: var(--mist); padding: 0 20px 16px; color: var(--muted); }
.faq-item.is-open .faq-a { display: block; }
.cta-wrap { padding-bottom: 40px; }
.cta-card { text-align: center; padding: 48px 24px; box-shadow: var(--shadow); }
.cta-card p { color: var(--muted); margin: 0 auto 22px; max-width: 36em; }
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 28px; }
.footer-brand { font-weight: 700; font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.site-footer p, .site-footer li { color: var(--muted); font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer h3 { font-size: 15px; margin-bottom: 10px; }
.footer-bottom {
  margin-top: 28px; border-top: 1px solid var(--line); padding: 16px 0 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.footer-bottom a { color: var(--muted); }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: 56px; background: #fff; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 24px; transition: transform .25s ease;
}
.dock p { margin: 0; font-weight: 600; font-size: 15px; }
.dock.is-hidden { transform: translateY(110%); }
@media (max-width: 1024px) {
  h1 { font-size: 36px; }
  .hero-grid, .scene-layout, .flow { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-search { flex-basis: 180px; }
}
@media (max-width: 768px) {
  :root { --space: 64px; --header-h: 64px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .header-cta, .nav-search { display: none; }
  .site-nav {
    display: none; position: fixed; z-index: 60; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-bottom: 0; padding: 12px 4px; }
  .site-nav a.active { border-bottom: 0; box-shadow: inset 2px 0 0 var(--blue); padding-left: 10px; }
  .site-nav .nav-search, .site-nav .header-cta { display: block; margin: 8px 0 0; }
  .hero { padding-top: 32px; }
  .hero-grid, .scene-layout, .flow, .news-row, .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 72px 1fr; padding: 16px; }
  .dock { padding: 0 16px; }
  .dock p { font-size: 13px; }
}
@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  h1 { font-size: 30px; }
  .hero-actions .btn, .cta-card .btn, .dock .btn { width: 100%; }
  .dock { height: auto; min-height: 56px; flex-wrap: wrap; padding: 10px 16px; }
  body { padding-bottom: 108px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --blue: #1E6FE0;
  --blue-deep: #165BB8;
  --blue-soft: #E8F1FC;
  --amber: #E3A31A;
  --amber-deep: #8A6410;
  --amber-soft: #FBF3DE;
  --paper: #F7F8FA;
  --white: #FFFFFF;
  --mist: #EEF3F8;
  --ink: #1C2836;
  --sub: #5C6B7A;
  --line: #E3E8EF;
  --shadow: 0 10px 18px rgba(28, 40, 54, 0.08);
  --shadow-hover: 0 14px 22px rgba(28, 40, 54, 0.12);
  --radius: 12px;
  --header-h: 68px;
  --max: 1120px;
  --pad: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
button, input { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.container { width: min(var(--max), calc(100% - var(--pad) * 2)); margin: 0 auto; }
.mark {
  box-shadow: inset 0 -0.35em 0 var(--amber-soft);
  border-bottom: 2px solid var(--amber);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  flex: 0 0 auto;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--blue);
  display: grid;
  place-items: center;
  background: var(--blue-soft);
}
.logo-mark svg { width: 20px; height: 20px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.site-nav > a {
  color: var(--ink);
  font-size: 15px;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}
.site-nav > a:hover { color: var(--blue); }
.site-nav > a.active {
  color: var(--blue);
  font-weight: 600;
  border-bottom-color: var(--blue);
}
.nav-search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  margin-left: auto;
  min-width: 220px;
}
.nav-search svg { width: 16px; height: 16px; color: var(--sub); flex: 0 0 auto; }
.nav-search input {
  border: 0;
  background: transparent;
  width: 100%;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}
.nav-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(30, 111, 224, 0.25);
}
.site-nav .nav-search,
.site-nav .header-cta { display: none; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:focus-visible,
.site-nav > a:focus-visible,
.logo:focus-visible,
.faq-trigger:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost {
  background: var(--white);
  color: var(--blue);
  border-color: var(--blue);
}
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-deep); }
.header-cta { flex: 0 0 auto; margin-left: 12px; }
.hero {
  min-height: 420px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 36px 0;
}
.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.crumb { font-size: 13px; color: var(--sub); margin-bottom: 14px; }
.crumb a { color: var(--sub); }
.crumb a:hover { color: var(--blue); }
.badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
h1 {
  font-size: 44px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}
.lede { margin-top: 14px; color: var(--sub); font-size: 17px; max-width: 36em; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.text-link { font-weight: 600; }
.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--mist);
  box-shadow: var(--shadow);
}
.hero-media img,
.media img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(227, 163, 26, 0.35);
}
.play-badge svg { width: 18px; height: 18px; margin-left: 2px; }
.media { position: relative; background: var(--mist); border-radius: var(--radius); overflow: hidden; }
.media-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: var(--sub);
  background: var(--mist);
  font-size: 14px;
}
.media.is-broken img { display: none; }
.media.is-broken .media-fallback { display: flex; }
.band { padding: 96px 0; }
.band-white { background: var(--white); }
.band-mist { background: var(--mist); }
.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.08fr 0.92fr; }
.split.reverse .copy { order: 1; }
.split.reverse .media { order: 2; }
.media.tall { aspect-ratio: 4 / 3; }
.kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
h2 { font-size: 30px; line-height: 1.35; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.45; font-weight: 700; }
.copy p { margin-top: 14px; color: var(--sub); }
.step-line { margin-top: 22px; display: grid; gap: 12px; }
.step-line li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-line li:nth-child(2) { margin-left: 18px; }
.step-line li:nth-child(3) { margin-left: 36px; }
.step-line strong {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.step-line span { display: block; color: var(--ink); font-weight: 600; }
.step-line small { display: block; color: var(--sub); font-size: 14px; line-height: 1.6; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head p { margin-top: 10px; color: var(--sub); }
.spec-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.spec-list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}
.spec-list > div:first-child { border-top: 0; }
.spec-list > div:nth-child(even) { background: #F8FBFE; }
.spec-list dt { font-weight: 700; color: var(--ink); }
.spec-list dd { margin: 0; color: var(--sub); }
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.faq-trigger .chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--sub);
  border-bottom: 2px solid var(--sub);
  transform: rotate(45deg);
  margin-top: 6px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}
.faq-item.is-open .chev { transform: rotate(225deg); margin-top: 10px; }
.faq-panel { display: none; background: var(--mist); padding: 0 20px 18px; color: var(--sub); }
.faq-item.is-open .faq-panel { display: block; }
.cta-wrap { padding-bottom: 104px; }
.cta-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 56px 28px;
}
.cta-card p { margin: 12px auto 22px; color: var(--sub); max-width: 36em; }
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 56px 0 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr;
  gap: 32px;
}
.footer-brand { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.site-footer h3 { font-size: 15px; margin-bottom: 10px; }
.site-footer p, .site-footer a { color: var(--sub); font-size: 14px; }
.site-footer a:hover { color: var(--blue); }
.site-footer li + li { margin-top: 6px; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--sub);
  font-size: 13px;
}
@media (max-width: 1024px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .hero-grid, .split, .split.reverse { grid-template-columns: 1fr 1fr; gap: 28px; }
  .split.reverse .copy, .split.reverse .media { order: initial; }
  .nav-search { min-width: 160px; }
  .band { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  .header-bar > .nav-search,
  .header-bar > .header-cta { display: none; }
  .site-nav {
    display: none;
    position: fixed;
    z-index: 50;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 16px 20px 32px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    overflow: auto;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 12px 4px; }
  .site-nav .nav-search,
  .site-nav .header-cta { display: flex; margin: 10px 0 0; width: 100%; }
  .hero { min-height: 0; padding: 32px 0 40px; }
  .hero-grid, .split, .split.reverse { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .step-line li, .step-line li:nth-child(2), .step-line li:nth-child(3) { margin-left: 0; }
  .spec-list > div { grid-template-columns: 1fr; gap: 4px; }
  .band { padding: 60px 0; }
  .cta-wrap { padding-bottom: 72px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  :root { --pad: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .hero-actions .btn { width: 100%; }
  .cta-card { padding: 36px 18px; }
}

/* roulang page: article */
:root {
  --blue: #1E6FE0;
  --blue-dark: #165BB8;
  --blue-soft: #E8F1FC;
  --amber: #E3A31A;
  --amber-deep: #8A5A00;
  --amber-soft: #FFF6E4;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --mist: #EEF3F8;
  --ink: #1C2836;
  --muted: #5C6B7A;
  --line: #E3E8EF;
  --danger: #C0392B;
  --shadow: 0 8px 16px rgba(28, 40, 54, 0.08);
  --shadow-hover: 0 14px 22px rgba(28, 40, 54, 0.12);
  --radius: 12px;
  --header-h: 68px;
  --max: 1120px;
  --read: 720px;
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
}
img { max-width: 100%; height: auto; border: 0; }
button, input { font-family: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
::selection { background: #d7e7fb; color: var(--ink); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(28, 40, 54, 0.03);
}
.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  flex: 0 0 auto;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 20px; height: 20px; display: block; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 28px;
  margin-right: auto;
}
.site-nav > a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.site-nav > a:hover { color: var(--blue); }
.site-nav > a.active {
  color: var(--blue);
  font-weight: 600;
  border-bottom-color: var(--blue);
}
.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-width: 220px;
}
.nav-search svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.nav-search input {
  border: 0;
  background: transparent;
  width: 100%;
  height: 36px;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}
.nav-search input::placeholder { color: #8A97A6; }
.nav-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(30, 111, 224, 0.18); }
.site-nav .nav-search, .site-nav .header-cta { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-primary:active { background: #124f9f; }
.btn-ghost {
  background: var(--white);
  color: var(--blue);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.article-mast {
  background: var(--white) url("/assets/images/backpic/back-1.jpg") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.article-mast::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 248, 250, 0.96) 0%, rgba(247, 248, 250, 0.9) 58%, rgba(247, 248, 250, 0.78) 100%);
}
.article-mast .container { position: relative; padding: 28px 0 22px; }
.kicker {
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  color: var(--muted);
  font-size: 13px;
  min-width: 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46vw;
}
.reading { width: min(var(--read), calc(100% - 48px)); padding-top: 36px; padding-bottom: 20px; }
.article-head h1 {
  margin: 0 0 16px;
  font-size: 44px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
}
.meta li { display: inline-flex; align-items: center; gap: 6px; }
.meta a { color: var(--blue); font-weight: 600; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 12px;
  font-weight: 600;
}
.lead-figure {
  position: relative;
  margin: 22px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--mist);
  border: 1px solid var(--line);
}
.lead-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.play-badge svg { width: 16px; height: 16px; margin-left: 2px; }
.media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: var(--mist);
  font-size: 14px;
}
.article-body {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1em; }
.article-body h2, .article-body h3 {
  position: relative;
  padding-left: 12px;
  line-height: 1.4;
  font-weight: 700;
}
.article-body h2 { font-size: 28px; margin: 1.6em 0 0.6em; }
.article-body h3 { font-size: 21px; margin: 1.4em 0 0.5em; }
.article-body h2::before, .article-body h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  border-radius: 3px;
  background: var(--blue);
}
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 0 0 1em; padding-left: 1.3em; }
.article-body li { margin: 0.35em 0; }
.article-body ul li::marker { color: var(--blue); }
.article-body blockquote {
  margin: 1.2em 0;
  padding: 14px 16px;
  background: var(--mist);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}
.article-body img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  margin: 1em 0;
  object-fit: cover;
}
.article-body figure { margin: 1em 0; }
.article-body figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }
.article-body iframe, .article-body video { max-width: 100%; border-radius: var(--radius); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.article-body pre {
  overflow: auto;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 14px;
  font-size: 14px;
}
.article-end {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.article-end a { font-weight: 600; }
.empty-state {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 28px;
  text-align: center;
  margin: 12px 0 36px;
}
.empty-state h1 { margin: 0 0 12px; font-size: 32px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); }
.continue {
  padding: 28px 0 72px;
}
.continue h2 {
  width: min(var(--read), calc(100% - 48px));
  margin: 0 auto 16px;
  font-size: 28px;
  line-height: 1.35;
}
.continue-list {
  width: min(var(--read), calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.continue-list a {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.continue-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: inherit; }
.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--mist);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .media-fallback { font-size: 12px; padding: 8px; text-align: center; }
.continue-copy { padding: 12px 16px 12px 0; }
.continue-copy strong { display: block; font-size: 17px; line-height: 1.45; margin: 8px 0 4px; }
.continue-copy p { margin: 0; color: var(--muted); font-size: 14px; }
.faq-block { background: var(--white); border-top: 1px solid var(--line); padding: 72px 0; }
.faq-block h2 { margin: 0 0 18px; font-size: 28px; }
.faq-list { display: grid; gap: 10px; max-width: var(--read); }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq-list details[open] summary { color: var(--blue); }
.faq-list details p {
  margin: 0;
  padding: 14px 18px 16px;
  background: var(--mist);
  color: var(--ink);
  font-size: 15px;
}
.search-note {
  width: min(var(--read), calc(100% - 48px));
  margin: 0 auto 28px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--amber-soft);
  color: var(--ink);
}
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 56px 0 0; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr; gap: 28px; padding-bottom: 36px; }
.footer-brand { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.site-footer h3 { margin: 0 0 10px; font-size: 15px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 18px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1024px) {
  .site-nav { gap: 16px; margin-left: 16px; }
  .nav-search { min-width: 168px; }
  .article-head h1 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container, .reading, .continue h2, .continue-list, .search-note { width: min(var(--max), calc(100% - 32px)); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-bar > .nav-search { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 16px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    z-index: 39;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 12px 4px; border-bottom: 0; }
  .site-nav > a.active { border-bottom: 0; }
  .site-nav .nav-search, .site-nav .header-cta { display: flex; }
  .site-nav .header-cta { margin-top: 8px; }
  .article-head h1, .empty-state h1 { font-size: 32px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 24px; }
  .continue-list a { grid-template-columns: 120px 1fr; }
  .faq-block, .continue { padding-top: 48px; }
  .faq-block { padding-bottom: 56px; }
}
@media (max-width: 520px) {
  .logo-text { font-size: 16px; }
  .header-bar > .header-cta { padding: 0 12px; font-size: 13px; }
  .article-mast .container { padding-top: 20px; }
  .article-head h1 { font-size: 30px; }
  .breadcrumb [aria-current="page"] { max-width: 38vw; }
  .continue-list a { grid-template-columns: 1fr; }
  .continue-copy { padding: 0 14px 14px; }
  .thumb { aspect-ratio: 16 / 9; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .footer-bottom { gap: 6px; }
}
@media print {
  .site-header, .site-footer, .continue, .faq-block, .article-end, .lead-figure .play-badge { display: none !important; }
  body { background: #fff; }
  .reading { width: auto; }
}

/* roulang page: category2 */
:root {
  --blue: #1E6FE0;
  --blue-deep: #155bb8;
  --blue-soft: #E8F1FC;
  --amber: #E3A31A;
  --amber-deep: #8A5E08;
  --amber-soft: #FFF6E4;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --mist: #EEF3F8;
  --ink: #1C2836;
  --muted: #5C6B7A;
  --line: #E3E8EF;
  --shadow: 0 10px 18px rgba(28, 40, 54, 0.08);
  --shadow-hover: 0 16px 24px rgba(28, 40, 54, 0.12);
  --radius: 12px;
  --pill: 999px;
  --header: 68px;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
button, input { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 44px; line-height: 1.25; font-weight: 700; letter-spacing: 0.01em; }
h2 { font-size: 30px; line-height: 1.35; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(28, 40, 54, 0.03);
}
.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  flex: 0 0 auto;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { white-space: nowrap; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
}
.site-nav > a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  padding: 6px 0 4px;
  border-bottom: 2px solid transparent;
}
.site-nav > a:hover { color: var(--blue); }
.site-nav > a.active {
  color: var(--blue);
  font-weight: 600;
  border-bottom-color: var(--blue);
}
.site-nav .nav-search,
.site-nav .header-cta { display: none; }
.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  min-width: 220px;
}
.nav-search svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.nav-search input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--ink);
  font-size: 14px;
}
.nav-search input::placeholder { color: #8A97A6; }
.nav-search:focus-within { box-shadow: 0 0 0 2px var(--blue); border-color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-deep); }
.header-cta { flex: 0 0 auto; min-height: 40px; padding: 0 16px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.page-hero { padding: 56px 0 28px; background: var(--white); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 13px;
  font-weight: 600;
}
.lead { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 34em; }
.hero-note {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  font-size: 13px;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 4px 12px;
}
.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--mist);
  aspect-ratio: 16 / 10;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute;
  left: 16px; bottom: 16px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(227, 163, 26, 0.35);
}
.play-badge svg { width: 18px; height: 18px; margin-left: 2px; }
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head p { margin-top: 10px; color: var(--muted); }
.scene-board {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.scene-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.scene-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.scene-card.featured {
  grid-column: 1;
  grid-row: 1 / span 2;
  border-color: #F0D48A;
  box-shadow: var(--shadow), inset 0 0 0 1px #F6E4B4;
}
.thumb {
  position: relative;
  background: var(--mist);
  overflow: hidden;
}
.scene-card:not(.featured) .thumb { aspect-ratio: 16 / 9; }
.scene-card.featured .thumb { aspect-ratio: 16 / 11; flex: 1 1 auto; min-height: 240px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-fallback img { display: none; }
.thumb.is-fallback::after,
.hero-visual.is-fallback::after {
  content: "圖片暫不可用";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  background: var(--mist);
}
.card-body { padding: 16px 16px 18px; }
.scene-card.featured .card-body { padding: 20px 20px 22px; }
.badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 12px;
  font-weight: 600;
}
.audience { margin-top: 6px; color: var(--muted); font-size: 14px; }
.featured-copy { margin-top: 10px; color: var(--ink); font-size: 15px; }
.check-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rank-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}
.rank-list li:nth-child(1) { width: 100%; }
.rank-list li:nth-child(2) { width: 92%; }
.rank-list li:nth-child(3) { width: 84%; }
.rank-list li:nth-child(4) { width: 96%; }
.rank-no {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.rank-list strong { display: block; font-size: 16px; }
.rank-list span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.side-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.side-panel h3 { margin-bottom: 10px; }
.side-panel p { color: var(--muted); }
.side-panel ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink); }
.side-panel li { margin: 6px 0; }
.matrix {
  display: grid;
  gap: 12px;
}
.matrix-row {
  display: grid;
  grid-template-columns: 160px 1.1fr 1.2fr;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.matrix-row:nth-child(1) { border-left: 4px solid var(--amber); }
.matrix-row:nth-child(2) { border-left: 4px solid var(--blue); width: 96%; }
.matrix-row:nth-child(3) { border-left: 4px solid #8FB6EE; width: 90%; }
.matrix-k { font-weight: 700; }
.matrix-row p { color: var(--muted); font-size: 15px; }
.consult {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.consult-bar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}
.consult-bar p { font-weight: 600; font-size: 18px; }
.consult-bar span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 2px; }
.site-footer { background: var(--mist); padding: 56px 0 0; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr;
  gap: 28px;
  padding-bottom: 36px;
}
.footer-brand { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.site-footer h3 { font-size: 15px; margin-bottom: 10px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 14px 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1024px) {
  h1 { font-size: 36px; }
  .scene-board { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .scene-card.featured { grid-column: 1 / span 2; grid-row: auto; }
  .scene-card.featured .thumb { aspect-ratio: 16 / 8; min-height: 0; }
  .check-wrap { grid-template-columns: 1fr; }
  .rank-list li, .matrix-row { width: 100% !important; }
  .nav-search { min-width: 160px; }
  .site-nav { gap: 14px; }
}
@media (max-width: 768px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .nav-toggle { display: inline-flex; }
  .header-bar > .nav-search,
  .header-bar > .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 50;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-search,
  .site-nav .header-cta { display: flex; }
  .site-nav .nav-search { margin: 4px 0 0; min-width: 0; }
  .site-header { position: sticky; }
  .header-bar { position: static; }
  .site-header .container { position: relative; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 36px 0 24px; }
  .hero-grid, .scene-board, .matrix-row, .footer-grid { grid-template-columns: 1fr; }
  .scene-card.featured { grid-column: auto; }
  .consult-bar { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  h1 { font-size: 30px; }
  .logo-text { font-size: 16px; }
  .hero-note { gap: 8px; }
  .matrix-row { grid-template-columns: 1fr; gap: 4px; }
}

/* roulang page: category3 */
:root {
  --blue: #1E6FE0;
  --blue-dark: #185FBF;
  --blue-soft: #E8F1FC;
  --amber: #E3A31A;
  --amber-deep: #8A6410;
  --amber-soft: #FFF6E4;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --mist: #EEF3F8;
  --ink: #1C2836;
  --muted: #5C6B7A;
  --line: #E3E8EF;
  --danger: #C5362B;
  --ok-bg: #E7F6EE;
  --ok: #1F7A4D;
  --radius: 12px;
  --pill: 999px;
  --shadow: 0 10px 24px rgba(28, 40, 54, 0.08);
  --shadow-hover: 0 16px 28px rgba(28, 40, 54, 0.12);
  --header-h: 72px;
  --max: 1120px;
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--blue);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--pill);
  z-index: 80;
}
.skip-link:focus { top: 12px; color: #fff; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(28, 40, 54, 0.03);
}
.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  flex: 0 0 auto;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { font-size: 18px; letter-spacing: 0.02em; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  flex: 1;
}
.site-nav > a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}
.site-nav > a:hover { color: var(--blue); }
.site-nav > a.active,
.site-nav > a[aria-current="page"] {
  color: var(--blue);
  font-weight: 600;
  border-bottom-color: var(--blue);
}
.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  min-width: 220px;
}
.nav-search svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.nav-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}
.nav-search input::placeholder { color: #8A97A6; }
.site-nav .nav-search,
.site-nav .header-cta { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost {
  background: var(--white);
  color: var(--blue);
  border-color: #C9D7EA;
}
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-soft); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.header-cta { flex: 0 0 auto; white-space: nowrap; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute;
  left: 11px;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.page-hero { padding: 72px 0 36px; background: var(--white); border-bottom: 1px solid var(--line); }
.crumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--blue); }
.badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--pill);
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 13px;
  font-weight: 600;
}
h1 {
  margin: 14px 0 12px;
  font-size: 46px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  max-width: 16em;
}
.brand-line { box-shadow: inset 0 -0.38em 0 var(--amber-soft); }
.lead { margin: 0; max-width: 40em; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.text-link { font-weight: 600; }
.section { padding: 96px 0; }
.section h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.35; font-weight: 700; }
.section-lead { margin: 0 0 28px; color: var(--muted); max-width: 42em; }
.step-rail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.step {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.step:nth-child(1) { width: 100%; }
.step:nth-child(2) { width: 78%; margin-left: auto; }
.step:nth-child(3) { width: 90%; }
.step:nth-child(4) { width: 68%; margin-left: 6%; }
.step-no {
  flex: 0 0 64px;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  color: var(--blue);
  padding-top: 4px;
}
.step h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); }
.frame-band { background: var(--white); }
.frame-figure {
  position: relative;
  margin: 8px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--mist);
}
.frame-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.subtitle-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  background: rgba(28, 40, 54, 0.88);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.play-dot {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--amber);
  flex: 0 0 auto;
}
.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  background: var(--mist);
  color: var(--muted);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.rhythm { background: var(--mist); }
.rhythm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rhythm-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.rhythm-list li:nth-child(1) { width: 100%; }
.rhythm-list li:nth-child(2) { width: 92%; }
.rhythm-list li:nth-child(3) { width: 80%; margin-left: auto; }
.rhythm-k { color: var(--blue); font-weight: 700; font-size: 14px; }
.rhythm-list strong { display: block; font-size: 18px; margin-bottom: 4px; }
.rhythm-list p { margin: 0; color: var(--muted); }
.prep { background: var(--bg); }
.prep-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 0 0 22px;
  background: var(--mist);
}
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 8px 18px rgba(28, 40, 54, 0.05);
}
.check-list li:nth-child(2) { border-left-color: var(--amber); width: 94%; }
.check-list li:nth-child(3) { width: 86%; margin-left: auto; }
.check-list li:nth-child(4) { width: 96%; }
.tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.check-list strong { display: block; font-size: 16px; }
.check-list span { color: var(--muted); font-size: 14px; }
.form-section { background: var(--white); border-top: 1px solid var(--line); }
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  background: var(--white);
}
.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.req { color: var(--danger); margin-left: 4px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  font-size: 16px;
  min-height: 44px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 1px; }
.field.is-error input, .field.is-error textarea { border-color: var(--danger); }
.field-error { min-height: 1.4em; margin: 6px 0 0; color: var(--danger); font-size: 13px; }
.form-note { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.form-status {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--ok-bg);
  color: var(--ink);
}
.form-status.is-on { display: flex; }
.form-status .ok-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.after { background: var(--mist); }
.after-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.after-box p { margin: 0 0 12px; color: var(--muted); }
.after-links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; }
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.3fr; gap: 28px; }
.footer-brand { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.site-footer h3 { margin: 0 0 10px; font-size: 15px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1024px) {
  h1 { font-size: 38px; }
  .section { padding: 72px 0; }
  .step:nth-child(2), .step:nth-child(3), .step:nth-child(4),
  .rhythm-list li:nth-child(2), .rhythm-list li:nth-child(3),
  .check-list li:nth-child(2), .check-list li:nth-child(3), .check-list li:nth-child(4) {
    width: 100%;
    margin-left: 0;
  }
  .nav-search { min-width: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .nav-toggle { display: inline-flex; }
  .header-bar > .nav-search, .header-bar > .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 12px 16px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 12px 8px; }
  .site-nav .nav-search, .site-nav .header-cta { display: flex; }
  .site-nav .header-cta { margin-top: 6px; }
  .page-hero { padding: 48px 0 28px; }
  h1 { font-size: 32px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 26px; }
  .step { flex-direction: column; gap: 8px; }
  .step-no { flex-basis: auto; }
  .rhythm-list li { grid-template-columns: 1fr; gap: 4px; }
  .form-card { padding: 18px; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .subtitle-bar { font-size: 14px; position: static; }
}
@media (max-width: 520px) {
  h1 { font-size: 30px; }
  .logo-text { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step { transition: none; }
}
