/* roulang page: index */
/* ==================== 1. Design Variables ==================== */
:root {
  --brand-grad: linear-gradient(135deg, #D97706 0%, #F97316 100%);
  --teal-grad: linear-gradient(135deg, #0F766E 0%, #14532D 100%);
  --ink: #1C1917;
  --paper: #FAFAF7;
  --sand: #F4F1EC;
  --text: #292524;
  --text-sub: #78716C;
  --text-ph: #A8A29E;
  --rose: #E11D48;
  --line: #E7E5E4;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-chip: 999px;
  --shadow: 0 8px 30px rgba(28,25,23,.08);
  --shadow-hover: 0 16px 40px rgba(28,25,23,.12);
  --dark-shadow: 0 8px 30px rgba(0,0,0,.3);
  --container-w: 1240px;
  --header-h: 72px;
  --trans: .2s;
}

/* ==================== 2. Reset & Base ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  font-size: 1rem;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color var(--trans); }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #D97706;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(217,119,6,.18);
  border-radius: 4px;
}

/* ==================== 3. Container ==================== */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==================== 4. Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  transition: transform var(--trans), filter var(--trans), box-shadow var(--trans), background var(--trans);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217,119,6,.25);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(217,119,6,.35); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-block { width: 100%; }

/* ==================== 5. Header & Nav ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250,250,247,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text);
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.brand small {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-sub);
  -webkit-text-fill-color: var(--text-sub);
  margin-left: 4px;
  letter-spacing: .08em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav-link {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--trans), border-color var(--trans);
}
.nav-link:hover { color: #B45309; border-color: #D97706; }
.nav-link.active { color: #B45309; border-color: #D97706; font-weight: 600; }
.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
  margin: 0 2px;
}
.phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-chip);
  font-size: .8125rem;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--text);
  transition: all var(--trans);
}
.phase-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.phase-warm .dot { background: transparent; border: 2px solid #D97706; }
.phase-live .dot { background: #fff; }
.phase-live {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,29,72,.32); }
  50% { box-shadow: 0 0 0 6px rgba(225,29,72,0); }
}
.phase-rewind .dot { background: #fff; }
.phase-rewind {
  background: var(--teal-grad);
  border-color: transparent;
  color: #fff;
}
.phase-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.1rem;
  color: var(--text);
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}
.nav-toggle:hover { background: var(--sand); }

/* ==================== 6. Hero ==================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--ink);
  background-image:
    radial-gradient(600px 320px at 12% 20%, rgba(217,119,6,.25), transparent 70%),
    radial-gradient(700px 420px at 88% 70%, rgba(249,115,22,.15), transparent 70%),
    linear-gradient(180deg, rgba(28,25,23,.55) 0%, rgba(28,25,23,.35) 40%, rgba(28,25,23,.88) 100%),
    url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center 20%;
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  padding-top: 120px;
  padding-bottom: 40px;
  max-width: var(--container-w);
  margin: 0 auto;
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(225,29,72,.9);
  color: #fff;
  border-radius: var(--radius-chip);
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: 26px;
  box-shadow: 0 4px 16px rgba(225,29,72,.35);
}
.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.hero h1 {
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .01em;
  margin-bottom: 18px;
  text-shadow: 0 4px 32px rgba(0,0,0,.4);
}
.hero-sub {
  max-width: 620px;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.75;
  color: rgba(255,255,255,.88);
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-meta-strip {
  border-top: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}
.strip-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
}
.strip-inner .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F97316;
  margin-right: 8px;
  vertical-align: middle;
}

/* ==================== 7. Metrics ==================== */
.metrics {
  position: relative;
  z-index: 5;
  margin-top: -56px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.metric-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--trans), box-shadow var(--trans);
}
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.metric-num {
  font-size: clamp(1.25rem, 2.4vw, 1.875rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.metric-label {
  font-size: .8125rem;
  color: var(--text-sub);
  margin-top: 4px;
  font-weight: 500;
}
.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-chip);
  font-size: .75rem;
  font-weight: 600;
}
.metric-badge.up { background: rgba(217,119,6,.12); color: #B45309; }
.metric-badge.hot { background: rgba(225,29,72,.1); color: var(--rose); }
.metric-badge.new { background: rgba(15,118,110,.1); color: #0F766E; }

/* ==================== 8. Section Common ==================== */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--sand); }
.section-head {
  margin-bottom: 48px;
  max-width: 720px;
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #B45309;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--brand-grad);
  border-radius: 2px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.section-head p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ==================== 9. Service Matrix ==================== */
.service-section { background: var(--paper); }
.section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.section-grid > .section-card:nth-child(3n+2) {
  transform: translateY(-16px);
}
.section-grid > .section-card:nth-child(3n+2):hover {
  transform: translateY(-20px);
}
.section-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.section-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(217,119,6,.35);
}
.section-card::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--brand-grad);
}
.section-card-media {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.section-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.section-card:hover .section-card-media img { transform: scale(1.04); }
.section-card-media .time-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-chip);
}
.section-card-body { padding: 22px 22px 24px; }
.section-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217,119,6,.12);
  color: #D97706;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.section-card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-card-body p {
  font-size: .875rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 16px;
  min-height: 68px;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-chip);
  font-size: .75rem;
  font-weight: 600;
  background: var(--sand);
  color: var(--text-sub);
}
.chip.hot { background: rgba(225,29,72,.08); color: var(--rose); }
.chip.teal { background: rgba(15,118,110,.08); color: #0F766E; }
.chip.amber { background: rgba(217,119,6,.1); color: #B45309; }
.section-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: #B45309;
  transition: gap var(--trans);
}
.section-card-link:hover { gap: 10px; color: #92400E; }

/* ==================== 10. Compare Board ==================== */
.compare-section { background: var(--sand); }
.compare-board {
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  gap: 0;
  align-items: center;
  position: relative;
}
.compare-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 36px 34px;
  box-shadow: var(--shadow);
  transition: all var(--trans);
}
.compare-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.compare-card.active {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--brand-grad) border-box;
  border: 2px solid transparent;
}
.compare-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-chip);
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 16px;
  background: var(--sand);
  color: var(--text-sub);
}
.compare-card.active .compare-tag {
  background: rgba(217,119,6,.12);
  color: #B45309;
}
.compare-card h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: 18px; }
.compare-card ul { margin-bottom: 22px; }
.compare-card ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.6;
}
.compare-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0F766E;
  font-weight: 700;
}
.compare-card ul li.muted { color: var(--text-ph); }
.compare-card ul li.muted::before { content: "–"; color: var(--text-ph); }
.compare-score {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--text-sub);
}
.compare-score .stars { color: #F59E0B; letter-spacing: 1px; }
.compare-audience {
  margin-top: 16px;
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-chip);
  background: var(--sand);
  font-size: .75rem;
  color: var(--text-sub);
}
.compare-card.active .compare-audience { background: rgba(217,119,6,.1); color: #B45309; font-weight: 600; }
.vs-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-grad);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px rgba(217,119,6,.15), 0 8px 30px rgba(217,119,6,.3);
  margin: 0 auto;
  z-index: 2;
}

/* ==================== 11. Testimonials ==================== */
.testimonial-section { background: var(--paper); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: all var(--trans);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.testimonial-quote {
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 22px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid #F97316;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name { font-size: .9375rem; font-weight: 600; }
.testimonial-role { font-size: .8125rem; color: var(--text-sub); }

/* ==================== 12. Updates / CMS ==================== */
.updates-section { background: var(--sand); }
.updates-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.update-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(28,25,23,.04);
  transition: all var(--trans);
}
.update-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(217,119,6,.3);
}
.update-date {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.update-date .month { font-size: .75rem; color: var(--text-sub); font-weight: 600; text-transform: uppercase; }
.update-date .day { font-size: 1.5rem; font-weight: 800; color: #B45309; font-variant-numeric: tabular-nums; }
.update-body { flex: 1; min-width: 0; }
.update-cat {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-chip);
  background: rgba(217,119,6,.1);
  color: #B45309;
  margin-bottom: 6px;
}
.update-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.update-body p {
  font-size: .875rem;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}
.update-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
}
.update-item:hover .update-arrow {
  background: var(--brand-grad);
  color: #fff;
  transform: translateX(3px);
}
.empty-state {
  background: #fff;
  border: 1px dashed var(--text-ph);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-ph);
  font-size: .9375rem;
}
.updates-aside {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}
.aside-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}
.aside-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--brand-grad);
  border-radius: 2px;
}
.hot-topic-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #F5F5F4;
  font-size: .875rem;
}
.hot-topic-list li:last-child { border-bottom: none; }
.hot-rank {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--sand);
  color: var(--text-sub);
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hot-rank.top { background: var(--brand-grad); color: #fff; }
.hot-topic-list a { flex: 1; color: var(--text); }
.hot-topic-list a:hover { color: #B45309; }
.hot-topic-list .hot-num { font-size: .75rem; color: var(--text-ph); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 4px 14px;
  background: var(--sand);
  border-radius: var(--radius-chip);
  font-size: .8125rem;
  color: var(--text-sub);
  transition: all var(--trans);
}
.tag-cloud a:hover { background: var(--brand-grad); color: #fff; }

/* ==================== 13. FAQ ==================== */
.faq-section { background: var(--paper); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: background var(--trans), border-color var(--trans);
}
.faq-item.open { background: #FFFBF2; border-color: rgba(217,119,6,.35); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}
.faq-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid #D97706;
  color: #D97706;
  font-size: .875rem;
  font-weight: 700;
}
.faq-item.open .faq-num { background: var(--brand-grad); color: #fff; border-color: transparent; }
.faq-q h3 { flex: 1; font-size: 1rem; font-weight: 600; color: var(--text); }
.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--text-sub);
  transition: transform .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: #D97706; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease;
}
.faq-item.open .faq-a {
  max-height: 500px;
  opacity: 1;
}
.faq-a p {
  padding: 0 80px 22px 80px;
  font-size: .9375rem;
  color: var(--text-sub);
  line-height: 1.75;
}

/* ==================== 14. Join Form ==================== */
.join-section {
  background:
    radial-gradient(600px 300px at 15% 80%, rgba(217,119,6,.08), transparent 70%),
    var(--sand);
}
.join-card {
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--brand-grad) border-box;
  border: 2px solid transparent;
  border-radius: 24px;
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 64px;
  box-shadow: var(--shadow);
}
.join-head { text-align: center; margin-bottom: 40px; }
.join-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.join-head p { color: var(--text-sub); font-size: .9375rem; }
.join-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #D6D3D1;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .9375rem;
  background: #fff;
  transition: border-color var(--trans), box-shadow var(--trans);
  width: 100%;
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #D97706;
  box-shadow: 0 0 0 4px rgba(217,119,6,.12);
}
.form-group input.error,
.form-group textarea.error { border-color: var(--rose); }
.error-msg {
  font-size: .75rem;
  color: var(--rose);
  margin-top: 4px;
  display: none;
}
.form-group input.error + .error-msg,
.form-group textarea.error + .error-msg { display: block; }
.join-form .btn { grid-column: 1 / -1; margin-top: 8px; }
.form-success {
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(15,118,110,.08);
  color: #0F766E;
  border-radius: 12px;
  padding: 16px;
  font-size: .9375rem;
  font-weight: 600;
  margin-top: 8px;
}
.form-success.show { display: flex; }
.form-success .ok-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  flex-shrink: 0;
}

/* ==================== 15. Footer ==================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  position: relative;
}
.footer-grad { height: 4px; background: var(--brand-grad); }
.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 60px 32px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand p { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.55); }
.footer-col h4 {
  font-size: .9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a {
  display: inline-block;
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  margin-bottom: 10px;
  transition: color var(--trans);
}
.footer-col a:hover { color: #F97316; }
.footer-col .footer-note { font-size: .8125rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  padding: 20px 16px;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}

/* ==================== 16. Responsive ==================== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .updates-grid { grid-template-columns: 1fr 320px; gap: 28px; }
  .join-card { padding: 44px 40px; }
  .section-grid { grid-template-columns: repeat(2, 1fr); }
  .section-grid > .section-card:nth-child(3n+2) { transform: none; }
  .section-grid > .section-card:nth-child(even) { transform: translateY(0); }
  .section-grid > .section-card:nth-child(odd) { transform: translateY(-12px); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .compare-board { grid-template-columns: 1fr 72px 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 12px; }
  .brand small { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(250,250,247,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px 20px 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(28,25,23,.1);
    z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { width: 100%; padding: 10px 0; font-size: 1rem; border-bottom: none; }
  .nav-divider { display: none; }
  .phase-chip { margin: 4px 0 4px 0; }
  .phase-chip-wrap {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0 4px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  .phase-chip-wrap .phase-chip { flex-shrink: 0; }
  .header-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 560px; }
  .hero-inner { padding-left: 16px; padding-right: 16px; }
  .strip-inner { padding: 14px 16px; gap: 12px 20px; }
  .metrics { margin-top: -40px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section-grid { grid-template-columns: 1fr; }
  .section-grid > .section-card:nth-child(odd),
  .section-grid > .section-card:nth-child(even) { transform: none; }
  .section-grid > .section-card:hover { transform: translateY(-4px); }
  .compare-board { grid-template-columns: 1fr; gap: 20px; }
  .vs-badge { margin: -30px auto; position: relative; z-index: 3; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .updates-grid { grid-template-columns: 1fr; }
  .update-item { flex-wrap: wrap; padding: 18px; }
  .update-date { width: 54px; height: 54px; }
  .update-arrow { margin-left: auto; }
  .join-card { padding: 36px 22px; }
  .join-form { grid-template-columns: 1fr; }
  .join-form .btn { grid-column: 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 16px 28px; }
  .faq-a p { padding: 0 18px 20px 56px; }
  .faq-q { padding: 16px 16px; gap: 12px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-sub { font-size: .9375rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric-card { padding: 18px 12px; }
  .metric-num { font-size: 1.375rem; }
  .section-card-media { height: 150px; }
  .section-card-body { padding: 18px 16px 20px; }
  .compare-card { padding: 26px 18px; }
  .update-item { gap: 14px; }
  .update-date { width: 48px; height: 48px; }
  .update-date .day { font-size: 1.25rem; }
  .update-body h3 { font-size: .9375rem; }
  .update-body p { font-size: .8125rem; }
  .empty-state { padding: 28px 16px; font-size: .875rem; }
  .faq-num { width: 32px; height: 32px; font-size: .75rem; }
  .faq-q h3 { font-size: .9375rem; }
  .faq-a p { padding: 0 12px 18px 42px; font-size: .875rem; }
  .join-card { padding: 28px 16px; border-radius: 18px; }
  .join-head { margin-bottom: 28px; }
  .footer-inner { gap: 24px; }
}

/* roulang page: article */
:root {
  --ink: #1C1917;
  --ink-2: #292524;
  --text: #292524;
  --text-2: #57534E;
  --muted: #78716C;
  --paper: #FAFAF7;
  --paper-warm: #F4F1EC;
  --line: #E7E5E4;
  --white: #FFFFFF;
  --brand-1: #D97706;
  --brand-2: #F97316;
  --brand-grad: linear-gradient(135deg, #D97706, #F97316);
  --teal-1: #0F766E;
  --teal-2: #14532D;
  --teal-grad: linear-gradient(135deg, #0F766E, #14532D);
  --rose: #E11D48;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 8px 30px rgba(28, 25, 23, .08);
  --shadow-hover: 0 16px 40px rgba(28, 25, 23, .12);
  --shadow-dark: 0 8px 30px rgba(0, 0, 0, .3);
  --font-stack: system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --container: 1240px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-stack);
  background: var(--paper);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: var(--brand-2);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover {
  color: #B45309;
}
ul,
ol {
  list-style: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  border: none;
  background: none;
  cursor: pointer;
}
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease, color .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .15);
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.btn:active {
  transform: scale(.97);
}
.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 119, 6, .25);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 12px 28px rgba(217, 119, 6, .32);
}
.btn-ghost {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-2);
}
.btn-ghost:hover {
  border-color: var(--brand-1);
  color: var(--brand-2);
  box-shadow: var(--shadow-sm);
}
.btn-light {
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  color: #F5F5F4;
  backdrop-filter: blur(6px);
}
.btn-light:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn-lg {
  padding: 15px 34px;
  font-size: 1rem;
}
.btn-sm {
  padding: 8px 18px;
  font-size: .875rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.tag-warm {
  background: rgba(217, 119, 6, .1);
  color: var(--brand-1);
  border: 1px solid rgba(217, 119, 6, .25);
}
.tag-teal {
  background: rgba(15, 118, 110, .1);
  color: var(--teal-1);
  border: 1px solid rgba(15, 118, 110, .25);
}
.tag-live {
  background: rgba(225, 29, 72, .08);
  color: var(--rose);
  border: 1px solid rgba(225, 29, 72, .22);
}
.phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: .2s ease;
}
.phase-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.phase-warm {
  border: 1px solid rgba(245, 158, 11, .55);
  color: var(--brand-1);
  background: rgba(217, 119, 6, .07);
}
.phase-warm .dot {
  background: #F59E0B;
}
.phase-live {
  background: var(--rose);
  color: #fff;
  border: 1px solid transparent;
}
.phase-live .dot {
  background: #fff;
  animation: livePulse 1.6s infinite;
}
.phase-rewind {
  background: var(--teal-grad);
  color: #fff;
  border: 1px solid transparent;
}
.phase-rewind .dot {
  background: #fff;
}
@keyframes livePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .08);
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(250, 250, 247, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .5px;
  white-space: nowrap;
}
.brand small {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-link {
  color: var(--text-2);
  font-size: .9375rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--ink);
  background: rgba(120, 113, 108, .08);
}
.nav-link.active {
  color: var(--brand-1);
  background: rgba(217, 119, 6, .09);
}
.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
  margin: 0 4px;
}
.phase-chip-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.125rem;
  align-items: center;
  justify-content: center;
  transition: .2s;
}
.nav-toggle:hover {
  border-color: var(--brand-1);
  color: var(--brand-1);
}
.article-hero {
  position: relative;
  background: var(--ink);
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 80px;
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  opacity: .38;
}
.article-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 25, 23, .55), rgba(28, 25, 23, .95));
}
.article-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(217, 119, 6, .28), transparent 70%);
  pointer-events: none;
}
.article-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(249, 115, 22, .22), transparent 70%);
  pointer-events: none;
}
.article-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 56px;
  padding-left: 32px;
  padding-right: 32px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .8125rem;
  color: #D6D3D1;
  margin-bottom: 18px;
}
.breadcrumb a {
  color: #F5F5F4;
  font-weight: 600;
  transition: color .2s;
}
.breadcrumb a:hover {
  color: #FBBF24;
}
.bc-sep {
  color: #78716C;
}
.bc-current {
  color: #A8A29E;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-hero-tagrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.18;
  font-weight: 800;
  color: #F5F5F4;
  letter-spacing: .02em;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #D6D3D1;
  font-size: .875rem;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.meta-item i {
  color: #FBBF24;
}
.article-reader {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  padding-bottom: 40px;
}
.article-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--line);
  padding: 44px 48px 40px;
  max-width: 860px;
  margin: 0 auto;
  transition: box-shadow .25s ease;
}
.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}
.article-meta-bar .m-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.article-meta-bar .m-item i {
  color: var(--brand-1);
}
.article-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text);
  word-wrap: break-word;
}
.article-body>p {
  margin-bottom: 1.5em;
}
.article-body h2 {
  font-size: 1.6875rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 2.2em 0 .7em;
  color: var(--ink-2);
  border-bottom: 1px solid #F0EDE8;
  padding-bottom: .45em;
}
.article-body h3 {
  font-size: 1.375rem;
  line-height: 1.35;
  font-weight: 700;
  margin: 1.75em 0 .5em;
  color: var(--ink-2);
}
.article-body h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 1.5em 0 .4em;
  color: var(--text);
}
.article-body a {
  color: var(--brand-2);
  font-weight: 600;
  border-bottom: 1px solid rgba(249, 115, 22, .25);
  padding-bottom: 1px;
}
.article-body a:hover {
  color: #B45309;
  border-bottom-color: #B45309;
}
.article-body blockquote {
  background: #FBF7F0;
  border-left: 4px solid var(--brand-1);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  margin: 1.75em 0;
  color: var(--text-2);
  font-style: normal;
}
.article-body blockquote p {
  margin: 0;
}
.article-body ul,
.article-body ol {
  margin: 1.25em 0 1.5em 1.5em;
  padding-left: 4px;
}
.article-body ul li {
  list-style: disc;
  margin-bottom: .45em;
  padding-left: 4px;
}
.article-body ol li {
  list-style: decimal;
  margin-bottom: .45em;
  padding-left: 4px;
}
.article-body ul li::marker {
  color: var(--brand-1);
}
.article-body ol li::marker {
  color: var(--brand-1);
  font-weight: 700;
}
.article-body img {
  border-radius: var(--radius-md);
  margin: 2em 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.article-body .wp-caption,
.article-body figure {
  margin: 2em 0;
}
.article-body figcaption,
.article-body .wp-caption-text {
  text-align: center;
  font-size: .8125rem;
  color: var(--muted);
  padding-top: 8px;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: .9375rem;
  line-height: 1.6;
}
.article-body th {
  background: var(--paper-warm);
  font-weight: 700;
  text-align: left;
  color: var(--ink-2);
}
.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 10px 14px;
}
.article-body tr:nth-child(even) td {
  background: #FCFCFA;
}
.article-body pre {
  background: var(--ink);
  color: #F5F5F4;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: .875rem;
  line-height: 1.6;
  margin: 1.75em 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.article-body code {
  background: #F0EDE8;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .875em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.article-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}
.article-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}
.not-found-box {
  text-align: center;
  padding: 40px 20px 10px;
}
.nf-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 1.6rem;
}
.not-found-box h2 {
  font-size: 1.5rem;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.not-found-box p {
  color: var(--muted);
  margin-bottom: 24px;
}
.article-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 28px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.article-actions .btn {
  flex: 1;
  min-width: 140px;
}
.related-section {
  padding: clamp(64px, 9vw, 100px) 0 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section-head .sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-1);
  font-weight: 700;
  font-size: .8437rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head .sec-kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand-grad);
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.section-head p {
  color: var(--muted);
  font-size: 1rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(217, 119, 6, .4);
  text-decoration: none;
}
.related-img {
  height: 150px;
  overflow: hidden;
}
.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.related-card:hover .related-img img {
  transform: scale(1.04);
}
.related-body {
  padding: 18px 20px 20px;
}
.related-body .tag {
  margin-bottom: 9px;
}
.related-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 6px;
  line-height: 1.4;
  transition: color .2s;
}
.related-card:hover .related-body h3 {
  color: var(--brand-1);
}
.related-body p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.site-cta {
  padding: clamp(48px, 7vw, 84px) 0 0;
}
.cta-card {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--brand-grad) border-box;
  box-shadow: var(--shadow-hover);
}
.cta-card h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 800;
  color: var(--ink-2);
  line-height: 1.3;
  margin-bottom: 12px;
}
.cta-card p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 24px;
}
.site-footer {
  margin-top: clamp(48px, 7vw, 80px);
  background: var(--ink);
  color: #D6D3D1;
  position: relative;
}
.footer-grad {
  height: 3px;
  background: var(--brand-grad);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-brand h3 {
  color: #F5F5F4;
  font-size: 1.3125rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.footer-brand p {
  color: #A8A29E;
  font-size: .875rem;
  line-height: 1.7;
  max-width: 360px;
}
.footer-col h4 {
  color: #F5F5F4;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-col a {
  color: #A8A29E;
  font-size: .875rem;
  display: inline-block;
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover {
  color: #FBBF24;
}
.footer-note {
  color: #78716C;
  font-size: .8125rem;
  line-height: 1.6;
  display: inline-block;
  margin-top: 10px;
}
.footer-bottom {
  text-align: center;
  padding: 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #78716C;
  font-size: .8125rem;
}
@media(max-width:1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .main-nav {
    gap: 8px;
  }
  .nav-link {
    padding: 5px 10px;
    font-size: .875rem;
  }
  .phase-chip-wrap {
    gap: 6px;
  }
  .phase-chip {
    padding: 3px 10px;
    font-size: .7812rem;
  }
  .article-panel {
    padding: 36px 32px 32px;
  }
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
@media(max-width:768px) {
  .header-inner {
    gap: 12px;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: 4px;
  }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    background: rgba(250, 250, 247, .98);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    box-shadow: var(--shadow-hover);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    display: none;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav .nav-link {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: .9375rem;
  }
  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 6px 0;
  }
  .phase-chip-wrap {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px;
    -webkit-overflow-scrolling: touch;
  }
  .phase-chip-wrap .phase-chip {
    flex-shrink: 0;
  }
  .header-right .btn {
    display: none;
  }
  .header-right {
    gap: 8px;
  }
  .article-hero {
    min-height: 300px;
  }
  .article-hero-inner {
    padding-bottom: 42px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .article-hero h1 {
    font-size: 1.625rem;
    line-height: 1.25;
  }
  .article-hero-tagrow {
    gap: 8px;
  }
  .article-meta {
    gap: 14px;
    font-size: .8125rem;
  }
  .article-reader {
    margin-top: -16px;
  }
  .article-panel {
    padding: 28px 20px 24px;
    border-radius: var(--radius-md);
  }
  .article-body {
    font-size: 1rem;
    line-height: 1.8;
  }
  .article-body h2 {
    font-size: 1.375rem;
  }
  .article-body h3 {
    font-size: 1.1875rem;
  }
  .article-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .related-img {
    height: 140px;
  }
  .cta-card {
    padding: 36px 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 20px 32px;
  }
  .footer-brand p {
    max-width: none;
  }
  .footer-bottom {
    font-size: .7812rem;
  }
}
@media(max-width:480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand {
    font-size: 1.125rem;
  }
  .brand small {
    display: none;
  }
  .article-hero {
    min-height: 260px;
    padding-top: 64px;
  }
  .article-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 40px;
  }
  .article-hero h1 {
    font-size: 1.4375rem;
    line-height: 1.3;
  }
  .article-meta {
    gap: 10px;
    font-size: .7812rem;
  }
  .article-panel {
    padding: 24px 16px 20px;
  }
  .article-meta-bar {
    gap: 12px;
    font-size: .8125rem;
  }
  .article-actions {
    flex-direction: column;
  }
  .article-actions .btn {
    width: 100%;
  }
  .section-head h2 {
    font-size: 1.4rem;
  }
  .cta-card {
    padding: 28px 16px;
    border-radius: 18px;
  }
  .cta-card h2 {
    font-size: 1.25rem;
  }
  .btn-lg {
    width: 100%;
  }
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}
