/* roulang page: index */
:root {
  --bg: #F3F6FB;
  --bg-alt: #EAF1F9;
  --card: #FFFFFF;
  --ink: #1C2838;
  --muted: #5A6A7E;
  --line: #D9E3F0;
  --primary: #2A6FDB;
  --primary-hover: #1E5BB8;
  --primary-active: #184E9F;
  --primary-soft: #E5F0FF;
  --teal: #1A9A8A;
  --amber: #C47B2B;
  --amber-soft: #FBF3E8;
  --shadow: 0 12px 32px rgba(28, 40, 72, 0.08);
  --shadow-hover: 0 18px 36px rgba(28, 40, 72, 0.14);
  --radius: 18px;
  --radius-btn: 12px;
  --header-h: 72px;
  --max: 1120px;
  --bs-primary: #2A6FDB;
  --bs-primary-rgb: 42, 111, 219;
  --bs-link-color: #1C2838;
  --bs-link-hover-color: #2A6FDB;
  --bs-body-color: #1C2838;
  --bs-body-bg: #F3F6FB;
  --bs-border-color: #D9E3F0;
  --bs-border-radius: 18px;
  --bs-font-sans-serif: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body.nav-lock { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 111, 219, 0.28);
}
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -40px; z-index: 80;
  background: var(--primary); color: #fff; padding: 8px 12px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: #F3F6FB;
  border-bottom: 1px solid var(--line);
}
.header-bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-main { font-size: 18px; font-weight: 700; letter-spacing: 0.02em; }
.brand-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.hamburger {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.hamburger:hover { background: var(--primary-soft); }
.hamburger:active { transform: translateY(0); background: #d7e6fb; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border-radius: var(--radius-btn);
  border: 1px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-primary:active { background: var(--primary-active); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-soft); color: var(--primary-hover); }
.btn-secondary:active { background: #d5e6ff; color: var(--primary-active); }
.header-cta { min-height: 42px; padding: 8px 14px; }

.drawer-mask {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(28, 40, 56, 0.55);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.drawer-mask.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; z-index: 70;
  width: min(420px, 100%); height: 100%;
  background: #fff; border-right: 1px solid var(--line);
  transform: translateX(-105%); transition: transform .28s ease;
  display: flex; flex-direction: column; padding: 22px 22px 28px;
  overflow: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--primary-soft); }
.drawer-nav { display: flex; flex-direction: column; gap: 8px; }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 10px 14px; border-radius: 14px;
  color: var(--ink); text-decoration: none; border: 1px solid transparent;
}
.drawer-nav a:hover { background: var(--bg); text-decoration: none; color: var(--primary); }
.drawer-nav a.is-active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.drawer-nav a small { color: var(--muted); font-size: 13px; }
.drawer-cta { margin-top: 22px; width: 100%; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.eyebrow {
  margin: 0 0 10px; font-size: 13px; letter-spacing: 0.16em; color: var(--primary); font-weight: 700;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 40px; line-height: 1.25; font-weight: 760; letter-spacing: 0; margin-bottom: 12px; }
h2 { font-size: 28px; line-height: 1.35; font-weight: 760; margin-bottom: 12px; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 700; margin-bottom: 8px; }
.section-lead { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.subhead { margin: 0 0 18px; color: var(--ink); font-size: 18px; }

.hero-stage { padding: 48px 0 88px; background: var(--bg-alt); }
.hero-layout {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 42px; align-items: center;
}
.hero-copy .section-lead { margin-top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.stat-row div { min-width: 108px; }
.stat-row strong {
  display: block; font-variant-numeric: tabular-nums; font-size: 22px; color: var(--ink);
}
.stat-row span { color: var(--muted); font-size: 13px; }

.player-frame {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.player-screen {
  position: relative; aspect-ratio: 16/9; background: #E7EEF7;
  display: grid; place-items: center;
}
.player-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.play-btn {
  position: relative; z-index: 1; width: 74px; height: 74px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); text-decoration: none;
}
.play-btn:hover { background: var(--primary-hover); color: #fff; text-decoration: none; transform: translateY(-4px); }
.play-btn:active { transform: none; background: var(--primary-active); }
.player-chrome { padding: 14px 16px 16px; }
.player-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; }
.player-title { font-weight: 700; font-size: 15px; }
.player-time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.progress {
  height: 8px; background: #E6EEF8; border-radius: 999px; overflow: hidden; margin-bottom: 10px;
}
.progress > span { display: block; height: 100%; width: 43%; background: var(--teal); border-radius: inherit; }
.player-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.badge {
  display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px;
  border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.4;
  background: var(--primary-soft); color: var(--primary);
}
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-line { background: #fff; color: var(--muted); border: 1px solid var(--line); font-weight: 600; }

.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch;
}
.compare-col {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.compare-col li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.compare-col li:first-child { border-top: 0; padding-top: 0; }
.compare-col strong { font-size: 16px; }
.compare-col span { color: var(--muted); font-size: 15px; }
.compare-after { background: #F7FBFF; }

.solution-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: stretch;
}
.solution-main, .side-card, .scene-card, .news-feature, .news-item, .device-card, .quote-card, .metric-card, .playlist-main, .playlist-item, .point-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.solution-main { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; }
.solution-main p, .side-card p, .scene-card p, .device-card p, .quote-card p, .playlist-main p, .playlist-item p { color: var(--muted); margin-bottom: 0; }
.side-stack { display: grid; gap: 22px; }
.side-card { padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.side-card:hover, .scene-card:hover, .news-feature:hover, .news-item:hover, .device-card:hover, .quote-card:hover, .metric-card:hover, .playlist-main:hover, .playlist-item:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
}
.meter { height: 10px; background: #E6EEF8; border-radius: 999px; margin: 22px 0; overflow: hidden; }
.meter span { display: block; height: 100%; width: 76%; background: var(--teal); }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: step;
}
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 18px 20px;
}
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-flex; font-variant-numeric: tabular-nums; color: var(--teal);
  font-weight: 760; font-size: 13px; letter-spacing: 0.08em; margin-bottom: 10px;
}
.steps p { color: var(--muted); margin: 0; font-size: 15px; }

.metric-grid, .device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric-card { padding: 26px 20px; }
.metric-card b {
  display: block; font-size: 36px; line-height: 1.1; font-variant-numeric: tabular-nums; font-weight: 760;
}
.metric-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

.quote-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1fr; gap: 18px; align-items: start; }
.quote-card { padding: 24px; }
.quote-card:nth-child(2) { margin-top: 36px; }
.quote-card:nth-child(3) { margin-top: 14px; }
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-weight: 760;
}
.who small { display: block; color: var(--muted); font-size: 13px; }

.people-list { display: grid; gap: 14px; }
.scene-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px;
}
.scene-row p { margin: 0; color: var(--muted); }

.scene-grid { display: grid; grid-template-columns: 1.35fr 1fr 0.9fr; gap: 18px; }
.scene-card { overflow: hidden; color: inherit; display: flex; flex-direction: column; min-height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.scene-card:hover { color: inherit; text-decoration: none; }
.scene-visual { height: 210px; background: #E7EEF7; border-bottom: 1px solid var(--line); }
.scene-card:nth-child(1) .scene-visual { height: 280px; }
.scene-card:nth-child(3) .scene-visual { height: 168px; }
.scene-card .pad { padding: 20px 20px 22px; }
.scene-visual svg { width: 100%; height: 100%; }

.channel-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
  padding: 42px; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.channel-panel .btn { min-width: 180px; }

.news-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 18px; }
.news-feature, .news-item { color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.news-feature:hover, .news-item:hover { color: inherit; text-decoration: none; }
.news-feature { display: grid; grid-template-rows: 220px 1fr; overflow: hidden; }
.news-visual { background: #E7EEF7; }
.news-feature .pad, .news-item { padding: 20px; }
.news-side { display: grid; gap: 18px; }
.news-kicker { color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 6px; }
.news-item p, .news-feature p { color: var(--muted); margin: 8px 0 0; }
.readtime { color: var(--muted); font-size: 13px; }

.metric-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.metric-bar article { padding: 28px 24px; border-right: 1px solid var(--line); }
.metric-bar article:last-child { border-right: 0; }
.metric-bar b { display: block; font-size: 32px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.metric-bar span { color: var(--muted); font-size: 14px; }

.device-card { padding: 20px; }
.device-shell {
  height: 132px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg);
  margin-bottom: 14px; position: relative; overflow: hidden;
}
.device-shell i {
  position: absolute; left: 16px; right: 16px; bottom: 18px; height: 6px; border-radius: 99px; background: #E6EEF8;
}
.device-shell i::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 46%; background: var(--teal); border-radius: inherit;
}
.phone { width: 74px; margin: 16px auto 0; height: 100px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.pad { width: 120px; margin: 22px auto 0; height: 86px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.desk { width: 150px; margin: 28px auto 0; height: 78px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.tv { width: 168px; margin: 26px auto 0; height: 84px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }

.clarity-list { display: grid; gap: 14px; }
.clarity-row {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.bar { height: 8px; background: #E6EEF8; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar span { display: block; height: 100%; background: var(--primary); }
.bar.teal span { background: var(--teal); width: 34%; }
.clarity-row p { margin: 0; color: var(--muted); font-size: 15px; }

.playlist-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; }
.playlist-main { overflow: hidden; color: inherit; display: grid; grid-template-rows: 240px 1fr; }
.playlist-main:hover, .playlist-item:hover { color: inherit; text-decoration: none; }
.playlist-visual { background: #E7EEF7; }
.playlist-main .pad { padding: 22px; }
.playlist-list { display: grid; gap: 12px; }
.playlist-item { padding: 16px 16px; display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; color: inherit; }
.thumb {
  height: 64px; border-radius: 12px; background: var(--primary-soft); display: grid; place-items: center; color: var(--primary); font-weight: 760;
}
.playlist-item p { margin: 0; font-size: 14px; }

.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(42,111,219,.28); --bs-accordion-active-bg: var(--primary-soft); --bs-accordion-active-color: var(--ink); --bs-accordion-btn-color: var(--ink); }
.accordion-item { border: 1px solid var(--line); border-radius: 16px !important; overflow: hidden; margin-bottom: 12px; background: #fff; box-shadow: var(--shadow); }
.accordion-button { font-weight: 700; font-size: 16px; line-height: 1.6; padding: 18px 20px; background: #fff; color: var(--ink); }
.accordion-button:not(.collapsed) { background: var(--primary-soft); color: var(--ink); box-shadow: none; }
.accordion-button:hover { background: #F4F8FF; }
.accordion-body { color: var(--muted); padding: 4px 20px 18px; }

.cta-panel {
  background: var(--primary-soft); border-radius: 24px; padding: 42px;
  display: flex; justify-content: space-between; gap: 28px; align-items: center;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 0.9fr; gap: 28px; padding-bottom: 36px; }
.site-footer h2 { font-size: 16px; margin-bottom: 12px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal {
  border-top: 1px solid var(--line); padding: 16px 0; color: var(--muted); font-size: 13px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .scene-grid { grid-template-columns: 1.2fr 1fr; }
  .scene-card:nth-child(3) { grid-column: 1 / -1; }
  .scene-card:nth-child(3) .scene-visual { height: 200px; }
}
@media (max-width: 992px) {
  .section { padding: 72px 0; }
  .hero-stage { padding: 36px 0 72px; }
  h1 { font-size: 34px; }
  .hero-layout, .compare, .solution-grid, .quote-grid, .scene-grid, .news-grid, .playlist-grid, .channel-panel, .cta-panel, .footer-grid {
    grid-template-columns: 1fr;
  }
  .steps, .metric-grid, .device-grid { grid-template-columns: 1fr 1fr; }
  .quote-card:nth-child(2), .quote-card:nth-child(3) { margin-top: 0; }
  .metric-bar { grid-template-columns: 1fr; }
  .metric-bar article { border-right: 0; border-bottom: 1px solid var(--line); }
  .scene-card:nth-child(1) .scene-visual, .scene-card:nth-child(3) .scene-visual, .news-feature { grid-template-rows: 180px 1fr; }
  .channel-panel, .cta-panel { padding: 28px; }
}
@media (max-width: 768px) {
  .brand-sub { display: none; }
  .player-screen { aspect-ratio: 16/10; }
}
@media (max-width: 576px) {
  .section { padding: 56px 0; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .container { width: min(100% - 24px, var(--max)); }
  .header-cta span { display: none; }
  .steps, .metric-grid, .device-grid, .clarity-row, .playlist-item, .scene-row { grid-template-columns: 1fr; }
  .scene-row { justify-items: start; }
  main .btn, .cta-actions .btn, .hero-actions .btn, .drawer-cta, .channel-panel .btn { width: 100%; }
  .header-cta { width: auto; }
  .drawer { width: 100%; }
  .legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #F3F6FB;
  --bg-alt: #EAF1F9;
  --card: #FFFFFF;
  --ink: #1C2838;
  --muted: #5A6A7E;
  --line: #D9E3F0;
  --primary: #2A6FDB;
  --primary-hover: #1E5BB8;
  --primary-active: #184E9F;
  --primary-soft: #E5F0FF;
  --teal: #1A9A8A;
  --amber: #C47B2B;
  --amber-soft: #FBF3E8;
  --shadow: 0 12px 32px rgba(28, 40, 72, 0.08);
  --shadow-hover: 0 18px 36px rgba(28, 40, 72, 0.14);
  --radius: 18px;
  --radius-btn: 12px;
  --header-h: 72px;
  --max: 1120px;
  --bs-primary: #2A6FDB;
  --bs-primary-rgb: 42, 111, 219;
  --bs-link-color: #1C2838;
  --bs-link-hover-color: #2A6FDB;
  --bs-body-color: #1C2838;
  --bs-body-bg: #F3F6FB;
  --bs-border-color: #D9E3F0;
  --bs-border-radius: 18px;
  --bs-font-sans-serif: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --bs-body-font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body.nav-lock { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
button, input { font-family: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 111, 219, 0.28);
}
::selection { background: #E5F0FF; color: #1C2838; }
.container {
  width: min(100% - 32px, var(--max));
  max-width: var(--max) !important;
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: #F3F6FB;
  border-bottom: 1px solid var(--line);
}
.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-main { font-size: 18px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.brand-sub { font-size: 13px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.hamburger {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.hamburger:hover { background: var(--primary-soft); }
.hamburger:active { transform: none; background: #d7e6fb; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border-radius: var(--radius-btn) !important;
  border: 1px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none !important;
  box-shadow: none !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none !important; transform: translateY(-4px); }
.btn:active { transform: none; }
.btn-primary, a.btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
.btn-primary:hover, a.btn-primary:hover { background: var(--primary-hover) !important; border-color: var(--primary-hover) !important; color: #fff !important; }
.btn-primary:active, a.btn-primary:active { background: var(--primary-active) !important; border-color: var(--primary-active) !important; color: #fff !important; }
.btn-secondary {
  background: #fff !important;
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}
.btn-secondary:hover { background: var(--primary-soft) !important; color: var(--primary-hover) !important; }
.btn-secondary:active { background: #d5e6ff !important; color: var(--primary-active) !important; }
.header-cta { min-height: 42px; padding: 8px 14px; }
.drawer-mask {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(28, 40, 56, 0.55);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.drawer-mask.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; z-index: 70;
  width: min(420px, 100%); height: 100%;
  background: #fff; border-right: 1px solid var(--line);
  transform: translateX(-105%); transition: transform .28s ease;
  display: flex; flex-direction: column; padding: 22px 22px 28px;
  overflow: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer;
  display: grid; place-items: center; flex: 0 0 auto;
}
.icon-btn:hover { background: var(--primary-soft); }
.drawer-nav { display: flex; flex-direction: column; gap: 8px; }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 10px 14px; border-radius: 14px;
  color: var(--ink); text-decoration: none; border: 1px solid transparent;
}
.drawer-nav a:hover { background: var(--bg); text-decoration: none; color: var(--primary); }
.drawer-nav a.is-active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.drawer-nav a small { color: var(--muted); font-size: 13px; font-weight: 500; }
.drawer-nav a.is-active small { color: var(--primary); }
.drawer-cta { margin-top: 22px; width: 100%; }
.section { padding: 96px 0; background: transparent; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--primary);
  font-weight: 700;
}
h1 { font-size: 40px; line-height: 1.25; font-weight: 700; color: var(--ink); }
h2 { font-size: 28px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.section-lead { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.cat-hero { padding: 28px 0 36px; background: var(--bg-alt); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--primary); }
.crumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
.hero-sub { max-width: 640px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-name { font-size: 13px; color: var(--muted); margin-right: 4px; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px;
  padding: 4px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 14px; line-height: 1.4;
}
.chip.is-current { background: var(--primary-soft); color: var(--primary); border-color: transparent; font-weight: 700; }
.feature-card, .media-card, .point-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover, .media-card:hover, .point-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.feature-card:active, .media-card:active, .point-card:active { transform: none; }
.feature-card:focus-within, .media-card:focus-within {
  box-shadow: 0 0 0 3px rgba(42, 111, 219, 0.28), var(--shadow);
}
.feature-link, .media-link { color: inherit; text-decoration: none; height: 100%; }
.feature-link:hover, .media-link:hover { color: inherit; text-decoration: none; }
.feature-link:hover h3, .media-link:hover h3 { color: var(--primary); }
.feature-link { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); min-height: 100%; }
.art { background: #EAF1F9; overflow: hidden; }
.feature-card .art { border-radius: 17px 0 0 17px; min-height: 280px; }
.media-card .art { border-radius: 17px 17px 0 0; aspect-ratio: 16 / 9; }
.art-svg { width: 100%; height: 100%; }
.feature-copy, .media-copy { padding: 22px 22px 20px; }
.feature-copy h3 { font-size: 28px; line-height: 1.35; margin-bottom: 8px; }
.feature-copy p { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag {
  display: inline-flex; align-items: center; min-height: 26px;
  padding: 0 10px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 13px; font-weight: 700; line-height: 1;
}
.tag-resume { background: #E7F6F3; color: var(--teal); }
.tag-long { background: var(--amber-soft); color: var(--amber); }
.media-meta, .feature-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  margin-top: 14px; color: var(--muted); font-size: 13px;
}
.media-meta span + span::before, .feature-meta span + span::before { content: ""; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.media-card h3 { font-size: 18px; line-height: 1.5; font-weight: 700; }
.diff-wrap { max-width: 720px; }
.diff-wrap p + p { margin-top: 16px; }
.diff-wrap p { color: var(--ink); }
.point-rail {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.point-card { flex: 1 0 280px; scroll-snap-align: start; padding: 22px; }
.point-index {
  display: inline-block; margin-bottom: 10px;
  color: var(--teal); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; font-variant-numeric: tabular-nums;
}
.point-card h3 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; }
.point-card p { color: var(--muted); }
.note-list { border-top: 1px solid var(--line); }
.note-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px; align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.note-list a:hover { color: var(--primary); text-decoration: none; }
.note-title { font-weight: 700; font-size: 17px; }
.note-time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.metric-strip article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
}
.metric-strip strong {
  display: block;
  font-size: 40px; line-height: 1.1; font-weight: 700;
  color: var(--primary); font-variant-numeric: tabular-nums;
}
.metric-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.more-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; max-width: 820px;
}
.more-row p { color: var(--muted); margin: 0; }
.site-footer {
  background: #EAF1F9;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 16px; line-height: 1.4; margin: 0 0 12px; }
.site-footer p { color: var(--muted); }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--ink); }
.legal {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
@media (max-width: 1200px) {
  .feature-copy h3 { font-size: 26px; }
}
@media (max-width: 992px) {
  .feature-link { grid-template-columns: 1fr; }
  .feature-card .art { border-radius: 17px 17px 0 0; min-height: 220px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 24px; }
  .card-grid, .metric-strip, .footer-grid { grid-template-columns: 1fr; }
  .feature-copy h3 { font-size: 22px; }
  .metric-strip strong { font-size: 32px; }
  .drawer { width: 100%; }
}
@media (max-width: 576px) {
  .container { width: min(100% - 24px, var(--max)); }
  .section { padding: 56px 0; }
  .cat-hero { padding: 24px 0 28px; }
  .header-cta { padding: 8px 10px; }
  .more-row { flex-direction: column; align-items: stretch; }
  .more-row .btn { width: 100%; }
  .note-list a { grid-template-columns: 1fr; gap: 6px; }
  .filter-group { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
