/* Foreweave marketing site — Meadow design system (doc 13 ADR-M2).
 * Merged from the accepted "Thousand Futures" prototype pages; the app's
 * Midnight Indigo/Daybreak tokens (web/src/styles.css) are deliberately NOT
 * shared — only the brand mark and the display face are (brand/).
 *
 * NFR-303 deviation (approved): three *-text tokens darken small-type uses of
 * moss/gold/clay, whose prototype values sat below 4.5:1 on Meadow surfaces
 * (moss #3e7a55 ≈ 4.0:1 on #f3f5ec; gold #b78a2e ≈ 2.9:1 on #fcfdf8;
 * clay #c2562f ≈ 4.0:1). Display-size and decorative uses keep the originals.
 */

/* Self-hosted display face (NFR-302) — same @fontsource package the SPA uses. */
@font-face {
  font-family: "Bricolage Grotesque Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root{
  --bg:#f3f5ec; --surface:#fcfdf8; --ink:#1b2a1f; --muted:#5c6e5f; --line:#dde4d4;
  --moss:#3e7a55; --moss-deep:#26543a; --bloom:#9cc24e; --bloom-soft:#d6e7b0;
  --clay:#c2562f; --gold:#b78a2e; --glow:rgba(62,122,85,.22);
  /* Accessibility text variants. --clay-text was #a8431f, which passes contrast (5.47:1
     on sage paper) but measures ΔE00 1.54 from --gold-text under simulated deuteranopia:
     perceptually the same colour. The doc-12 §8 A-8 amendment tested one axis and not the
     other. frontend/02 §6 hedged that it might not matter unless the two ever encode
     distinct meanings in one view — they do, twice in this file: .fan-read .p50/.p80 are
     two percentiles in one component, and .pill.warn/.pill.late sit side by side.
     Deepened to #8f2408: ΔE00 7.39 worst-case across normal vision and all three
     dichromacies, 7.87:1 on paper (AC-VL6). Verified by brand/scripts/palette-audit.mjs. */
  --moss-text:#2f6044; --gold-text:#7e611c; --clay-text:#8f2408;
  --font-display:'Bricolage Grotesque Variable','Bricolage Grotesque','Avenir Next',system-ui,sans-serif;
  --font-body:'Avenir Next','Segoe UI',system-ui,sans-serif;
  --font-mono:ui-monospace,'SF Mono',Menlo,monospace;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
/* overflow-x stays on body, NOT on html: the root element's overflow propagates
   to the viewport, so `html{overflow-x:hidden}` can suppress viewport scrolling
   and break position:sticky outright. */
body{background:var(--bg);color:var(--ink);font-family:var(--font-body);line-height:1.65;overflow-x:hidden}
::selection{background:var(--bloom-soft)}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}

/* grain atmosphere */
body::before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.035;z-index:1;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}

/* a11y helpers */
.visually-hidden{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-link{position:absolute;left:-9999px;top:0;z-index:100;background:var(--moss-deep);color:#fff;padding:10px 18px;border-radius:0 0 12px 0}
.skip-link:focus{left:0}

header{position:sticky;top:0;z-index:60;background:rgba(243,245,236,.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
/* Scoped to the header bar. As a bare `nav{}` this hit every <nav> on the site:
   the legal Contents box became a 66px-tall flex row whose <ol> spilled out over
   the page text, and the /features jump chips were spread across the full width.
   Landmarks are semantic, not a style hook — anything else that needs this
   layout should ask for it. */
header nav{display:flex;align-items:center;justify-content:space-between;height:66px}
/* Brand lockup (Converge system, brand/README.md): Fore 800 ink / weave 500
   indigo — the fixed brand colors, deliberately not Meadow tokens. */
.brand{font-family:var(--font-display);font-size:1.35rem;letter-spacing:-.02em;text-decoration:none;display:flex;align-items:center;gap:9px}
.brand svg{width:26px;height:26px}
.brand .fore{font-weight:800;color:#16203a}
.brand .weave{font-weight:500;color:#3b4ed8}
.nav-links{display:flex;gap:26px;align-items:center}
.nav-links a{color:var(--muted);text-decoration:none;font-size:.92rem}
.nav-links a:hover,.nav-links a:focus-visible{color:var(--moss-deep)}
.nav-links a[aria-current=page]{color:var(--moss-deep);font-weight:600}
/* Sign in reads as an action, not a section — ink rather than the muted grey of
   the section links, but weight 500 not 600: `a[aria-current=page]` above is
   moss-deep/600, and matching it exactly would put two "current"-looking links
   in the bar on every page. */
.nav-links a.nav-signin{color:var(--moss-deep);font-weight:500}
.nav-menu-panel a.nav-signin{color:var(--moss-deep);font-weight:600;border-top:1px solid var(--line);border-radius:0 0 9px 9px;margin-top:4px;padding-top:14px}
/* The CTA inside .nav-links must keep its button colors — without this the
   higher-specificity `.nav-links a` muted color wins and the header CTA
   renders ~2.5:1 green-on-green (a latent prototype bug; NFR-303 fix). */
.nav-links a.btn-primary,.nav-links a.btn-primary[aria-current=page]{color:#fff}
.btn{display:inline-block;font-weight:600;font-size:.95rem;text-decoration:none;border-radius:12px;padding:12px 26px;transition:transform .15s,box-shadow .2s,background .2s;cursor:pointer;border:none;font-family:var(--font-body)}
.btn-primary{background:var(--moss);color:#fff;box-shadow:0 6px 18px -6px var(--glow)}
.btn-primary:hover,.btn-primary:focus-visible{background:var(--moss-deep);transform:translateY(-1px)}
.btn-ghost{color:var(--moss-deep);border:1.5px solid var(--moss);background:transparent}
.btn-ghost:hover,.btn-ghost:focus-visible{background:var(--bloom-soft)}
.btn:focus-visible{outline:2px solid var(--moss-deep);outline-offset:3px}
.btn[disabled]{opacity:.6;cursor:progress;transform:none}
/* nowrap: REQ-505 swaps this label to the much longer "Open your workspace" for
   a signed-in visitor, which wrapped to two lines and burst the 66px header. */
.nav-cta{padding:9px 20px;font-size:.88rem;white-space:nowrap}
/* Disclosure menu: the only navigation under 900px, where .nav-links drops every
   non-button link. JavaScript-free by design (CSP `script-src 'self'`). */
.nav-menu{display:none;position:relative;margin-left:14px}
.nav-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;color:var(--moss-deep);background:var(--surface)}
.nav-menu summary::-webkit-details-marker{display:none}
.nav-menu summary:focus-visible{outline:2px solid var(--moss-deep);outline-offset:2px}
.nav-menu summary svg{width:20px;height:20px}
.nav-menu[open] summary{background:var(--bloom-soft);border-color:var(--moss)}
.nav-menu-panel{position:absolute;right:0;top:calc(100% + 8px);min-width:190px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:8px;box-shadow:0 20px 44px -26px rgba(27,42,31,.45);display:flex;flex-direction:column;z-index:20}
.nav-menu-panel a{padding:11px 14px;border-radius:9px;text-decoration:none;color:var(--ink);font-size:.95rem}
.nav-menu-panel a:hover,.nav-menu-panel a:focus-visible{background:var(--bloom-soft);color:var(--moss-deep)}
.nav-menu-panel a[aria-current=page]{color:var(--moss-deep);font-weight:600}

main{position:relative;z-index:2}
section{padding:96px 0;position:relative;z-index:2}
.eyebrow{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--moss-text)}
h1{font-family:var(--font-display);font-weight:700;font-size:clamp(2.5rem,6.4vw,4.6rem);line-height:1.02;letter-spacing:-.03em;margin:16px 0 22px;max-width:16ch}
h1 .grow{color:var(--moss)}
.page-hero h1{font-size:clamp(2.2rem,5.2vw,3.6rem);line-height:1.05;margin:16px 0 18px;max-width:20ch}
h2{font-family:var(--font-display);font-weight:600;font-size:clamp(1.8rem,3.6vw,2.6rem);letter-spacing:-.02em;line-height:1.12;margin:12px 0 16px}
.page-hero ~ section h2,.compact h2{font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.15;margin:12px 0 14px}
h3{font-family:var(--font-display);font-weight:600;font-size:1.15rem;margin:0 0 8px}
.lede{font-size:1.15rem;color:var(--muted);max-width:54ch;margin-bottom:32px}
.page-hero{padding:64px 0 30px}
.page-hero .lede{font-size:1.12rem;max-width:58ch;margin-bottom:0}
.hero{padding:76px 0 30px}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:48px}
.section-head{max-width:620px;margin-bottom:54px}
.section-head.centered{margin-inline:auto;text-align:center}
.section-head p{color:var(--muted);font-size:1.05rem}
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.3,1)}
.reveal.in{opacity:1;transform:none}
.card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:30px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.muted{color:var(--muted)}
.mono{font-family:var(--font-mono)}
.pill{font-family:var(--font-mono);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;border-radius:999px;padding:4px 12px;display:inline-block}
.pill.ok{background:var(--bloom-soft);color:var(--moss-deep)}
.pill.warn{background:#f3e6cf;color:var(--gold-text)}
.pill.late{background:#f3ddd2;color:var(--clay-text)}

footer{border-top:1px solid var(--line);padding:34px 0;color:var(--muted);font-size:.84rem;position:relative;z-index:2}
footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
/* inline-block + padding so the touch box clears the 24×24 minimum (WCAG 2.5.8).
   Bare 16px-tall text links are a miss anywhere, and the footer is the *only*
   secondary navigation under 900px where the header link row is hidden. */
footer a{color:var(--muted);text-decoration:none;display:inline-block;padding:7px 3px}
footer a:hover,footer a:focus-visible{color:var(--moss-deep);text-decoration:underline}

/* ---------- landing: futures fan ---------- */
.fan-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:26px 26px 18px;box-shadow:0 24px 60px -30px rgba(27,42,31,.25);position:relative}
.fan-card svg{width:100%;height:auto;display:block}
.fan-controls{display:flex;align-items:center;gap:18px;margin-top:14px;flex-wrap:wrap}
.fan-controls label{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
input[type=range]{flex:1;min-width:160px;accent-color:var(--moss);height:6px;cursor:pointer}
input[type=range]:focus-visible{outline:2px solid var(--moss-deep);outline-offset:4px}
.fan-read{font-family:var(--font-mono);font-size:.8rem;color:var(--ink)}
.fan-read .p50{color:var(--gold-text);font-weight:600}
.fan-read .p80{color:var(--clay-text);font-weight:600}
.fan-caption{font-size:.85rem;color:var(--muted);margin-top:12px}
.future-path{fill:none;stroke-linecap:round;transition:d .35s ease}
.trunk{stroke:var(--moss-deep);stroke-width:5;fill:none;stroke-linecap:round}
@media (prefers-reduced-motion:no-preference){
  .fan-on .future-path{stroke-dasharray:700;stroke-dashoffset:700;animation:sprout 1.6s cubic-bezier(.5,0,.2,1) forwards}
  @keyframes sprout{to{stroke-dashoffset:0}}
}

/* ---------- landing: grow steps ---------- */
.grow-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.step{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:30px 28px;position:relative;overflow:hidden}
.step .leaf{position:absolute;top:-14px;right:-14px;width:90px;height:90px;opacity:.12}
.step h3{font-family:var(--font-display);font-weight:600;font-size:1.25rem;margin:16px 0 8px}
.step p{color:var(--muted);font-size:.94rem}
.step .s-mark{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.16em;color:var(--moss-text);text-transform:uppercase;border:1px solid var(--line);border-radius:999px;padding:5px 12px;display:inline-block;background:var(--bg)}

/* ---------- landing: feature garden ---------- */
.garden{display:grid;grid-template-columns:repeat(12,1fr);gap:22px}
.bed{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:30px;transition:transform .25s ease,box-shadow .25s ease}
.bed:hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px rgba(27,42,31,.3)}
.bed h3{font-family:var(--font-display);font-weight:600;font-size:1.2rem;margin:14px 0 8px}
/* Each bed's heading is the link to its /features section; keep it reading as a
   heading, not as a blue link, but stay obviously actionable on hover/focus. */
.bed h3 a{color:inherit;text-decoration:none}
/* Plain `content`, not the `/ ""` alt-text form: where that syntax is
   unsupported the whole declaration is dropped and the affordance disappears,
   which costs more than a screen reader occasionally voicing the arrow. */
.bed h3 a::after{content:" →";font-family:var(--font-mono);font-size:.8em;color:var(--moss-text);opacity:0;transition:opacity .2s}
.bed:hover h3 a::after,.bed h3 a:focus-visible::after{opacity:1}
.bed h3 a:hover,.bed h3 a:focus-visible{color:var(--moss-deep)}
.bed.deep h3 a::after{color:var(--bloom)}
.bed.deep h3 a:hover,.bed.deep h3 a:focus-visible{color:var(--bloom)}
.bed p{color:var(--muted);font-size:.93rem}
.bed svg{width:40px;height:40px}
.bed.w5{grid-column:span 5}.bed.w7{grid-column:span 7}.bed.w4{grid-column:span 4}.bed.w8{grid-column:span 8}.bed.w6{grid-column:span 6}
.bed.deep{background:var(--moss-deep);color:#eef5ea;border-color:var(--moss-deep)}
.bed.deep h3{color:#fff}
.bed.deep p{color:#cfe0cd}

/* ---------- landing: scenario compare ---------- */
.compare{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:stretch}
.branch{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:14px}
.branch.win{border:2px solid var(--moss);box-shadow:0 14px 40px -20px var(--glow)}
.branch .b-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.branch .b-head h3{font-family:var(--font-display);font-weight:600;font-size:1.15rem}
.branch .b-date{font-family:var(--font-display);font-weight:700;font-size:2rem;letter-spacing:-.02em}
.branch.win .b-date{color:var(--moss-deep)}
.branch:not(.win) .b-date{color:var(--clay-text)}
.branch ul{list-style:none;font-size:.9rem;color:var(--muted)}
.branch li{padding:9px 0;border-bottom:1px dashed var(--line);display:flex;justify-content:space-between;gap:12px}
.branch li b{font-weight:600;color:var(--ink)}
.delta-up{color:var(--clay-text)}.delta-down{color:var(--moss-text)}

/* ---------- landing: agent strip ---------- */
.agent-strip{background:var(--moss-deep);border-radius:26px;color:#eef5ea;padding:64px 56px;display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center;overflow:hidden;position:relative}
.agent-strip h2{color:#fff}
.agent-strip p{color:#cfe0cd}
.agent-strip .eyebrow{color:var(--bloom)}
.vines{position:absolute;inset:0;opacity:.14;pointer-events:none}
.agent-quote{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);border-radius:16px;padding:24px;font-size:.95rem;backdrop-filter:blur(2px)}
.agent-quote .q-user{font-weight:600;color:#fff;margin-bottom:12px}
.agent-quote .q-fw{color:#d9e8d6}
.agent-quote .q-tool{display:block;margin-top:12px;font-family:var(--font-mono);font-size:.72rem;color:var(--bloom)}
.assure{display:flex;gap:22px;margin-top:26px;flex-wrap:wrap;font-size:.82rem;color:#bcd3ba}
.assure span{display:flex;align-items:center;gap:7px}
.assure svg{width:15px;height:15px;flex:none}

/* ---------- landing: cta ---------- */
.cta{text-align:center}
.cta h2{max-width:22ch;margin-inline:auto}
.cta .lede{margin-inline:auto;text-align:center}

/* ---------- forms (signup / contact) ---------- */
.split-page{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.fw-form{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:34px;box-shadow:0 24px 60px -34px rgba(27,42,31,.3)}
.fw-form label{display:block;font-weight:600;font-size:.9rem;margin:18px 0 6px}
.fw-form label:first-of-type{margin-top:0}
/* 16px, not .98rem: iOS Safari zooms the page in whenever a focused field is
   under 16px, so the visitor lands on the signup form, taps Work email, and has
   to pinch back out. The visual difference is a third of a pixel. */
.fw-form input,.fw-form select,.fw-form textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:12px 16px;font-size:1rem;font-family:var(--font-body);background:var(--bg);color:var(--ink)}
.fw-form input:focus-visible,.fw-form select:focus-visible,.fw-form textarea:focus-visible{outline:2px solid var(--moss);outline-offset:1px;border-color:var(--moss)}
.fw-form .hint{font-size:.8rem;color:var(--muted);margin-top:5px}
.fw-form .err{display:none;font-size:.8rem;color:var(--clay-text);margin-top:5px;font-weight:600}
.fw-form .invalid input{border-color:var(--clay)}
.fw-form .invalid .err{display:block}
.fw-form button[type=submit]{width:100%;margin-top:26px}
.fw-form .fine{font-size:.78rem;color:var(--muted);margin-top:14px;text-align:center}
.fw-form .fine a{color:var(--moss-deep);font-weight:600}
.opt-in{display:flex;gap:10px;align-items:flex-start;margin-top:20px;font-size:.85rem;color:var(--muted)}
.opt-in input[type=checkbox]{width:auto;margin-top:4px;accent-color:var(--moss)}
.opt-in input[type=checkbox]:focus-visible{outline:2px solid var(--moss-deep);outline-offset:2px}
/* honeypot (REQ-527): hidden from people, present for bots. Not display:none —
   some bots skip invisible-by-display fields. */
.fw-form .leave-empty{position:absolute;left:-9999px;top:-9999px;height:1px;width:1px;overflow:hidden}
.next-steps{list-style:none;margin-top:20px}
.next-steps li{display:flex;gap:14px;padding:14px 0;border-bottom:1px dashed var(--line);align-items:baseline}
.next-steps li:last-child{border-bottom:none}
.next-steps .n{font-family:var(--font-mono);color:var(--moss-text);font-size:.8rem;min-width:26px}
.next-steps b{font-weight:600}
.next-steps span{color:var(--muted);display:block;font-size:.9rem}
.success{display:none;text-align:center;padding:30px 10px}
.success svg{width:84px;height:84px;margin:0 auto 18px;display:block}
.success h3{font-size:1.5rem}
.success p{color:var(--muted);margin-top:8px}
.sprout-path{fill:none;stroke:var(--moss);stroke-width:2.5;stroke-linecap:round}
@media (prefers-reduced-motion:no-preference){.success.show .sprout-path{stroke-dasharray:200;stroke-dashoffset:200;animation:sp 1.1s ease forwards}@keyframes sp{to{stroke-dashoffset:0}}}
/* designed failure state (REQ-523): actionable, never a raw HTTP error */
.form-error{display:none;border:1.5px solid var(--clay);background:#f9efe9;border-radius:14px;padding:16px 18px;margin-top:20px;font-size:.9rem}
.form-error.show{display:flex;gap:12px;align-items:flex-start}
.form-error svg{width:20px;height:20px;flex:none;margin-top:2px}
.form-error b{color:var(--clay-text)}
.form-error p{color:var(--muted);margin-top:2px}
.form-error a{color:var(--moss-deep);font-weight:600}
.notice{border:1.5px solid var(--gold);background:#f8f1df;border-radius:14px;padding:14px 18px;margin:18px 0 0;font-size:.9rem;color:var(--ink)}

/* ---------- security page ---------- */
.shield-row{display:flex;gap:14px;align-items:flex-start}
.shield-row svg{width:26px;height:26px;flex:none;margin-top:3px}
.boundary{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:30px;margin-top:10px}
.boundary svg{width:100%;height:auto;display:block}
.sec-table{width:100%;border-collapse:collapse;font-size:.92rem}
.sec-table th{text-align:left;font-family:var(--font-mono);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding:10px 14px;border-bottom:1px solid var(--line)}
.sec-table td{padding:12px 14px;border-bottom:1px dashed var(--line);vertical-align:top}
.sec-table td:first-child{font-weight:600;white-space:nowrap}
/* ---------- /features ---------- */
/* In-page jump list. Wraps rather than scrolls, so it stays usable at any width
   without a horizontal scroll container (NFR-303). */
.jump{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.jump a{font-family:var(--font-mono);font-size:.74rem;letter-spacing:.06em;text-decoration:none;color:var(--moss-deep);border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:8px 15px}
.jump a:hover,.jump a:focus-visible{border-color:var(--moss);background:var(--bloom-soft)}
/* Anchored sections: keep the heading clear of the sticky header on jump. */
.feature-set{scroll-margin-top:90px}
.feature-set .section-head{margin-bottom:30px}
.feature-set .section-head h2 .pill{vertical-align:middle;margin-left:10px}

/* Bulleted detail list inside a light .card — the counterpart to .deep-card ul,
   used where a claim needs its conditions spelled out (e.g. the Document Studio
   consent gates on /security and the capability lists on /features). */
.card-list{list-style:none;margin-top:14px}
.card-list li{position:relative;padding:9px 0 9px 20px;border-bottom:1px dashed var(--line);color:var(--muted);font-size:.94rem}
.card-list li:last-child{border-bottom:0}
.card-list li::before{content:"";position:absolute;left:2px;top:16px;width:6px;height:6px;border-radius:50%;background:var(--moss)}
.card-list b{color:var(--ink);font-weight:600}
.deep-card{background:var(--moss-deep);color:#eef5ea;border-radius:22px;padding:44px 40px}
.deep-card h2{color:#fff}
.deep-card p,.deep-card li{color:#cfe0cd}
.deep-card .eyebrow{color:var(--bloom)}
.deep-card ul{list-style:none;margin-top:16px}
.deep-card li{padding:9px 0;border-bottom:1px solid rgba(255,255,255,.12);display:flex;gap:12px;align-items:baseline;font-size:.94rem}
.deep-card li b{color:#fff;min-width:150px;font-weight:600}

/* ---------- docs hub & articles ---------- */
.doc-search{display:flex;gap:12px;margin:26px 0 0;max-width:560px}
.doc-search input{flex:1;border:1.5px solid var(--line);border-radius:12px;padding:13px 18px;font-size:1rem;font-family:var(--font-body);background:var(--surface);color:var(--ink)}
.doc-search input:focus-visible{outline:2px solid var(--moss);outline-offset:2px;border-color:var(--moss)}
.doc-card{display:block;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.doc-card:hover,.doc-card:focus-visible{transform:translateY(-3px);box-shadow:0 16px 36px -22px rgba(27,42,31,.35)}
.doc-card .k{font-family:var(--font-mono);font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:var(--moss-text)}
.doc-card p{color:var(--muted);font-size:.92rem;margin-top:6px}
.doc-card .t{font-family:var(--font-mono);font-size:.74rem;color:var(--gold-text);margin-top:14px;display:block}
.concept-list{list-style:none;columns:2;column-gap:40px;margin-top:10px}
.concept-list li{break-inside:avoid;padding:13px 0;border-bottom:1px dashed var(--line);font-size:.94rem}
.concept-list b{font-weight:600}
.concept-list span{color:var(--muted)}
.api-table{width:100%;border-collapse:collapse;font-size:.86rem}
.api-table td{padding:11px 12px;border-bottom:1px dashed var(--line);vertical-align:top}
.api-table .m{font-family:var(--font-mono);font-weight:600;white-space:nowrap}
.api-table .m .get{color:var(--moss-deep)}.api-table .m .post{color:var(--clay-text)}.api-table .m .patch{color:var(--gold-text)}
.api-table .p{font-family:var(--font-mono);color:var(--ink)}
.api-table .d{color:var(--muted)}
.article{max-width:72ch}
.article h2{margin-top:42px}
.article p,.article li{color:var(--ink);font-size:1rem}
.article p{margin:14px 0}
.article ul,.article ol{margin:14px 0 14px 22px}
.article li{margin:7px 0}
.article code{font-family:var(--font-mono);font-size:.88em;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:1px 6px}
.article .callout{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--moss);border-radius:12px;padding:16px 20px;margin:20px 0;color:var(--muted);font-size:.94rem}
.crumbs{font-size:.85rem;color:var(--muted);margin-bottom:6px}
.crumbs a{color:var(--moss-deep);text-decoration:none;font-weight:600}
.crumbs a:hover,.crumbs a:focus-visible{text-decoration:underline}
.search-results{list-style:none;margin-top:26px}
.search-results li{padding:18px 0;border-bottom:1px dashed var(--line)}
.search-results a{color:var(--moss-deep);font-weight:600;text-decoration:none;font-size:1.05rem;font-family:var(--font-display)}
.search-results a:hover,.search-results a:focus-visible{text-decoration:underline}
.search-results p{color:var(--muted);font-size:.92rem;margin-top:4px}

/* ---------- status page ---------- */
.status-banner{display:flex;align-items:center;gap:16px;background:var(--surface);border:1.5px solid var(--moss);border-radius:18px;padding:24px 28px;margin-top:8px}
.status-banner.warn{border-color:var(--gold)}
.status-banner.late{border-color:var(--clay)}
.status-banner .big-dot{width:16px;height:16px;border-radius:50%;background:var(--moss);box-shadow:0 0 0 5px var(--bloom-soft);flex:none}
.status-banner.warn .big-dot{background:var(--gold);box-shadow:0 0 0 5px #f3e6cf}
.status-banner.late .big-dot{background:var(--clay);box-shadow:0 0 0 5px #f3ddd2}
@media (prefers-reduced-motion:no-preference){.big-dot{animation:breathe 2.6s ease-in-out infinite}@keyframes breathe{0%,100%{box-shadow:0 0 0 4px var(--bloom-soft)}50%{box-shadow:0 0 0 9px rgba(214,231,176,.55)}}}
.status-banner h2{margin:0;font-size:1.3rem}
.status-banner .since{margin-left:auto;font-family:var(--font-mono);font-size:.78rem;color:var(--muted);text-align:right}
.comp{display:flex;align-items:center;gap:16px;padding:18px 6px;border-bottom:1px dashed var(--line);flex-wrap:wrap}
.comp:last-child{border-bottom:none}
.comp .state{display:flex;align-items:center;gap:7px;font-family:var(--font-mono);font-size:.72rem;min-width:140px}
.comp .state svg{width:14px;height:14px;flex:none}
.comp .state.ok{color:var(--moss-text)}
.comp .state.warn{color:var(--gold-text)}
.comp .state.late{color:var(--clay-text)}
.comp .nm{font-weight:600;min-width:200px}
.comp .ds{color:var(--muted);font-size:.86rem;flex:1;min-width:200px}
.comp .up{font-family:var(--font-mono);font-size:.8rem;color:var(--moss-deep)}
.spark{display:flex;gap:2px;align-items:flex-end;height:26px;width:100%;margin-top:8px}
.spark i{flex:1;background:var(--bloom-soft);border-radius:2px;min-width:2px;height:100%}
.spark i.full{background:var(--moss)}
.spark i.dip{background:var(--gold)}
.spark i.out{background:var(--clay)}
.legend{display:flex;gap:18px;font-size:.78rem;color:var(--muted);margin-top:10px;font-family:var(--font-mono)}
.legend span{display:flex;gap:6px;align-items:center}
.legend i{width:10px;height:10px;border-radius:2px;display:inline-block}
.incident{padding:20px 0;border-bottom:1px dashed var(--line)}
.incident:last-child{border-bottom:none}
.incident .ih{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:baseline}
.incident h3{margin:0}
.incident .when{font-family:var(--font-mono);font-size:.76rem;color:var(--muted)}
.incident p{color:var(--muted);font-size:.92rem;margin-top:8px;max-width:72ch}

/* ---------- legal pages ---------- */
.legal{max-width:72ch}
/* scroll-margin-top: these carry the ids the Contents box links to, and the
   header is 66px of sticky. Without it a jump parks the heading underneath it
   and the section looks like it starts mid-sentence. */
.legal h2{font-size:1.45rem;margin-top:44px;scroll-margin-top:86px}
.legal p,.legal li{color:var(--ink);font-size:.98rem}
.legal p{margin:13px 0}
.legal ul{margin:13px 0 13px 22px}
.legal li{margin:6px 0}
.legal .updated{font-family:var(--font-mono);font-size:.78rem;color:var(--muted)}
.legal-toc{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px 24px;margin:26px 0;font-size:.92rem}
.legal-toc ol{margin:8px 0 0 22px}
.legal-toc a{color:var(--moss-deep);text-decoration:none;font-weight:600}
.legal-toc a:hover,.legal-toc a:focus-visible{text-decoration:underline}

/* ---------- 404 ---------- */
.lost{min-height:52vh;display:flex;align-items:center}
.lost .wrap{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.lost svg{width:100%;max-width:380px;height:auto}
.lost-links{list-style:none;margin-top:22px}
.lost-links li{padding:10px 0;border-bottom:1px dashed var(--line)}
.lost-links a{color:var(--moss-deep);font-weight:600;text-decoration:none}
.lost-links a:hover,.lost-links a:focus-visible{text-decoration:underline}

@media (max-width:900px){
  .nav-links a:not(.btn){display:none}
  .nav-menu{display:block}
  /* Brand + CTA + hamburger have to share a phone's width. */
  .nav-cta{padding:8px 14px;font-size:.82rem}
  section{padding:64px 0}
  .grow-steps,.compare,.grid2,.grid3{grid-template-columns:1fr}
  .garden{grid-template-columns:1fr}
  .bed{grid-column:span 1!important}
  .agent-strip{grid-template-columns:1fr;padding:44px 28px;gap:34px}
  .split-page{grid-template-columns:1fr;gap:34px}
  .lost .wrap{grid-template-columns:1fr}
}
@media (max-width:700px){.concept-list{columns:1}}
/* Below ~420px the wordmark, the signed-in CTA and the menu button no longer
   fit together; the Converge mark alone still identifies the site. */
@media (max-width:420px){.brand-word{display:none}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important}
  .reveal{opacity:1;transform:none}
  html{scroll-behavior:auto}
}
