/* Ambitive brand stylesheet. Shared by every public page: tokens, type, header, footer, buttons, cards.
   No external fonts, no third-party assets (the CSP allows same-origin only, plus the Cloudflare Web Analytics beacon).
   Palette (4 October 2026): near-black is the anchor and the button colour; orange is a single rationed accent
   (eyebrows, the rule under headings, the mark, the featured badge, ticks, one primary button per dark band) and is
   never a warning colour. The colours that carry meaning in the product stay reserved: Scope 1 amber, Scope 2 blue,
   Scope 3 violet, flag red. Black, orange and the paper tone are brand colours and carry no meaning. */
:root{
  --black:#111214; --black-deep:#0A0B0C; --accent:#FF6A1A; --accent-hover:#E65C10; --accent-deep:#B8420A; --accent-tint:#FFE8DA;
  --page:#F6F5F2; --surface:#FFFFFF; --ink:#141516; --muted:#5C5F63; --line:#E2E1DD; --line-strong:#BDBCB7; --tint:#EFEDE8;
  --act:#111214; --act-hover:#2A2C30; --act-tint:#EFEDE8;
  --s1:#C9761A; --s2:#2E6FAE; --s3:#6E5E93; --flag:#B5432F; --flag-tint:#F6E7E4; --ok:#2E7D5B; --ok-tint:#E4F0EA; --amber-tint:#F7ECDD;
  --sans:"Inter","Segoe UI",system-ui,-apple-system,"Helvetica Neue","Liberation Sans",Arial,sans-serif;
  --serif:"Iowan Old Style","Charter","Palatino Linotype","Book Antiqua",Georgia,"Liberation Serif",serif;
  --radius:6px; --shadow:0 18px 50px rgba(0,0,0,.14); --shadow-sm:0 2px 10px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;background:var(--page);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{margin:0 0 .4em;line-height:1.15;color:var(--black)}
h1,h2{font-family:var(--serif);font-weight:500;letter-spacing:-.012em}
h1{font-size:46px} h2{font-size:32px} h3{font-size:18px;font-weight:600} h4{font-size:15px;font-weight:600}
p{margin:0 0 1em} p,li{max-width:66ch}
a{color:var(--accent-deep)}
button{font:inherit;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--act);outline-offset:2px}
.dark :focus-visible,.hero :focus-visible,.check-head :focus-visible,footer.site :focus-visible{outline-color:var(--accent)}
.muted{color:var(--muted)} .small{font-size:14px}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.eyebrow{display:block;font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:12px}
.dark .eyebrow{color:var(--accent)}
.lead{font-size:19px;line-height:1.5;color:var(--muted);max-width:60ch}

/* Mark and wordmark */
.brand{display:inline-flex;align-items:center;gap:10px;font-family:var(--serif);font-size:24px;letter-spacing:-.01em;color:var(--black);text-decoration:none;white-space:nowrap}
.brand svg{width:28px;height:28px;flex:none}
.brand .chip{font-family:var(--sans);font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep);background:var(--accent-tint);border-radius:3px;padding:3px 7px;margin-left:4px}
.dark .brand{color:#fff} .dark .brand .chip{color:var(--accent);background:rgba(255,255,255,.08)}

/* Header */
header.top{background:rgba(255,255,255,.96);backdrop-filter:saturate(1.2) blur(8px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
header.top .wrap{display:flex;align-items:center;gap:28px;min-height:68px;flex-wrap:wrap}
nav.links{margin-left:auto;display:flex;gap:26px;align-items:center;flex-wrap:wrap;font-size:15px}
nav.links a{color:var(--ink);text-decoration:none;font-weight:500}
nav.links a:hover{color:var(--accent-deep)}
nav.links a.btn{color:#fff}
nav.links a.signin{color:var(--black)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--act);background:var(--act);color:#fff;border-radius:var(--radius);padding:11px 20px;font-size:15px;font-weight:600;text-decoration:none;line-height:1.2;transition:background .15s,border-color .15s,transform .15s}
.btn:hover{background:var(--act-hover);border-color:var(--act-hover)}
.btn.secondary{background:#fff;color:var(--black)}
.btn.secondary:hover{background:var(--act-tint)}
.btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.btn.ghost:hover{background:rgba(255,255,255,.08);border-color:#fff}
.btn.quiet{background:none;border-color:var(--line-strong);color:var(--ink);font-weight:500}
.btn.quiet:hover{background:var(--tint);border-color:var(--line-strong)}
.btn.small{padding:8px 14px;font-size:14px}
.btn.large{padding:14px 26px;font-size:16px}
.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--black)}
.btn.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}

/* Bands and cards */
section.band{padding:76px 0}
section.band.alt{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
section.band.dark,.dark{background:var(--black);color:#fff}
.dark h1,.dark h2,.dark h3,.dark h4{color:#fff} .dark .lead,.dark .muted{color:rgba(255,255,255,.72)} .dark a{color:#fff}
.section-head{max-width:700px;margin-bottom:36px}
.section-head h2{position:relative;padding-top:16px}
.section-head h2::before{content:"";position:absolute;top:0;left:0;width:40px;height:3px;background:var(--accent)}
.section-head p{color:var(--muted);font-size:17px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px 30px;box-shadow:var(--shadow-sm)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
ul.plain{padding-left:1.2em;margin:.2em 0 1em} ul.plain li{margin:6px 0}
ul.ticks{list-style:none;padding:0;margin:0} ul.ticks li{position:relative;padding-left:26px;margin:9px 0}
ul.ticks li::before{content:"";position:absolute;left:0;top:.42em;width:14px;height:8px;border-left:2.5px solid var(--accent);border-bottom:2.5px solid var(--accent);transform:rotate(-45deg)}
.dark ul.ticks li::before{border-color:var(--accent)}
.status{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;border-radius:3px;padding:3px 9px;white-space:nowrap}
.status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.status.inforce{background:var(--ok-tint);color:var(--ok)}
.status.proposed{background:var(--amber-tint);color:#9A5A0E}

/* Forms */
.form{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px 22px;margin:8px 0 18px}
.field label{display:block;font-size:13px;font-weight:500;color:var(--muted);margin-bottom:5px}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--line-strong);border-radius:var(--radius);padding:10px 12px;background:#fff}
.field input:focus,.field select:focus{border-color:var(--act);outline:2px solid var(--act-tint)}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--muted);max-width:60ch}
.consent input{width:auto;margin-top:4px}
.msg{font-size:14px;margin-top:8px} .msg.ok{color:var(--ok)} .msg.err{color:var(--flag)}
.hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}

/* Article pages (guides, legal) */
.article{max-width:760px;margin:0 auto;padding:56px 24px 64px}
.article h1{font-size:40px;margin-bottom:.5em;position:relative;padding-top:16px}
.article h1::before{content:"";position:absolute;top:0;left:0;width:48px;height:4px;background:var(--accent)}
.article h2{font-size:24px;margin-top:1.8em}
.article p.lead{margin-bottom:1.6em}
.article .todo{background:#FFF3C4;padding:2px 4px}
.cta-box{background:var(--black);color:#fff;border-radius:var(--radius);padding:28px 30px;margin-top:40px}
.cta-box h3{color:#fff;font-family:var(--serif);font-weight:500;font-size:22px}
.cta-box p{color:rgba(255,255,255,.78)}
.cta-box a:not(.btn){color:#fff;text-decoration:underline}
.cta-box .btn{background:var(--accent);border-color:var(--accent);color:var(--black)}
.cta-box .btn:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.sources{font-size:14px;color:var(--muted)} .sources li{margin:4px 0}
.breadcrumb{font-size:14px;color:var(--muted);margin-bottom:18px} .breadcrumb a{color:var(--muted)}

/* Photography (stock, prepared by scripts/prepare-images.py; see docs/brand.md) */
.photo{border-radius:8px;overflow:hidden;box-shadow:var(--shadow);background:var(--tint)}
.photo img{display:block;width:100%;height:auto;max-height:400px;object-fit:cover}
.photo.side img{aspect-ratio:3/2}
.photo.band{margin-bottom:36px}
.photo.band img{aspect-ratio:16/5;max-height:340px}
.article .banner{margin:4px 0 36px;border-radius:8px;overflow:hidden;box-shadow:var(--shadow-sm)}
.article .banner img{display:block;width:100%;height:auto;aspect-ratio:16/7;max-height:300px;object-fit:cover}
@media (max-width:900px){.photo.band img{aspect-ratio:16/7;max-height:220px}.article .banner img{aspect-ratio:16/9;max-height:220px}}
@media (max-width:760px){.photo.side img{aspect-ratio:16/7;max-height:220px}}
.article .banner figcaption{font-size:12.5px;color:var(--muted);padding:8px 2px 0}
.article .banner.inline{margin:28px 0 36px}
.article .banner.inline img{aspect-ratio:16/8;max-height:320px}

/* Footer */
footer.site{background:var(--black-deep);color:rgba(255,255,255,.72);font-size:14px;padding:56px 0 40px;margin-top:0}
footer.site a{color:#fff;text-decoration:none} footer.site a:hover{text-decoration:underline}
footer.site .cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:28px}
footer.site h4,footer.site .fh{color:#fff;font-family:var(--sans);font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;line-height:1.3;margin:0 0 12px}
footer.site ul{list-style:none;padding:0;margin:0} footer.site li{margin:7px 0}
footer.site p{max-width:none;margin:0 0 .7em;font-size:13px;line-height:1.6}
footer.site .brand{margin-bottom:14px}
footer.site .legal{color:rgba(255,255,255,.55)}

@media (max-width:900px){
  h1{font-size:36px} h2{font-size:27px}
  .grid-3,.grid-4{grid-template-columns:1fr 1fr} .grid-2{grid-template-columns:1fr;gap:28px}
  footer.site .cols{grid-template-columns:1fr 1fr}
  section.band{padding:56px 0}
}
@media (max-width:640px){
  h1{font-size:31px} h2{font-size:24px} .lead{font-size:17px}
  .grid-3,.grid-4{grid-template-columns:1fr} footer.site .cols{grid-template-columns:1fr}
  header.top .wrap{min-height:60px;gap:14px} nav.links{gap:14px;font-size:14px} nav.links a:not(.btn):not(.signin){display:none}
  .article{padding:36px 20px 48px} .article h1{font-size:30px}
}

/* Skip link (job 10): first focusable element on every public page, above the sticky header. */
.skip{position:absolute;left:-9999px;top:8px;z-index:60;background:#fff;color:var(--black);border:2px solid var(--black);border-radius:4px;padding:8px 14px;font-weight:600;text-decoration:none}
.skip:focus{left:16px}
main:focus{outline:none}
