/* Douya desk — desk13 page heroes + richer card hues
   New main visuals per page; multi-tint card system. */
:root {
  --ink: #0e1210;
  --ink-soft: #1a221c;
  --sprout: #187a4d;
  --sprout-bright: #2f9a67;
  --sprout-soft: #d9f0e3;
  --beam: #c47a12;
  --beam-soft: #f8e8c9;
  --copper: #a65a2e;
  --copper-soft: #f6e4d8;
  --steel: #355f7a;
  --steel-soft: #dceaf2;
  --slate: #3d5a6c;
  --slate-soft: #e0ebf1;
  --graphite: #2a2e32;
  --graphite-soft: #e8ebef;
  --sky: #1e8fbf;
  --sky-soft: #d7eef8;
  --tg: #229ed9;
  --tg-deep: #1b8fc6;

  --paper: #e9f0eb;
  --surface: #ffffff;
  --mist: #dce7e0;

  --text: #121714;
  --text-secondary: #445049;
  --text-muted: #667068;
  --border: #c8d6cd;
  --border-strong: #9fb3a6;

  --font: "Instrument Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;

  --text-12: 0.75rem;
  --text-13: 0.8125rem;
  --text-14: 0.875rem;
  --text-16: 1rem;
  --text-18: 1.125rem;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px;

  --radius: 12px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 0 rgba(14,18,16,0.04);
  --shadow-md: 0 12px 28px rgba(14,18,16,0.08);

  --dur-fast: 160ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --header-h: 68px;
  --desk-rail: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-16);
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 4% -10%, rgba(47, 154, 103, 0.16), transparent 55%),
    radial-gradient(760px 360px at 100% 0%, rgba(196, 122, 18, 0.12), transparent 52%),
    radial-gradient(640px 300px at 80% 35%, rgba(30, 143, 191, 0.07), transparent 50%),
    linear-gradient(180deg, #f3f7f4 0%, var(--paper) 28%, #eef3f0 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, strong {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
}
section[id], .section[id], .contact-band[id], .trust-bar[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.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: var(--space-4); top: -48px; z-index: 100;
  padding: var(--space-2) var(--space-3); background: var(--ink); color: #fff;
  border-radius: var(--radius-sm); font-size: var(--text-13); font-weight: 600;
}
.skip-link:focus { top: var(--space-3); }

/* Buttons — ink primary, no glow; hover must win without needing :active/click */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 var(--space-5);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font: inherit; font-size: var(--text-14); font-weight: 600; line-height: 1;
  cursor: pointer; color: #fff; background: var(--ink);
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}
.btn:hover,
.btn:focus-visible { background: #24302b; }
.btn:active { transform: scale(0.98); }
.btn:focus { outline: none; }
.btn:focus-visible { outline: 2px solid var(--sprout-bright); outline-offset: 3px; }
.btn-lg { min-height: 48px; padding: 0 var(--space-6); font-size: var(--text-16); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: none; }
.btn-primary:hover,
.btn-primary:focus-visible { background: #24302b; box-shadow: none; }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover,
.btn-ghost:focus-visible { background: rgba(255,255,255,0.1); }
.btn-tg { background: var(--tg); }
.btn-tg:hover,
.btn-tg:focus-visible { background: var(--tg-deep); }
.btn-copy {
  background: transparent; color: var(--ink); border-color: var(--border-strong);
}
.btn-copy:hover,
.btn-copy:focus-visible { background: var(--mist); }
.btn-copy.is-copied { border-color: var(--sprout); color: var(--sprout); background: var(--sprout-soft); }
.btn-line {
  background: #fff; color: var(--ink); border-color: var(--border-strong);
}
.btn-line:hover,
.btn-line:focus-visible {
  background: var(--sprout-soft);
  border-color: var(--sprout);
  color: var(--sprout);
}

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-13); font-weight: 700; color: var(--sprout);
}
.row-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 72px; padding: 0 14px;
  border-radius: var(--radius-sm); background: var(--sprout-soft); color: var(--sprout);
  font-size: var(--text-13); font-weight: 700;
  border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.row-link:hover,
.row-link:focus-visible {
  background: var(--sprout);
  color: #fff;
  border-color: var(--sprout);
}
.row-link:active { background: #135c39; color: #fff; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; background: transparent;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.92); color: var(--text);
  border-bottom: 1px solid var(--border); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(14,18,16,0.03);
}
.header-inner {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto; padding: 0 var(--space-6);
  height: 100%; display: flex; align-items: center; gap: var(--space-4);
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.logo-mark { display: grid; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text strong { font-size: 1rem; letter-spacing: -0.02em; }
.logo-text small { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.site-header.is-scrolled .logo-text small { color: var(--text-muted); }

.nav-desktop { display: none; margin-left: auto; gap: 2px; }
.nav-desktop a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  border-radius: 8px; font-size: var(--text-13); font-weight: 600; color: rgba(255,255,255,0.78);
}
.site-header.is-scrolled .nav-desktop a { color: var(--text-secondary); }
.nav-desktop a.is-current { color: #fff; }
.site-header.is-scrolled .nav-desktop a.is-current { color: var(--ink); }

.lang-switch {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px;
  border-radius: var(--radius-pill); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
}
.lang-globe {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; color: inherit; opacity: 0.7;
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 48px; padding: 0 12px;
  border-radius: var(--radius-pill); font-size: var(--text-13); font-weight: 700; color: rgba(255,255,255,0.75);
}
.lang-switch a.is-active { background: #fff; color: var(--ink); }
.site-header.is-scrolled .lang-switch { background: var(--mist); border-color: var(--border); }
.site-header.is-scrolled .lang-switch a { color: var(--text-secondary); }
.site-header.is-scrolled .lang-switch a.is-active { background: var(--ink); color: #fff; }

.btn.header-cta { display: none; }
.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.28);
  border-radius: 10px; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.site-header.is-scrolled .nav-toggle { border-color: var(--border); }
.site-header.is-scrolled .nav-toggle span { background: var(--text); }

.mobile-nav-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(14,18,16,0.45);
  border: 0; padding: 0; cursor: pointer;
}
.mobile-nav-backdrop[hidden] { display: none; }
.mobile-nav {
  position: fixed; z-index: 70; top: calc(var(--header-h) + 8px); left: 16px; right: 16px;
  padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-md); max-height: calc(100svh - var(--header-h) - 24px); overflow: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 12px;
  border-radius: 8px; font-weight: 600; color: var(--text);
}
.lang-switch-mobile { margin: 12px 0; }
.mobile-nav .btn { width: 100%; }
body.nav-open { overflow: hidden; }

/* Hero — magazine: media then ink copy */
.hero {
  display: grid;
  background: var(--ink);
  color: #fff;
  overflow: visible;
}
.hero-media {
  position: relative;
  min-height: 38vh;
  max-height: 44vh;
  overflow: hidden;
  background: #121816;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 70%;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,18,16,0.15), rgba(14,18,16,0.72));
  pointer-events: none;
}
.hero-media .hero-veil { position: absolute; }
.hero-inner {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto;
  padding: 28px 24px 40px;
}
.hero-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 14px;
}
.hero-kicker {
  margin: 0;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(155,228,181,0.95);
}
.hero-topline-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  flex: 0 0 auto;
}
.hero-brand {
  margin: 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.48);
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 5.6vw, 2.75rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 11.5em;
}
.hero-aside {
  margin-top: 16px;
  max-width: 34em;
  padding-left: 12px;
  border-left: 2px solid rgba(155,228,181,0.35);
  display: grid;
  gap: 8px;
}
.hero-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.68);
}
.hero-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(232,168,74,0.92);
  font-weight: 600;
}
.hero-actions {
  display: grid; gap: 10px; margin-top: 22px;
}
/* Primary CTA must read on ink — original ink-on-ink was nearly invisible */
.hero .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.hero .btn-primary:hover { background: #f0f4f1; color: var(--ink); }
.hero .btn-ghost {
  border-color: rgba(255,255,255,0.42);
  color: #fff;
}
.hero-pills {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
  max-width: 36em;
}
.hero-pills li {
  min-height: 28px; padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.72);
}

/* Sections */
.section {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sprout);
}
.eyebrow-on-dark { color: rgba(155,228,181,0.95); }
.section-head { margin-bottom: var(--space-6); max-width: 40em; }
.section h2 {
  margin: 0; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.25; letter-spacing: -0.015em;
}
.section-desc {
  margin: var(--space-3) 0 0; color: var(--text-secondary); line-height: 1.65; font-size: var(--text-16);
}

/* Trust evidence — numbered tint cards */
.trust-bar { background: #fff; border-block: 1px solid var(--border); }
.trust-shell {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto; padding: var(--space-10) var(--space-6);
}
.trust-lead { margin-bottom: var(--space-5); }
.trust-lead-text { margin: 0; font-size: var(--text-18); font-weight: 650; letter-spacing: -0.02em; max-width: 28em; color: var(--ink); }
.trust-inner { display: grid; gap: 14px; grid-template-columns: 1fr; }
.trust-item {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 18px; min-height: 164px;
  border: 1px solid #aed9c2; border-radius: 14px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(47,154,103,0.28), transparent 55%),
    linear-gradient(165deg, #dcf5e8 0%, #f3fcf7 42%, #ffffff 100%);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--sprout);
}
.trust-item:nth-child(2) {
  border-top-color: var(--beam);
  border-color: #e5c789;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(196,122,18,0.26), transparent 55%),
    linear-gradient(165deg, #f8e7c4 0%, #fbf3e0 42%, #ffffff 100%);
}
.trust-item:nth-child(2) .trust-icon { background: #f0d59a; color: #8a550f; }
.trust-item:nth-child(3) {
  border-top-color: var(--sky);
  border-color: #9fd0e8;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(30,143,191,0.24), transparent 55%),
    linear-gradient(165deg, #d5eef8 0%, #eaf6fc 42%, #ffffff 100%);
}
.trust-item:nth-child(3) .trust-icon { background: #bfe3f3; color: #1a6f96; }
.trust-item:nth-child(3) .trust-more { color: var(--sky); }
.trust-item strong {
  font-size: 1.02rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1.35;
}
.trust-desc { font-size: var(--text-14); color: var(--text-secondary); line-height: 1.55; }
.trust-meta { display: flex; align-items: center; justify-content: space-between; }
.trust-icon {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--sprout-soft); color: var(--sprout);
}
.trust-index { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--text-muted); }
.trust-more { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--sprout); }
.trust-item:hover { box-shadow: var(--shadow-md); }

/* Dual-platform rails — tinted type cards */
.platform-rails {
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--border);
}
.platform-rails-inner {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto;
  padding: var(--space-16) var(--space-6) var(--space-12);
}
.platform-rail-grid {
  display: grid; gap: 18px; grid-template-columns: 1fr;
}
.platform-rail {
  display: flex; flex-direction: column; gap: 12px;
  padding: 26px 24px 22px;
  min-height: 280px;
  border: 1px solid transparent;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(14,18,16,0.06);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.platform-rail--google {
  background:
    radial-gradient(120% 100% at 100% -10%, rgba(47,154,103,0.32), transparent 55%),
    linear-gradient(165deg, #cdeedc 0%, #e8f8ef 38%, #ffffff 100%);
  border-color: #9dceb2;
}
.platform-rail--apple {
  background:
    radial-gradient(120% 100% at 100% -10%, rgba(53,95,122,0.26), transparent 55%),
    linear-gradient(165deg, #d5e4ef 0%, #eaf1f6 38%, #ffffff 100%);
  border-color: #a8c0d2;
}
.platform-rail::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px;
  background: linear-gradient(180deg, #3db86e, var(--sprout));
}
.platform-rail--apple::before {
  background: linear-gradient(180deg, #5b8aaa, var(--steel));
}
.platform-rail:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(14,18,16,0.1);
}
.platform-rail-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.platform-rail-seal {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--sprout);
}
.platform-rail--apple .platform-rail-seal { color: var(--steel); }
.platform-rail-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: #b6e5cb; color: #135c39;
}
.platform-rail--apple .platform-rail-badge {
  background: #bfd4e4; color: #2a4f66;
}
.platform-rail--apple .platform-rail-list li::before { background: var(--steel); }
.platform-rail--apple .platform-rail-actions .btn-primary { background: var(--steel); }
.platform-rail--apple .platform-rail-actions .btn-primary:hover,
.platform-rail--apple .platform-rail-actions .btn-primary:focus-visible { background: #2c5168; }
.platform-rail--google .platform-rail-actions .btn-primary { background: var(--sprout); }
.platform-rail--google .platform-rail-actions .btn-primary:hover,
.platform-rail--google .platform-rail-actions .btn-primary:focus-visible { background: #135c39; }
.platform-rail-actions .btn-line:hover,
.platform-rail-actions .btn-line:focus-visible {
  background: var(--sprout-soft); border-color: var(--sprout); color: #135c39;
}
.platform-rail--apple .platform-rail-actions .btn-line:hover,
.platform-rail--apple .platform-rail-actions .btn-line:focus-visible {
  background: var(--steel-soft); border-color: var(--steel); color: #254a62;
}
.platform-rail strong {
  font-size: clamp(1.28rem, 2.6vw, 1.58rem);
  letter-spacing: -0.028em; color: var(--ink);
}
.platform-rail-copy {
  font-size: var(--text-14); color: var(--text-secondary); line-height: 1.65;
  max-width: 38em;
}
.platform-rail-list {
  margin: 4px 0 0; padding: 0;
  list-style: none;
  display: grid; gap: 8px;
  color: var(--text); font-size: var(--text-14); line-height: 1.45;
}
.platform-rail-list li {
  position: relative;
  padding: 8px 10px 8px 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(14,18,16,0.05);
}
.platform-rail-list li::before {
  content: "";
  position: absolute; left: 10px; top: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sprout);
}
.platform-rail--apple .platform-rail-list li::before { background: var(--steel); }
.platform-rail-actions {
  margin-top: auto; padding-top: 14px;
  display: flex; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(14,18,16,0.06);
}
@media (min-width: 800px) {
  .platform-rail-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* How it works — Shanghe 3-step pattern */
.how-desk {
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(47,154,103,0.28), transparent 55%),
    radial-gradient(620px 260px at 90% 100%, rgba(30,143,191,0.22), transparent 50%),
    linear-gradient(160deg, #143528 0%, #0e1210 48%, #132230 100%);
  color: #fff;
  border-block: 1px solid #1a221c;
}
.how-desk-inner {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
}
.how-desk .eyebrow { color: rgba(155,228,181,0.95); }
.how-desk h2 { color: #fff; margin: 0; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.how-desk .section-desc { color: rgba(255,255,255,0.68); }
.how-steps {
  list-style: none; margin: var(--space-8) 0 0; padding: 0;
  display: grid; gap: 14px; grid-template-columns: 1fr;
}
.how-step {
  padding: 22px 20px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
}
.how-step:nth-child(1) { border-top: 3px solid rgba(155,228,181,0.85); }
.how-step:nth-child(2) { border-top: 3px solid rgba(232,196,138,0.9); }
.how-step:nth-child(3) { border-top: 3px solid rgba(159,212,240,0.85); }
.how-num {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  color: rgba(155,228,181,0.95); margin-bottom: 10px;
}
.how-step:nth-child(2) .how-num { color: rgba(232,196,138,0.95); }
.how-step:nth-child(3) .how-num { color: rgba(159,212,240,0.95); }
.how-step h3 {
  margin: 0 0 8px; font-size: 1.08rem; color: #fff; letter-spacing: -0.02em;
}
.how-step p {
  margin: 0; font-size: var(--text-14); line-height: 1.65;
  color: rgba(255,255,255,0.72);
}
@media (min-width: 860px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* Platform dossier groups — Shanghe iOS/Google grids */
.dossier-group { margin-top: var(--space-10); }
.dossier-group:first-of-type { margin-top: var(--space-6); }
.dossier-group-head {
  margin-bottom: var(--space-5);
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #9dceb2;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(47,154,103,0.22), transparent 55%),
    linear-gradient(135deg, #d4f0e1, #ffffff 72%);
}
#apple-group .dossier-group-head {
  border-color: #a8c0d2;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(53,95,122,0.2), transparent 55%),
    linear-gradient(135deg, #d7e5f0, #ffffff 72%);
}
.dossier-group-seal {
  margin: 0 0 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--sprout);
}
#apple-group .dossier-group-seal { color: var(--steel); }
.dossier-group-head h3 {
  margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.35rem); letter-spacing: -0.02em; color: var(--ink);
}
.dossier-group-head p {
  margin: 6px 0 0; font-size: var(--text-14); color: var(--text-secondary);
}

/* Mid-page conversion strips */
.section-cta {
  margin-top: var(--space-8);
  padding: 20px 22px;
  border: 1px solid #c9e4d5;
  border-radius: 14px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(196,132,42,0.1), transparent 50%),
    radial-gradient(80% 100% at 0% 100%, rgba(47,143,99,0.12), transparent 50%),
    linear-gradient(135deg, #eef8f2 0%, #ffffff 52%, #faf5eb 100%);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 20px;
  box-shadow: var(--shadow-sm);
}
.section-cta p {
  margin: 0; font-size: 0.95rem; font-weight: 650;
  color: var(--ink); max-width: 36em; line-height: 1.55;
}
.section-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.section-cta--compact {
  background: var(--surface);
  border-left: 3px solid var(--sprout);
}

/* Dossier cards — typed faces + paper bodies */
.dossier-grid {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
.dossier {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(14,18,16,0.05);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.dossier:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(14,18,16,0.1);
}
.dossier-face {
  position: relative;
  min-height: 152px;
  padding: 18px 18px 20px;
  color: var(--ink);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(47,154,103,0.28), transparent 52%),
    linear-gradient(165deg, #d8f2e5 0%, #eefaf3 45%, #ffffff 100%);
  overflow: hidden;
  border-bottom: 1px solid #b7dcc8;
}
.dossier-face::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(24,122,77,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,122,77,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
  pointer-events: none;
}
.dossier-face::after {
  content: "";
  position: absolute; right: -8%; top: -20%;
  width: 54%; height: 140%;
  background:
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.55) 48%, transparent 72%),
    url("assets/cover-google-entity.webp?v=4") 70% 40% / cover no-repeat;
  opacity: 0.14;
  filter: saturate(0.85);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
}
.dossier-face > * { position: relative; z-index: 1; }
.dossier-face-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 18px;
}
.dossier-code {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--text-muted);
}
.dossier-seal {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border: 1px solid #7fc4a0;
  border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  color: #135c39; background: #c8edd8;
}
.dossier-face-kicker {
  margin: 0 0 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sprout);
}
.dossier-face-title {
  margin: 0;
  font-size: clamp(1.38rem, 4vw, 1.72rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.14;
  color: var(--ink);
  text-wrap: balance;
}
.dossier-face-sub {
  margin: 10px 0 0;
  font-size: 13px; line-height: 1.5;
  color: var(--text-secondary);
  max-width: 30em;
}

/* Rich typed faces — emerald / amber / copper / steel / sky */
.dossier--g .dossier-face {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(47,154,103,0.34), transparent 52%),
    linear-gradient(165deg, #c6ebd8 0%, #e7f8ef 48%, #ffffff 100%);
  border-bottom-color: #8fcaa9;
}
.dossier--g .dossier-face::after {
  background:
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.6) 48%, transparent 72%),
    url("assets/cover-google-entity.webp?v=4") 70% 40% / cover no-repeat;
  opacity: 0.18;
}
.dossier--g2 .dossier-face {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(196,122,18,0.32), transparent 52%),
    linear-gradient(165deg, #f3d9a0 0%, #f8ebcd 48%, #ffffff 100%);
  border-bottom-color: #e0b85a;
}
.dossier--g2 .dossier-face::after {
  background:
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.62) 48%, transparent 72%),
    url("assets/cover-google-testing.webp?v=4") 70% 45% / cover no-repeat;
  opacity: 0.17;
}
.dossier--g2 .dossier-seal { border-color: #d4a63a; color: #7a4d08; background: #f3db9d; }
.dossier--g2 .dossier-face-kicker { color: #9a5f0c; }
.dossier--aged .dossier-face {
  background:
    radial-gradient(90% 120% at 0% 100%, rgba(166,90,46,0.28), transparent 50%),
    linear-gradient(165deg, #f0cbb3 0%, #f7e4d6 48%, #ffffff 100%);
  border-bottom-color: #d8a47f;
}
.dossier--aged .dossier-face::after {
  background:
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.62) 48%, transparent 72%),
    url("assets/cover-google-aged.webp?v=4") 65% 40% / cover no-repeat;
  opacity: 0.17;
}
.dossier--aged .dossier-seal { border-color: #c88858; color: #7a3d1c; background: #efd0b8; }
.dossier--aged .dossier-face-kicker { color: #934a22; }
.dossier--a .dossier-face {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(53,95,122,0.28), transparent 52%),
    linear-gradient(165deg, #c9dbeb 0%, #e6eef5 48%, #ffffff 100%);
  border-bottom-color: #9bb4c8;
}
.dossier--a .dossier-face::after {
  background:
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.65) 48%, transparent 72%),
    url("assets/cover-apple-entity.webp?v=4") 70% 30% / cover no-repeat;
  opacity: 0.16;
}
.dossier--a .dossier-seal { border-color: #7fa0b8; color: #254a62; background: #c5d8e8; }
.dossier--a .dossier-face-kicker { color: #2f5670; }
.dossier--a2 .dossier-face {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(24,122,77,0.22), transparent 50%),
    linear-gradient(165deg, #d2ebdd 0%, #eaf6ef 48%, #ffffff 100%);
  border-bottom-color: #9dceb2;
}
.dossier--a2 .dossier-face::after {
  background:
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.65) 48%, transparent 72%),
    url("assets/cover-apple-renewal.webp?v=4") 80% 45% / cover no-repeat;
  opacity: 0.16;
}
.dossier--a2 .dossier-seal { border-color: #7fc4a0; color: #135c39; background: #c8edd8; }
.dossier--a2 .dossier-face-kicker { color: var(--sprout); }
.dossier--a3 .dossier-face {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(30,143,191,0.3), transparent 52%),
    linear-gradient(165deg, #bfe6f5 0%, #e2f3fa 48%, #ffffff 100%);
  border-bottom-color: #84c3de;
}
.dossier--a3 .dossier-face::after {
  background:
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.65) 48%, transparent 72%),
    url("assets/cover-apple-connect.webp?v=4") 30% 60% / cover no-repeat;
  opacity: 0.16;
}
.dossier--a3 .dossier-seal { border-color: #5eaed0; color: #1a6288; background: #b7e0f1; }
.dossier--a3 .dossier-face-kicker { color: #1e7098; }

.dossier-body {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px 18px 16px;
  background: #fff;
}
.dossier--g .dossier-body,
.dossier--g2 .dossier-body,
.dossier--aged .dossier-body {
  background: linear-gradient(180deg, #f7fbf8 0%, #fff 36%);
}
.dossier--a .dossier-body,
.dossier--a2 .dossier-body,
.dossier--a3 .dossier-body {
  background: linear-gradient(180deg, #f7f8fa 0%, #fff 36%);
}
.dossier-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dossier-tags span {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 11px; font-weight: 700; letter-spacing: 0.01em;
}
.dossier--g .dossier-tags span {
  background: #c8edd8; color: #135c39; border-color: #8fcaa9;
}
.dossier--g2 .dossier-tags span {
  background: #f3db9d; color: #7a4d08; border-color: #e0b85a;
}
.dossier--aged .dossier-tags span {
  background: #efd0b8; color: #7a3d1c; border-color: #d8a47f;
}
.dossier--a .dossier-tags span {
  background: #c5d8e8; color: #254a62; border-color: #9bb4c8;
}
.dossier--a2 .dossier-tags span {
  background: #c8edd8; color: #135c39; border-color: #8fcaa9;
}
.dossier--a3 .dossier-tags span {
  background: #b7e0f1; color: #1a6288; border-color: #84c3de;
}
.dossier-body h3 {
  margin: 0; font-size: 1.14rem; line-height: 1.32; letter-spacing: -0.02em; color: var(--ink);
}
.dossier-body > p {
  margin: 0; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.68;
}
.dossier-spec {
  margin: 4px 0 0; padding: 0; display: grid; gap: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff;
}
.dossier-spec > div {
  display: grid; grid-template-columns: 5.6rem 1fr; gap: 10px;
  padding: 12px 13px; border-top: 1px solid #e8eeea;
}
.dossier-spec > div:first-child { border-top: 0; }
.dossier-spec > div:nth-child(even) { background: #fafbfa; }
.dossier-spec dt {
  margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--sprout); align-self: start; padding-top: 2px;
}
.dossier--g2 .dossier-spec dt { color: #9a5f0c; }
.dossier--aged .dossier-spec dt { color: var(--copper); }
.dossier--a .dossier-spec dt { color: var(--steel); }
.dossier--a2 .dossier-spec dt { color: var(--sprout); }
.dossier--a3 .dossier-spec dt { color: var(--sky); }
.dossier--g .dossier-actions .btn-primary { background: var(--sprout); }
.dossier--g .dossier-actions .btn-primary:hover,
.dossier--g .dossier-actions .btn-primary:focus-visible { background: #135c39; }
.dossier--a .dossier-actions .btn-primary,
.dossier--a2 .dossier-actions .btn-primary { background: var(--steel); }
.dossier--a .dossier-actions .btn-primary:hover,
.dossier--a .dossier-actions .btn-primary:focus-visible,
.dossier--a2 .dossier-actions .btn-primary:hover,
.dossier--a2 .dossier-actions .btn-primary:focus-visible { background: #2c5168; }
.dossier--a3 .dossier-actions .btn-primary { background: var(--sky); }
.dossier--a3 .dossier-actions .btn-primary:hover,
.dossier--a3 .dossier-actions .btn-primary:focus-visible { background: #1778a3; }
.dossier--aged .dossier-actions .btn-primary { background: var(--copper); }
.dossier--aged .dossier-actions .btn-primary:hover,
.dossier--aged .dossier-actions .btn-primary:focus-visible { background: #8a4a24; }
.dossier--g2 .dossier-actions .btn-primary { background: #a86a12; }
.dossier--g2 .dossier-actions .btn-primary:hover,
.dossier--g2 .dossier-actions .btn-primary:focus-visible { background: #8d580e; }

/* Secondary dossier buttons: theme tint on hover, not only :active/click */
.dossier--g .dossier-actions .btn-line:hover,
.dossier--g .dossier-actions .btn-line:focus-visible,
.dossier--a2 .dossier-actions .btn-line:hover,
.dossier--a2 .dossier-actions .btn-line:focus-visible {
  background: var(--sprout-soft); border-color: var(--sprout); color: #135c39;
}
.dossier--a .dossier-actions .btn-line:hover,
.dossier--a .dossier-actions .btn-line:focus-visible {
  background: var(--steel-soft); border-color: var(--steel); color: #254a62;
}
.dossier--a3 .dossier-actions .btn-line:hover,
.dossier--a3 .dossier-actions .btn-line:focus-visible {
  background: var(--sky-soft); border-color: var(--sky); color: #1a6288;
}
.dossier--aged .dossier-actions .btn-line:hover,
.dossier--aged .dossier-actions .btn-line:focus-visible {
  background: var(--copper-soft); border-color: var(--copper); color: #7a3d1c;
}
.dossier--g2 .dossier-actions .btn-line:hover,
.dossier--g2 .dossier-actions .btn-line:focus-visible {
  background: var(--beam-soft); border-color: #a86a12; color: #7a4d08;
}

.dossier-spec dd {
  margin: 0; font-size: 13px; color: var(--text); line-height: 1.5; font-weight: 600;
}
.dossier-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 4px; padding-top: 14px; border-top: 1px solid #e8eeea;
}
.dossier-actions .btn { width: 100%; min-height: 44px; font-size: 13px; }

/* Path list — typed rows */
.path-list {
  display: grid; gap: 10px;
  border: 0; background: transparent; overflow: visible;
}
a.path-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 14px;
  padding: 18px 16px;
  border: 1px solid #a8c0d2;
  border-radius: 14px;
  align-items: start;
  color: inherit;
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(53,95,122,0.18), transparent 55%),
    linear-gradient(135deg, #d9e6f0, #fff 58%);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
a.path-row:first-child { border-top: 1px solid #a8c0d2; }
a.path-row:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.path-num {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--steel); color: #fff;
  font-size: 14px; font-weight: 800;
}
.path-row--ready {
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(47,154,103,0.24), transparent 55%),
    linear-gradient(135deg, #d4f0e1, #fff 58%);
  border-color: #9dceb2;
}
.path-row--ready .path-num { background: var(--sprout); }
.path-row--aged {
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(166,90,46,0.22), transparent 55%),
    linear-gradient(135deg, #f0d4c0, #fff 58%);
  border-color: #d8a47f;
}
.path-row--aged .path-num { background: var(--copper); }
.path-copy h3 { margin: 0 0 4px; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ink); }
.path-copy p { margin: 0; font-size: var(--text-14); color: var(--text-secondary); line-height: 1.55; }
.path-meta {
  grid-column: 2;
  font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.02em;
}
.path-go {
  grid-column: 2;
  font-size: 13px; font-weight: 700; color: var(--sprout);
}
.path-row--aged .path-go { color: #8a5f28; }

.factor-strip {
  margin-top: 22px; padding: 16px;
  border: 1px solid #d2e2d8; border-radius: 12px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(47,143,99,0.1), transparent 55%),
    linear-gradient(165deg, #f3faf6, #fff 60%);
}
.factor-strip-label {
  margin: 0 0 12px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.factor-strip-items {
  display: grid; gap: 8px; grid-template-columns: 1fr 1fr;
}
.factor-strip-items a {
  display: flex; flex-direction: column; gap: 2px;
  min-height: 64px; padding: 12px;
  border-radius: 10px; background: #f6f8f7; border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.factor-strip-items a:hover,
.factor-strip-items a:focus-visible {
  background: var(--sprout-soft);
  border-color: #9dceb2;
  color: var(--ink);
}
.factor-strip-items a:active {
  background: #c8edd8;
  border-color: var(--sprout);
}
.factor-strip-items strong { font-size: 13px; letter-spacing: -0.01em; }
.factor-strip-items span { font-size: 12px; color: var(--text-secondary); }

/* Legacy aliases kept minimal */
.factor-card-grid, .link-card-grid {
  display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 22px;
}
.factor-card, .link-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px; min-height: 120px;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
}
.factor-card span, .link-card-index {
  display: inline-flex; align-items: center; width: fit-content;
  min-height: 22px; padding: 0 8px; border-radius: var(--radius-pill);
  background: var(--sprout-soft); color: var(--sprout);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.factor-card strong, .link-card h3 { margin: 0; font-size: 0.98rem; letter-spacing: -0.015em; }
.factor-card p, .link-card p { margin: 0; font-size: 13px; color: var(--text-secondary); }
.link-card .text-link { margin-top: auto; padding-top: 8px; }

/* Process / checklist */
.process-shell, .handover-shell { display: grid; gap: var(--space-6); }
.process-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.process-steps li {
  display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4);
  padding: 16px 8px; border-bottom: 1px solid var(--border); border-radius: var(--radius);
}
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-pill);
  background: var(--sprout-soft); font-size: 13px; font-weight: 700; color: var(--sprout);
}
.step-link { color: inherit; border-bottom: 1px solid rgba(31,107,71,0.35); }
.process-steps h3 { margin: 0 0 4px; font-size: var(--text-18); }
.process-steps p { margin: 0; color: var(--text-secondary); }
.checklist-panel {
  padding: var(--space-5); border: 1px solid #d2e2d8; border-radius: var(--radius);
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(47,143,99,0.08), transparent 50%),
    linear-gradient(180deg, #f5faf7, #fff 55%);
}
.checklist-panel h3 { margin: 0 0 var(--space-4); font-size: var(--text-16); }
.check-grid { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.check-grid li {
  position: relative; padding: 12px 12px 12px 36px;
  border-radius: 8px; border: 1px solid #e8eeea; background: #f6f8f7; font-size: var(--text-14);
}
.check-grid li::before {
  content: ""; position: absolute; left: 12px; top: 15px; width: 14px; height: 14px;
  border-radius: 4px; border: 1.5px solid var(--sprout); background: var(--sprout-soft);
}

/* Stock */
.stock-panel {
  border: 1px solid #d2e2d8; border-radius: 14px;
  background:
    linear-gradient(180deg, #f4faf6 0%, #ffffff 28%);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stock-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.stock-table { width: 100%; border-collapse: collapse; font-size: var(--text-14); }
.stock-table th, .stock-table td {
  padding: 0 var(--space-4); height: 56px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap;
}
.stock-table th:last-child, .stock-table td:last-child { text-align: right; }
.stock-table thead th {
  background: linear-gradient(180deg, #e8f1ec, #eef3f0);
  font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #355346;
}
.stock-table .num { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.stock-note { margin: 12px 0 0; font-size: var(--text-13); color: var(--text-muted); }
.platform-tag {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px;
  border-radius: var(--radius-pill); font-size: 12px; font-weight: 700;
}
.platform-google { background: #dff0e7; color: #1a5c3d; }
.platform-ios { background: var(--graphite-soft); color: var(--graphite); }
.price-cell { font-weight: 800; color: #8a5f28; font-variant-numeric: tabular-nums; }

/* Guides / posts */
.section-guides { width: 100%; max-width: none; padding: 0; }
.guides-shell {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto; padding: var(--space-16) var(--space-6);
}
.posts-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.post-card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 20px 18px 22px; min-height: 188px;
  border: 1px solid #9dceb2; border-radius: 14px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(47,154,103,0.22), transparent 55%),
    linear-gradient(180deg, #dff4e9 0%, #ffffff 55%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.post-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--sprout);
  opacity: 0.85;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.post-card h3 { font-size: 1.08rem; }
.post-card-top { display: flex; justify-content: space-between; gap: 8px; }
.post-cat {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px;
  border-radius: var(--radius-pill); background: var(--sprout-soft); color: var(--sprout);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.post-read { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.post-card h2, .post-card h3 {
  margin: 0; font-size: 1.06rem; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink);
}
.post-card p {
  margin: 0; color: var(--text-secondary); font-size: var(--text-14); line-height: 1.58;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .text-link { margin-top: auto; padding-top: 8px; }
.guides-more { margin-top: 24px; display: flex; justify-content: center; }

/* Category-tint rails for common ZH/EN cats */
.kb-group#苹果 .post-card::before,
.kb-group#Apple .post-card::before { background: var(--steel); }
.kb-group#交接 .post-card::before,
.kb-group#Handover .post-card::before { background: var(--sky); }
.kb-group#老号 .post-card::before,
.kb-group#Aged .post-card::before { background: var(--copper); }
.kb-group#谷歌 .post-card::before,
.kb-group#Google .post-card::before { background: var(--sprout); }
.kb-group#询价 .post-card::before,
.kb-group#Inquiry .post-card::before { background: var(--tg); }
.kb-group#苹果 .post-card,
.kb-group#Apple .post-card {
  border-color: #a8c0d2;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(53,95,122,0.22), transparent 55%),
    linear-gradient(180deg, #d9e7f1 0%, #ffffff 55%);
}
.kb-group#老号 .post-card,
.kb-group#Aged .post-card {
  border-color: #d8a47f;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(166,90,46,0.2), transparent 55%),
    linear-gradient(180deg, #f3dccb 0%, #ffffff 55%);
}
.kb-group#交接 .post-card,
.kb-group#Handover .post-card {
  border-color: #84c3de;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(30,143,191,0.2), transparent 55%),
    linear-gradient(180deg, #d5eef8 0%, #ffffff 55%);
}
.kb-group#苹果 .post-cat,
.kb-group#Apple .post-cat { background: #c5d8e8; color: #254a62; }
.kb-group#老号 .post-cat,
.kb-group#Aged .post-cat { background: #efd0b8; color: #7a3d1c; }
.kb-group#交接 .post-cat,
.kb-group#Handover .post-cat { background: #b7e0f1; color: #1a6288; }

/* Extras */
.extras-shell { display: grid; gap: var(--space-5); }
.extra-strip { display: grid; gap: 10px; grid-template-columns: 1fr; }
.extra-card {
  display: flex; flex-direction: column; padding: 16px; min-height: 132px;
  border: 1px solid #d2e2d8; border-radius: var(--radius);
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(47,143,99,0.1), transparent 55%),
    linear-gradient(165deg, #f3faf6, #fff 60%);
  border-left: var(--desk-rail) solid var(--sprout);
}
.extra-card--ads {
  border-left-color: var(--ink);
  border-color: #d5d8dd;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(42,46,50,0.08), transparent 55%),
    linear-gradient(165deg, #f2f3f5, #fff 60%);
}
.extra-card--meta {
  border-left-color: var(--beam);
  border-color: #e5d6b4;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(196,132,42,0.12), transparent 55%),
    linear-gradient(165deg, #faf5eb, #fff 60%);
}
.extra-card--bot {
  border-left-color: var(--tg);
  border-color: #c5dff0;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(34,158,217,0.12), transparent 55%),
    linear-gradient(165deg, #eef7fc, #fff 60%);
}
.extra-index {
  display: inline-flex; width: fit-content; min-height: 22px; padding: 0 8px; margin-bottom: 8px;
  border-radius: var(--radius-pill); background: #f0f3f1; font-size: 11px; font-weight: 700; color: var(--sprout);
}
.extra-card h3 { margin: 0 0 4px; font-size: 1rem; }
.extra-card p { margin: 0; font-size: 13px; color: var(--text-secondary); }
.extra-card .text-link { margin-top: auto; padding-top: 10px; border-top: 1px solid #eef2ef; }

/* FAQ */
.faq-wrap { max-width: 720px; }
.faq-list {
  display: grid; gap: 10px;
}
.faq-list details {
  border: 1px solid #b7dcc8;
  border-radius: 12px;
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(47,154,103,0.16), transparent 55%),
    linear-gradient(165deg, #e4f6ec, #ffffff 60%);
  padding: 0 14px;
  box-shadow: var(--shadow-sm);
}
.faq-list details:nth-child(3n+2) {
  border-color: #e0b85a;
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(196,122,18,0.16), transparent 55%),
    linear-gradient(165deg, #f8ebcd, #ffffff 60%);
}
.faq-list details:nth-child(3n) {
  border-color: #9bb4c8;
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(53,95,122,0.16), transparent 55%),
    linear-gradient(165deg, #e0ebf3, #ffffff 60%);
}
.faq-list details[open] {
  border-color: #7fc4a0;
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(47,154,103,0.22), transparent 55%),
    linear-gradient(165deg, #d4f0e1, #ffffff 60%);
}
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 44px 16px 2px; font-size: var(--text-16); font-weight: 700; line-height: 1.45;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--radius-pill);
  background: #e4efe8; font-size: 14px; color: var(--sprout);
}
.faq-list details[open] summary::after { content: "–"; background: var(--sprout-soft); color: var(--sprout); }
.faq-list details p { margin: 0 0 16px; color: var(--text-secondary); max-width: 42em; padding-left: 2px; }

/* Contact — peer bottom CTA band */
.contact-band {
  background:
    radial-gradient(700px 280px at 85% 10%, rgba(47,143,99,0.22), transparent 60%),
    radial-gradient(500px 220px at 10% 90%, rgba(196,132,42,0.12), transparent 55%),
    var(--ink);
  color: #fff;
}
.contact-inner {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto; padding: var(--space-20) var(--space-6);
  display: grid; gap: var(--space-8);
}
.contact-copy h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); color: #fff; letter-spacing: -0.015em; }
.contact-lead { margin: 14px 0 0; max-width: 34em; color: rgba(255,255,255,0.72); }
.contact-checklist { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.contact-checklist li { padding-left: 28px; position: relative; color: rgba(255,255,255,0.84); font-size: var(--text-14); }
.contact-checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--sprout-bright), var(--sprout));
}
.contact-card {
  background: #fff; color: var(--text); border-radius: var(--radius); padding: var(--space-5);
  border: 1px solid rgba(255,255,255,0.15); box-shadow: var(--shadow-md);
}
.contact-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #eef2ef; }
.tg-avatar {
  width: 52px; height: 52px; border-radius: var(--radius-pill);
  background: linear-gradient(145deg, #34b4f0, #1a8bc4); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-card-label { margin: 0; font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.contact-handle { margin: 2px 0 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-hint { margin: 14px 0 0; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* Footer */
/* SEO keyword panel — peer SERP terms, linked to on-page anchors */
.kw-panel {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto;
  padding: var(--space-12) var(--space-6) var(--space-10);
}
.kw-inner {
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f7faf8 0%, #fff 100%);
}
.kw-lead {
  margin: 0 0 18px;
  max-width: 46em;
  font-size: var(--text-14);
  line-height: 1.65;
  color: var(--text-secondary);
}
.kw-groups {
  display: grid;
  gap: 18px;
}
.kw-group h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.kw-cloud {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kw-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid #d7e4dc;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.kw-cloud a:hover,
.kw-cloud a:focus-visible {
  background: var(--sprout-soft);
  border-color: var(--sprout);
  color: var(--sprout);
}
.footer-kw {
  margin: 10px 0 0 !important;
  font-size: 12px !important;
}
.footer-kw a { color: var(--sprout); font-weight: 700; }

.site-footer { padding: var(--space-12) var(--space-6) var(--space-8); border-top: 1px solid var(--border); background: #fff; }
.footer-grid { width: min(100%, var(--max)); margin: 0 auto; display: grid; gap: var(--space-8); }
.logo-footer { margin-bottom: var(--space-3); color: var(--text); }
.logo-footer .logo-text small { color: var(--text-muted); }
.footer-brand p { margin: 0; max-width: 28em; font-size: var(--text-14); color: var(--text-secondary); }
.footer-entity { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.footer-grid h3 {
  margin: 0 0 var(--space-3); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
}
.footer-grid a {
  display: flex; align-items: center; min-height: 44px; font-size: var(--text-14); color: var(--text-secondary);
}
.footer-legal {
  width: min(100%, var(--max)); margin: var(--space-10) auto 0; padding-top: var(--space-5);
  border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
}
.footer-copy { margin: 0; font-size: 13px; color: var(--text-muted); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-legal-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--text-secondary); font-size: 13px; }

.fab-tg {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 52px; height: 52px; border-radius: var(--radius-pill);
  display: grid; place-items: center; background: var(--tg); color: #fff;
  box-shadow: 0 10px 24px rgba(34,158,217,0.35);
}
.fab-tg.is-hidden { opacity: 0; pointer-events: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Article pages */
.article-page .site-header { background: rgba(255,255,255,0.96); color: var(--text); border-bottom: 1px solid var(--border); }
.article-page .logo-text small { color: var(--text-muted); }
.article-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.article-nav a:not(.btn) { font-size: var(--text-14); font-weight: 600; color: var(--text-secondary); min-height: 44px; display: inline-flex; align-items: center; }
.articles-index, .article-layout {
  width: min(100%, 1120px); margin: 0 auto; padding: calc(var(--header-h) + 40px) 24px 80px;
}
.article-layout { width: min(100%, 760px); }
.article-crumb { margin: 0 0 16px; font-size: 13px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.article-layout h1 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.25; letter-spacing: -0.015em; }
.article-lead { margin: 16px 0 0; font-size: var(--text-18); color: var(--text-secondary); }
.article-body {
  margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border);
  max-width: 42rem;
}
.article-body h2 {
  margin: 2rem 0 0.7rem; font-size: clamp(1.12rem, 2vw, 1.28rem);
  color: var(--ink); line-height: 1.35;
}
.article-body p {
  margin: 0 0 1.05rem; color: var(--text-secondary); line-height: 1.8; font-size: 1.02rem;
}
.article-body p:last-child { margin-bottom: 0; }
.article-layout h1 { max-width: 18em; text-wrap: balance; }
.article-lead { max-width: 40em; line-height: 1.7; }
.article-cta {
  margin-top: 36px; padding: 24px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.article-cta h2 { margin: 0 0 8px; font-size: 1.15rem; }
.articles-index .section-head { max-width: 40em; }
.kb-cta {
  width: min(100%, calc(var(--max) + 48px));
  margin: var(--space-12) auto 0;
  padding: 0 var(--space-6) var(--space-12);
}
.kb-cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 24px;
  border: 1px solid #c9e4d5;
  border-radius: var(--radius);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(196,132,42,0.1), transparent 50%),
    linear-gradient(135deg, #eef8f2 0%, #ffffff 55%, #faf5eb 100%);
  border-left: 4px solid var(--sprout);
}
.kb-cta-lead {
  margin: 4px 0 0; font-size: var(--text-14); font-weight: 600;
  color: var(--text); max-width: 36em; line-height: 1.5;
}
.kb-group-head h2 { font-size: 1.12rem; letter-spacing: -0.015em; }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.article-related { margin-top: 40px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.topic-chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  border-radius: var(--radius-pill); border: 1px solid var(--border); background: #fff;
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.topic-chip:hover,
.topic-chip:focus-visible {
  background: var(--sprout-soft);
  border-color: var(--sprout);
  color: var(--sprout);
}
.topic-chip:active {
  background: var(--sprout);
  border-color: var(--sprout);
  color: #fff;
}
.kb-group { margin-top: 36px; }
.kb-group-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.kb-group-head h2 { margin: 0; font-size: 1.05rem; }
.kb-count { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }

/* Lift motion only on fine pointers; color hover stays global so desktop hover works without click */
@media (hover: hover) and (pointer: fine) {
  .dossier:hover, .post-card:hover, .factor-card:hover, .link-card:hover, .extra-card:hover, .trust-item:hover, a.path-row:hover {
    border-color: #9fb9a8; transform: translateY(-2px); box-shadow: var(--shadow-md);
  }
  .footer-grid a:hover, .text-link:hover, .step-link:hover { color: var(--sprout); }
  .btn:hover,
  .btn:focus-visible { transform: translateY(-1px); }
  .btn:active { transform: translateY(0) scale(0.98); }
  .row-link:hover,
  .row-link:focus-visible { transform: translateY(-1px); }
}

/* Breakpoints */
@media (min-width: 480px) {
  .extra-strip { grid-template-columns: 1fr 1fr; }
  .hero-actions { grid-template-columns: auto auto; justify-content: start; }
  .factor-card-grid, .link-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .btn.header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .lang-switch-mobile { display: none; }
  .trust-inner { grid-template-columns: repeat(3, 1fr); }
  .dossier-grid { grid-template-columns: repeat(2, 1fr); }
  .path-row { grid-template-columns: 48px 1fr auto auto; align-items: center; }
  .path-meta, .path-go { grid-column: auto; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .kw-groups { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .hero-media { min-height: 300px; max-height: 380px; }
  .hero-inner { padding: 40px 24px 56px; }
}
@media (min-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 560px;
  }
  .hero-media {
    order: 2;
    min-height: 100%;
    max-height: none;
  }
  .hero-media img { object-position: 62% 48%; }
  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 28px) 28px 48px 40px;
  }
  .hero h1 { font-size: clamp(2.15rem, 2.6vw, 2.85rem); max-width: 10.5em; }
  .hero-aside { margin-top: 18px; padding-left: 14px; max-width: 32em; }
  .hero-lead { font-size: 13.5px; }
  .hero-pills { margin-top: 20px; }
}
@media (min-width: 900px) {
  .factor-card-grid, .link-card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .dossier-grid { grid-template-columns: repeat(3, 1fr); }
  .dossier-face { min-height: 168px; }
  .factor-strip-items { grid-template-columns: repeat(4, 1fr); }
  .posts-grid, .posts-grid--home { grid-template-columns: repeat(3, 1fr); }
  .extra-strip { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  .site-header .lang-switch { display: none; }
  .stock-table thead { display: none; }
  .stock-table, .stock-table tbody, .stock-table tr, .stock-table td { display: block; width: 100%; }
  .stock-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .stock-table td {
    display: flex; justify-content: space-between; gap: 12px; height: auto; padding: 6px 0;
    white-space: normal; border: 0; text-align: right;
  }
  .stock-table td::before {
    content: attr(data-label); font-weight: 700; color: var(--text-muted); text-align: left;
  }
  .stock-table td:last-child { justify-content: flex-end; padding-top: 10px; }
  .stock-table td:last-child::before { content: ""; }
}

@media (max-width: 379px) {
  .dossier-actions { grid-template-columns: 1fr; }
  .dossier-spec > div { grid-template-columns: 1fr; gap: 4px; }
}


/* SEO content panels — comparison / decide / inquiry */
.seo-panel {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-12);
}
.seo-block {
  margin-top: 20px;
  padding: 24px 22px;
  border: 1px solid #d2e2d8;
  border-radius: 16px;
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(47,143,99,0.08), transparent 50%),
    radial-gradient(70% 50% at 100% 0%, rgba(196,132,42,0.07), transparent 45%),
    linear-gradient(180deg, #f5faf7 0%, #ffffff 42%);
  box-shadow: var(--shadow-sm);
}
.seo-block h2 {
  margin: 0 0 10px;
  font-size: clamp(1.28rem, 2.6vw, 1.58rem);
  letter-spacing: -0.022em;
  color: var(--ink);
}
.seo-block > p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 46em;
}
.compare-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px;
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.compare-table-wrap::before {
  content: "左右滑动查看完整对照表";
  display: block;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: #f6f8f7;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 700px) {
  .compare-table-wrap::before { display: none; }
}
html[lang^="en"] .compare-table-wrap::before {
  content: "Swipe sideways for the full comparison";
}
.compare-table {
  width: 100%; border-collapse: collapse; font-size: var(--text-14); min-width: 560px;
}
.compare-table th, .compare-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top;
}
.compare-table thead th {
  background: #eef2f0; font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-secondary);
}
.compare-table tbody th {
  font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap;
}
.compare-table td { color: var(--text-secondary); line-height: 1.5; }
.decide-bullets {
  margin: 0; padding: 0; list-style: none; display: grid; gap: 10px;
}
.decide-bullets li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 14px 14px; border-radius: 10px; background: #f6f8f7; border: 1px solid #e8eeea;
}
.decide-bullets strong { display: block; margin-bottom: 2px; font-size: 14px; color: var(--ink); }
.decide-bullets span { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.decide-mark {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.inquiry-box {
  margin-top: 4px; padding: 16px; border-radius: 10px;
  background: #0e1210; color: rgba(255,255,255,0.88);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: break-word;
}
.inquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.split-note {
  margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--beam);
  background: #fbf6ee; border-radius: 0 10px 10px 0;
  font-size: 13px; color: var(--text-secondary); line-height: 1.55;
}
.split-note strong { color: var(--ink); }
.fee-row {
  display: grid; gap: 10px; grid-template-columns: 1fr; margin: 14px 0 0;
}
.fee-card {
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: #fafbfa;
}
.fee-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.fee-card span { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
@media (min-width: 700px) {
  .fee-row { grid-template-columns: 1fr 1fr; }
  .decide-bullets { grid-template-columns: 1fr 1fr; }
}


/* Elevate v2 — mobile stock hierarchy */
@media (max-width: 767px) {
  .stock-table tr {
    margin: 0;
    padding: 16px;
    background: var(--surface);
  }
  .stock-table tr + tr { border-top: 8px solid var(--paper); }
  .stock-table td[data-label="编号"],
  .stock-table td[data-label="ID"] {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
  }
  .stock-table td.price-cell {
    font-size: 1.05rem;
    color: var(--sprout);
  }
  .hero-inner { padding-top: calc(var(--header-h) + 12px); }
  .dossier-face { min-height: 132px; }
  .section { padding-block: var(--space-12); }
  .hero-actions .btn { width: 100%; }
  .contact-actions .btn { min-height: 48px; }
}

@media (max-width: 359px) {
  .header-inner { padding: 0 var(--space-4); }
  .hero-inner, .section, .seo-panel, .kw-panel, .guides-shell, .trust-shell, .contact-inner {
    padding-inline: var(--space-4);
  }
  .hero h1 { font-size: 1.65rem; max-width: none; }
  .hero-aside { padding-left: 10px; }
  .hero-lead { font-size: 12.5px; }
  .dossier-body { padding: 14px; }
  .fab-tg { right: 12px; width: 48px; height: 48px; }
}

/* Legal pages — editorial column, not a white card dump */
body.legal-page .site-header {
  background: rgba(255,255,255,0.96);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
body.legal-page .logo-text small { color: var(--text-muted); }
body.legal-page .header-cta {
  display: inline-flex;
  margin-left: auto;
}
body.legal-page .lang-switch { margin-left: auto; }
body.legal-page .nav-toggle { display: none; }
@media (max-width: 767px) {
  body.legal-page .site-header .lang-switch { display: inline-flex; }
}
.legal {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: calc(var(--header-h) + 56px) 24px 96px;
}
.legal h1 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  max-width: 16em;
}
.legal .meta {
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.legal h2 {
  margin: 36px 0 12px;
  font-size: 1.08rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.legal p, .legal li {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.02rem;
}
.legal p { margin: 0 0 1rem; max-width: 42em; }
.legal ul { padding-inline-start: 1.15em; margin: 0 0 1rem; }
.legal li + li { margin-top: 0.45rem; }
.legal a { color: var(--sprout); font-weight: 600; }

/* Article reading — magazine column + TOC */
.article-toc {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f7f9f8;
}
.article-toc-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.article-toc a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.article-toc a:hover { background: #fff; color: var(--sprout); }
.article-body ul, .article-body ol {
  margin: 0 0 1.1rem;
  padding-inline-start: 1.2em;
  color: var(--text-secondary);
  line-height: 1.75;
}
.article-body li + li { margin-top: 0.35rem; }
.article-body blockquote {
  margin: 1.25rem 0;
  padding: 14px 18px;
  border-left: 3px solid var(--sprout);
  background: var(--sprout-soft);
  border-radius: 0 10px 10px 0;
  color: var(--text);
  font-weight: 600;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-14);
  margin: 0 0 1.25rem;
}
.article-body th, .article-body td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.article-body thead th {
  background: #eef2f0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.article-pager {
  display: grid;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  min-height: 72px;
}
.article-pager .pager-dir {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article-pager .pager-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
@media (min-width: 700px) {
  .article-pager { grid-template-columns: 1fr 1fr; }
  .article-pager a:last-child { text-align: right; align-items: flex-end; }
}
.posts-grid--related { margin-top: 16px; }
.post-card--compact { min-height: 148px; padding: 16px; }
.related-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 4px;
}
.related-head h2 { margin: 0; font-size: 1.05rem; }

/* Stock panel header accent */
.stock-panel {
  border-top: 3px solid var(--sprout);
}
.stock-table tbody tr:hover { background: #f7faf8; }

/* FAQ reading comfort */
.faq-list summary { letter-spacing: -0.01em; }
.faq-list details[open] summary { color: var(--ink); }
.faq-list details p { padding-right: 8px; }

/* Trust / path polish */
.trust-item, .path-list, .stock-panel, .seo-block, .checklist-panel, .extra-card {
  box-shadow: var(--shadow-sm);
}
.path-row--ready .path-num { box-shadow: 0 6px 14px rgba(31,107,71,0.25); }

/* 404 */
.page-404 {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 48px) 24px 80px;
  text-align: center;
}
.page-404 h1 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.page-404 p { margin: 0 0 24px; color: var(--text-secondary); max-width: 28em; }
.page-404 .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* desk9 — KB hero, article shell, legal, stock lift */
.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 0 0 var(--space-8);
  min-height: 168px;
  border: 1px solid var(--border);
  background: #dfe9e3;
}
.page-hero img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 45%;
}
.page-hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,18,16,0.18), rgba(14,18,16,0.42));
  pointer-events: none;
}
.page-hero--compact img { height: 160px; }
.page-hero--legal img { height: 150px; object-position: center 40%; }
.page-hero--404 {
  max-width: 36em;
  margin-left: auto; margin-right: auto;
}
.page-hero--404 img { height: 180px; }

.kb-hero {
  padding: 8px 0 8px;
  margin-bottom: var(--space-8);
  max-width: 42em;
}
.kb-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.kb-hero .section-desc { margin-top: 12px; }
.kb-hero .topic-chips { margin-top: 18px; }
.articles-index .page-hero { max-width: none; }
@media (min-width: 768px) {
  .page-hero img { height: 260px; }
  .page-hero--compact img { height: 180px; }
}

.article-layout {
  padding-top: calc(var(--header-h) + 36px);
}
.article-layout .page-hero {
  margin-bottom: 18px;
  border-radius: 14px;
}
.article-layout .page-hero img { height: 140px; }
@media (min-width: 768px) {
  .article-layout .page-hero img { height: 168px; }
}
.article-crumb {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 600;
}
.article-crumb a { color: var(--sprout); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  margin: 0 0 14px;
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  letter-spacing: 0.02em;
}
.article-meta span:not(:last-child)::after {
  content: ""; /* chips handled by gap */
}
.article-cta {
  margin-top: var(--space-10);
  padding: 22px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #fff 0%, var(--sprout-soft) 160%);
  border-left: 4px solid var(--sprout);
}
.article-cta h2 { margin: 0 0 8px; font-size: 1.15rem; }
.article-cta p { margin: 0 0 14px; color: var(--text-secondary); font-size: var(--text-14); }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.stock-panel {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}
.contact-card {
  border-radius: 16px;
  padding: var(--space-6);
}
.contact-handle { color: var(--ink); }

.legal {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 24px 80px;
}
.legal .legal-crumb {
  margin: 0 0 16px; font-size: 13px; font-weight: 600;
}
.legal .legal-crumb a { color: var(--sprout); }
.legal h1 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 1.9rem); letter-spacing: -0.02em; }
.legal .meta { margin: 0 0 28px; color: var(--text-muted); font-size: 13px; }
.legal h2 {
  margin: 28px 0 10px; font-size: 1.08rem;
  padding-top: 8px; border-top: 1px solid var(--border);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p, .legal li { color: var(--text-secondary); line-height: 1.7; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--sprout); font-weight: 600; }

.not-found { text-align: left; max-width: 36em; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
