:root {
  --ink: #172b3d;
  --muted: #657280;
  --paper: #fffdfa;
  --soft: #f6f2ec;
  --line: #dce3e6;
  --red: #f45b66;
  --red-dark: #d43f4d;
  --teal: #067e78;
  --teal-soft: #e7f5f3;
  --navy: #173b57;
  --gold: #f1ba55;
  --shadow: 0 18px 50px rgba(24, 46, 62, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 4%, rgba(244, 91, 102, .08), transparent 23rem),
    linear-gradient(180deg, #fff 0, var(--paper) 42%, #f7faf9 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

a { color: var(--teal); text-underline-offset: 3px; }
button, summary, input { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(23, 59, 87, .09);
  background: rgba(255, 253, 250, .9);
  backdrop-filter: blur(16px);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.01em; }
.brand img { width: 42px; height: 49px; object-fit: contain; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.mini-language { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.mini-language button { border: 0; border-radius: 999px; padding: 7px 13px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 750; }
.mini-language button.is-active { color: #fff; background: var(--red); box-shadow: 0 5px 14px rgba(244, 91, 102, .22); }
.outline-button { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 700; }
.outline-button:hover { border-color: var(--teal); color: var(--teal); }

.hero {
  min-height: 700px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 72px 24px 58px;
}
.hero::before {
  content: "";
  position: absolute;
  width: min(850px, 90vw);
  aspect-ratio: 1;
  border: 1px solid rgba(23, 59, 87, .08);
  border-radius: 50%;
  top: -320px;
  right: -210px;
}
.hero-content { width: min(1080px, 100%); position: relative; z-index: 2; text-align: center; }
.eyebrow { color: var(--red-dark); font-size: 13px; font-weight: 900; letter-spacing: .18em; }
.hero h1 { margin: 16px 0 8px; font-size: clamp(42px, 7vw, 86px); line-height: 1.04; letter-spacing: -.055em; color: var(--navy); }
.hero-lead { margin: 0 auto 34px; color: var(--teal); font-size: clamp(18px, 2.2vw, 28px); font-weight: 650; }

.language-gateway {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  align-items: center;
  gap: 36px;
  text-align: left;
  border-radius: 30px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 26px 80px rgba(23, 59, 87, .24);
}
.gateway-kicker { display: block; color: #8bd4ce; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.language-gateway h2 { margin: 8px 0 0; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.25; }
.language-gateway h2 span { color: #9db0bd; font-size: .68em; font-weight: 500; }
.language-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.language-card { min-height: 142px; padding: 22px; border: 2px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; text-align: left; transition: .2s ease; }
.language-card strong { display: block; font-size: 28px; margin-bottom: 12px; }
.language-card span { color: #b6c3cb; }
.language-card:hover, .language-card.is-active { transform: translateY(-4px); border-color: #fff; background: var(--red); box-shadow: 0 14px 30px rgba(244,91,102,.25); }
.language-card.is-active span { color: #fff1f2; }
.hero-meta { margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-meta span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--muted); font-size: 13px; }
.hero-art .orbit { position: absolute; z-index: 1; padding: 10px 16px; border-radius: 999px; font-weight: 800; box-shadow: var(--shadow); }
.orbit-one { top: 21%; left: 6%; background: #fff; color: var(--red); transform: rotate(-8deg); }
.orbit-two { top: 29%; right: 5%; background: var(--teal-soft); color: var(--teal); transform: rotate(7deg); }
.orbit-three { bottom: 18%; left: 8%; background: #fff4da; color: #9a6500; transform: rotate(5deg); }

.quick-strip { width: min(1180px, calc(100% - 32px)); margin: 0 auto 44px; padding: 12px; display: flex; gap: 8px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(23,59,87,.06); }
.quick-strip a { flex: 1 0 max-content; padding: 11px 16px; border-radius: 12px; color: var(--navy); text-align: center; text-decoration: none; font-weight: 800; }
.quick-strip a:hover { color: var(--teal); background: var(--teal-soft); }

.page-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 30px; align-items: start; }
.sidebar { position: sticky; top: 98px; display: grid; gap: 14px; }
.sidebar-card, .contact-card { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(23,59,87,.05); }
.sidebar-card { padding: 18px; }
.sidebar-title { margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
#sideNav { display: grid; }
#sideNav a { padding: 8px 10px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
#sideNav a:hover { color: var(--teal); background: var(--teal-soft); }
.contact-card { padding: 18px; background: var(--navy); color: #fff; }
.contact-card span { display: block; margin-bottom: 4px; color: #a9c0cf; font-size: 13px; }
.contact-card a { color: #fff; font-size: 13px; overflow-wrap: anywhere; }

.guide-language { display: none; }
.guide-language.is-visible { display: block; animation: appear .25s ease; }
@keyframes appear { from { opacity: .25; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.guide-section { margin-bottom: 18px; overflow: clip; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(23,59,87,.05); }
.guide-section[open] { box-shadow: var(--shadow); }
.guide-section summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px 25px; color: var(--navy); cursor: pointer; font-size: clamp(20px, 2.2vw, 28px); font-weight: 850; letter-spacing: -.025em; }
.guide-section summary::-webkit-details-marker { display: none; }
.guide-section summary::after { content: "+"; margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: var(--teal-soft); font-size: 22px; transition: .2s ease; }
.guide-section[open] summary::after { transform: rotate(45deg); }
.section-number { color: var(--red); font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.section-body { padding: 4px 25px 30px; }
.section-body h3 { margin: 26px 0 10px; color: var(--teal); font-size: 19px; }
.section-body p { margin: 9px 0; }
.section-body li { margin: 6px 0; }
.feature-section { border-color: rgba(244,91,102,.32); }
.feature-section summary { background: linear-gradient(90deg, rgba(244,91,102,.07), transparent); }

.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.highlight-card { padding: 21px; border-radius: 18px; background: var(--soft); }
.highlight-card > span { color: var(--red); font: 900 12px/1 ui-monospace, monospace; }
.highlight-card h3 { margin: 10px 0 6px; color: var(--navy); }
.highlight-card p { color: var(--muted); font-size: 14px; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comparison > div { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.comparison b { color: var(--navy); font-size: 17px; }
.comparison code { display: block; padding: 10px; border-radius: 8px; background: var(--soft); white-space: normal; font-size: 12px; }
.step-list { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 9px; }
.step-list li { counter-increment: step; position: relative; padding: 13px 16px 13px 50px; border-radius: 12px; background: var(--soft); }
.step-list li::before { content: counter(step); position: absolute; left: 15px; top: 12px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-weight: 900; }
.money-banner, .full-note { margin-top: 20px; padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: #fff5dc; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span { padding: 8px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 14px; }
blockquote { margin: 16px 0; padding: 17px 20px; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; background: var(--teal-soft); color: #0c6662; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 22px; }
.flow span { padding: 9px 12px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 750; font-size: 13px; }
.flow i { color: var(--red); font-style: normal; font-weight: 900; }
.warning { margin: 18px 0; padding: 16px 18px; border-radius: 12px; color: #7e3d18; background: #fff1e8; }

.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.pillar { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(140deg, #fff 55%, #f1f8f7); }
.pillar b { color: var(--navy); font-size: 17px; }
.pillar p { color: var(--muted); font-size: 14px; }
.pillar em { color: var(--teal); font-size: 13px; }
.pillar-grid .full-note { grid-column: 1 / -1; }

table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 12px 0 18px; font-size: 14px; }
th, td { padding: 12px 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th:first-child, td:first-child { border-left: 1px solid var(--line); }
thead th { color: #fff; background: var(--navy); border-color: rgba(255,255,255,.15); }
thead th:first-child { border-radius: 12px 0 0 0; }
thead th:last-child { border-radius: 0 12px 0 0; }
tbody tr:nth-child(even) td { background: #f8faf9; }
.quote-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-list blockquote { margin: 0; }
.small-note { color: var(--muted); font-size: 13px; }

.level-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.level-track > div { min-height: 122px; padding: 15px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 14px; background: var(--soft); }
.level-track b { color: var(--navy); }
.level-track span { color: var(--muted); font-size: 12px; }
.template-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.template { padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.template > span { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.template h3 { margin-top: 8px; color: var(--navy); }
.template p { font-size: 14px; }
.template-note { margin-top: 18px !important; padding: 14px 18px; border-radius: 12px; background: var(--soft); color: var(--navy); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checklist label { padding: 13px 15px; display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; background: var(--soft); cursor: pointer; }
.checklist input { width: 18px; height: 18px; accent-color: var(--teal); flex: none; }

.official-links { margin: 24px 0 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.official-links > div { padding: 16px; border-radius: 14px; background: var(--navy); color: #fff; }
.official-links span { display: block; margin-bottom: 4px; color: #9fb4c2; font-size: 12px; }
.official-links a { color: #fff; font-size: 13px; overflow-wrap: anywhere; }

footer { padding: 60px 24px 70px; text-align: center; background: var(--navy); color: #fff; }
footer img { width: 58px; height: 68px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,.2)); }
footer p { max-width: 720px; margin: 18px auto 0; color: #c8d5dd; }

@media (max-width: 900px) {
  .language-gateway { grid-template-columns: 1fr; text-align: center; }
  .page-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sidebar-card { display: none; }
  .contact-card { text-align: center; }
  .level-track { grid-template-columns: 1fr 1fr; }
  .official-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar { height: auto; min-height: 66px; padding: 8px 14px; }
  .brand span, .outline-button { display: none; }
  .brand img { width: 36px; height: 42px; }
  .hero { min-height: auto; padding: 54px 16px 40px; }
  .hero-art { display: none; }
  .hero h1 { font-size: 44px; }
  .language-gateway { padding: 24px 18px; border-radius: 22px; }
  .language-buttons { grid-template-columns: 1fr; }
  .language-card { min-height: 104px; text-align: center; }
  .hero-meta { display: none; }
  .quick-strip { margin-bottom: 24px; }
  .page-shell { width: min(100% - 20px, 1180px); }
  .guide-section summary { padding: 18px; font-size: 20px; }
  .section-body { padding: 0 17px 23px; }
  .highlight-grid, .comparison, .pillar-grid, .quote-list, .template-grid, .checklist, .official-links { grid-template-columns: 1fr; }
  .pillar-grid .full-note { grid-column: auto; }
  .table-scroll { overflow-x: auto; }
  .table-scroll table { min-width: 690px; }
  .level-track { grid-template-columns: 1fr; }
  footer { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 2026 UI refresh — aligned with the latest Chinesia Vue 3 presentation system. */
:root {
  --ink: #171a2d;
  --muted: #697084;
  --paper: #fffefd;
  --canvas: #f7f6f4;
  --soft: #f3f2f0;
  --line: #e7e4e8;
  --red: #f05e5b;
  --red-dark: #d84a48;
  --red-soft: #fff0ed;
  --teal: #198a83;
  --teal-soft: #e9f7f4;
  --navy: #15192c;
  --purple: #6657d9;
  --gold: #f1ba55;
  --shadow: 0 24px 70px rgba(34, 32, 61, .09);
  --shadow-soft: 0 12px 34px rgba(34, 32, 61, .06);
  --radius: 28px;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 2%, rgba(240, 94, 91, .10), transparent 30rem),
    radial-gradient(circle at 95% 12%, rgba(102, 87, 217, .08), transparent 28rem),
    var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 3px;
  background: rgba(255,255,255,.3);
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #fa58ae, var(--purple));
  transition: width .1s linear;
}

.topbar {
  min-height: 74px;
  height: auto;
  border-color: rgba(231,228,232,.82);
  background: rgba(255,254,253,.86);
  backdrop-filter: blur(22px);
}
.brand img { width: 46px; height: 52px; }
.brand span { font-size: 13px; letter-spacing: .02em; }
.mini-language { border-color: var(--line); box-shadow: 0 6px 18px rgba(34,32,61,.04); }
.mini-language button { min-width: 76px; }
.mini-language button.is-active { background: var(--navy); box-shadow: 0 8px 22px rgba(21,25,44,.18); }
.contact-pill,
.outline-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.contact-pill { color: #fff; background: var(--red); box-shadow: 0 9px 24px rgba(240,94,91,.2); }
.contact-pill:hover { color: #fff; background: var(--red-dark); transform: translateY(-1px); }
.outline-button { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.82); }

.hero {
  min-height: 690px;
  padding: 84px 24px 62px;
  background:
    radial-gradient(circle at 10% 20%, rgba(240,94,91,.10), transparent 24rem),
    radial-gradient(circle at 90% 20%, rgba(102,87,217,.10), transparent 28rem),
    linear-gradient(180deg, #fffefd 0%, rgba(247,246,244,.2) 100%);
}
.hero::before {
  width: 620px;
  top: -330px;
  right: -180px;
  border-width: 74px;
  border-color: rgba(102,87,217,.035);
}
.hero-content { width: min(1120px, 100%); }
.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(240,94,91,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  font-size: 11px;
  letter-spacing: .13em;
}
.hero h1 { margin-top: 20px; max-width: 1000px; margin-inline: auto; color: var(--ink); font-size: clamp(48px, 6.7vw, 82px); }
.hero-lead { margin-top: 18px; margin-bottom: 38px; color: var(--muted); font-weight: 600; }
.language-gateway {
  position: relative;
  overflow: hidden;
  width: min(930px, 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 12%, rgba(102,87,217,.55), transparent 22rem),
    linear-gradient(145deg, #171a2d, #252b4b 66%, #1b3940);
  box-shadow: 0 32px 90px rgba(21,25,44,.24);
}
.language-gateway::after {
  content: "中文";
  position: absolute;
  right: -12px;
  bottom: -55px;
  color: rgba(255,255,255,.035);
  font-size: 150px;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}
.language-gateway > * { position: relative; z-index: 1; }
.gateway-kicker { color: #b9b2ff; }
.language-card {
  min-height: 150px;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(12px);
}
.language-card:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.10); }
.language-card.is-active { border-color: rgba(255,255,255,.85); background: linear-gradient(145deg, var(--red), #e24f70); }
.hero-meta { margin-top: 32px; }
.hero-meta span { padding: 9px 14px; color: #606779; border-color: var(--line); background: rgba(255,255,255,.76); box-shadow: 0 8px 24px rgba(34,32,61,.035); }

.quick-strip {
  position: sticky;
  z-index: 40;
  top: 86px;
  width: min(1180px, calc(100% - 40px));
  margin-bottom: 34px;
  border-color: rgba(231,228,232,.9);
  border-radius: 22px;
  background: rgba(255,254,253,.88);
  box-shadow: 0 16px 45px rgba(34,32,61,.08);
  backdrop-filter: blur(20px);
}
.quick-strip a { color: #555c70; font-size: 13px; }
.quick-strip a:hover { color: var(--red-dark); background: var(--red-soft); }

.page-shell { grid-template-columns: 270px minmax(0, 1fr); gap: 26px; }
.sidebar { top: 164px; }
.sidebar-card,
.contact-card { border-color: var(--line); border-radius: 24px; box-shadow: var(--shadow-soft); }
.sidebar-card { padding: 15px; }
.sidebar-title { padding: 4px 7px 11px; color: #858a98; }
#sideNav { gap: 3px; }
#sideNav a {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  color: #707688;
  font-size: 13px;
  line-height: 1.35;
}
#sideNav a span { color: #aaaeb9; font: 850 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
#sideNav a b { min-width: 0; font-weight: 700; }
#sideNav a:hover,
#sideNav a.is-active { color: var(--ink); background: var(--red-soft); }
#sideNav a.is-active span { color: var(--red); }
.contact-card {
  padding: 21px;
  background:
    radial-gradient(circle at 100% 0, rgba(102,87,217,.5), transparent 11rem),
    linear-gradient(145deg, #171a2d, #232946);
}
.contact-card b { display: block; margin: 10px 0 2px; color: #b9b2ff; font-size: 9px; letter-spacing: .16em; }
.contact-card a { display: block; font-size: 16px; font-weight: 850; text-decoration: none; }
.contact-method { padding: 2px 0 10px; border-bottom: 1px solid rgba(255,255,255,.09); }
.contact-method:last-of-type { border-bottom: 0; }
.contact-card .contact-value { display: block; margin: 0; color: #fff; font-size: 16px; font-weight: 850; }
.copy-contact {
  width: 100%;
  margin-top: 15px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.copy-contact:hover { background: rgba(255,255,255,.14); }

.guide-section {
  margin-bottom: 16px;
  border-color: var(--line);
  border-radius: var(--radius);
  background: rgba(255,254,253,.94);
  box-shadow: 0 10px 30px rgba(34,32,61,.045);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.guide-section:hover { border-color: #dcd7df; }
.guide-section[open] { border-color: rgba(102,87,217,.16); box-shadow: var(--shadow); }
.guide-section summary { padding: 23px 27px; color: var(--ink); font-size: clamp(20px, 2vw, 26px); }
.guide-section summary::after {
  content: "";
  flex: 0 0 30px;
  align-self: center;
  color: transparent;
  background:
    linear-gradient(var(--purple), var(--purple)) center / 14px 3px no-repeat,
    linear-gradient(var(--purple), var(--purple)) center / 3px 14px no-repeat,
    #efedff;
}
.section-number {
  min-width: 38px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--red);
  background: var(--red-soft);
}
.section-body { padding: 2px 27px 32px; }
.section-body h3 { color: var(--ink); }
.feature-section { border-color: rgba(240,94,91,.28); }
.feature-section summary { background: linear-gradient(90deg, rgba(240,94,91,.065), transparent 68%); }

.highlight-card,
.comparison > div,
.pillar,
.template,
.checklist label,
.level-track > div { border: 1px solid var(--line); background: #f9f8f6; }
.highlight-card { min-height: 174px; }
.highlight-card:nth-child(1) { background: linear-gradient(145deg,#fff,#fff2ef); }
.highlight-card:nth-child(2) { background: linear-gradient(145deg,#fff,#efedff); }
.highlight-card:nth-child(3) { background: linear-gradient(145deg,#fff,#eef9f6); }
.comparison > div,
.pillar,
.template { box-shadow: 0 8px 24px rgba(34,32,61,.035); }
.step-list li { border: 1px solid var(--line); background: #f9f8f6; }
.step-list li::before { background: var(--navy); }
.money-banner,
.full-note { border-left-color: var(--red); background: #fff4ed; }
blockquote { border-left-color: var(--purple); color: #574b9c; background: #f1efff; }
.warning { border: 1px solid #f4ddcf; }
.flow span { background: var(--navy); box-shadow: 0 8px 18px rgba(21,25,44,.10); }

table { overflow: hidden; border-radius: 14px; }
thead th { background: var(--navy); }
tbody tr:nth-child(even) td { background: #faf9f7; }
.official-links { grid-template-columns: repeat(5, 1fr); }
.official-links > div {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(145deg,#171a2d,#252b4b);
  box-shadow: 0 12px 30px rgba(21,25,44,.12);
}
.official-links .official-contact { background: linear-gradient(145deg,var(--red),#e45172); }
.official-links .official-contact small { display: block; margin-top: 3px; color: rgba(255,255,255,.78); font-size: 12px; }

footer {
  background:
    radial-gradient(circle at 85% 10%, rgba(102,87,217,.34), transparent 22rem),
    linear-gradient(145deg,#171a2d,#222846);
}

@media (max-width: 1020px) {
  .page-shell { grid-template-columns: 230px minmax(0,1fr); gap: 18px; }
  .official-links { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 900px) {
  .quick-strip { top: 80px; }
  .page-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 0; }
  .sidebar-card { display: block; padding: 11px; }
  .sidebar-title { display: none; }
  #sideNav { display: flex; overflow-x: auto; scrollbar-width: thin; }
  #sideNav a { flex: 0 0 auto; grid-template-columns: auto auto; min-height: 44px; white-space: nowrap; }
  .contact-card { text-align: left; }
  .content-column { min-width: 0; }
}

@media (max-width: 720px) {
  .topbar { min-height: 68px; padding-inline: 13px; }
  .top-actions { gap: 7px; }
  .mini-language button { min-width: 62px; padding-inline: 10px; }
  .contact-pill { display: none; }
  .hero { padding: 52px 15px 38px; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); line-height: 1.06; }
  .hero-lead { font-size: 16px; }
  .language-gateway { padding: 24px 18px; border-radius: 28px; }
  .language-gateway h2 { font-size: 30px; }
  .language-card { min-height: 110px; }
  .quick-strip { top: 76px; width: calc(100% - 20px); border-radius: 17px; }
  .page-shell { width: calc(100% - 20px); }
  .sidebar-card { border-radius: 17px; }
  .guide-section { border-radius: 22px; }
  .guide-section summary { padding: 19px 17px; }
  .section-body { padding: 0 17px 24px; }
  .highlight-card { min-height: 0; }
  .official-links { grid-template-columns: 1fr 1fr; }
  .official-links .official-contact { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
  .brand img { width: 34px; height: 40px; }
  .mini-language button { min-width: 56px; font-size: 12px; }
  .hero h1 { font-size: 40px; }
  .official-links { grid-template-columns: 1fr; }
  .official-links .official-contact { grid-column: auto; }
}
