:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #e6edf3;
  --surface: #ffffff;
  --canvas: #f6fbff;
  --blue: #12a8f5;
  --blue-deep: #087cc9;
  --mint: #3dd6a3;
  --pink: #f36fa5;
  --orange: #f5a84d;
  --shadow: 0 24px 70px rgba(29, 78, 216, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfdff 0%, var(--canvas) 52%, #ffffff 100%);
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(24px, 6vw, 76px);
  background: rgba(251, 253, 255, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(230, 237, 243, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 12px 30px rgba(18, 168, 245, 0.28);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
  padding: 38px clamp(24px, 6vw, 86px) 72px;
  overflow: hidden;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(230, 237, 243, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.06);
}

.app-badge img {
  width: 52px;
  height: 52px;
  border-radius: 15px;
}

.app-badge strong,
.app-badge span {
  display: block;
}

.app-badge strong {
  font-size: 16px;
  font-weight: 900;
}

.app-badge span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 { margin: 0 0 12px; font-size: 30px; letter-spacing: 0; }
h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: 0; }

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
  font-weight: 650;
}

.lead.small { font-size: 18px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
}

.button.primary { color: white; background: var(--blue); box-shadow: 0 16px 38px rgba(18, 168, 245, 0.28); }
.button.secondary { color: var(--blue-deep); background: #eaf7ff; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  padding: 9px 13px;
  border-radius: 999px;
  color: #156082;
  background: #e9f8ff;
  font-size: 13px;
  font-weight: 900;
}

.hero-device {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-device::before {
  content: "";
  position: absolute;
  inset: 8% -18% 10%;
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(18, 168, 245, 0.16), rgba(61, 214, 163, 0.12));
  filter: blur(8px);
}

.hero-device img,
.screen-card img {
  display: block;
  width: 100%;
  border-radius: 30px;
  background: #f7fbff;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.13);
}

.hero-device img {
  position: relative;
  width: 100%;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(24px, 6vw, 86px) 76px;
}

.metric-strip div {
  padding: 26px;
  border: 1px solid rgba(230, 237, 243, 0.9);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(16, 24, 40, 0.05);
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  color: var(--blue-deep);
  font-size: 36px;
  font-weight: 950;
}

.metric-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 44px clamp(24px, 6vw, 86px) 76px;
}

.features article,
.privacy-callout,
.doc section {
  background: var(--surface);
  border: 1px solid rgba(230, 237, 243, 0.9);
  border-radius: 28px;
  box-shadow: 0 18px 54px rgba(16, 24, 40, 0.05);
}

.features article {
  padding: 24px;
}

.features p,
.privacy-callout p,
.doc p,
.doc li {
  color: var(--muted);
  line-height: 1.72;
  font-weight: 600;
}

.doc ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 12px;
  color: var(--blue-deep);
  background: #e8f7ff;
  font-weight: 900;
}

.privacy-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(24px, 6vw, 86px) 76px;
  padding: 32px;
}

.privacy-callout p { max-width: 780px; }

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
  padding: 74px clamp(24px, 6vw, 86px);
}

.feature-split.with-shot {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
}

.feature-split.reverse.with-shot {
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
}

.feature-split.reverse.with-shot .feature-copy {
  order: 2;
}

.feature-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 650;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #344054;
  font-weight: 750;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.action-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(18, 168, 245, 0.14);
  border-radius: 22px;
  background: #edf9ff;
}

.action-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  color: white;
  background: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.action-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.action-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 700;
}

.screen-card {
  justify-self: center;
  width: min(100%, 360px);
}

.screen-card.wide {
  width: min(100%, 390px);
}

.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.phone-frame {
  position: relative;
  width: min(100%, 390px);
  padding: 13px;
  border-radius: 60px;
  background: #0d1117;
  box-shadow:
    0 34px 90px rgba(16, 24, 40, 0.20),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame img {
  border-radius: 46px;
  box-shadow: none;
}

.doc {
  max-width: 940px;
  margin: 0 auto;
  padding: 68px 24px 84px;
}

.doc-hero {
  padding: 28px;
  border: 1px solid rgba(230, 237, 243, 0.9);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 247, 255, 0.7));
  box-shadow: 0 18px 54px rgba(16, 24, 40, 0.05);
}

.doc h1 {
  font-size: clamp(38px, 6vw, 62px);
  margin-bottom: 10px;
}

.doc h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.doc h3 {
  color: var(--ink);
  font-size: 20px;
}

.updated {
  margin-bottom: 18px;
}

.language-switch {
  display: inline-flex;
  gap: 6px;
  margin-top: 6px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(230, 237, 243, 0.95);
  box-shadow: 0 16px 44px rgba(16, 24, 40, 0.06);
}

.language-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 96px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #667085;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.language-switch button.active {
  color: var(--blue-deep);
  background: #eaf7ff;
  box-shadow: inset 0 0 0 1px rgba(18, 168, 245, 0.06);
}

.language-switch button:focus-visible {
  outline: 3px solid rgba(18, 168, 245, 0.28);
  outline-offset: 2px;
}

.policy-block {
  margin-top: 28px;
  scroll-margin-top: 96px;
}

.policy-title {
  padding: 4px 2px 8px;
}

.policy-title .eyebrow {
  margin-bottom: 6px;
}

.doc section {
  padding: 24px;
  margin: 16px 0;
}

.doc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 46px 0;
}

.doc a {
  color: var(--blue-deep);
  font-weight: 900;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 30px 24px 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .metric-strip,
  .features,
  .feature-split,
  .feature-split.with-shot,
  .feature-split.reverse.with-shot {
    grid-template-columns: 1fr;
  }

  .feature-split.reverse.with-shot .feature-copy {
    order: initial;
  }

  .privacy-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .app-badge {
    align-items: flex-start;
  }

  .hero-device,
  .screen-card,
  .screen-card.wide {
    width: min(100%, 330px);
  }
}

/* ------------------------------------------------------------------
   Generated pages (home, guides, calculator). Source: _src/build.py
   ------------------------------------------------------------------ */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
:target { scroll-margin-top: 96px; }

.nav-links { align-items: center; }
.nav-links a:hover { color: var(--ink); }
.nav-links .lang-link {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.nav-links .nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
}
.nav-links .nav-cta:hover { color: #fff; background: #1f2937; }

.trust-row { margin: 24px 0 0; padding: 0; list-style: none; }
.trust-row li {
  padding: 9px 13px;
  border-radius: 999px;
  color: #156082;
  background: #e9f8ff;
  font-size: 13px;
  font-weight: 900;
}

.hero-device .shot { position: relative; margin: 0; width: min(100%, 360px); }
.shot { margin: 0; justify-self: center; width: min(100%, 340px); }
.shot .phone-frame { width: 100%; }
.shot .phone-frame img { display: block; width: 100%; border-radius: 46px; }
.shot figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.feature-copy .more { margin-top: 22px; }
.feature-copy .more a { color: var(--blue-deep); font-weight: 900; font-size: 16px; }

.how { padding: 24px clamp(24px, 6vw, 86px) 40px; }
.how h2, .guides-band h2 { font-size: clamp(28px, 4vw, 40px); max-width: 780px; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.how-steps li {
  padding: 26px;
  border: 1px solid rgba(230, 237, 243, 0.9);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(16, 24, 40, 0.05);
}
.how-steps p { margin: 0; color: var(--muted); line-height: 1.7; font-weight: 600; }
.how-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.guides-band { padding: 0 clamp(24px, 6vw, 86px) 64px; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(230, 237, 243, 0.9);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.guide-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 168, 245, 0.35);
  box-shadow: 0 18px 48px rgba(18, 168, 245, 0.10);
}
.guide-card strong { font-size: 18px; line-height: 1.35; }
.guide-card span { color: var(--muted); font-size: 14px; line-height: 1.6; font-weight: 600; }
.guide-card em { margin-top: auto; color: var(--blue-deep); font-style: normal; font-size: 14px; font-weight: 900; }
.guide-card.tool { background: linear-gradient(145deg, #ffffff, #e8f7ff); }

.home-faq { padding: 0 clamp(24px, 6vw, 86px) 40px; max-width: 980px; }
.faq { margin-top: 40px; }
.faq h2 { font-size: clamp(26px, 3.4vw, 34px); }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: 18px; line-height: 1.4; }
.faq-item p { margin: 6px 0 0; color: var(--muted); line-height: 1.75; font-weight: 600; }

.final-cta { padding: 0 clamp(24px, 6vw, 86px) 40px; }
.cta-card {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 40px 0;
  padding: 26px 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #e3f4fe 0%, #f4fbff 100%);
  border: 1px solid rgba(18, 168, 245, 0.16);
}
.cta-card > img { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 16px; }
.cta-copy { flex: 1 1 auto; min-width: 0; }
.cta-copy p { margin: 0; color: var(--muted); line-height: 1.6; font-weight: 600; }
.cta-copy .cta-title { margin-bottom: 4px; color: var(--ink); font-size: 19px; font-weight: 900; }
.cta-copy .cta-meta { margin-top: 6px; color: var(--faint); font-size: 13px; font-weight: 700; }
.cta-card .button { flex: 0 0 auto; }
.prose .cta-card { margin: 34px 0; }

/* Article */
.article { max-width: 780px; margin: 0 auto; padding: 40px 24px 40px; }
.article.wide { max-width: 1080px; }
.article h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.15; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--faint); font-size: 14px; font-weight: 800; }
.crumbs a { color: var(--blue-deep); }
.article-meta { margin: 14px 0 0; color: var(--faint); font-size: 14px; font-weight: 700; }
.answer-box {
  margin: 26px 0 8px;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 18px;
  background: #eef8ff;
}
.answer-box p { margin: 0; color: #1f2937; font-size: 17px; line-height: 1.75; font-weight: 650; }
.answer-box .answer-label { margin-bottom: 6px; color: var(--blue-deep); font-size: 13px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.toc { margin: 22px 0 6px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.toc p { margin: 0 0 8px; color: var(--faint); font-size: 13px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.toc a { color: var(--blue-deep); font-weight: 750; line-height: 1.5; }

.prose { font-size: 17px; }
.prose h2 { margin: 44px 0 12px; font-size: clamp(24px, 3.2vw, 30px); line-height: 1.3; }
.prose h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.4; }
.prose p, .prose li { color: #344054; line-height: 1.85; font-weight: 550; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 24px; display: grid; gap: 6px; }
.prose a { color: var(--blue-deep); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(8, 124, 201, 0.3); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose code { padding: 2px 6px; border-radius: 6px; background: #eef4f8; font-size: 0.92em; }
.prose .shot { margin: 30px auto; width: min(100%, 300px); }
.table-wrap { margin: 18px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.55; }
.prose th { color: var(--ink); background: #f5fafe; font-weight: 900; white-space: nowrap; }
.prose td { color: #344054; font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.prose .note { margin: 22px 0; padding: 16px 20px; border-radius: 16px; background: #fff8e1; border: 1px solid #fde9a8; }
.prose .note p { margin: 0; color: #5b4a12; }
.prose .example { margin: 22px 0; padding: 18px 20px; border-radius: 18px; background: #f6fbff; border: 1px solid #dcefff; }
.prose .example .example-title { margin: 0 0 6px; color: var(--blue-deep); font-weight: 900; }
.prose .steps { list-style: none; counter-reset: step; padding-left: 0; gap: 12px; }
.prose .steps li { position: relative; padding-left: 44px; counter-increment: step; }
.prose .steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}
.related { margin-top: 20px; }
.related h2 { font-size: 24px; }

/* Calculator */
.tool .lead.small { margin-top: 14px; font-size: 17px; }
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin: 28px 0 10px;
}
.calc-form, .calc-result {
  padding: 24px;
  border: 1px solid rgba(230, 237, 243, 0.9);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(16, 24, 40, 0.05);
}
.field { display: block; margin-bottom: 18px; }
.field-label { display: block; color: var(--ink); font-size: 15px; font-weight: 900; }
.field-hint { display: block; margin-top: 2px; color: var(--faint); font-size: 13px; font-weight: 650; }
.input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 0 14px;
  min-height: 50px;
  border: 1px solid #d7e6f0;
  border-radius: 14px;
  background: #fbfdff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18, 168, 245, 0.14); }
.input-wrap .cur { color: var(--muted); font-weight: 900; }
.input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
}
.input-wrap.small { max-width: 220px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.presets button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d7e6f0;
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.presets button.active { color: var(--blue-deep); border-color: rgba(18, 168, 245, 0.4); background: #eaf7ff; }
.calc-sample { margin: 0; color: var(--faint); font-size: 13px; font-weight: 650; }
.calc-result { background: linear-gradient(160deg, #ffffff 0%, #eef8ff 100%); }
.result-label { margin: 0; color: var(--muted); font-weight: 800; }
.result-big { margin: 4px 0 0; color: var(--ink); font-size: clamp(44px, 7vw, 60px); font-weight: 950; line-height: 1.05; font-variant-numeric: tabular-nums; }
.result-note { margin: 6px 0 0; color: var(--faint); font-size: 13px; font-weight: 700; }
.result-rows { margin: 20px 0 0; display: grid; gap: 0; }
.result-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.result-rows dt { color: var(--muted); font-weight: 750; }
.result-rows dd { margin: 0; color: var(--ink); font-weight: 900; font-variant-numeric: tabular-nums; }
.dt-note { display: block; color: var(--faint); font-size: 12px; font-weight: 650; }
.calc-msg { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; font-weight: 650; }
.calc.is-over .calc-msg { color: #b54708; }
.carry { margin-top: 18px; padding-top: 18px; border-top: 1px dashed #cfe3f1; }
.carry-out { margin: 10px 0 0; color: #1f2937; font-size: 15px; line-height: 1.6; font-weight: 750; }

/* Footer */
.site-footer {
  display: block;
  margin-top: 40px;
  padding: 40px clamp(24px, 6vw, 86px) 44px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 10px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--ink); font-weight: 900; }
.footer-brand span { color: var(--muted); font-size: 13px; font-weight: 700; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 26px; }
.footer-cols div { display: grid; gap: 8px; align-content: start; }
.footer-cols a { color: var(--muted); font-size: 14px; font-weight: 700; }
.footer-cols a:hover { color: var(--blue-deep); }
.footer-h { margin: 0 0 4px; color: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-legal { margin: 28px 0 0; color: var(--faint); font-size: 13px; font-weight: 700; }

@media (max-width: 860px) {
  .how-steps, .calc { grid-template-columns: 1fr; }
  .nav { flex-direction: row; align-items: center; }
  .cta-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav { padding: 14px 16px; gap: 10px; }
  .nav .brand span { display: none; }
  .nav-links { gap: 10px; font-size: 13px; flex-wrap: nowrap; }
  .nav-links .hide-sm { display: none; }
  .nav-links .nav-cta { padding: 8px 12px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .how, .guides-band, .home-faq, .final-cta, .feature-split { padding-left: 16px; padding-right: 16px; }
  .privacy-callout { margin-left: 16px; margin-right: 16px; padding: 24px; }
  .article { padding: 28px 16px 32px; }
  .prose { font-size: 16px; }
  .calc-form, .calc-result { padding: 20px; }
  .site-footer { padding-left: 16px; padding-right: 16px; }
}

.hero h1 { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.08; text-wrap: balance; }
html[lang="zh-Hans"] .hero h1 { word-break: keep-all; }
.feature-split .shot { width: min(100%, 310px); }

/* Article photos (Unsplash) */
.photo { margin: 28px 0; }
.photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: #eef4f8;
}
.hero-photo { margin: 22px 0 6px; }
.hero-photo img { aspect-ratio: 2 / 1; object-fit: cover; border-radius: 26px; }
.photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 650;
}
.hero-photo figcaption { margin-top: 8px; text-align: right; }
.photo .credit { color: var(--faint); font-size: 12px; font-weight: 650; white-space: nowrap; }
.photo .credit a { color: inherit; font-weight: 700; text-decoration: none; }
.photo .credit a:hover { color: var(--blue-deep); }
.prose .photo img { aspect-ratio: 3 / 2; object-fit: cover; }

.guide-card { overflow: hidden; }
.guide-card .card-thumb {
  display: block;
  width: calc(100% + 44px);
  max-width: none;
  margin: -22px -22px 6px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef4f8;
}

@media (max-width: 640px) {
  .hero-photo img { border-radius: 20px; }
  .photo img { border-radius: 18px; }
  .photo .credit { white-space: normal; }
}

/* Infographics (inline SVG) */
.figure { margin: 30px auto; max-width: 560px; }
.figure svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.05);
}
.figure figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; font-weight: 650; text-align: center; }

/* Guides index sections */
.index-h { margin: 40px 0 0; font-size: 22px; }
.article.wide .index-h:first-of-type { margin-top: 30px; }
.all-guides { margin-top: 20px; }
.all-guides a { color: var(--blue-deep); font-weight: 900; }

/* Simple pages */
.page-glossary .term { padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
.page-glossary .term:last-child { border-bottom: 0; }
.page-glossary .term h2 { margin-top: 26px; font-size: 22px; }
.page-faq .prose h3 { margin-top: 22px; font-size: 18px; }

/* ------------------------------------------------------------------
   Wide screens: one centred content column (max 1180px) for every
   full-width band. Side padding grows instead of the content, so
   narrow screens keep their existing gutters.
   ------------------------------------------------------------------ */
:root {
  --page: 1180px;
  --gutter: clamp(24px, 6vw, 86px);
  --page-pad: max(var(--gutter), calc((100% - var(--page)) / 2));
}
.nav,
.site-footer,
.hero,
.how,
.feature-split,
.guides-band,
.home-faq,
.final-cta {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}
.privacy-callout {
  margin-left: var(--page-pad);
  margin-right: var(--page-pad);
}
.hero { min-height: 0; padding-top: 56px; padding-bottom: 80px; }
.hero-copy .lead { max-width: 600px; }
.feature-split { padding-top: 64px; padding-bottom: 64px; }
.feature-copy { max-width: 640px; }
.feature-split.with-shot { justify-content: space-between; }
.home-faq { max-width: none; }
.home-faq .faq { max-width: 820px; }
.guides-band .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-cols { gap: 64px; }

@media (max-width: 980px) {
  .guides-band .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .feature-split { padding-top: 48px; padding-bottom: 48px; }
  .hero { padding-top: 34px; padding-bottom: 56px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .guides-band .guide-grid { grid-template-columns: 1fr; }
}
