/* Jasmae: white ground, near-black ink, soft greys, one jasmine-leaf green.
   Colour jobs (nothing else uses them):
     --leaf      Jasmae herself: her mark, her words, what she handles
     --ink       text and the primary action
     --problem   a form that could not be sent
   Pairings measured against WCAG 2.2 (ratios beside each token). */

@font-face { font-family: "Jakarta"; src: url("/fonts/pjs-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/pjs-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/pjs-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/pjs-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* A metric-matched fallback so the swap to Jakarta does not move the layout. */
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 104%; ascent-override: 98%; descent-override: 21%; line-gap-override: 0%; }

:root {
  color-scheme: light;
  --ground: #FFFFFF;
  --sunk: #F7F7F7;          /* soft grey band */
  --sunk-2: #F2F2F2;
  --hairline: #EBEBEB;
  --hairline-strong: #DDDDDD;
  --field-line: #8C8C8C;     /* 3.4:1 on white: form field edges (WCAG 1.4.11) */
  --ink: #222222;           /* 15.9:1 on white */
  --ink-2: #484848;         /* 9.2:1 */
  --muted: #6A6A6A;         /* 5.4:1 on white, 5.1:1 on --sunk */
  --faint: #B0B0B0;         /* decorative only */
  --ink-press: #000000;
  --leaf: #1E6B4E;          /* white on it 6.4:1; on white 6.4:1 */
  --leaf-press: #17563F;
  --leaf-wash: #EDF5F1;     /* --leaf on it 5.8:1 */
  --leaf-line: #CFE3D9;
  --problem: #B3261E;       /* 6.5:1 on white */
  --problem-wash: #FCEEEE;
  --focus: #1E6B4E;

  --font: "Jakarta", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-card: 20px; --r-inner: 14px; --r-control: 12px; --r-pill: 999px;
  --gutter: 20px;
  --max: 1200px; --read: 720px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-quick: 160ms; --t-move: 320ms;
  /* soft depth: one surface colour, lifted by layered shade */
  --lift: 0 1px 2px rgba(0,0,0,.04), 0 6px 16px rgba(0,0,0,.06);
  --lift-hi: 0 2px 4px rgba(0,0,0,.04), 0 14px 36px rgba(0,0,0,.09);
}
@media (min-width: 744px) { :root { --gutter: 40px; --header-h: 72px; } }
@media (min-width: 1128px) { :root { --gutter: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--ground); }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
p, li { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--leaf-wash); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-control); text-decoration: none; font-weight: 600; transition: top var(--t-quick) var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.read { max-width: calc(var(--read) + 2 * var(--gutter)); }

/* ---------- Header: glass, edge to edge ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.07); z-index: -1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header::before { background: rgba(255,255,255,.97); } }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); margin-right: auto; border-radius: 10px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: var(--r-pill); transition: background-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease); }
.nav a:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.btn.header-cta { display: none; }
@media (min-width: 560px) { .btn.header-cta { display: inline-flex; } }
@media (min-width: 960px) { .nav { display: flex; } .menu-btn { display: none !important; } }

.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; border-radius: var(--r-pill); cursor: pointer; color: var(--ink); transition: background-color var(--t-quick) var(--ease); }
.menu-btn:hover { background: rgba(0,0,0,.05); }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.sheet { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); padding: 12px var(--gutter) 32px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--t-move) var(--ease), transform var(--t-move) var(--ease), visibility 0s linear var(--t-move); }
.menu-open .sheet { visibility: visible; opacity: 1; transform: none; transition: opacity var(--t-move) var(--ease), transform var(--t-move) var(--ease), visibility 0s; }
.sheet a { display: block; text-decoration: none; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.sheet .btn { margin-top: 24px; width: 100%; font-size: 17px; border: 0; }
.menu-open { overflow: hidden; }

/* ---------- Buttons and fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-control); border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-press); }
.btn-quiet { background: var(--ground); color: var(--ink); border-color: var(--hairline-strong); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn[aria-busy="true"] { pointer-events: none; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn:disabled { background: var(--sunk-2); color: var(--muted); cursor: not-allowed; }

.field { display: grid; gap: 6px; }
.field > span, .legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 14px 16px; background: var(--ground); border: 1px solid var(--field-line); border-radius: var(--r-control); font-size: 16px; color: var(--ink); transition: border-color var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease); -webkit-appearance: none; appearance: none; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23222222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--problem); box-shadow: 0 0 0 1px var(--problem); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--ink-2); border-radius: 6px; background: var(--ground); display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease); }
.check input::after { content: ""; width: 11px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform var(--t-quick) var(--ease); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input[aria-invalid="true"] { border-color: var(--problem); }
.check a { color: var(--ink); font-weight: 500; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--hairline-strong); border-radius: var(--r-pill); font-size: 15px; font-weight: 500; background: var(--ground); transition: background-color var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease); }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* form states */
.form, .form-body, .form-fields { display: grid; gap: 16px; }
.form-body > .form-msg:empty { display: none; }
.form-msg { display: none; font-size: 14px; line-height: 1.5; border-radius: var(--r-control); padding: 12px 14px; }
.form-msg[data-kind="error"] { display: block; background: var(--problem-wash); color: var(--problem); }
.form-done { display: none; }
.is-done .form-body { display: none; }
.is-done .form-done { display: block; animation: rise var(--t-move) var(--ease) both; }
.done-card { display: grid; gap: 8px; padding: 22px; border-radius: var(--r-card); background: var(--leaf-wash); border: 1px solid var(--leaf-line); }
.done-card .tick { width: 36px; height: 36px; border-radius: 50%; background: var(--leaf); display: grid; place-items: center; margin-bottom: 4px; }
.done-card .tick svg { width: 18px; height: 18px; }
.done-card strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.done-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--leaf); letter-spacing: 0; margin-bottom: 18px; }
.eyebrow svg { width: 18px; height: 18px; }
.display { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
.h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.01em; }
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.band { background: var(--sunk); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin: 16px 0 0; }

/* hero */

/* the example conversation */

/* cards */

/* three truths */

/* steps */

/* a day */

/* split */

/* FAQ */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transition: background-color var(--t-quick) var(--ease); }
.faq summary:hover .chev { background: var(--sunk); }
.faq summary .chev svg { width: 18px; height: 18px; transition: transform var(--t-move) var(--ease); }
.faq details[open] summary .chev svg { transform: rotate(180deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size var(--t-move) var(--ease), content-visibility var(--t-move) allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* CTA panel */

/* page hero (inner pages) */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.page-hero .lede { margin-top: 20px; max-width: 680px; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 24px; padding: 0; list-style: none; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--faint); }

/* ---------- Answer pages (prose) ---------- */
.page-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); margin-top: 20px; }
.sources { font-size: 14px; color: var(--muted); border-top: 1px solid var(--hairline); padding-top: 24px; margin-top: 48px; }
.sources ol { padding-left: 20px; margin: 8px 0 0; }
.sources li { margin-bottom: 6px; }
.sources a { color: var(--ink-2); word-break: break-word; }
.related { margin-top: 56px; }
.related h2 { font-size: 22px; margin: 0 0 16px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-inner); background: var(--ground); box-shadow: var(--lift); text-decoration: none; font-weight: 500; transition: box-shadow var(--t-move) var(--ease); }
.related a:hover { box-shadow: var(--lift-hi); }
.related a svg { width: 16px; height: 16px; flex: none; }

/* guides hub */
.guide-group { margin-bottom: 56px; }
.guide-group h2 { font-size: 24px; margin-bottom: 16px; }

/* legal */
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); background: var(--sunk); padding: 56px 0 40px; font-size: 14px; color: var(--ink-2); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot-brand p { margin: 12px 0 0; max-width: 300px; color: var(--muted); }
.site-footer h2 { font-size: 14px; font-weight: 600; margin: 0 0 12px; letter-spacing: 0; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline-strong); color: var(--muted); }

/* ---------- Motion: one entrance, gentle; none when reduced ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .btn .spin { animation: none; border-top-color: rgba(255,255,255,.35); }
}
@media print { .site-header, .site-footer, .sheet, .skip { display: none; } }
.faq-wrap > h2 { margin-bottom: 28px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset .legend { margin-bottom: 10px; padding: 0; }

/* dark CTA */
.guide-h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.06; letter-spacing: -0.035em; }
.guide-faq { margin-top: 64px; }
.guide-faq .faq-wrap > h2 { font-size: clamp(24px, 3vw, 30px); }

main { flex: 1 0 auto; }
.sheet a.btn { display: flex; justify-content: center; align-items: center; padding: 0 22px; border-bottom: 0; font-size: 17px; letter-spacing: -0.01em; }

/* =====================================================================
   The SEO site: hub, answer pages, blocks, promises
   ===================================================================== */
.mega { font-size: clamp(42px, 7.6vw, 92px); line-height: .98; letter-spacing: -0.045em; }
.eyebrow svg { width: 18px; height: 18px; }

/* home */
.home-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(1100px 420px at 85% 0%, var(--leaf-wash) 0%, rgba(237,245,241,0) 70%), var(--ground); }
.home-hero .lede { margin: 24px 0 32px; max-width: 640px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--ground); border: 1px solid var(--hairline-strong); text-decoration: none; font-weight: 500; font-size: 15px; transition: border-color var(--t-quick) var(--ease), background-color var(--t-quick) var(--ease); }
.topic-chips a:hover { border-color: var(--ink); }
.page-hero .topic-chips { margin-top: 28px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.more-link svg { width: 16px; height: 16px; transition: transform var(--t-quick) var(--ease); }
.more-link:hover svg { transform: translateX(3px); }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 744px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1128px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px; border-radius: var(--r-card); background: var(--ground); box-shadow: var(--lift); border: 1px solid rgba(0,0,0,.04); text-decoration: none; transition: box-shadow var(--t-move) var(--ease), transform var(--t-move) var(--ease); }
.feature:hover { box-shadow: var(--lift-hi); transform: translateY(-2px); }
.f-group { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--sunk-2); padding: 4px 10px; border-radius: var(--r-pill); }
.feature strong { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.f-sum { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.f-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.f-go svg { width: 16px; height: 16px; transition: transform var(--t-quick) var(--ease); }
.feature:hover .f-go svg { transform: translateX(3px); }
.guide-group { margin-bottom: 56px; scroll-margin-top: calc(var(--header-h) + 24px); }
.guide-group h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 20px; }

/* answer page: hero and quick answer */
.g-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--sunk) 0%, var(--ground) 100%); }
.g-h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.038em; max-width: 920px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-meta svg { width: 15px; height: 15px; color: var(--ink); }
.g-answer { margin-top: 28px; max-width: 920px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-card); background: var(--ground); box-shadow: var(--lift-hi); border: 1px solid rgba(0,0,0,.04); }
.g-answer .label { display: inline-flex; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #fff; background: var(--ink); padding: 4px 10px; border-radius: var(--r-pill); margin-bottom: 14px; }
.g-answer > p { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; letter-spacing: -0.012em; margin: 0; color: var(--ink); }
.b-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0 0 24px; }
.b-stats.in-answer { margin: 22px 0 0; }
.b-stats > div { padding: 16px 18px; border-radius: var(--r-inner); background: var(--sunk); display: grid; gap: 4px; }
.b-stats .v { font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.b-stats .l { font-size: 14px; color: var(--ink-2); line-height: 1.4; }

/* answer page: layout and contents */
.g-layout { display: grid; gap: 0; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 7vw, 88px); }
.g-toc { display: none; }
@media (min-width: 1128px) {
  .g-layout { grid-template-columns: 240px minmax(0, 760px); gap: 64px; justify-content: center; }
  .g-toc { display: block; position: sticky; top: calc(var(--header-h) + 28px); align-self: start; max-height: calc(100vh - var(--header-h) - 56px); overflow-y: auto; }
}
.toc-h { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.g-toc ol { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--hairline); }
.g-toc li a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; font-size: 14px; line-height: 1.35; color: var(--ink-2); transition: color var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease); }
.g-toc li a:hover { color: var(--ink); }
.g-toc li a[aria-current="true"] { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.toc-cta { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--r-inner); background: var(--leaf-wash); color: var(--leaf); font-weight: 600; font-size: 14px; text-decoration: none; }
.toc-cta svg { width: 16px; height: 16px; flex: none; }
.g-main { min-width: 0; font-size: 17px; line-height: 1.65; }
.g-main a { color: var(--ink); text-decoration-color: var(--faint); }
.g-main a:hover { text-decoration-color: var(--ink); }
.g-takeaways { padding: 24px 26px; border-radius: var(--r-card); border: 1px solid var(--hairline-strong); margin-bottom: 8px; }
.g-takeaways h2 { font-size: 15px; letter-spacing: 0; color: var(--muted); margin: 0 0 14px; }
.g-takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.g-takeaways li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 17px; line-height: 1.5; }
.g-takeaways li svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--ink); color: #fff; }
.g-main { counter-reset: sec; }
.g-sec { padding-top: clamp(40px, 5vw, 56px); scroll-margin-top: calc(var(--header-h) + 8px); }
.g-sec > h2 { counter-increment: sec; font-size: clamp(25px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.028em; margin: 0 0 20px; display: grid; gap: 8px; }
.g-sec > h2::before { content: counter(sec, decimal-leading-zero); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

/* blocks */
.b-p { margin: 0 0 18px; max-width: 68ch; }
.b-list { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.b-list li { position: relative; padding-left: 22px; }
.b-list li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.b-steps { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: st; display: grid; gap: 0; }
.b-steps li { counter-increment: st; position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 22px; }
.b-steps li::before { content: counter(st); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; position: relative; z-index: 1; }
.b-steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--hairline-strong); }
.b-steps li > div > strong { display: block; font-size: 18px; line-height: 1.3; margin: 8px 0 4px; letter-spacing: -0.01em; }
.b-steps p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.b-cards { display: grid; gap: 12px; margin: 0 0 24px; }
@media (min-width: 640px) { .b-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.b-card { padding: 20px; border-radius: var(--r-inner); background: var(--ground); box-shadow: var(--lift); border: 1px solid rgba(0,0,0,.04); }
.b-card .b-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--sunk); display: grid; place-items: center; margin-bottom: 14px; }
.b-card .b-ico svg { width: 20px; height: 20px; }
.b-card > strong { display: block; font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.b-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.b-compare { display: grid; gap: 12px; margin: 0 0 24px; }
@media (min-width: 640px) { .b-compare { grid-template-columns: 1fr 1fr; } }
.b-compare > div { padding: 20px; border-radius: var(--r-inner); }
.b-yes { background: var(--ground); box-shadow: var(--lift); border: 1px solid rgba(0,0,0,.04); }
.b-no { background: var(--problem-wash); }
.b-compare > div > strong { display: block; font-size: 16px; margin-bottom: 12px; }
.b-compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-compare li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; }
.b-compare li svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; }
.b-yes li svg { background: var(--ink); color: #fff; }
.b-no li svg { background: var(--problem); color: #fff; }
.b-table { margin: 0 0 24px; border-radius: var(--r-inner); border: 1px solid var(--hairline); overflow: hidden; }
.b-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.b-table caption { text-align: left; padding: 14px 16px 0; font-size: 13px; color: var(--muted); caption-side: top; }
.b-table th { text-align: left; font-weight: 600; background: var(--sunk); padding: 12px 16px; font-size: 14px; }
.b-table td { padding: 14px 16px; border-top: 1px solid var(--hairline); vertical-align: top; }
.b-table tbody tr:nth-child(even) td { background: #FCFCFC; }
.b-table td:first-child { font-weight: 500; }
@media (max-width: 639px) {
  .b-table { border: 0; overflow: visible; }
  .b-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .b-table table, .b-table tbody, .b-table tr, .b-table td { display: block; }
  .b-table tr { margin-bottom: 10px; border-radius: var(--r-inner); background: var(--ground); box-shadow: var(--lift); border: 1px solid rgba(0,0,0,.04); overflow: hidden; }
  .b-table td { border-top: 1px solid var(--hairline); padding: 10px 14px; background: none !important; }
  .b-table td:first-child { border-top: 0; font-weight: 600; background: var(--sunk) !important; }
  .b-table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
}
.b-callout { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--r-inner); background: var(--sunk); margin: 0 0 24px; }
.b-callout .b-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--ground); display: grid; place-items: center; }
.b-callout .b-ico svg { width: 20px; height: 20px; }
.b-callout > div > strong { display: block; font-size: 16px; margin: 2px 0 4px; }
.b-callout p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.b-callout.is-warn { background: var(--problem-wash); }
.b-callout.is-warn .b-ico { color: var(--problem); }
.b-timeline { list-style: none; margin: 0 0 24px; padding: 0; position: relative; display: grid; gap: 0; }
.b-timeline li { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 0 0 22px; }
.b-timeline li::before { content: ""; position: absolute; left: 124px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--ground); border: 2px solid var(--ink-2); z-index: 1; }
.b-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 129px; top: 19px; bottom: 0; width: 2px; background: var(--hairline-strong); }
.b-timeline li.is-key::before { background: var(--ink); border-color: var(--ink); }
.b-timeline .when { font-weight: 600; font-size: 14px; text-align: right; padding-top: 1px; font-variant-numeric: tabular-nums; }
.b-timeline li > div { padding-left: 22px; }
.b-timeline li > div > strong { display: block; font-size: 16px; line-height: 1.35; }
.b-timeline p { margin: 2px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 539px) {
  .b-timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 28px; }
  .b-timeline li::before { left: 0; }
  .b-timeline li:not(:last-child)::after { left: 5px; }
  .b-timeline .when { text-align: left; }
  .b-timeline li > div { padding-left: 0; }
}
.b-template { margin: 0 0 24px; border-radius: var(--r-inner); border: 1px solid var(--hairline-strong); overflow: hidden; background: var(--ground); }
.b-template figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: var(--sunk); border-bottom: 1px solid var(--hairline); }
.b-template figcaption > strong { font-size: 14px; font-weight: 600; }
.tpl-text { padding: 18px; white-space: pre-wrap; font-size: 16px; line-height: 1.6; }
.tpl-note { margin: 0; padding: 0 18px 16px; font-size: 13px; color: var(--muted); }
.b-checklist { margin: 0 0 24px; padding: 20px; border-radius: var(--r-inner); background: var(--sunk); }
.b-checklist > strong { display: block; margin-bottom: 12px; font-size: 16px; }
.b-checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15px; line-height: 1.5; }
.b-checklist .box { width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; border: 2px solid var(--ink-2); background: var(--ground); }
.b-quote { margin: 0 0 24px; padding: 20px 22px 20px 24px; border-left: 3px solid var(--ink); background: var(--sunk); border-radius: 0 var(--r-inner) var(--r-inner) 0; }
.b-quote p { margin: 0 0 8px; font-size: 17px; line-height: 1.55; }
.b-quote cite { font-style: normal; font-size: 13px; color: var(--muted); }
.b-quote cite a { color: var(--muted); }
.g-faq { margin-top: 56px; }
.g-faq .faq-wrap > h2 { font-size: clamp(25px, 3vw, 32px); }
.g-main .related { margin-top: 48px; }

/* promises (Jasmae's colour: the leaf) */
.promise-band { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; margin: clamp(40px, 5vw, 56px) 0 0; padding: 22px 24px; border-radius: var(--r-card); background: var(--leaf); color: #fff; }
.pb-mark { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.pb-mark svg { width: 28px; height: 28px; }
.pb-h { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.pb-s { margin: 4px 0 0; font-size: 15px; color: rgba(255,255,255,.88); line-height: 1.45; }
.pb-btn { grid-column: 1 / -1; background: #fff; color: var(--leaf); justify-self: start; }
.pb-btn:hover { background: #F2F7F4; }
@media (min-width: 720px) { .promise-band { grid-template-columns: 48px 1fr auto; } .pb-btn { grid-column: auto; } }
.promise { padding: clamp(48px, 7vw, 96px) 0; }
.promise-inner { border-radius: 28px; background: var(--leaf); color: #fff; padding: clamp(28px, 5vw, 64px); display: grid; gap: 36px; background-image: radial-gradient(700px 360px at 100% 0%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 70%); }
@media (min-width: 1024px) { .promise-inner { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; } }
.eyebrow.on-dark { color: rgba(255,255,255,.9); }
.promise-h { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.035em; color: #fff; margin: 0 0 28px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .promise-list { grid-template-columns: 1fr 1fr; gap: 14px 20px; } }
.promise-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; font-size: 16px; line-height: 1.4; font-weight: 500; }
.pi { width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.pi svg { width: 18px; height: 18px; }
.promise-form { background: var(--ground); color: var(--ink); border-radius: var(--r-card); padding: clamp(22px, 3vw, 30px); box-shadow: 0 24px 48px -20px rgba(0,0,0,.35); --focus: var(--leaf); }
.pf-h { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.pf-s { margin: 4px 0 18px; color: var(--ink-2); font-size: 15px; }
.promise-form .form { gap: 14px; }

.g-frame { max-width: 1064px; margin: 0 auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 24px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 600; background: var(--sunk); }
.home-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1100px) { .home-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; } }
.quick-card { border-radius: var(--r-card); background: var(--ground); box-shadow: var(--lift-hi); border: 1px solid rgba(0,0,0,.04); padding: 10px; }
.qc-h { margin: 8px 12px 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.quick-card ul { list-style: none; margin: 0; padding: 0; display: grid; }
.quick-card li + li { border-top: 1px solid var(--hairline); }
.quick-card a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 12px; border-radius: 12px; text-decoration: none; transition: background-color var(--t-quick) var(--ease); }
.quick-card a:hover { background: var(--sunk); }
.qc-q { font-size: 15px; font-weight: 500; line-height: 1.35; }
.qc-a { flex: none; min-width: 56px; text-align: center; padding: 6px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.qc-a svg { width: 16px; height: 16px; margin: 0 auto; }
@media (max-width: 743px) { .crumbs li:last-child { display: none; } }

/* gate v2 fixes */
@media (max-width: 1127px) { .g-main { max-width: 760px; } .g-layout .g-main { margin-left: auto; margin-right: auto; } }
@media (max-width: 1127px) { .g-frame { max-width: 760px; } }
@media (max-width: 539px) {
  .b-callout { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .b-callout .b-ico { width: 32px; height: 32px; border-radius: 10px; }
  .b-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-stats .v { font-size: 22px; }
  .b-stats > div { padding: 12px 14px; }
  .g-answer { padding: 18px; }
  .b-card { display: grid; grid-template-columns: 32px 1fr; gap: 4px 12px; align-items: center; }
  .b-card .b-ico { width: 32px; height: 32px; margin: 0; border-radius: 10px; }
  .b-card .b-ico svg { width: 17px; height: 17px; }
  .b-card > strong { margin: 0; }
  .b-card p { grid-column: 1 / -1; }
}
@media (max-width: 399px) { .promise-inner { padding: 22px 16px; border-radius: 22px; } .promise-form { padding: 18px 14px; } }
.b-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.b-compare.is-urgent .b-no { background: #FFF6E5; }
.b-compare.is-urgent .b-no li svg { background: #8A5300; color: #fff; }
.tpl-text .ph { background: var(--sunk-2); border-radius: 6px; padding: 1px 5px; color: var(--ink-2); font-weight: 500; }
.tpl-copy { min-width: 112px; }
details.b-template summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; background: var(--sunk); }
details.b-template summary::-webkit-details-marker { display: none; }
details.b-template summary strong { font-size: 15px; }
details.b-template summary .chev { width: 28px; height: 28px; display: grid; place-items: center; }
details.b-template summary .chev svg { width: 16px; height: 16px; transition: transform var(--t-move) var(--ease); }
details.b-template[open] summary .chev svg { transform: rotate(180deg); }
details.b-template .tpl-bar { display: flex; justify-content: flex-end; padding: 10px 10px 0; }
.guide-group .feature-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 744px) { .guide-group .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide-group .f-group { display: none; }
.page-hero + .section-tight { padding-top: 8px; }
.legal > h2:first-child { margin-top: 0; }
.legal ul.rights { list-style: none; padding: 0; display: grid; gap: 8px; }
.legal ul.rights li { padding: 12px 14px; border-radius: 12px; background: var(--sunk); margin: 0; }
@media (max-width: 639px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal tr { margin-bottom: 10px; border-radius: 12px; background: var(--ground); box-shadow: var(--lift); border: 1px solid rgba(0,0,0,.04); overflow: hidden; }
  .legal td { border-bottom: 0; border-top: 1px solid var(--hairline); padding: 10px 14px; }
  .legal td:first-child { border-top: 0; background: var(--sunk); font-weight: 600; color: var(--ink); }
  .legal td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
}
