/* ──────────────────────────────────────────────────────────────────────────
   NoticeDesk Support Desk — standalone document pages (/support/*).

   Mirrors the noticedesk.css v3 token contract (deep emerald on cool-light
   canvas, DM Sans/DM Mono, radius 4/8/12/20, navy-tinted elevation). Since
   round 3 (2026-07-16) support pages LOAD noticedesk.css first — they wear
   the app shell (sidebar + topbar), and this sheet styles only the article
   content inside .sd-page. The re-declared tokens must stay value-identical
   to noticedesk.css's (this sheet loads second, so a drifted value here
   would win) — change both in the same commit.

   Signature device: .sd-steps — numbered step rails set in the product's
   own verification vocabulary (emerald check-dots, DM Mono numerals),
   echoing the Guardian banner rows. Everything else stays quiet.
   ────────────────────────────────────────────────────────────────────────── */

@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url('../fonts/dm-sans-var-latin-ext.woff2') format('woff2');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}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url('../fonts/dm-sans-var-latin.woff2') format('woff2');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:'DM Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/dm-mono-400-latin-ext.woff2') format('woff2');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}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/dm-mono-400-latin.woff2') format('woff2');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:'DM Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/dm-mono-500-latin-ext.woff2') format('woff2');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}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/dm-mono-500-latin.woff2') format('woff2');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}

:root{
  /* D1: white-text-on-green rests on --gh, hovers --gh2 — --g is accent-only
     (mirrors noticedesk.css; change both in the same commit). */
  --g:#059669; --gh:#047857; --gh2:#065f46; --glo:rgba(5,150,105,.08); --gbrd:rgba(5,150,105,.3);
  --bg:#f0f4f8; --white:#fff;
  --brd:#dfe6ee; --brd-md:#c9d3e0;
  --t1:#0e1a28; --t2:#33445a; --t3:#5c6e84; --t4:#62748c; /* --t4 darkened with noticedesk.css (WCAG 4.78:1 on white, 2026-07-12) — keep both in step */
  --ok:#059669; --ok-bg:rgba(5,150,105,.08); --ok-brd:rgba(5,150,105,.25);
  --ok-text:#065f46; /* text that means "ok": --ok is fills/dots only (mirrors noticedesk.css, F-40 2026-09-20) */
  --warn:#b45309; --warn-bg:rgba(180,83,9,.08); --warn-brd:rgba(180,83,9,.24);
  --fail:#b91c1c; --fail-bg:rgba(185,28,28,.07); --fail-brd:rgba(185,28,28,.24);
  --info:#15619e; --info-bg:rgba(21,97,158,.08); --info-brd:rgba(21,97,158,.24);
  --ui:'DM Sans',ui-sans-serif,system-ui,sans-serif;
  --mono:'DM Mono',ui-monospace,monospace;
  --r-xs:4px; --r:8px; --r-lg:12px; --r-xl:20px;
  --sh-xs:0 1px 2px rgba(13,28,46,.05);
  --sh-sm:0 1px 2px rgba(13,28,46,.04),0 2px 6px rgba(13,28,46,.05);
  --sh:0 1px 2px rgba(13,28,46,.04),0 4px 14px rgba(13,28,46,.07);
  --measure:720px; /* guide reading column; 680 until the 2026-09-10 width pass */
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
/* body layout is OWNED by noticedesk.css (round 3 — the Support Desk wears
   the app shell: sidebar + topbar + scrolling content column). This sheet
   styles only what's INSIDE .sd-page. */
.sd-page{flex:1;overflow-y:auto;line-height:1.6;background:var(--page);container-type:inline-size}
a{color:var(--gh)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid rgba(5,150,105,.55);outline-offset:2px;border-radius:2px}
.visually-hidden{position:absolute;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:8px;top:-48px;z-index:1000;background:var(--gh);color:#fff;font-size:13px;font-weight:600;padding:9px 16px;border-radius:var(--r);transition:top 140ms ease;text-decoration:none}
.skip-link:focus{top:8px;outline:2px solid #fff;outline-offset:2px}
main:focus{outline:none}

/* (The old standalone .sd-header was retired in round 3 — the app topbar
   from noticedesk.css labels the screen now.) */

/* ── Page scaffold ─────────────────────────────── */
/* 1336 = the marketing header's 1280 measure + this scaffold's 2×28px gutter
   (border-box), so the hub's h1 lands under the wordmark like every other
   public page (founder call 2026-09-10, site-wide width pass; was 1080, a
   1024 interior nobody else used). The footer below shares the number. */
.sd-main{width:100%;max-width:1336px;margin:0 auto;padding:56px 28px 72px}

/* Index hero (SITE CALM 2026-09-24): the page's name and one line; the
   green wash, the pill label and the accented word are gone. */
.sd-hero{padding-bottom:12px}
.sd-hero h1{font-size:clamp(30px,3.4vw,42px);line-height:1.12;letter-spacing:-.035em;color:var(--t1);margin-bottom:12px}
.sd-lead{font-size:18px;color:var(--t2);line-height:1.6;max-width:620px;font-weight:400;text-wrap:pretty}

/* ── Index groups + cards ──────────────────────── */
.sd-group{margin-top:56px}
.sd-group-lbl{font-size:19px;font-weight:700;color:var(--t1);letter-spacing:-.02em;margin-bottom:8px}
.sd-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
.sd-card{display:block;padding:18px 0;border-top:1px solid var(--brd);text-decoration:none}
.sd-card-t{font-size:16px;font-weight:600;letter-spacing:-.01em;color:var(--t1);margin-bottom:4px;transition:color 120ms}
.sd-card:hover .sd-card-t{color:var(--gh)}
.sd-card-b{font-size:14.5px;color:var(--t3);line-height:1.6;margin-bottom:8px;max-width:62ch} /* the 1280 measure makes a hub card ~630px wide; cap the blurb at a reading length */
.sd-card-m{font-size:12.5px;color:var(--t3)}

/* ── Contact block ─────────────────────────────── */
.sd-contact{margin-top:72px;background:var(--white);border:1px solid var(--brd);border-radius:16px;padding:32px 36px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.sd-contact-t{font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--t1);margin-bottom:6px}
.sd-contact-b{font-size:15px;color:var(--t2);line-height:1.6;max-width:560px}
.sd-contact-cta{flex-shrink:0;display:inline-flex;align-items:center;background:var(--gh);color:#fff;font-size:14px;font-weight:600;padding:12px 20px;border-radius:10px;text-decoration:none;transition:background 120ms}
.sd-contact-cta:hover{background:var(--gh2)}

/* ── Article scaffold ──────────────────────────── */
.sd-article{max-width:var(--measure);margin-inline:auto}
.sd-crumbs{font-size:12.5px;color:var(--t3);margin-bottom:22px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sd-crumbs a{color:var(--t3);text-decoration:none}
.sd-crumbs a:hover{color:var(--gh);text-decoration:underline;text-underline-offset:3px}
.sd-crumbs .sep{color:var(--brd-md)}
.sd-article h1{font-size:clamp(28px,3vw,38px);line-height:1.15;letter-spacing:-.03em;color:var(--t1);margin-bottom:12px;text-wrap:balance}
.sd-article .sd-lead{margin-bottom:14px;max-width:none}
.sd-updated{font-size:12.5px;color:var(--t3);padding-bottom:26px;border-bottom:1px solid var(--brd);margin-bottom:8px}

/* ── Prose ─────────────────────────────────────── */
.sd-prose h2{font-size:22px;font-weight:700;letter-spacing:-.02em;color:var(--t1);margin:44px 0 12px}
.sd-prose h3{font-size:17px;font-weight:700;letter-spacing:-.01em;color:var(--t1);margin:28px 0 8px}
.sd-prose p{font-size:16px;line-height:1.75;color:var(--t2);margin:0 0 14px}
.sd-prose ul,.sd-prose ol:not(.sd-steps){margin:0 0 16px 20px}
.sd-prose ul li,.sd-prose ol:not(.sd-steps) li{font-size:16px;line-height:1.7;color:var(--t2);margin-bottom:6px}
.sd-prose a{color:var(--gh);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(5,150,105,.35)}
.sd-prose a:hover{text-decoration-color:var(--g)}
.sd-prose strong{color:var(--t1);font-weight:600}
.sd-prose code{font-family:var(--mono);font-size:12.5px;background:var(--white);border:1px solid var(--brd);border-radius:var(--r-xs);padding:1px 6px;color:var(--t1)}

/* UI-element chip — names of buttons/screens as they appear in the product */
.sd-ui{display:inline-block;font-size:12.5px;font-weight:600;color:var(--t1);background:var(--white);border:1px solid var(--brd-md);border-radius:5px;padding:0 7px;line-height:1.55;white-space:nowrap;box-shadow:var(--sh-xs);vertical-align:baseline}

/* ── Signature: verification step rail ─────────── */
.sd-steps{list-style:none;counter-reset:sd-step;margin:20px 0 24px}
.sd-steps>li{counter-increment:sd-step;position:relative;padding:0 0 22px 46px}
.sd-steps>li:last-child{padding-bottom:4px}
/* rail */
.sd-steps>li::before{content:'';position:absolute;left:13.5px;top:30px;bottom:2px;width:1px;background:var(--brd)}
.sd-steps>li:last-child::before{display:none}
/* dot */
.sd-steps>li::after{content:counter(sd-step);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:var(--white);border:1.5px solid var(--gbrd);color:var(--gh);font-family:var(--mono);font-size:12.5px;font-weight:500;display:flex;align-items:center;justify-content:center;box-shadow:var(--sh-xs)}
.sd-step-t{font-size:16px;font-weight:700;letter-spacing:-.01em;color:var(--t1);margin:3px 0 4px}
.sd-steps p{margin-bottom:8px}
.sd-steps .sd-callout{margin-top:10px}

/* ── Screenshots ───────────────────────────────── */
/* Images render at natural size, capped by the measure — a 1440px full-app
   shot downscales to the 680px column (crisp), a modal shot stays its true
   width instead of stretching soft. */
.sd-figure{margin:16px 0 22px}
.sd-figure img{display:block;max-width:100%;width:auto;height:auto;border:1px solid var(--brd);border-radius:var(--r-lg);box-shadow:var(--sh)}
.sd-figure figcaption{font-size:12.5px;color:var(--t3);margin-top:8px;line-height:1.5}
.sd-steps .sd-figure{margin:12px 0 6px}

/* ── Callouts ──────────────────────────────────── */
.sd-callout{border-radius:10px;padding:14px 18px;margin:0 0 16px;font-size:15px;line-height:1.65}
.sd-callout p{font-size:15px;margin:0}
.sd-callout p+p{margin-top:8px}
.sd-callout-lbl{display:block;font-size:13.5px;font-weight:700;margin-bottom:4px}
.sd-callout--tip{background:var(--ok-bg);border:1px solid var(--ok-brd)}
.sd-callout--tip .sd-callout-lbl{color:var(--ok-text)}
.sd-callout--note{background:var(--info-bg);border:1px solid var(--info-brd)}
.sd-callout--note .sd-callout-lbl{color:var(--info)}
.sd-callout--warn{background:var(--warn-bg);border:1px solid var(--warn-brd)}
.sd-callout--warn .sd-callout-lbl{color:var(--warn)}

/* ── Tables ────────────────────────────────────── */
.sd-tablewrap{overflow-x:auto;margin:0 0 18px;border:1px solid var(--brd);border-radius:var(--r-lg);background:var(--white);box-shadow:var(--sh-xs)}
.sd-table{width:100%;border-collapse:collapse;font-size:14.5px}
.sd-table th{font-size:12.5px;font-weight:600;color:var(--t3);text-align:left;padding:11px 16px;border-bottom:1px solid var(--brd);white-space:nowrap}
.sd-table td{padding:10px 16px;border-bottom:1px solid var(--brd);color:var(--t2);line-height:1.55;vertical-align:top}
.sd-table tr:last-child td{border-bottom:none}
.sd-table .num{font-family:var(--mono);font-size:12.5px;color:var(--t1);white-space:nowrap}
.sd-table .sd-status{display:inline-block;font-size:11.5px;font-weight:700;padding:1px 9px;border-radius:999px;white-space:nowrap}
.sd-status--pass{color:var(--ok-text);background:var(--ok-bg);border:1px solid var(--ok-brd)}
.sd-status--warn{color:var(--warn);background:var(--warn-bg);border:1px solid var(--warn-brd)}
.sd-status--fail{color:var(--fail);background:var(--fail-bg);border:1px solid var(--fail-brd)}
.sd-status--skip{color:var(--t3);background:rgba(92,110,132,.08);border:1px solid rgba(92,110,132,.24)}

/* Confidence swatches (first-extraction article) */
.sd-swatch{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:7px;vertical-align:-1px}
.sd-swatch--hi{background:var(--ok)}
.sd-swatch--md{background:var(--warn)}
.sd-swatch--lo{background:var(--fail)}
.sd-swatch--user{background:var(--info)}

/* ── Article footer: prev/next + back ──────────── */
.sd-pn{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:44px;padding-top:28px;border-top:1px solid var(--brd)}
.sd-pn-card{display:block;background:var(--white);border:1px solid var(--brd);border-radius:12px;padding:14px 18px;text-decoration:none;transition:border-color 140ms}
.sd-pn-card:hover{border-color:var(--brd-md)}
.sd-pn-card.next{text-align:right}
.sd-pn-lbl{font-size:12.5px;font-weight:500;color:var(--t3);display:block;margin-bottom:3px}
.sd-pn-t{font-size:14px;font-weight:600;color:var(--t1)}
.sd-pn-card:hover .sd-pn-t{color:var(--gh)}
.sd-pn-spacer{visibility:hidden}

/* ── Site footer ───────────────────────────────── */
.sd-footer{border-top:1px solid var(--brd)}
.sd-footer-in{max-width:1336px;margin:0 auto;padding:48px 28px 28px;font-size:13.5px;color:var(--t3)}
.sd-footer-links a{color:var(--t3);text-decoration:none;font-size:13.5px;transition:color 120ms}
.sd-footer-links a:hover{color:var(--gh)}
.sd-copy{display:block;margin-top:44px;padding-top:20px;border-top:1px solid var(--brd);font-size:12.5px}
/* Companies Act trading disclosures (reg 24-25, SI 2015/17): mirrors
   .sf-legal in noticedesk.css, one line each under the copyright. */
.sd-legal{margin:6px 0 0;color:var(--t3);font-size:12px;line-height:1.5}

/* ── Responsive ────────────────────────────────── */
@media (max-width:760px){
  .sd-header-in{padding:0 18px;gap:10px}
  .sd-header-lbl{letter-spacing:.06em}
  .sd-main{padding:36px 18px 56px}
  .sd-cards{grid-template-columns:1fr}
  .sd-contact{flex-direction:column;align-items:flex-start;padding:22px}
  .sd-pn{grid-template-columns:1fr}
  .sd-pn-card.next{text-align:left}
  .sd-footer-in{padding:36px 18px 24px}
}
@media (max-width:460px){
  .sd-header-cta{padding:7px 12px;font-size:12.5px}
  .sd-hero h1{font-size:28px}
}
