/* 这厮有礼 dist —— 自包含样式。字体:系统 CJK 栈,无 web-font 下载、无 FOIT。 */

/* ───────────────────────────────────────────────────────────
   这厮有礼 · Color tokens
   Brand red is reserved as an ACCENT. Surfaces stay clean
   neutral gray/white to maximize the sense of trust.
   ─────────────────────────────────────────────────────────── */
:root {
  /* Page primary — terracotta #D55447 (logo keeps its own red) */
  --red-50:  #FAEEEC;
  --red-100: #F5DDD9;
  --red-200: #EBBDB6;
  --red-300: #DF9389;
  --red-400: #D96E62;
  --red-500: #D55447;   /* page primary */
  --red-600: #C2473C;   /* primary action / hover */
  --red-700: #A33930;
  --red-800: #7E2D26;
  --red-900: #561E19;

  /* Coin gold — sampled from logo (#FFD934) */
  --gold-50:  #FFFBEA;
  --gold-100: #FFF3C2;
  --gold-200: #FFE783;
  --gold-300: #FFDB4D;
  --gold-400: #FFD21E;  /* coin gold */
  --gold-500: #F2B600;  /* gold text on light */
  --gold-600: #B98400;

  /* Neutral — WARM stone/taupe; editorial, premium, harmonizes with terracotta */
  --gray-0:   #FFFFFF;
  --gray-25:  #FBF9F4;
  --gray-50:  #F4F0E9;
  --gray-100: #EAE5DB;
  --gray-200: #DDD7CB;
  --gray-300: #C8C0B2;
  --gray-400: #A39A8B;
  --gray-500: #6E6556;
  --gray-600: #524A3D;
  --gray-700: #39322A;
  --gray-800: #231E18;
  --gray-900: #17120D;

  /* Functional */
  --green-50:  #E9F7EF;
  --green-500: #16A35A;   /* success / paid out */
  --green-600: #128049;
  --blue-50:   #EBF2FE;
  --blue-500:  #2F6FED;   /* info / link */
  --blue-600:  #1E58CC;

  /* ── Semantic aliases ─────────────────────────────── */
  --color-bg:            var(--gray-25);
  --color-surface:       var(--gray-0);
  --color-surface-sunken:var(--gray-50);
  --color-surface-inverse:var(--gray-900);

  --text-primary:   var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-tertiary:  var(--gray-500);
  --text-on-brand:  #FFFFFF;
  --text-on-dark:   var(--gray-50);
  --text-link:      var(--gray-900);   /* monochrome links; red only on hover */

  --brand:         var(--red-500);
  --brand-strong:  var(--red-600);
  --brand-press:   var(--red-700);
  --brand-soft:    var(--red-50);
  --brand-border:  var(--red-200);

  --accent-gold:      var(--gold-400);
  --accent-gold-soft: var(--gold-50);
  --accent-gold-text: var(--gold-600);

  --success:      var(--green-500);
  --success-soft: var(--green-50);
  --info:         var(--blue-500);
  --info-soft:    var(--blue-50);

  --border:        var(--gray-200);
  --border-strong: var(--gray-300);
  --border-subtle: var(--gray-100);

  --focus-ring: var(--red-300);
}


/* ───────────────────────────────────────────────────────────
   这厮有礼 · Typography tokens
   Content is king — body copy must be highly readable CJK text.
   Chinese type rules followed: no negative tracking on CJK,
   generous line-height, weights kept to 400–700 (Black weight
   looks blobby in Chinese), one family for cohesion.
   ─────────────────────────────────────────────────────────── */
:root {
  /* MiSans leads; native CJK faces are the graceful fallback. */
  --font-sans: "MiSans", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: var(--font-sans);   /* headings = same family, heavier weight */
  --font-number: "MiSans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;

  /* Type scale (rem; 1rem = 16px) */
  --text-xs:   0.75rem;   /* 12 */
  --text-sm:   0.875rem;  /* 14 */
  --text-base: 1rem;      /* 16 — body min on mobile */
  --text-md:   1.0625rem; /* 17 — long-form body */
  --text-lg:   1.1875rem; /* 19 */
  --text-xl:   1.5rem;    /* 24 */
  --text-2xl:  1.875rem;  /* 30 */
  --text-3xl:  2.25rem;   /* 36 */
  --text-4xl:  2.875rem;  /* 46 */
  --text-5xl:  3.5rem;    /* 56 */

  /* Weights — MiSans ships 400/500/600/700 */
  --fw-regular: 400; /* @kind other */
  --fw-medium:  500; /* @kind other */
  --fw-semibold:600; /* @kind other */
  --fw-bold:    600; /* @kind other */
  --fw-black:   700; /* @kind other */

  /* Line heights — CJK reads better with air */
  --lh-tight:   1.22; /* @kind other */
  --lh-snug:    1.4; /* @kind other */
  --lh-normal:  1.6; /* @kind other */
  --lh-relaxed: 1.8; /* @kind other */

  /* Letter spacing — NEVER negative on CJK */
  --ls-tight:  0; /* @kind other */
  --ls-normal: 0; /* @kind other */
  --ls-wide:   0.02em; /* @kind other */
}


/* ───────────────────────────────────────────────────────────
   这厮有礼 · Spacing, radii, layout tokens (4px base grid)
   ─────────────────────────────────────────────────────────── */
:root {
  --space-1:  0.25rem;  /* 4  */
  --space-2:  0.5rem;   /* 8  */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  3rem;     /* 48 */
  --space-8:  4rem;     /* 64 */
  --space-9:  6rem;     /* 96 */

  /* Radii */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  /* Layout */
  --container-max: 1140px;
  --container-narrow: 760px;
  --gutter: var(--space-5);

  /* Hit target (mobile-first accessibility) */
  --tap-min: 48px;
}


/* ───────────────────────────────────────────────────────────
   这厮有礼 · Elevation & motion tokens
   Soft, low, neutral shadows — restrained and trustworthy.
   ─────────────────────────────────────────────────────────── */
:root {
  --shadow-xs: 0 1px 2px rgba(58, 42, 26, 0.05);
  --shadow-sm: 0 1px 2px rgba(58, 42, 26, 0.04), 0 2px 6px rgba(58, 42, 26, 0.05);
  --shadow-md: 0 4px 10px rgba(58, 42, 26, 0.05), 0 10px 24px rgba(58, 42, 26, 0.06);
  --shadow-lg: 0 6px 16px rgba(58, 42, 26, 0.06), 0 20px 48px rgba(58, 42, 26, 0.09);
  --shadow-brand: 0 6px 18px rgba(194, 71, 60, 0.22);

  /* Motion — quick, calm, no bounce */
  --ease-standard: cubic-bezier(0.2, 0, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 200ms; /* @kind other */
  --dur-slow: 320ms; /* @kind other */
}


/* ───────────────────────────────────────────────────────────
   这厮有礼 · Base resets & primitives
   Optional, lightweight. Sets readable CJK defaults.
   ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: normal;
  color: var(--text-primary);
  text-wrap: pretty;
}

p { margin: 0; }

a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--brand-strong); text-decoration: underline; }

/* Tabular numerals for money / data */
.ds-num { font-family: var(--font-number); font-variant-numeric: tabular-nums; }

::selection { background: var(--red-100); color: var(--red-800); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}


/* ───────────────────────────────────────────────────────────
   这厮有礼 · Production site styles
   Static, no React/Babel. Built entirely on design tokens —
   every spacing / radius / size / weight snaps to a token.
   ─────────────────────────────────────────────────────────── */
/* ── Layout ─────────────────────────────────────────── */
.container { max-width: var(--container-max); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-7); }
.section--lg { padding-block: var(--space-8); }
.section--surface { background: var(--color-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stack > * + * { margin-top: var(--space-5); }

/* ── Type (4 levels: h1 / h2 / body / small) ────────── */
.h1 { font-size: clamp(2rem, 4.6vw, 2.875rem); font-weight: var(--fw-black); line-height: var(--lh-tight); margin: 0; }
.h2 { font-size: var(--text-3xl); font-weight: var(--fw-black); line-height: var(--lh-tight); margin: 0; }
.lead { font-size: var(--text-lg); line-height: var(--lh-normal); color: var(--text-secondary); margin: var(--space-4) 0 0; }
.body { font-size: var(--text-md); line-height: var(--lh-relaxed); color: var(--text-secondary); }
.small { font-size: var(--text-sm); color: var(--text-tertiary); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--brand-strong); margin-bottom: var(--space-4); }
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: var(--radius-xs); background: var(--brand); }
.section-head { max-width: 62ch; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* ── Buttons (2 levels) ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--tap-min); min-height: var(--tap-min); padding-inline: var(--space-5); font-family: var(--font-sans); font-size: var(--text-base); font-weight: var(--fw-bold); line-height: 1; border-radius: var(--radius-pill); border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: filter var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard); }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--brand-strong); color: var(--text-on-brand); box-shadow: var(--shadow-brand); }
.btn--primary:hover { filter: brightness(0.95); color: var(--text-on-brand); }
.btn--secondary { background: var(--color-surface); color: var(--text-primary); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.btn--secondary:hover { filter: brightness(0.98); color: var(--text-primary); }
.btn--lg { height: 56px; padding-inline: var(--space-6); font-size: var(--text-lg); }
.btn--sm { height: 38px; padding-inline: var(--space-4); font-size: var(--text-sm); }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ── Badges ─────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-3); font-size: var(--text-xs); font-weight: var(--fw-bold); line-height: 1.4; border-radius: var(--radius-pill); white-space: nowrap; }
.badge--neutral { background: var(--gray-100); color: var(--gray-700); }
.badge--brand { background: var(--brand-soft); color: var(--brand-strong); }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }

/* ── Cards ──────────────────────────────────────────── */
.card { background: var(--color-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.card--pad-md { padding: var(--space-5); }
.grid { display: grid; gap: var(--space-5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--equal > * { height: 100%; }

/* ── Hero ───────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: var(--space-8); align-items: center; }

/* ── Proof card ─────────────────────────────────────── */
.proof { width: 100%; max-width: 368px; }
.proof__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.proof__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid var(--border-subtle); }
.proof__row:last-of-type { border-bottom: none; }
.proof__name { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-primary); }
.proof__status { font-size: var(--text-xs); color: var(--text-tertiary); margin-top: var(--space-1); }
.proof__amt { font-family: var(--font-number); font-variant-numeric: tabular-nums; font-weight: var(--fw-bold); font-size: var(--text-lg); white-space: nowrap; }

/* ── Fact table ─────────────────────────────────────── */
.facts { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.facts__title { padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border); font-weight: var(--fw-bold); font-size: var(--text-base); background: var(--color-surface-sunken); }
.facts dl { margin: 0; }
.facts__row { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: var(--space-4); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border-subtle); align-items: baseline; }
.facts__row:last-child { border-bottom: none; }
.facts__row--hot { background: var(--brand-soft); }
.facts dt { margin: 0; font-size: var(--text-sm); color: var(--text-tertiary); font-weight: var(--fw-medium); }
.facts dd { margin: 0; font-size: var(--text-md); color: var(--text-primary); font-weight: var(--fw-medium); line-height: var(--lh-normal); }
.facts__row--hot dd { color: var(--brand-strong); font-weight: var(--fw-bold); }

/* ── Summary list ───────────────────────────────────── */
.summary { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-4); }
.summary li { display: flex; gap: var(--space-4); font-size: var(--text-md); line-height: var(--lh-normal); color: var(--text-primary); }
.summary .n { flex: none; width: 24px; height: 24px; border-radius: var(--radius-pill); background: var(--gray-100); color: var(--text-primary); display: flex; align-items: center; justify-content: center; font-size: var(--text-xs); font-weight: var(--fw-bold); font-family: var(--font-number); }

/* ── Steps ──────────────────────────────────────────── */
.steps { display: grid; gap: var(--space-6); }
.step { display: flex; gap: var(--space-4); align-items: flex-start; }
.step__num { flex: none; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; font-family: var(--font-number); font-weight: var(--fw-black); font-size: var(--text-xl); }
.step__t { font-size: var(--text-lg); font-weight: var(--fw-bold); margin: 0; line-height: var(--lh-snug); }
.step__d { margin: var(--space-2) 0 0; font-size: var(--text-md); line-height: var(--lh-relaxed); color: var(--text-secondary); }

/* ── Trust points ───────────────────────────────────── */
.trust { display: flex; gap: var(--space-4); align-items: flex-start; }
.trust__ic { flex: none; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--gray-100); color: var(--text-primary); display: flex; align-items: center; justify-content: center; font-size: var(--text-xl); }
.trust__t { font-size: var(--text-base); font-weight: var(--fw-bold); color: var(--text-primary); }
.trust__d { margin: var(--space-1) 0 0; font-size: var(--text-sm); line-height: var(--lh-normal); color: var(--text-secondary); }

/* ── Stat cards ─────────────────────────────────────── */
.stat { background: var(--color-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); text-align: center; }
.stat__v { font-family: var(--font-number); font-variant-numeric: tabular-nums; font-weight: var(--fw-black); font-size: var(--text-3xl); line-height: 1; color: var(--text-primary); display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat__v .u { font-size: 0.5em; font-weight: var(--fw-bold); color: var(--text-tertiary); }
.stat__l { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-secondary); }

/* ── Feature cards ──────────────────────────────────── */
.feature { display: flex; flex-direction: column; }
.feature__n { font-family: var(--font-number); font-weight: var(--fw-black); font-size: var(--text-2xl); color: var(--gray-200); margin-bottom: var(--space-3); }
.feature__t { font-size: var(--text-lg); font-weight: var(--fw-bold); margin: 0 0 var(--space-2); }
.feature__d { margin: 0; font-size: var(--text-md); line-height: var(--lh-relaxed); color: var(--text-secondary); }

/* ── Voice flow (equal-height) ──────────────────────── */
.flow { list-style: none; margin: var(--space-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.flow__item { display: flex; flex-direction: column; gap: var(--space-2); }
.flow__top { display: flex; align-items: center; gap: var(--space-2); }
.flow__n { font-family: var(--font-number); font-weight: var(--fw-bold); font-size: var(--text-sm); color: var(--brand-strong); width: 22px; height: 22px; border-radius: var(--radius-pill); background: var(--brand-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.flow__line { flex: 1; height: 1px; background: var(--border-strong); }
.flow__t { font-size: var(--text-base); font-weight: var(--fw-bold); color: var(--text-primary); line-height: var(--lh-snug); }
.flow__d { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--lh-normal); }

/* ── Comparison table ───────────────────────────────── */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--color-surface); }
.compare th { text-align: left; padding: var(--space-4); font-size: var(--text-sm); font-weight: var(--fw-bold); white-space: nowrap; background: var(--color-surface-sunken); }
.compare th:nth-child(1), .compare th:nth-child(3) { color: var(--text-tertiary); }
.compare td { padding: var(--space-4); font-size: var(--text-md); line-height: var(--lh-normal); vertical-align: top; border-top: 1px solid var(--border-subtle); color: var(--text-tertiary); }
.compare td:nth-child(1) { font-weight: var(--fw-semibold); color: var(--text-primary); white-space: nowrap; }
.compare td:nth-child(2) { color: var(--text-primary); background: var(--color-surface-sunken); }

/* ── FAQ (native details) ───────────────────────────── */
.faq-group + .faq-group { margin-top: var(--space-7); }
.faq-group__t { font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--text-secondary); margin: 0 0 var(--space-3); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: none; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); min-height: var(--tap-min); cursor: pointer; font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--text-primary); line-height: var(--lh-snug); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--brand-strong); font-size: var(--text-xl); font-weight: var(--fw-regular); transition: transform var(--dur-base) var(--ease-standard); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding-bottom: var(--space-5); font-size: var(--text-md); line-height: var(--lh-relaxed); color: var(--text-secondary); max-width: 68ch; }

/* ── Honest note ────────────────────────────────────── */
.note { background: var(--color-surface-sunken); border-radius: var(--radius-md); padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6); border-left: 3px solid var(--brand); }
.note__l { font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--text-tertiary); margin-bottom: var(--space-1); }
.note p { margin: 0; font-size: var(--text-md); line-height: var(--lh-relaxed); color: var(--text-primary); }

/* ── CTA band (ink) ─────────────────────────────────── */
.cta { background: var(--gray-900); border-radius: var(--radius-lg); overflow: hidden; }
.cta__inner { display: grid; grid-template-columns: 1fr auto; gap: var(--space-7); align-items: center; padding: var(--space-8) var(--space-7); }
.cta__t { color: #fff; font-size: var(--text-3xl); font-weight: var(--fw-black); line-height: var(--lh-tight); max-width: 18ch; margin: 0; }
.cta__d { margin: var(--space-4) 0 0; color: var(--gray-400); font-size: var(--text-lg); line-height: var(--lh-normal); max-width: 42ch; }
.cta__meta { color: var(--gray-500); font-size: var(--text-sm); }

/* ── QR panel ───────────────────────────────────────── */
.qr { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-4); background: var(--color-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); }
.qr img { width: 200px; height: 200px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--gray-50); }
.qr__cap { text-align: center; font-size: var(--text-base); font-weight: var(--fw-bold); color: var(--text-primary); }
.qr__note { text-align: center; font-size: var(--text-sm); color: var(--text-tertiary); margin-top: var(--space-1); }

/* ── Header ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header__in { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); }
.brand span { font-weight: var(--fw-bold); font-size: var(--text-lg); color: var(--text-primary); }
.nav { display: flex; gap: var(--space-1); align-items: center; }
.nav a { padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); font-size: var(--text-base); font-weight: var(--fw-medium); color: var(--text-secondary); text-decoration: none; }
.nav a[aria-current="page"] { font-weight: var(--fw-bold); color: var(--brand-strong); background: var(--brand-soft); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; font-size: var(--text-xl); color: var(--text-primary); background: none; border: none; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--border); padding: var(--space-3) var(--gutter) var(--space-5); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: var(--space-3) var(--space-2); min-height: var(--tap-min); font-size: var(--text-lg); font-weight: var(--fw-medium); color: var(--text-primary); text-decoration: none; border-bottom: 1px solid var(--border-subtle); }
.mobile-nav a[aria-current="page"] { color: var(--brand-strong); font-weight: var(--fw-bold); }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background: var(--gray-900); color: var(--text-on-dark); margin-top: var(--space-9); }
.site-footer__in { padding: var(--space-8) var(--gutter) var(--space-6); }
.site-footer__top { display: flex; gap: var(--space-7); flex-wrap: wrap; justify-content: space-between; }
.site-footer p { max-width: 340px; font-size: var(--text-sm); line-height: var(--lh-relaxed); color: var(--gray-400); margin: var(--space-4) 0 0; }
.foot-brand { display: flex; align-items: center; gap: var(--space-2); }
.foot-brand img { width: 36px; height: 36px; border-radius: var(--radius-sm); }
.foot-brand span { font-weight: var(--fw-bold); font-size: var(--text-lg); color: #fff; }
.foot-cols { display: flex; gap: var(--space-8); flex-wrap: wrap; }
.foot-col h4 { font-size: var(--text-sm); font-weight: var(--fw-bold); color: #fff; margin: 0 0 var(--space-3); }
.foot-col a { display: block; font-size: var(--text-sm); color: var(--gray-400); text-decoration: none; margin-top: var(--space-2); }
.site-footer__legal { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: var(--space-3) var(--space-4); flex-wrap: wrap; justify-content: space-between; font-size: var(--text-xs); color: var(--gray-500); }
.site-footer__legal a { color: var(--gray-400); text-decoration: none; }
.site-footer__legal a:hover { color: #fff; text-decoration: underline; }

/* ── Centered closing restate ───────────────────────── */
.restate { font-size: var(--text-md); line-height: var(--lh-relaxed); color: var(--text-tertiary); text-align: center; }
.center-narrow { max-width: 42ch; margin-inline: auto; text-align: center; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 860px) {
  .nav, .site-header .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .cta__inner { grid-template-columns: 1fr; text-align: center; }
  .cta__inner > div:last-child { justify-self: center; }
}
@media (max-width: 540px) {
  .flow { grid-template-columns: 1fr; }
}

/* legal pages — long-form readability */
.legal{max-width:72ch}
.legal > p{margin:0 0 var(--space-4);font-size:var(--text-md);line-height:1.9;color:var(--text-secondary)}
.legal > p:first-child{font-size:var(--text-lg);line-height:var(--lh-normal);color:var(--text-primary)}
.legal b,.legal strong{color:var(--text-primary);font-weight:var(--fw-semibold)}
.legal a{color:var(--brand-strong);text-decoration:underline;text-underline-offset:2px}
.legal__notice{margin:var(--space-5) 0;padding:var(--space-4) var(--space-5);background:var(--color-surface-sunken);border-left:3px solid var(--brand-border);border-radius:var(--radius-sm);font-size:var(--text-sm);line-height:1.85}
.legal__notice b{font-weight:var(--fw-medium);color:var(--text-secondary)}

/* questionnaire sources / partners */
.partners{padding-block:var(--space-6);background:var(--color-surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.partners-label{text-align:center;font-size:var(--text-sm);color:var(--text-tertiary);margin:0 0 var(--space-4)}
.partners-row{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:var(--space-3) var(--space-6)}
.partners-row li{font-size:var(--text-lg);font-weight:var(--fw-bold);color:var(--text-secondary)}
.src-label{font-size:var(--text-sm);font-weight:var(--fw-bold);color:var(--text-tertiary);margin-bottom:var(--space-3)}

/* ── a11y / mobile fixes (web-interface-guidelines) ── */
html { color-scheme: light; }
.skip-link { position: absolute; left: var(--space-3); top: var(--space-3); z-index: 100; transform: translateY(-160%); background: var(--brand-strong); color: #fff; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: var(--fw-bold); text-decoration: none; transition: transform var(--dur-fast) var(--ease-standard); }
.skip-link:focus { transform: translateY(0); }
a, button, summary, .btn, .menu-toggle { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.nav a:hover { color: var(--text-primary); background: var(--gray-50); }
.foot-col a:hover { color: #fff; }
:where(h2, h3, .h2) { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ────────────────────────────────────────────────────────────
   Refinement pass — "Quiet Authority" (editorial / institutional)
   ──────────────────────────────────────────────────────────── */
body { background: var(--color-bg); }
.section { padding-block: var(--space-8); }
.section--surface { border-top: none; border-bottom: none; }          /* warm-ivory vs white island, no hard boxes */
.eyebrow { letter-spacing: .04em; }
.eyebrow::before { width: 24px; }

/* Cards: hairline + soft layered shadow, generous radius */
.card { border-color: var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius-xl); }
.facts, .compare-wrap { box-shadow: var(--shadow-sm); }
.facts, .stat, .qr { border-radius: var(--radius-xl); }

/* Buttons: lighter weight, refined lift on hover (transform), no brightness filter */
.btn { transition: background-color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard),
        transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.btn--primary { box-shadow: var(--shadow-xs); }
.btn--primary:hover { background: var(--brand-press); filter: none; transform: translateY(-1px); box-shadow: var(--shadow-brand); }
.btn--secondary:hover { background: var(--color-surface-sunken); border-color: var(--gray-400); filter: none; transform: translateY(-1px); }

/* Links: refined underline distance */
a:hover { text-underline-offset: 3px; }

/* Section heads: a touch more air below */
.section-head .lead { margin-top: var(--space-5); }

/* One subtle, staggered hero reveal — disabled under reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise .6s var(--ease-out) both; }
  .hero > *:nth-child(2) { animation-delay: .12s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── Lucide icons + balanced split headers ── */
.ic { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: middle; flex: none; }
.btn .ic { width: 1.05em; height: 1.05em; margin-left: calc(var(--space-1) * -0.5); }

.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: var(--space-7); align-items: end; }
.section-head--split .lead { margin: 0; max-width: 46ch; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: var(--space-3); align-items: start; } }

.feature__ic { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
.feature__ic .ic { width: 24px; height: 24px; }

.stat__ic { width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-4); }
.stat__ic .ic { width: 22px; height: 22px; }

.flow__ic-badge { flex: none; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; }
.flow__ic-badge .ic { width: 22px; height: 22px; }

/* ────────────────────────────────────────────────────────────
   Homepage balance pass
   ──────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(116deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.66) 42%, rgba(250,238,236,.72) 100%),
    radial-gradient(circle at 82% 18%, rgba(255,210,30,.16), transparent 34%),
    var(--color-bg);
}
.hero-section::after {
  content: "";
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--container-max)) / 2));
  top: 72px;
  bottom: 56px;
  width: min(42vw, 520px);
  z-index: -1;
  border-radius: 32px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow-lg);
}
.hero--balanced {
  grid-template-columns: minmax(0, 1fr) minmax(420px, .88fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero-copy {
  max-width: 610px;
}
.hero-kicker {
  margin-bottom: var(--space-5);
}
.hero-title {
  font-size: clamp(2.5rem, 5.8vw, 4.5rem);
  max-width: 9.5em;
}
.hero-lead {
  max-width: 42ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
}
.hero-actions {
  margin-top: var(--space-7);
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-7) 0 0;
  padding: 0;
  max-width: 610px;
}
.hero-facts div {
  min-width: 0;
  padding: var(--space-4);
  border: 1px solid rgba(221,215,203,.74);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-xs);
}
.hero-facts dt {
  margin: 0 0 var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--text-tertiary);
}
.hero-facts dd {
  margin: 0;
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  line-height: var(--lh-snug);
}
.hero-panel {
  width: 100%;
  padding: var(--space-6);
  border: 1px solid rgba(221,215,203,.88);
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}
.hero-panel__top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: flex-start;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}
.hero-panel__eyebrow {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--brand-strong);
}
.hero-panel__title {
  margin: 0;
  font-size: var(--text-xl);
  line-height: var(--lh-snug);
}
.proof-list {
  display: grid;
  gap: 0;
}
.hero-panel .proof__row {
  padding-block: var(--space-4);
}
.hero-panel .proof__status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--success);
}
.proof__amt--muted {
  color: var(--text-tertiary);
}
.hero-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-5);
}
.hero-panel__grid div {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-surface-sunken);
}
.hero-panel__grid span {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--text-tertiary);
}
.hero-panel__grid strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: var(--lh-snug);
}
.hero-panel__note {
  text-align: center;
  margin-top: var(--space-3);
}

/* Extra polish for repeated sections */
.partners {
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(10px);
}
.partners-row li {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-surface-sunken);
  font-size: var(--text-base);
}
.feature,
.stat {
  box-shadow: var(--shadow-xs);
}
.feature:hover,
.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature,
.stat {
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.cta {
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.faq.card,
.card.faq {
  border-radius: var(--radius-xl);
}

/* Legal pages: turn pasted long-form text into a readable document surface. */
.legal {
  max-width: 78ch;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.legal > p {
  margin-bottom: var(--space-5);
}
.legal > p:empty {
  display: none;
}

@media (max-width: 980px) {
  .hero--balanced {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 720px;
  }
  .hero-section::after {
    display: none;
  }
  .hero-panel {
    max-width: 620px;
  }
}
@media (max-width: 640px) {
  .hero-section {
    padding-block: var(--space-7);
  }
  .hero-title {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-facts,
  .hero-panel__grid {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    padding: var(--space-5);
    border-radius: var(--radius-xl);
  }
  .hero-panel__top {
    display: grid;
  }
}
