/* ============================================================
   IIQEPass design system
   Warm paper · ink navy · jade · gold
   ============================================================ */

:root {
  --bg: #f7f5ef;
  --bg-elev: #fbfaf6;
  --surface: #ffffff;
  --surface-2: #f1eee6;
  --surface-3: #e9e5da;
  --ink: #0b2233;
  --ink-2: #17384c;
  --muted: #52636f;
  --muted-2: #75838d;
  --line: #dde3e6;
  --line-strong: #c7d1d6;
  --jade: #0b6b4f;
  --jade-2: #0f8a66;
  --jade-3: #35a982;
  --jade-soft: #e4f1ea;
  --jade-ink: #074936;
  --gold: #b9862f;
  --gold-2: #d7a84a;
  --gold-soft: #f5ead4;
  --red: #b3413a;
  --red-soft: #f8e7e4;
  --navy: #0a2334;
  --navy-2: #0e3049;
  --cream: #f7f5ef;
  --white: #ffffff;
  --shadow-xs: 0 1px 2px rgba(11, 34, 51, 0.06);
  --shadow-sm: 0 2px 8px rgba(11, 34, 51, 0.06);
  --shadow-md: 0 14px 40px -18px rgba(11, 34, 51, 0.22);
  --shadow-lg: 0 32px 80px -32px rgba(11, 34, 51, 0.32);
  --shadow-jade: 0 18px 40px -22px rgba(11, 107, 79, 0.55);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --max: 1200px;
  --gutter: 24px;
  --font-body: "Inter", "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  --font-display: "Sora", "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07141f;
    --bg-elev: #091a27;
    --surface: #0d2231;
    --surface-2: #102a3a;
    --surface-3: #163344;
    --ink: #edf3f6;
    --ink-2: #d6e3e9;
    --muted: #9db0bc;
    --muted-2: #7e929e;
    --line: #1d3848;
    --line-strong: #2b4a5c;
    --jade: #42c79a;
    --jade-2: #5bd9af;
    --jade-3: #35a982;
    --jade-soft: #0e3027;
    --jade-ink: #b4edd9;
    --gold: #e3b25f;
    --gold-2: #f0c878;
    --gold-soft: #33270f;
    --red: #f08a80;
    --red-soft: #3a1d1a;
    --navy: #06121c;
    --navy-2: #0b2232;
    --cream: #0b1b27;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 18px 44px -20px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 40px 90px -36px rgba(0, 0, 0, 0.7);
    --shadow-jade: 0 18px 44px -22px rgba(0, 0, 0, 0.65);
  }
}

:root[data-theme="dark"] {
  --bg: #07141f;
  --bg-elev: #091a27;
  --surface: #0d2231;
  --surface-2: #102a3a;
  --surface-3: #163344;
  --ink: #edf3f6;
  --ink-2: #d6e3e9;
  --muted: #9db0bc;
  --muted-2: #7e929e;
  --line: #1d3848;
  --line-strong: #2b4a5c;
  --jade: #42c79a;
  --jade-2: #5bd9af;
  --jade-3: #35a982;
  --jade-soft: #0e3027;
  --jade-ink: #b4edd9;
  --gold: #e3b25f;
  --gold-2: #f0c878;
  --gold-soft: #33270f;
  --red: #f08a80;
  --red-soft: #3a1d1a;
  --navy: #06121c;
  --navy-2: #0b2232;
  --cream: #0b1b27;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 18px 44px -20px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 40px 90px -36px rgba(0, 0, 0, 0.7);
  --shadow-jade: 0 18px 44px -22px rgba(0, 0, 0, 0.65);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[lang^="zh"] body {
  line-height: 1.75;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2.5px solid var(--jade-2);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--jade);
  color: #fff;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.narrow-hero {
  max-width: 840px;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.icon-xs {
  width: 15px;
  height: 15px;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.icon-xl {
  width: 46px;
  height: 46px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] h3,
html[lang^="zh"] h4 {
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 em,
h2 em {
  font-style: normal;
  color: var(--jade);
  text-decoration: underline;
  text-decoration-color: var(--gold-2);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 16px;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade-2);
  box-shadow: 0 0 0 4px var(--jade-soft);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--jade-soft); }
  50% { box-shadow: 0 0 0 7px transparent; }
}

.section {
  padding: clamp(64px, 9vw, 104px) 0;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.14;
  margin-bottom: 16px;
}

.section-body {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-head {
  margin-bottom: 40px;
}

.section-head.is-center {
  text-align: center;
  margin-inline: auto;
  max-width: 760px;
}

.section-head.is-center .section-body {
  margin-inline: auto;
}

.bg-soft {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--jade);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.text-link:hover {
  border-color: var(--jade);
}

.center-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border: 1px solid transparent;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    color 0.2s;
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--jade);
  color: #fff;
  box-shadow: var(--shadow-jade);
}

.btn-primary:hover {
  background: var(--jade-ink);
}

:root[data-theme="dark"] .btn-primary {
  color: #04120d;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-primary {
    color: #04120d;
  }
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink-2);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.5);
}

.btn-light:hover {
  background: var(--cream);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}

.chip-jade {
  background: var(--jade-soft);
  border-color: transparent;
  color: var(--jade-ink);
}

.chip-gold {
  background: var(--gold-soft);
  border-color: transparent;
  color: var(--gold);
}

.chip-soft {
  background: var(--surface-2);
  border-color: transparent;
  color: var(--muted);
}

/* ---------- Announcement ---------- */
.announce {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.announce-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  flex-wrap: wrap;
  padding: 4px 0;
  line-height: 1.45;
}

.announce-inner > span:nth-child(2) {
  min-width: 0;
}

.announce strong {
  color: #fff;
  font-weight: 600;
}

.announce-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade-3);
  box-shadow: 0 0 0 3px rgba(53, 169, 130, 0.2);
}

.announce-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  margin-left: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.logo-bg {
  fill: var(--navy);
}

.logo-check {
  fill: none;
  stroke: var(--jade-3);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-dot {
  fill: var(--gold-2);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.brand-pass {
  color: var(--jade);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
  list-style: none;
}

.nav-link::-webkit-details-marker {
  display: none;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--surface-2);
  color: var(--ink);
}

.nav-dd {
  position: relative;
}

.nav-dd-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  z-index: 120;
}

.nav-dd-panel::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
}

.nav-dd-head {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 10px 12px 8px;
}

.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 0.15s;
}

.nav-dd-item:hover {
  background: var(--surface-2);
}

.nav-dd-item .icon {
  margin-left: auto;
  color: var(--muted-2);
}

.nav-dd-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--jade);
  background: var(--jade-soft);
  border-radius: 6px;
  padding: 3px 6px;
  flex: 0 0 auto;
}

.nav-dd-extra {
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  margin-top: 6px;
  padding-top: 14px;
}

.nav-dd-extra .nav-dd-num {
  background: var(--surface-2);
  color: var(--muted-2);
}

.nav-dd-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 12px;
  background: var(--jade-soft);
  color: var(--jade-ink);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: background-color 0.18s;
}

.icon-btn:hover {
  background: var(--surface-2);
}

.theme-icon {
  display: none;
}

:root[data-theme="light"] .theme-light,
:root[data-theme="dark"] .theme-dark {
  display: inline-flex;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-auto {
    display: inline-flex;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-auto {
    display: inline-flex;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: border-color 0.18s, background-color 0.18s;
}

.lang-switch:hover {
  border-color: var(--jade);
  background: var(--jade-soft);
}

.header-cta {
  margin-left: 4px;
}

.mobile-menu-btn {
  display: none;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: 18px 0 24px;
}

.mobile-nav-group {
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.mobile-nav-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 4px 0 8px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 2px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-link:last-child {
  border-bottom: 0;
}

.mobile-nav-link.muted {
  color: var(--muted);
  font-size: 13.5px;
}

.mobile-nav-actions {
  display: grid;
  gap: 10px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(ellipse 55% 60% at 85% 10%, color-mix(in srgb, var(--jade-soft) 80%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 90%, color-mix(in srgb, var(--gold-soft) 65%, transparent), transparent 70%),
    var(--bg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.7rem);
  line-height: 1.04;
  margin-bottom: 22px;
}

html[lang^="zh"] .hero-copy h1 {
  line-height: 1.12;
}

.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
}

.hero-checks .icon {
  color: var(--jade);
  background: var(--jade-soft);
  border-radius: 50%;
  padding: 3px;
  width: 20px;
  height: 20px;
}

.hero-mini-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}

.mini-proof-avatars {
  display: flex;
}

.mini-proof-avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  margin-left: -8px;
  font-family: var(--font-mono);
}

.mini-proof-avatars span:first-child {
  margin-left: 0;
}

.mini-proof-avatars span:nth-child(2) {
  background: var(--jade);
}

.mini-proof-avatars span:nth-child(3) {
  background: var(--gold);
}

.mini-proof-avatars span:nth-child(4) {
  background: var(--ink-2);
}

.hero-mini-proof p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.hero-mini-proof strong {
  color: var(--ink);
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--line-strong) 75%, transparent);
  pointer-events: none;
}

.orbit-one {
  width: 470px;
  height: 470px;
  animation: spin 60s linear infinite;
}

.orbit-two {
  width: 360px;
  height: 360px;
  border-style: solid;
  border-color: color-mix(in srgb, var(--jade) 12%, transparent);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-card-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px 20px;
  z-index: 2;
}

.hero-card-wrap::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--jade) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--jade) 20%, transparent);
  z-index: -1;
}

.hero-card-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.red { background: #e7897f; }
.dot.amber { background: #e6bd6a; }
.dot.green { background: #77b99f; }

.hero-card-label {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  animation: floaty 6s ease-in-out infinite;
}

.float-chip strong {
  color: var(--ink);
  font-family: var(--font-display);
}

.float-chip .icon {
  color: var(--jade);
}

.float-chip-a {
  top: -14px;
  right: 18px;
  animation-delay: -1s;
}

.float-chip-b {
  bottom: -14px;
  left: 18px;
  animation-delay: -3s;
}

.float-chip-c {
  display: none;
  animation-delay: -5s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Demo quiz */
.demo-quiz {
  position: relative;
}

.demo-quiz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.demo-counter {
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.demo-stem {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

html[lang^="zh"] .demo-stem {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.demo-options {
  display: grid;
  gap: 8px;
}

.demo-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}

.demo-option:hover {
  border-color: var(--jade-2);
  transform: translateX(2px);
}

.demo-option.is-selected {
  border-color: var(--jade);
  background: var(--jade-soft);
}

.demo-option.is-correct {
  border-color: var(--jade);
  background: var(--jade-soft);
}

.demo-option.is-wrong {
  border-color: var(--red);
  background: var(--red-soft);
}

.opt-letter {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
}

.demo-option.is-correct .opt-letter {
  background: var(--jade);
  border-color: var(--jade);
  color: #fff;
}

.demo-option.is-wrong .opt-letter {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.opt-text {
  flex: 1;
}

.opt-mark {
  display: none;
  color: var(--jade);
}

.demo-option.is-correct .opt-mark {
  display: inline-flex;
}

.demo-feedback {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--jade-soft);
  border-left: 3px solid var(--jade);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--jade-ink);
}

.demo-feedback.is-wrong {
  background: var(--red-soft);
  border-left-color: var(--red);
  color: var(--ink-2);
}

.demo-feedback strong {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.demo-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.demo-hint {
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.4;
}

.demo-noscript {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- Stats ---------- */
.stat-band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 30px 26px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.stat-note {
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ---------- Papers ---------- */
.paper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.paper-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px 24px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
  overflow: hidden;
}

.paper-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--jade) 7%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.paper-card:hover {
  border-color: color-mix(in srgb, var(--jade) 45%, var(--line));
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.paper-card:hover::before {
  opacity: 1;
}

.paper-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px;
}

.paper-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: color-mix(in srgb, var(--ink) 9%, transparent);
}

.paper-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.paper-bank {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.paper-name {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.paper-name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.paper-en {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.paper-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  margin-bottom: 16px;
}

.paper-stats li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.paper-stats .icon {
  color: var(--jade);
}

.paper-weights {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.paper-weights-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}

.weight-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 36px;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.weight-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weight-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.weight-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--jade-2), var(--jade-3));
}

.weight-num {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
}

.paper-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--jade);
}

.paper-link .icon {
  transition: transform 0.2s;
}

.paper-card:hover .paper-link .icon {
  transform: translateX(4px);
}

.legacy-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 50%, transparent);
  transition: border-color 0.2s, background-color 0.2s;
}

.legacy-card:hover {
  border-color: var(--ink-2);
  background: var(--surface);
}

.legacy-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: -0.04em;
}

.legacy-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.legacy-copy strong {
  font-size: 14px;
}

.legacy-copy span {
  font-size: 12px;
  color: var(--muted);
}

.legacy-card > .icon {
  color: var(--muted-2);
}

.papers-table-block {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}

.papers-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.papers-table-head h3 {
  font-size: 18px;
}

.papers-table-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--jade);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  font-size: 13px;
  min-width: 620px;
}

.data-table caption {
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table thead th {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table thead th:first-child {
  border-radius: 8px 0 0 8px;
}

.data-table thead th:last-child {
  border-radius: 0 8px 8px 0;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody th {
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
}

.data-table td {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.data-table a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.data-table a:hover {
  color: var(--jade);
  border-color: var(--jade);
}

.table-note {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 12px;
  line-height: 1.6;
}

.table-note a {
  color: var(--jade);
  border-bottom: 1px solid color-mix(in srgb, var(--jade) 40%, transparent);
}

/* ---------- Routes ---------- */
.routes-section {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
}

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.split-head .section-head {
  margin-bottom: 0;
}

.split-head > .text-link {
  margin-bottom: 8px;
  flex: 0 0 auto;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.route-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.route-card:hover {
  border-color: color-mix(in srgb, var(--jade) 40%, var(--line));
  box-shadow: var(--shadow-sm);
}

.route-name {
  font-size: 16px;
  line-height: 1.35;
}

.route-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.route-papers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding-top: 6px;
}

.route-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-2);
}

.route-paper {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--jade-soft);
  color: var(--jade-ink);
  font-size: 11px;
  font-weight: 700;
}

.route-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--jade);
  margin-top: 2px;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--jade) 40%, var(--line));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--jade-soft);
  color: var(--jade);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.feature-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- How ---------- */
.how-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.step-list {
  display: grid;
  gap: 0;
  margin: 28px 0;
}

.step-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.step-item:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--jade);
  background: var(--jade-soft);
  border-radius: 7px;
  padding: 4px 8px;
  height: fit-content;
  margin-top: 2px;
}

.step-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.step-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.how-visual {
  display: grid;
  gap: 14px;
}

.how-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.how-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}

.bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  padding: 7px 0;
}

.bar-track {
  height: 7px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.bar-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--jade-2), var(--jade-3));
}

.bar-pct {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
}

.how-panel-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
  font-size: 11.5px;
  color: var(--jade);
}

.how-panel-small {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
}

.how-panel-small div {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
}

.how-panel-small strong {
  font-size: 14px;
  color: var(--ink);
}

.score-ring {
  --score: 70;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(closest-side, var(--bg-elev) 76%, transparent 77% 99%),
    conic-gradient(var(--jade) calc(var(--score) * 1%), var(--surface-2) 0);
  position: relative;
  flex: 0 0 auto;
}

.score-ring span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--jade);
}

/* ---------- Compare table ---------- */
.compare-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px 8px 0;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  font-size: 13px;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  padding-top: 16px;
}

.compare-table thead th.us {
  color: var(--jade);
}

.compare-table tbody th {
  font-weight: 500;
  color: var(--muted);
  font-size: 12.5px;
}

.compare-table td {
  color: var(--muted-2);
  font-size: 12.5px;
}

.compare-table td.us {
  color: var(--ink);
  font-weight: 500;
  background: var(--jade-soft);
}

.compare-table td.us .icon {
  color: var(--jade);
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 14px;
}

/* ---------- Guide cards ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.guide-card:hover {
  border-color: color-mix(in srgb, var(--jade) 40%, var(--line));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.guide-read {
  font-size: 10.5px;
  color: var(--muted-2);
  white-space: nowrap;
}

.guide-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.guide-title a::after {
  content: "";
  position: absolute;
}

.guide-card {
  position: relative;
}

.guide-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.guide-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.guide-date {
  font-size: 10.5px;
  color: var(--muted-2);
}

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--jade);
  white-space: nowrap;
}

.guide-grid-all {
  margin-top: 20px;
}

/* ---------- Pricing preview ---------- */
.price-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(53, 169, 130, 0.22), transparent 65%),
    linear-gradient(135deg, #0a2334, #0b3b32 70%, #0b4a3a);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  color: #fff;
  overflow: hidden;
}

.price-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
  pointer-events: none;
}

.price-panel-copy {
  position: relative;
}

.price-panel h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.price-panel-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 420px;
}

.price-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.price-panel-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
}

.mini-price-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(8px);
}

.mini-price-card.is-dark {
  background: rgba(0, 0, 0, 0.22);
}

.mini-price-card.is-accent {
  background: var(--gold-soft);
  border-color: transparent;
  color: var(--navy);
}

.mini-price-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.mini-price-card strong {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mini-price-card > span:last-child {
  font-size: 10.5px;
  opacity: 0.72;
  line-height: 1.4;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.faq-intro p {
  font-size: 13px;
  color: var(--muted);
}

.faq-intro a {
  color: var(--jade);
  border-bottom: 1px solid color-mix(in srgb, var(--jade) 40%, transparent);
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  color: var(--muted-2);
  transition: transform 0.2s;
  flex: 0 0 auto;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--jade);
}

.faq-a {
  padding: 0 32px 20px 2px;
}

.faq-a p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-a a {
  color: var(--jade);
  border-bottom: 1px solid color-mix(in srgb, var(--jade) 40%, transparent);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse 45% 80% at 100% 50%, rgba(53, 169, 130, 0.25), transparent 65%),
    linear-gradient(115deg, #0a2334 0%, #0b3b32 60%, #0d4f3d 100%);
  color: #fff;
  padding: clamp(50px, 7vw, 76px) 0;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 100%;
  mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-copy {
  max-width: 620px;
}

.cta-copy h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.cta-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 64px;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.footer-brand .brand-word {
  color: #fff;
}

.footer-brand .brand-pass {
  color: var(--jade-3);
}

.footer-logo .brand-mark .logo-bg {
  fill: rgba(255, 255, 255, 0.1);
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-blurb {
  font-size: 12.5px;
  line-height: 1.7;
  max-width: 330px;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 20px;
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact .icon {
  color: var(--jade-3);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-badge .icon {
  color: var(--jade-3);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0 96px;
}

.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
  max-width: 1000px;
  margin-bottom: 18px;
}

.footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy,
.footer-verified {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.36);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links a {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal-links a:hover {
  color: #fff;
}

.footer-verified {
  margin-top: 10px;
}

.footer-watermark {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 230px);
  font-weight: 700;
  letter-spacing: -0.07em;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #06281a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}

.whatsapp-fab:hover {
  transform: scale(1.06);
}

.whatsapp-fab .icon {
  width: 25px;
  height: 25px;
}

/* ============================================================
   INNER PAGES
   ============================================================ */

.page-hero {
  padding: 28px 0 clamp(44px, 6vw, 64px);
  background:
    radial-gradient(ellipse 50% 70% at 90% 0%, color-mix(in srgb, var(--jade-soft) 70%, transparent), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

html[lang^="zh"] .page-hero h1 {
  line-height: 1.16;
}

.page-answer {
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 760px;
}

.page-answer strong {
  color: var(--ink);
}

.breadcrumbs {
  margin-bottom: 30px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line-strong);
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--jade);
}

.breadcrumbs [aria-current] {
  color: var(--ink-2);
}

/* Paper hero */
.paper-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: 16px;
}

.paper-hero-copy h1 {
  max-width: 14ch;
}

.hero-fineprint {
  font-size: 11.5px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.paper-hero-side {
  display: grid;
  gap: 12px;
}

.paper-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.ph-stat {
  background: var(--surface);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ph-stat strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.ph-stat span {
  font-size: 10.5px;
  color: var(--muted-2);
  line-height: 1.35;
}

.paper-hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

.paper-hero-note .icon {
  color: var(--jade);
  margin-top: 2px;
}

.paper-hero-note small {
  color: var(--muted-2);
  font-size: 10.5px;
}

/* Facts */
.facts-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.fact-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact-table {
  font-size: 13.5px;
}

.fact-table th,
.fact-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.fact-table tr:last-child th,
.fact-table tr:last-child td {
  border-bottom: 0;
}

.fact-table th {
  width: 34%;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-elev);
  font-size: 12.5px;
}

.fact-table td {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.fact-table td strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
}

.facts-side {
  display: grid;
  gap: 14px;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.side-card h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.side-card > p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
}

.route-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.route-pill {
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--jade-soft);
  color: var(--jade-ink);
  font-size: 10.5px;
  font-weight: 600;
  transition: background-color 0.15s;
}

.route-pill:hover {
  background: var(--jade);
  color: #fff;
}

.side-card-fee .fee-table {
  margin-top: 4px;
}

.side-note {
  font-size: 10.5px !important;
  color: var(--muted-2) !important;
  margin-top: 8px;
}

.fee-table {
  font-size: 12px;
}

.fee-table th,
.fee-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.fee-table thead th {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  font-weight: 700;
}

.fee-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink);
}

.fee-table tr:last-child td {
  border-bottom: 0;
}

.side-card-cta {
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, color-mix(in srgb, var(--jade) 12%, transparent), transparent),
    var(--jade-soft);
  border-color: transparent;
}

.side-kicker {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
}

.side-card-cta h3 {
  margin-top: 4px;
}

.side-card-cta .btn {
  margin-top: 14px;
}

/* Syllabus */
.syllabus-section {
  background: var(--bg-elev);
}

.weight-key {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--muted-2);
  white-space: nowrap;
  margin-bottom: 8px;
}

.weight-key-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--jade);
}

.chapter-list {
  border-top: 1px solid var(--line-strong);
}

.chapter-item {
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
}

.chapter-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 170px 22px;
  align-items: center;
  gap: 14px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
}

.chapter-summary::-webkit-details-marker {
  display: none;
}

.chapter-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--jade);
}

.chapter-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html[lang^="zh"] .chapter-title {
  font-family: var(--font-body);
  font-size: 16px;
}

.chapter-weight {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
}

.chapter-weight .weight-bar {
  flex: 1;
  height: 5px;
}

.chapter-chevron {
  color: var(--muted-2);
  transition: transform 0.2s;
}

.chapter-item[open] .chapter-chevron {
  transform: rotate(180deg);
  color: var(--jade);
}

.chapter-body {
  padding: 0 4px 26px 56px;
}

.chapter-summary-text {
  font-size: 14px;
  color: var(--muted);
  max-width: 780px;
  margin-bottom: 18px;
}

.chapter-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
}

.chapter-cols h4 {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tick-list {
  display: grid;
  gap: 7px;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.tick-list .icon {
  color: var(--jade);
  margin-top: 2px;
  flex: 0 0 auto;
}

.trap-box {
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.trap-box h4 {
  color: var(--gold);
}

.trap-box h4 .icon {
  color: var(--gold);
}

.trap-box p {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.6;
}

.syllabus-foot {
  margin-top: 22px;
  font-size: 11px;
  color: var(--muted-2);
}

.syllabus-foot a {
  color: var(--jade);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Concepts + timeline */
.concepts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
}

.concept-list {
  display: grid;
  gap: 12px;
}

.concept-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.concept-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
}

.concept-card h3 {
  font-size: 15.5px;
  margin-bottom: 8px;
  padding-right: 30px;
}

.concept-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-bottom: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 0 0 22px 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline-day {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--jade);
  padding-top: 4px;
}

.timeline-item h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
  letter-spacing: 0;
}

.timeline-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* Sample */
.sample-section {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
}

.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sample-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.sample-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.sample-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.sample-cta > span {
  font-size: 11.5px;
  color: var(--muted-2);
}

/* Legacy page */
.legacy-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.legacy-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 3px solid var(--red);
  color: var(--red);
  border-radius: 12px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: rotate(-3deg);
  margin-bottom: 20px;
}

.legacy-stamp span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

.legacy-aside p {
  font-size: 12.5px;
  color: var(--muted);
}

.legacy-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.legacy-path {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.legacy-path-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--jade);
  font-weight: 700;
}

.legacy-path h3 {
  font-size: 15px;
  margin: 8px 0;
}

.legacy-path p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.callout {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  line-height: 1.65;
  margin-top: 8px;
}

.callout-info {
  background: var(--surface-2);
  color: var(--ink-2);
}

.callout-tip {
  background: var(--jade-soft);
  color: var(--jade-ink);
}

.callout-warning {
  background: var(--gold-soft);
  color: var(--ink-2);
}

.callout-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--jade) 14%, transparent);
  color: var(--jade);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
  margin-top: 1px;
}

.callout-warning .callout-icon {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  color: var(--gold);
}

.callout strong {
  display: block;
  margin-bottom: 2px;
}

.callout p {
  margin-top: 2px;
}

.callout a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.callout .icon {
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--jade);
}

/* ============================================================
   PRACTICE / QUIZ
   ============================================================ */

.practice-hero {
  background:
    radial-gradient(ellipse 45% 70% at 88% 0%, color-mix(in srgb, var(--gold-soft) 70%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 70% at 10% 100%, color-mix(in srgb, var(--jade-soft) 70%, transparent), transparent 70%),
    var(--bg);
}

.practice-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  align-items: center;
}

.practice-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.bank-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.bank-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.bank-card strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.bank-card > span:nth-of-type(2) {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.bank-card small {
  font-size: 10px;
  color: var(--muted-2);
  text-align: center;
  margin-top: 8px;
}

.quiz-section {
  padding: 32px 0 64px;
}

.quiz-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-height: 540px;
}

.quiz-app {
  min-height: 540px;
}

.quiz-loading {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  padding: 40px;
  text-align: center;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 2.5px solid var(--line);
  border-top-color: var(--jade);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.quiz-disclaimer {
  font-size: 10.5px;
  color: var(--muted-2);
  margin-top: 12px;
  text-align: center;
  line-height: 1.6;
}

.practice-guide-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.mode-cards {
  display: grid;
  gap: 12px;
}

.mode-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mode-card:hover {
  border-color: color-mix(in srgb, var(--jade) 35%, var(--line));
  box-shadow: var(--shadow-sm);
}

.mode-icon {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--jade-soft);
  color: var(--jade);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mode-card h3 {
  font-size: 15px;
  margin: 0;
  align-self: end;
}

.mode-card p {
  grid-column: 2;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.practice-facts {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.practice-facts h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.practice-facts .fact-table th {
  padding: 10px 12px;
  font-size: 11.5px;
}

.practice-facts .fact-table td {
  padding: 10px 12px;
  font-size: 12px;
}

.practice-facts .text-link {
  margin-top: 14px;
}

/* Quiz top */
.quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  flex-wrap: wrap;
}

.quiz-tabs {
  display: flex;
  gap: 2px;
  background: var(--surface-2);
  border-radius: 9px;
  padding: 3px;
}

.quiz-tab {
  padding: 7px 13px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.quiz-tab:hover {
  color: var(--ink);
}

.quiz-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.quiz-tab:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.quiz-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quiz-select {
  height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 11.5px;
  color: var(--ink-2);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) 14px, calc(100% - 9px) 14px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
  max-width: 190px;
}

.quiz-lang {
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.03em;
}

.quiz-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.quiz-timer.is-warning {
  background: var(--red);
}

.quiz-timer .icon {
  width: 14px;
  height: 14px;
}

/* Quiz body */
.quiz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px 0;
  font-size: 11px;
  color: var(--muted-2);
  flex-wrap: wrap;
}

.quiz-meta-left,
.quiz-meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quiz-meta .chip {
  font-size: 10px;
  padding: 3px 8px;
}

.quiz-progress {
  height: 4px;
  background: var(--surface-2);
  margin: 12px 22px 0;
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--jade), var(--jade-3));
  border-radius: inherit;
  transition: width 0.3s var(--ease);
}

.quiz-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 26px;
  padding: 22px;
}

.quiz-question {
  min-width: 0;
}

.quiz-stem {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  color: var(--ink);
}

html[lang^="zh"] .quiz-stem {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.65;
}

.quiz-options {
  display: grid;
  gap: 9px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-elev);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}

.quiz-option:hover:not(:disabled) {
  border-color: var(--jade-2);
  transform: translateX(2px);
}

.quiz-option.is-selected {
  border-color: var(--jade);
  background: var(--jade-soft);
}

.quiz-option.is-correct {
  border-color: var(--jade);
  background: var(--jade-soft);
}

.quiz-option.is-wrong {
  border-color: var(--red);
  background: var(--red-soft);
}

.quiz-option:disabled {
  cursor: default;
}

.quiz-option .opt-letter {
  width: 28px;
  height: 28px;
  font-size: 11px;
  border-radius: 7px;
}

.quiz-option .opt-indicator {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--jade);
  white-space: nowrap;
}

.quiz-option.is-wrong .opt-indicator {
  color: var(--red);
}

.quiz-feedback {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border-left: 3px solid var(--jade);
  background: var(--jade-soft);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

html[lang^="zh"] .quiz-feedback {
  font-size: 13px;
}

.quiz-feedback.is-wrong {
  border-left-color: var(--red);
  background: var(--red-soft);
}

.quiz-feedback strong {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jade);
  margin-bottom: 3px;
}

.quiz-feedback.is-wrong strong {
  color: var(--red);
}

.quiz-feedback p + p {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}

.quiz-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.quiz-actions .btn:first-child {
  margin-right: auto;
}

.quiz-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
}

.quiz-flag:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.quiz-flag.is-active {
  color: var(--gold);
}

.quiz-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-side-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: var(--bg-elev);
}

.quiz-side-card h4 {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
  font-weight: 700;
}

.quiz-score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quiz-score-grid div {
  display: flex;
  flex-direction: column;
}

.quiz-score-grid strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.quiz-score-grid span {
  font-size: 9.5px;
  color: var(--muted-2);
}

.quiz-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.palette-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.12s, background-color 0.12s;
}

.palette-btn:hover {
  border-color: var(--jade-2);
}

.palette-btn.is-current {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 0 0 1.5px var(--ink) inset;
}

.palette-btn.is-correct {
  background: var(--jade-soft);
  border-color: var(--jade);
  color: var(--jade-ink);
}

.palette-btn.is-wrong {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}

.palette-btn.is-answered {
  background: var(--surface-2);
  color: var(--ink-2);
}

.palette-btn.is-flagged {
  position: relative;
}

.palette-btn.is-flagged::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.quiz-legend {
  display: grid;
  gap: 4px;
  font-size: 9.5px;
  color: var(--muted-2);
}

.quiz-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.legend-dot.correct { background: var(--jade-soft); border-color: var(--jade); }
.legend-dot.wrong { background: var(--red-soft); border-color: var(--red); }
.legend-dot.answered { background: var(--surface-2); }

.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  flex-wrap: wrap;
}

.quiz-footer-note {
  font-size: 10.5px;
  color: var(--muted-2);
}

.quiz-empty {
  padding: 60px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.quiz-empty .icon {
  width: 34px;
  height: 34px;
  color: var(--muted-2);
}

.quiz-empty h3 {
  font-size: 17px;
}

.quiz-empty p {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 360px;
}

/* Results */
.quiz-result {
  padding: 26px;
}

.result-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--jade-soft);
  margin-bottom: 20px;
}

.result-hero.is-fail {
  background: var(--gold-soft);
}

.result-ring {
  --pct: 70;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(closest-side, var(--surface) 76%, transparent 77% 99%),
    conic-gradient(var(--jade) calc(var(--pct) * 1%), var(--surface-2) 0);
  position: relative;
}

.result-hero.is-fail .result-ring {
  background:
    radial-gradient(closest-side, var(--surface) 76%, transparent 77% 99%),
    conic-gradient(var(--gold) calc(var(--pct) * 1%), var(--surface-2) 0);
}

.result-ring span {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.result-copy span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
}

.result-hero.is-fail .result-copy span {
  color: var(--gold);
}

.result-copy h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin: 4px 0 4px;
}

.result-copy p {
  font-size: 12.5px;
  color: var(--muted);
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.result-stat {
  background: var(--surface);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}

.result-stat strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.result-stat span {
  font-size: 9.5px;
  color: var(--muted-2);
}

.result-chapters {
  margin-bottom: 22px;
}

.result-chapters h3,
.result-review h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

.result-chapter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.4fr 70px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.result-chapter-row:last-child {
  border-bottom: 0;
}

.result-chapter-row .bar-track {
  height: 6px;
}

.result-chapter-row .bar-track > span {
  background: linear-gradient(90deg, var(--jade), var(--jade-3));
}

.result-chapter-row.is-weak .bar-track > span {
  background: var(--gold);
}

.result-chapter-pct {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.result-unlock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  margin-top: 18px;
}

.result-unlock strong {
  font-size: 13px;
}

.result-unlock p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.result-review {
  margin-top: 26px;
}

.review-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: var(--bg-elev);
}

.review-item.is-correct {
  border-left: 3px solid var(--jade);
}

.review-item.is-wrong {
  border-left: 3px solid var(--red);
}

.review-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 10px;
  color: var(--muted-2);
  font-family: var(--font-mono);
}

.review-item p {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.review-item .review-answer {
  font-size: 11px;
  color: var(--jade);
  margin-top: 6px;
  font-weight: 600;
}

.review-item.is-wrong .review-answer {
  color: var(--red);
}

/* Practice hub / free test */
.hub-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 10px;
}

.hub-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hub-total strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--jade);
  font-variant-numeric: tabular-nums;
}

.hub-total span {
  font-size: 11px;
  color: var(--muted-2);
  text-align: center;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.practice-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}

.practice-card:hover {
  border-color: color-mix(in srgb, var(--jade) 40%, var(--line));
  transform: translateY(-2px);
}

.practice-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--jade);
  font-weight: 700;
}

.practice-card h3 {
  font-size: 15px;
  line-height: 1.4;
  min-height: 42px;
}

.practice-card > p {
  font-size: 11px;
  color: var(--muted-2);
}

.practice-card-stats {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 10.5px;
  color: var(--muted);
  padding: 8px 0 14px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.practice-card .btn {
  margin-top: auto;
}

.free-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.free-stack {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.free-stack::before,
.free-stack::after {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  z-index: -1;
  background: var(--surface-2);
}

.free-stack::after {
  inset: 20px -20px -20px 20px;
  z-index: -2;
  background: var(--surface-3);
}

.free-stack-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, var(--gold-soft), transparent 65%),
    var(--bg-elev);
}

.free-stack-card span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.free-stack-card strong {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin: 6px 0;
}

.free-stack-card em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.free-stack-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 12px;
  background: var(--jade-soft);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--jade-ink);
}

.free-paper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.free-paper-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.free-paper-card:hover {
  border-color: var(--jade);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.free-paper-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: color-mix(in srgb, var(--ink) 16%, transparent);
  flex: 0 0 auto;
}

.free-paper-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.free-paper-body strong {
  font-size: 14px;
  color: var(--ink);
}

.free-paper-body span {
  font-size: 11px;
  color: var(--muted-2);
}

.free-paper-go {
  color: var(--jade);
}

.two-col-prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}

.two-col-prose p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.ordered-list {
  counter-reset: ol;
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.ordered-list li {
  counter-increment: ol;
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.ordered-list li::before {
  content: counter(ol);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--jade);
  background: var(--jade-soft);
  border-radius: 5px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing-hero {
  background:
    radial-gradient(ellipse 45% 80% at 90% 0%, var(--gold-soft), transparent 70%),
    var(--bg);
}

.pricing-hero-copy {
  max-width: 760px;
}

.pricing-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

.pricing-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pricing-assurance .icon {
  color: var(--jade);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}

.plan-card.is-featured {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(53, 169, 130, 0.25), transparent 60%),
    linear-gradient(150deg, #0a2334, #0b3b32);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.plan-card.is-featured .plan-head h3,
.plan-card.is-featured .plan-price strong {
  color: #fff;
}

.plan-card.is-featured .plan-head p,
.plan-card.is-featured .plan-price span,
.plan-card.is-featured .plan-features li {
  color: rgba(255, 255, 255, 0.7);
}

.plan-card.is-featured .plan-features .icon {
  color: var(--jade-3);
}

.plan-card.is-featured .plan-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

.plan-ribbon {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1a1206;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-head {
  margin-bottom: 18px;
}

.plan-badge {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 10px;
}

.plan-head h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.plan-head p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 54px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
  margin-bottom: 4px;
}

.plan-card.is-featured .plan-price {
  border-color: rgba(255, 255, 255, 0.15);
}

.plan-price strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.plan-price span {
  font-size: 10.5px;
  color: var(--muted-2);
}

.plan-features {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

.plan-features .icon {
  color: var(--jade);
  margin-top: 2px;
  flex: 0 0 auto;
}

.single-select {
  display: grid;
  gap: 8px;
}

.single-select select {
  width: 100%;
  height: 40px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-elev);
  font-size: 11.5px;
  color: var(--ink-2);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.noscript-links {
  font-size: 10px;
  color: var(--muted-2);
}

.noscript-links a {
  color: var(--jade);
  margin-right: 4px;
}

.pricing-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 18px;
}

.team-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.team-strip h2 {
  font-size: 20px;
  margin: 8px 0 6px;
}

.team-strip p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.team-features {
  display: grid;
  gap: 6px;
}

.team-features li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}

.team-features .icon {
  color: var(--jade);
  margin-top: 2px;
}

.plan-table td:first-of-type {
  font-weight: 600;
  color: var(--ink);
}

.plan-table th,
.plan-table td {
  text-align: center;
}

.plan-table th:first-child,
.plan-table td:first-child {
  text-align: left;
}

.plan-table tbody th {
  text-align: left;
}

/* ============================================================
   GUIDES
   ============================================================ */

.guides-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}

.guides-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.guides-hero-stat strong {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--jade);
  line-height: 1.1;
}

.guides-hero-stat span {
  font-size: 10.5px;
  color: var(--muted-2);
}

.guides-hero-stat small {
  font-size: 9.5px;
  color: var(--muted-2);
  margin-top: 4px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.filter-chip {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
}

.filter-chip.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.featured-guide {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, var(--gold-soft), transparent 65%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 22px;
  overflow: hidden;
}

.featured-guide-copy .chip {
  margin-bottom: 12px;
}

.featured-guide-copy h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 10px;
}

.featured-guide-copy h2 a:hover {
  color: var(--jade);
}

.featured-guide-copy > p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 620px;
}

.featured-guide-art {
  position: relative;
  height: 190px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  gap: 8px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  padding: 20px;
  overflow: hidden;
}

.featured-guide-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 80% 20%, rgba(53, 169, 130, 0.3), transparent 65%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(217, 168, 74, 0.2), transparent 65%);
}

.fga-num {
  position: relative;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.9);
}

.fga-item {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--jade-3);
}

.fga-rule {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-2);
  letter-spacing: 0.08em;
}

.fga-line {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 30px;
  height: 2px;
  background: var(--gold-2);
}

/* Guide article */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0;
  background: var(--jade);
  z-index: 200;
  transition: width 0.1s linear;
}

.guide-header {
  padding: 28px 0 48px;
  background:
    radial-gradient(ellipse 50% 70% at 90% 0%, var(--jade-soft), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.guide-header-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: end;
}

.guide-header h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 16px;
  max-width: 18ch;
}

html[lang^="zh"] .guide-header h1 {
  line-height: 1.22;
  max-width: 22ch;
}

.guide-standfirst {
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  color: var(--muted);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 24px;
}

.guide-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.guide-byline strong {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
}

.byline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--jade-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}

.guide-key {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.guide-key > p {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.guide-key ul {
  display: grid;
  gap: 7px;
}

.guide-key li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

.guide-key .icon {
  color: var(--jade);
  margin-top: 2px;
  flex: 0 0 auto;
}

.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 56px;
  justify-content: center;
  padding: clamp(40px, 6vw, 64px) 0;
}

.guide-toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.toc-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.guide-toc ol {
  display: grid;
  gap: 8px;
  counter-reset: toc;
}

.guide-toc li {
  counter-increment: toc;
  font-size: 11.5px;
  line-height: 1.45;
}

.guide-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--muted-2);
  margin-right: 6px;
}

.guide-toc a {
  color: var(--muted);
}

.guide-toc a:hover {
  color: var(--jade);
}

.toc-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted-2);
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.guide-answer {
  background: var(--jade-soft);
  border-left: 3px solid var(--jade);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin-bottom: 36px;
}

.guide-answer-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
  display: block;
  margin-bottom: 6px;
}

.guide-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

.guide-section {
  margin-bottom: 40px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.guide-section h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  margin-bottom: 14px;
  padding-top: 8px;
}

.guide-section h3 {
  font-size: 1.05rem;
  margin: 24px 0 8px;
}

.guide-body p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 14px;
}

html[lang^="zh"] .guide-body p {
  font-size: 15px;
}

.guide-body strong {
  color: var(--ink);
  font-weight: 600;
}

.guide-body a {
  color: var(--jade);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--jade) 35%, transparent);
  text-underline-offset: 2px;
}

.guide-body a:hover {
  text-decoration-color: var(--jade);
}

.guide-body ul,
.guide-body ol {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding-left: 0;
}

.guide-body ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

.guide-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
}

.guide-body ol {
  counter-reset: goli;
}

.guide-body ol li {
  counter-increment: goli;
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

.guide-body ol li::before {
  content: counter(goli);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--jade-soft);
  color: var(--jade);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.guide-body table {
  font-size: 12.5px;
  margin: 8px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.guide-body th,
.guide-body td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.guide-body thead th {
  background: var(--surface-2);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.guide-body tbody tr:last-child th,
.guide-body tbody tr:last-child td {
  border-bottom: 0;
}

.guide-body .callout {
  margin: 18px 0;
}

.guide-body blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.guide-body .table-scroll {
  margin: 8px 0 18px;
}

.source-note {
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 10px;
}

.guide-sources ul {
  display: grid;
  gap: 8px;
}

.guide-sources li a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}

.guide-sources li a:hover {
  color: var(--jade);
}

.guide-cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.guide-cta-inline strong {
  font-size: 14px;
}

.guide-cta-inline p {
  font-size: 11.5px;
  color: var(--muted);
  margin: 2px 0 0;
}

.related-section {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
}

/* ============================================================
   FAQ HUB / ABOUT / METHOD / CONTACT / LEGAL / SEARCH
   ============================================================ */

.faq-hub-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 56px;
  justify-content: center;
}

.faq-hub-nav {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
  display: grid;
  gap: 4px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.faq-hub-nav a {
  font-size: 12px;
  color: var(--muted);
  padding: 5px 0;
}

.faq-hub-nav a:hover {
  color: var(--jade);
}

.faq-hub-nav .icon {
  display: inline;
  vertical-align: -2px;
}

.faq-group {
  margin-bottom: 40px;
}

.faq-group h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 16px;
}

.about-mark {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-inline: auto;
  color: #fff;
  overflow: hidden;
}

.about-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 70% 20%, rgba(53, 169, 130, 0.4), transparent 65%);
}

.about-mark-check {
  position: relative;
  color: var(--jade-3);
}

.about-mark-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
}

.about-mark-ring {
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-value {
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.about-value-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--jade);
}

.about-value h2 {
  font-size: 20px;
  line-height: 1.35;
  margin: 10px 0;
}

.about-value p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.principles-list {
  display: grid;
  gap: 14px;
}

.principles-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.principles-list strong {
  font-size: 13px;
  color: var(--ink);
}

.principles-list span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
}

.about-stats div {
  background: var(--surface);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.about-stats strong {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.about-stats span {
  font-size: 10.5px;
  color: var(--muted-2);
  text-align: center;
}

.methodology-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  justify-content: center;
}

.method-block {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.method-block:last-child {
  border-bottom: 0;
}

.method-block h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.method-block p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.method-note {
  font-size: 11.5px !important;
  color: var(--muted-2) !important;
}

.source-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.source-list a {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.source-list a:hover {
  color: var(--jade);
}

.source-list .icon {
  margin-top: 3px;
  flex: 0 0 auto;
}

.methodology-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
  justify-content: center;
}

.legal-hero .narrow-hero h1 {
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 11.5px;
  color: var(--muted-2);
}

.legal-block {
  margin-bottom: 32px;
}

.legal-block h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.legal-block p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal-block ul {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  padding-left: 0;
}

.legal-block ul li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-block ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--jade);
}

.legal-block a {
  color: var(--jade);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-contact {
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.legal-contact a {
  color: var(--jade);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  border-color: color-mix(in srgb, var(--jade) 40%, var(--line));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-card.is-primary {
  background:
    radial-gradient(ellipse 70% 70% at 100% 0%, rgba(53, 169, 130, 0.2), transparent 65%),
    var(--navy);
  color: #fff;
  border-color: transparent;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--jade-soft);
  color: var(--jade);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.contact-card.is-primary .contact-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--jade-3);
}

.contact-card h2 {
  font-size: 16px;
}

.contact-card.is-primary h2 {
  color: #fff;
}

.contact-card strong {
  font-size: 18px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.contact-card.is-primary strong {
  color: #fff;
}

.contact-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.contact-card.is-primary p {
  color: rgba(255, 255, 255, 0.6);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--jade);
  margin-top: 14px;
}

.contact-card.is-primary .contact-link {
  color: var(--jade-3);
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.contact-info h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.contact-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.contact-official {
  font-size: 11.5px !important;
  color: var(--muted-2) !important;
}

.contact-official a {
  color: var(--jade);
}

.status-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--jade);
  font-size: 10.5px;
  font-weight: 600;
}

/* Search */
.search-form-wrap {
  position: relative;
  max-width: 720px;
  margin-top: 26px;
}

.search-input {
  width: 100%;
  height: 56px;
  padding: 0 52px 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  font-size: 16px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.search-input::placeholder {
  color: var(--muted-2);
}

.search-input:focus {
  outline: 2px solid var(--jade);
  outline-offset: 1px;
  border-color: transparent;
}

.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  display: inline-flex;
}

.search-results {
  max-width: 720px;
  margin-top: 24px;
  display: grid;
  gap: 8px;
}

.search-results:empty {
  display: none;
}

.search-result {
  display: block;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s;
}

.search-result:hover {
  border-color: var(--jade);
}

.search-result-type {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jade);
}

.search-result h2,
.search-result h3 {
  font-size: 14.5px;
  margin: 2px 0;
}

.search-result p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

.search-result mark {
  background: var(--gold-soft);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

.search-empty {
  font-size: 13px;
  color: var(--muted);
  padding: 20px 0;
}

/* 404 */
.notfound-hero {
  min-height: 66vh;
  display: flex;
  align-items: center;
}

.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.9;
  color: color-mix(in srgb, var(--jade) 18%, transparent);
  margin-bottom: 10px;
}

.notfound-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.notfound-links a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
}

.notfound-links a:hover {
  border-color: var(--jade);
  color: var(--jade);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy h1 {
    max-width: 16ch;
  }
  .hero-visual {
    min-height: 420px;
  }
  .hero-card-wrap {
    max-width: 520px;
  }
  .float-chip-a {
    right: 4%;
  }
  .float-chip-b {
    left: 2%;
  }
  .float-chip-c {
    display: none;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .route-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .paper-hero-grid,
  .facts-grid,
  .practice-hero-grid,
  .free-hero-grid,
  .guide-header-grid,
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .paper-hero-copy h1 {
    max-width: 18ch;
  }
  .paper-hero-side {
    grid-template-columns: 1fr 1fr;
  }
  .facts-section .facts-grid {
    grid-template-columns: 1fr;
  }
  .facts-side {
    grid-template-columns: 1fr 1fr;
  }
  .facts-side .side-card-cta {
    grid-column: 1 / -1;
  }
  .concepts-grid {
    grid-template-columns: 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .faq-intro {
    position: static;
  }
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-card.is-featured {
    transform: none;
  }
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .guide-toc {
    position: static;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
    margin-bottom: 32px;
  }
  .guide-toc ol {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 20px;
  }
  .guide-key {
    max-width: 520px;
  }
  .guide-header-grid {
    align-items: start;
  }
  .team-strip {
    grid-template-columns: 1fr 1fr;
  }
  .team-strip > .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .methodology-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .methodology-side,
  .legal-side {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
  .about-values {
    grid-template-columns: 1fr 1fr;
  }
  .about-values .about-value:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  :root {
    --gutter: 18px;
    --header-h: 66px;
  }
  .announce {
    font-size: 10.5px;
  }
  .announce-inner {
    min-height: 34px;
    gap: 6px;
    padding: 4px 0;
  }
  .announce-link {
    display: none;
  }
  .announce-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    text-align: left;
    gap: 8px;
    padding: 6px 0;
  }
  .announce-dot {
    margin-top: 5px;
  }
  .header-inner {
    gap: 10px;
  }
  .brand-word {
    font-size: 18px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .desktop-only {
    display: none !important;
  }
  .header-cta {
    display: none;
  }
  .lang-switch {
    height: 32px;
    min-width: 34px;
  }
  .hero {
    padding-top: 42px;
  }
  .hero-copy h1 {
    font-size: clamp(2.35rem, 10vw, 3.3rem);
    max-width: none;
  }
  .hero-checks {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .hero-actions .btn {
    flex: 1;
    min-width: 160px;
  }
  .hero-visual {
    min-height: auto;
    padding: 8px 0;
  }
  .hero-card-wrap {
    max-width: 100%;
  }
  .hero-orbit {
    display: none;
  }
  .float-chip {
    display: none;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item {
    padding: 20px 16px;
  }
  .stat-item:first-child {
    padding-left: 16px;
  }
  .stat-item:nth-child(odd) {
    border-left: 0;
  }
  .stat-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .paper-grid {
    grid-template-columns: 1fr;
  }
  .paper-card {
    padding: 22px;
  }
  .paper-num {
    font-size: 42px;
  }
  .papers-table-block {
    padding: 20px;
  }
  .route-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .split-head {
    display: block;
  }
  .split-head > .text-link {
    display: inline-flex;
    margin-top: 14px;
  }
  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-visual {
    order: -1;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-actions {
    width: 100%;
  }
  .price-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .price-panel-cards {
    grid-template-columns: 1fr;
  }
  .price-panel-cards .mini-price-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
  }
  .mini-price-card strong {
    font-size: 20px;
  }
  .mini-price-card > span:last-child {
    text-align: right;
    max-width: 110px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }
  .footer-legal {
    padding-bottom: 80px;
  }
  .footer-legal-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-watermark {
    font-size: 90px;
    bottom: -14px;
  }
  .page-hero {
    padding-top: 20px;
  }
  .page-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }
  .paper-hero-side {
    grid-template-columns: 1fr;
  }
  .chapter-summary {
    grid-template-columns: 30px minmax(0, 1fr) 22px;
    gap: 8px;
  }
  .chapter-weight {
    display: none;
  }
  .chapter-body {
    padding-left: 38px;
  }
  .chapter-cols {
    grid-template-columns: 1fr;
  }
  .sample-grid {
    grid-template-columns: 1fr;
  }
  .legacy-paths {
    grid-template-columns: 1fr;
  }
  .free-hero-grid {
    grid-template-columns: 1fr;
  }
  .free-stack {
    order: -1;
    max-width: 360px;
  }
  .free-paper-grid {
    grid-template-columns: 1fr;
  }
  .hub-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hub-total {
    flex-direction: row;
    gap: 10px;
    padding: 16px 20px;
    justify-self: start;
  }
  .hub-total strong {
    font-size: 30px;
  }
  .practice-hero-grid {
    gap: 24px;
  }
  .practice-guide-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .practice-facts {
    position: static;
  }
  .mode-card {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 15px;
  }
  .mode-icon {
    width: 40px;
    height: 40px;
  }
  .quiz-topbar {
    align-items: flex-start;
    gap: 10px;
  }
  .quiz-tabs {
    width: 100%;
    overflow-x: auto;
  }
  .quiz-tab {
    flex: 1;
    text-align: center;
  }
  .quiz-tools {
    width: 100%;
  }
  .quiz-select {
    flex: 1;
    max-width: none;
  }
  .quiz-body {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .quiz-side {
    display: none;
  }
  .quiz-meta {
    padding: 14px 18px 0;
  }
  .quiz-progress {
    margin: 10px 18px 0;
  }
  .quiz-stem {
    font-size: 16.5px;
  }
  .quiz-actions {
    gap: 6px;
  }
  .quiz-actions .btn {
    flex: 1;
  }
  .quiz-actions .btn:first-child {
    flex: 0 0 auto;
  }
  .result-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .result-stats {
    grid-template-columns: 1fr 1fr;
  }
  .quiz-result {
    padding: 18px;
  }
  .quiz-footer {
    padding: 12px 18px;
  }
  .practice-grid {
    grid-template-columns: 1fr;
  }
  .practice-card h3 {
    min-height: 0;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .plan-card.is-featured {
    order: -1;
  }
  .plan-head p {
    min-height: 0;
  }
  .team-strip {
    grid-template-columns: 1fr;
  }
  .team-strip > .btn {
    grid-column: auto;
    justify-self: stretch;
  }
  .featured-guide {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .featured-guide-art {
    display: none;
  }
  .guides-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .guides-hero-stat {
    flex-direction: row;
    gap: 8px;
    align-items: baseline;
    justify-self: start;
    padding: 12px 18px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-layout {
    padding-top: 32px;
  }
  .guide-toc ol {
    grid-template-columns: 1fr;
  }
  .guide-header {
    padding-top: 20px;
  }
  .guide-header h1 {
    max-width: none;
  }
  .guide-key {
    max-width: none;
  }
  .guide-section {
    margin-bottom: 32px;
  }
  .guide-body p {
    font-size: 14px;
  }
  .guide-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .faq-hub-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-hub-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-left: 0;
    padding-left: 0;
  }
  .faq-hub-nav a {
    padding: 5px 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10.5px;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
  .about-values .about-value:last-child {
    grid-column: auto;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .about-stats div {
    padding: 16px;
  }
  .methodology-side,
  .legal-side {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .two-col-prose {
    grid-template-columns: 1fr;
  }
  .compare-wrap {
    padding: 0;
  }
  .plan-table {
    min-width: 680px;
  }
  .legal-layout {
    gap: 32px;
  }
  .whatsapp-fab {
    display: none;
  }
  .quiz-disclaimer {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .paper-stats {
    gap: 12px;
  }
  .paper-stats li {
    font-size: 11px;
  }
  .guide-grid,
  .paper-grid,
  .route-grid {
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
  }
  .quiz-tab {
    font-size: 11px;
    padding: 7px 8px;
  }
  .result-actions .btn {
    width: 100%;
  }
}

/* ---------- Print ---------- */
@media print {
  .announce,
  .site-header,
  .whatsapp-fab,
  .cta-band,
  .site-footer,
  .reading-progress,
  .quiz-tools,
  .quiz-side,
  .guide-toc {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .guide-layout {
    display: block;
    padding: 0;
  }
  .guide-header {
    background: none;
    border: 0;
  }
  a {
    text-decoration: underline;
  }
}

/* ---------- Additions ---------- */
.menu-close-icon {
  display: none;
}

.mobile-menu-btn[aria-expanded="true"] .menu-open-icon {
  display: none;
}

.mobile-menu-btn[aria-expanded="true"] .menu-close-icon {
  display: inline-flex;
}

.demo-explanation {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border-left: 3px solid var(--gold);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-2);
}

.demo-explanation strong {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.demo-explanation p {
  margin: 0;
}

.quiz-intro-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--jade-soft);
  color: var(--jade);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.quiz-intro-icon .icon {
  width: 26px;
  height: 26px;
}

.quiz-mock-intro {
  padding: 46px 30px;
}

.quiz-mock-intro p {
  max-width: 560px;
}

.mock-intro-stats {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin: 18px 0;
}

.mock-intro-stats > div {
  background: var(--surface);
  padding: 12px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 96px;
}

.mock-intro-stats strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}

.mock-intro-stats span {
  font-size: 9.5px;
  color: var(--muted-2);
}

.mock-intro-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.mock-intro-note {
  font-size: 10.5px !important;
  color: var(--muted-2) !important;
  margin-top: 16px !important;
  text-align: center;
  max-width: 520px;
}

.quiz-confirm {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.quiz-confirm p {
  font-size: 12px;
  color: var(--ink-2);
  margin: 0;
}

.quiz-confirm strong {
  display: block;
  margin-bottom: 2px;
}

.quiz-confirm-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.quiz-confirm .btn-light {
  box-shadow: none;
}

.review-all summary {
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--jade);
  padding: 8px 0 12px;
  list-style: none;
}

.review-all summary::-webkit-details-marker {
  display: none;
}

.review-all summary::before {
  content: "＋";
  margin-right: 6px;
  font-family: var(--font-mono);
}

.review-all[open] summary::before {
  content: "－";
}

.search-count {
  font-size: 11px;
  color: var(--muted-2);
  margin-bottom: 2px;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 780px) {
  .quiz-mock-intro {
    padding: 34px 18px;
  }
  .mock-intro-stats {
    width: 100%;
  }
  .mock-intro-stats > div {
    flex: 1;
    padding: 10px 8px;
    min-width: 0;
  }
  .mock-intro-actions {
    width: 100%;
  }
  .mock-intro-actions .btn {
    flex: 1;
    min-width: 150px;
  }
  .demo-explanation {
    font-size: 11.5px;
  }
  .quiz-confirm {
    flex-direction: column;
    align-items: flex-start;
  }
}
