/* CareFlow website · style C ("Home First")
   Values follow design_handoff_careflow_3/tokens. Figtree is self-hosted (SIL OFL 1.1, see fonts/OFL.txt). */

@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/figtree-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/figtree-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/figtree-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/figtree-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/figtree-latin-800.woff2') format('woff2'); }

:root {
  --teal-100: #DDF2EC; --teal-200: #C6E9DD; --teal-300: #8FD3BF; --teal-500: #13857C;
  --teal-600: #0F766E; --teal-700: #115E59; --teal-800: #134E4A;
  --gold-100: #FDF1D3; --gold-300: #F9D488; --gold-400: #F4B43C; --gold-500: #E09A1A; --gold-800: #8A5A00;
  --peach-100: #FFE9D6; --peach-700: #9A3412;
  --lilac-100: #ECE8F8; --lilac-700: #5B3FA6;
  --page: #F5F9F7; --surface: #FFFFFF; --line: #D5E5DF; --line-input: #658F83; --dashed: #B9D9CF;
  --ink: #1B2E2C; --ink-2: #4A5D5A; --ink-3: #5F716E; --heading: #134E4A; --on-mint: #3F5552;
  --font: 'Figtree', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial,
          'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif;
  --shadow-card: 0 1px 2px rgba(19, 78, 74, 0.06);
  --shadow-raised: 0 16px 32px -18px rgba(19, 78, 74, 0.5);
  --shadow-cta: 0 12px 24px -12px rgba(15, 118, 110, 0.7);
  --focus: 0 0 0 3px rgba(15, 118, 110, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.page { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-600); }
a:hover { color: var(--teal-700); }
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
[id] { scroll-margin-top: 16px; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 10; padding: 12px 18px; border-radius: 999px; background: var(--teal-800); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; }
.btn svg { flex: none; }
.btn-primary { background: var(--teal-600); color: #fff; }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-primary:active { background: var(--teal-800); }
.btn-soft { background: var(--teal-100); color: var(--teal-700); }
.btn-soft:hover { background: var(--teal-200); color: var(--teal-700); }
.btn-accent { background: var(--gold-400); color: var(--ink); }
.btn-accent:hover { background: var(--gold-500); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn-cta { box-shadow: var(--shadow-cta); }

/* ---------- Header ---------- */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 0 20px; white-space: nowrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--teal-600); }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.lang a:hover { color: var(--teal-600); }
.lang a[aria-current="page"] { background: var(--teal-100); color: var(--teal-700); font-weight: 800; }
/* The nav shows only where it fits on one row with the logo and actions; BM labels are longer. */
@media (max-width: 1060px) { .nav { display: none; } }
@media (max-width: 1180px) { .nav:lang(ms) { display: none; } }
@media (max-width: 480px) { .site-header .btn { padding: 0 16px; font-size: 15px; } .lang a { min-width: 44px; padding: 0 10px; } }

/* ---------- Shared section bits ---------- */
.section { padding-block: 96px; }
.section--white { background: var(--surface); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.head--center { align-items: center; margin-inline: auto; text-align: center; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-600); }
h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; color: var(--heading); }
.head p { margin: 0; font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 48px; padding-block: 56px 96px; }
.hero-copy { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.pill-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--teal-100); color: var(--teal-700); font-size: 14px; font-weight: 700; }
.hero h1 { margin: 0; font-size: clamp(40px, 4.4vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; color: var(--heading); }
.hl { background: linear-gradient(transparent 60%, var(--gold-300) 60%); white-space: nowrap; }
.lead { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; font-weight: 500; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 1 1 520px; min-width: 0; position: relative; border-radius: 40px; background: var(--teal-100); overflow: hidden; }
.hero-art svg { width: 100%; height: auto; }
.bubble { position: absolute; top: 20px; left: 20px; width: 236px; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-raised); }
.bubble::after { content: ""; position: absolute; left: 98px; bottom: -7px; width: 14px; height: 14px; border-radius: 3px; background: var(--surface); transform: rotate(45deg); }
.bubble-top { display: flex; align-items: center; gap: 10px; }
.bubble-top strong, .bubble-top small { display: block; }
.bubble-top strong { font-size: 13px; font-weight: 700; color: var(--heading); }
.bubble-top small { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.bubble-num { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 12px; border-radius: 16px; background: var(--teal-100); }
.bubble-num small { display: block; font-size: 12px; font-weight: 600; color: var(--teal-700); }
.bubble-num strong { display: block; font-size: 36px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: var(--heading); }
.bubble-wait { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--teal-700); }
.bubble-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1.5px dashed var(--dashed); }
.bubble-code small { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.bubble-code strong { font-size: 15px; font-weight: 800; letter-spacing: 0.1em; color: var(--heading); }
.av { flex: none; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.av--peach { background: var(--peach-100); color: var(--peach-700); }
@media (max-width: 760px) {
  .bubble { position: relative; top: auto; left: auto; width: auto; margin: 16px 16px 0; }
}

/* ---------- How it works ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; margin-top: 56px; }
.steps::before { content: ""; position: absolute; top: 30px; left: 17%; right: 17%; border-top: 5px dotted var(--teal-300); }
@media (max-width: 1000px) { .steps::before { display: none; } }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.step-num { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; box-shadow: 0 0 0 10px var(--surface); font-size: 26px; font-weight: 800; }
.step-num--1 { background: var(--teal-100); color: var(--teal-700); }
.step-num--2 { background: var(--peach-100); color: var(--peach-700); }
.step-num--3 { background: var(--gold-100); color: var(--gold-800); }
.step h3 { margin: 6px 0 0; font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; color: var(--heading); }
.step p { margin: 0; max-width: 330px; font-size: 16px; line-height: 1.6; font-weight: 500; color: var(--ink-2); }

/* ---------- Features ---------- */
.features { padding-block: 96px 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 40px; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-card); }
.card h3 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; color: var(--heading); }
.card p { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 500; color: var(--ink-2); }
.ic { width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; }
.ic--teal { background: var(--teal-100); color: var(--teal-600); }
.ic--peach { background: var(--peach-100); color: var(--peach-700); }
.ic--gold { background: var(--gold-100); color: var(--gold-800); }
.ic--lilac { background: var(--lilac-100); color: var(--lilac-700); }

.trust-section { padding-bottom: 96px; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 32px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--teal-100); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-ic { flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--surface); color: var(--teal-600); display: grid; place-items: center; }
.trust-item strong { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 800; color: var(--heading); }
.trust-item span { font-size: 15px; line-height: 1.55; font-weight: 500; color: var(--on-mint); }

/* ---------- GP / dental ---------- */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 24px; }
.aud { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3.4vw, 44px); border-radius: 32px; }
.aud--gp { background: var(--teal-100); }
.aud--dental { background: var(--peach-100); }
.aud .eyebrow { color: var(--teal-700); }
.aud--dental .eyebrow { color: var(--peach-700); }
.aud h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; font-weight: 500; color: var(--ink); }
.tick { flex: none; width: 24px; height: 24px; border-radius: 999px; background: var(--teal-600); color: #fff; display: grid; place-items: center; }
.aud--dental .tick { background: var(--peach-700); }
.mini { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 22px; background: var(--surface); }
.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 4px; font-size: 14px; font-weight: 800; color: var(--heading); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--teal-700); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--teal-600); }
.qrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--page); font-size: 14px; font-weight: 600; }
.qrow .who { display: flex; gap: 10px; min-width: 0; }
.qrow b { font-weight: 800; color: var(--heading); }
.pill { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill--with { background: var(--teal-100); color: var(--teal-700); }
.pill--emg { background: var(--gold-400); color: var(--ink); }
.pill--in { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--teal-600); color: var(--teal-600); }
.pill--home { background: var(--peach-100); color: var(--peach-700); }
.chairs { margin-top: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 10px; padding: 16px; border-radius: 22px; background: var(--surface); }
.chair { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; }
.chair small { font-size: 13px; font-weight: 700; }
.chair strong { font-size: 17px; font-weight: 800; }
.chair span { font-size: 12px; font-weight: 600; }
.chair--free { background: var(--teal-100); } .chair--free small { color: var(--on-mint); } .chair--free strong { color: var(--teal-700); }
.chair--busy { background: var(--teal-800); } .chair--busy small, .chair--busy span { color: var(--dashed); } .chair--busy strong { color: #fff; }
.chair--clean { background: var(--gold-100); } .chair--clean small { color: #6B4A00; } .chair--clean strong { color: var(--gold-800); }
.overdue { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--page); font-size: 14px; font-weight: 600; }
.overdue b { font-weight: 800; color: var(--heading); margin-right: 10px; }
.overdue .tag { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--peach-700); color: #fff; font-size: 12px; font-weight: 700; }

/* ---------- Patients ---------- */
.patients .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; }
.phone-stage { flex: 1 1 360px; min-width: 0; max-width: 460px; margin: 0 auto; display: flex; justify-content: center; padding: 36px 24px; border-radius: 40px; background: var(--teal-100); }
.phone { width: 280px; max-width: 100%; padding: 10px; border-radius: 42px; background: var(--teal-800); }
.screen { display: flex; flex-direction: column; gap: 14px; padding: 24px 18px 20px; border-radius: 33px; background: var(--page); }
.screen-top { display: flex; align-items: center; gap: 10px; }
.screen-top .av { width: 36px; height: 36px; font-size: 14px; }
.screen-top strong, .screen-top small { display: block; }
.screen-top strong { font-size: 14px; font-weight: 800; color: var(--heading); }
.screen-top small { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.ticket { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border-radius: 22px; background: var(--surface); }
.ticket small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ticket strong { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: var(--heading); font-variant-numeric: tabular-nums; }
.wait { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: var(--teal-100); color: var(--teal-700); }
.wait small, .wait strong { display: block; }
.wait small { font-size: 12px; font-weight: 600; }
.wait strong { font-size: 16px; font-weight: 800; color: var(--heading); }
.code { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 18px; border: 1.5px dashed var(--dashed); }
.code small { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.code strong { font-size: 20px; font-weight: 800; letter-spacing: 0.12em; color: var(--heading); }
.fake-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; background: var(--teal-600); color: #fff; font-size: 15px; font-weight: 700; }
.patients-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.patients-copy .eyebrow { color: var(--peach-700); }
.patients-copy > p { margin: 0; max-width: 540px; font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--ink-2); }
.note { display: flex; gap: 12px; align-items: flex-start; max-width: 540px; padding: 16px 18px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--teal-600); }
.note p { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 500; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq .wrap { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.faq-head { flex: 1 1 300px; min-width: 0; }
.faq-list { flex: 2 1 560px; min-width: 0; }
.qa { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa h3 { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 800; color: var(--heading); }
.qa p { margin: 0; font-size: 16px; line-height: 1.65; font-weight: 500; color: var(--ink-2); }

/* ---------- Book a demo ---------- */
.demo-card { display: flex; flex-wrap: wrap; border-radius: 40px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-card); }
.demo-aside { position: relative; overflow: hidden; flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 4vw, 56px); background: var(--teal-600); color: #fff; }
.demo-aside::after { content: ""; position: absolute; right: -80px; bottom: -100px; width: 280px; height: 280px; border-radius: 999px; background: var(--teal-500); }
.demo-aside > * { position: relative; z-index: 1; }
.demo-aside .eyebrow { color: var(--teal-100); }
.demo-aside h2 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.demo-aside > p { margin: 0; font-size: 17px; line-height: 1.6; font-weight: 500; }
.demo-aside .checks { margin-top: 8px; gap: 10px; }
.demo-aside .checks li { color: #fff; font-weight: 600; align-items: center; }
.demo-aside .tick { background: var(--gold-400); color: var(--ink); }
.demo-form { flex: 1.3 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); align-content: start; gap: 16px; margin: 0; padding: clamp(28px, 4vw, 56px); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--heading); }
.field--full, .consent, .demo-form .btn { grid-column: 1 / -1; }
.field input, .field select { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line-input); border-radius: 14px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal-600); box-shadow: var(--focus); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.55; font-weight: 500; color: var(--ink-2); }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal-600); }
.consent a { font-weight: 700; }
.demo-form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 24px; padding-block: 40px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.foot-brand img { align-self: flex-start; height: 28px; width: auto; }
.foot-brand p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.foot-nav, .legal-nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-nav { max-width: 560px; }
.foot-nav a, .legal-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.foot-nav a:hover, .legal-nav a:hover { color: var(--teal-600); }
.legal-nav { gap: 0 20px; }
.legal-nav a { font-size: 14px; }
.legal-nav a[aria-current="page"] { color: var(--teal-600); font-weight: 800; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.foot-bottom p { margin: 0; font-size: 13px; color: var(--ink-2); }

/* ---------- Privacy notice and 404 ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 48px clamp(20px, 4vw, 40px) 96px; }
.doc h1 { margin: 12px 0 8px; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; color: var(--heading); }
.doc .meta { margin: 0 0 28px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.doc .intro { margin: 0 0 8px; font-size: 18px; line-height: 1.65; font-weight: 500; color: var(--ink-2); }
.doc h2 { margin: 40px 0 10px; font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; font-weight: 500; color: var(--ink); }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .contact { margin-top: 32px; padding: 20px 22px; border-radius: 20px; background: var(--teal-100); }
.doc .contact p { margin: 0; color: var(--on-mint); }
.doc .contact p + p { margin-top: 6px; }
.lost { max-width: 640px; margin: 0 auto; padding: 96px clamp(20px, 4vw, 40px) 120px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.lost .mark { width: 96px; height: 96px; border-radius: 999px; background: var(--teal-100); display: grid; place-items: center; }
.lost h1 { margin: 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; color: var(--heading); }
.lost p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Chinese: CJK fonts ahead of Latin system fonts, no negative tracking, a little more leading ---------- */
html:lang(zh) { --font: 'Figtree', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', system-ui, sans-serif; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .hero h1 { letter-spacing: 0; }
/* Headings break only at punctuation or spaces, so words like 一目了然 stay whole. */
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { word-break: keep-all; overflow-wrap: anywhere; }
/* BM headline is longer than English. */
:lang(ms) .hero h1 { font-size: clamp(38px, 4vw, 54px); }
:lang(zh) .hero h1 { line-height: 1.2; }
:lang(zh) h2 { line-height: 1.25; }
:lang(zh) .eyebrow { letter-spacing: 0.04em; }
