/* WelcomeCAN brand layer (Nov 2026). Loaded last, after style.css, design.css and ux.css.
   - The monogram (maple leaf with a doorway) is used on its own, never boxed in a red tile.
   - Square corners (2-4px), a red header, dark page heroes with full-bleed photos.
   - Each area and topic has its own colour, set as --tone in the markup (see hubTones/topicTones in src/build.mjs).
   - More room: bigger section padding and card padding. */

:root{
  --b-red:#D0102A;--b-red-deep:#A50D22;--b-ink:#111111;--b-ink-2:#1c1c1c;--b-paper:#ffffff;--b-soft:#f4f3ef;--b-line:#dcdad3;
  --b-r:3px;--b-r-lg:4px;
  --b-section:clamp(56px,7vw,104px);--b-gap:clamp(18px,2.2vw,28px);
  --ux-radius:4px;--ux-brand:#D0102A;--ux-accent:#B00E24;
}
body{--tone:#C8102E}

/* ---------- Monogram ---------- */
.mark{display:block;flex-shrink:0}
.brand{display:inline-flex!important;align-items:center;gap:12px;text-decoration:none!important}
.brand-mark{width:46px;height:auto;color:#fff}
.brand-word{font-weight:650;letter-spacing:-.8px;line-height:1;color:#fff}
.brand-word span{font-weight:650;color:#fff;background:none;padding:0}

/* ---------- Header: thin dark utility bar, red brand bar, white nav with filled active tab ---------- */
body header{background:var(--b-paper);box-shadow:none;border:0}
body header .utility-bar{background:var(--b-ink);border:0}
body header .header-main{max-width:none;margin:0;padding-inline:max(24px,calc((100vw - 1240px)/2));background:var(--b-red);min-height:92px;color:#fff}
body header .header-main>.brand{font-size:30px}
body header .header-scope{color:#fff;border-color:#ffffff66;border-radius:var(--b-r)}
body header .header-scope .icon{color:#fff}
body header .header-scope:hover{border-color:#fff;color:#fff;background:#ffffff1a}
body header .header-search{color:#fff;border-color:#fff;border-radius:var(--b-r)}
body header .header-search:hover,body header .header-search[aria-current=page]{background:#ffffff1f;color:#fff}
body header .header-button{background:#fff!important;color:var(--b-ink)!important;border-color:#fff!important;border-radius:var(--b-r)!important}
body header .header-button:hover{background:var(--b-ink)!important;color:#fff!important;border-color:var(--b-ink)!important}
body header .mobile-menu{color:#fff;border-color:#fff;background:transparent;border-radius:var(--b-r)}
body header .header-nav{background:var(--b-paper);border-bottom:1px solid var(--b-line)}
body header .header-nav nav{gap:0}
body header .header-nav nav>a,body header .header-nav nav>a:first-child{position:relative;padding:10px 20px;color:var(--b-ink);border-radius:0}
body header .header-nav nav>a .icon{color:var(--tone)}
body header .header-nav nav>a:hover{background:var(--b-soft);text-decoration:none}
body header .header-nav nav>a:hover:after{content:'';position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--tone)}
body header .header-nav nav>a[aria-current=page],body header .header-nav nav>a[aria-current=location]{background:var(--tone);color:#fff}
body header .header-nav nav>a[aria-current] .icon{color:#fff}
body header .header-nav nav>a[aria-current]:after{display:none}
body header :focus-visible{outline-color:#fff!important;box-shadow:0 0 0 6px var(--b-ink)!important}
body header .header-nav :focus-visible{outline-color:var(--b-ink)!important;box-shadow:0 0 0 6px #fff!important}
@media(max-width:800px){
  body header .header-main{padding-inline:16px;min-height:0}
  body header .header-main>.brand{font-size:25px}
  .brand-mark{width:38px}
  body header .header-nav nav>a,body header .header-nav nav>a:first-child{padding:14px 16px}
}

/* ---------- Homepage hero: full-bleed photo behind dark copy ---------- */
.intent-hero{position:relative;overflow:hidden;background:var(--b-ink);border-bottom:0;isolation:isolate}
.intent-hero-media{position:absolute;inset:0;z-index:-2}
.intent-hero-media img{width:100%;height:100%;object-fit:cover;object-position:70% 35%;display:block}
.intent-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#111 0%,#111111f2 34%,#11111199 58%,#11111100 82%)}
.intent-hero>.wrap{padding-block:clamp(72px,10vw,140px)}
.intent-hero-grid{display:block!important}
.intent-hero-copy{max-width:640px}
.intent-hero .search-field input{border-radius:var(--b-r) 0 0 var(--b-r)}
.intent-hero .search-field .button{background:var(--b-red);color:#fff;border-radius:0 var(--b-r) var(--b-r) 0}
.intent-hero .search-field .button:hover{background:var(--b-red-deep)}
.hero-mark{position:absolute;z-index:-1;color:#fff;opacity:.07;pointer-events:none}
.intent-hero .hero-mark{width:min(520px,60vw);left:-90px;bottom:-110px}
@media(max-width:800px){
  .intent-hero:before{background:linear-gradient(180deg,#11111140 0%,#111111d9 45%,#111 70%)}
  .intent-hero-media{bottom:auto;height:300px}
  .intent-hero-media img{object-position:50% 30%}
  .intent-hero>.wrap{padding-block:210px 40px}
}

/* ---------- Subpage heroes: always dark, tone stripe, optional full-bleed photo ---------- */
.page-hero{position:relative;overflow:hidden;isolation:isolate;background:var(--b-ink);color:#fff;border-bottom:6px solid var(--tone)}
.page-hero-inner{position:relative;padding-block:clamp(56px,7vw,96px)!important}
.page-hero h1{color:#fff;font-size:clamp(38px,5vw,60px);line-height:1.04;letter-spacing:-1.6px;margin:0 0 16px;max-width:18ch}
.page-hero .lede{color:#e8e8e8;font-size:clamp(18px,1.6vw,21px);line-height:1.55;max-width:46ch;margin:0}
.page-hero .breadcrumbs{color:#cfcfcf;margin-bottom:22px}
.page-hero .breadcrumbs a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.page-hero .breadcrumbs [aria-current]{color:#cfcfcf}
.page-hero .heading-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;margin-bottom:20px;background:var(--tone);color:#fff;border-radius:var(--b-r)}
.page-hero .heading-icon .icon{width:34px;height:34px}
.page-hero .hero-mark{width:min(460px,52vw);right:-70px;bottom:-90px}
.page-hero.has-photo .hero-mark{display:none}
.page-hero-media{position:absolute;inset:0 0 0 38%;z-index:-2}
.page-hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.page-hero.has-photo:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#111 0%,#111 36%,#111111d0 46%,#11111140 70%,#11111100 100%)}
.page-hero.has-photo .page-hero-inner{min-height:clamp(340px,34vw,480px);display:flex;flex-direction:column;justify-content:center}
.page-hero :focus-visible{outline-color:#fff!important;box-shadow:0 0 0 6px var(--b-ink)!important}
/* Keep faces in frame */
.page-hero-media img[src$="/asl-signing.webp"]{object-position:40% 30%}
.page-hero-media img[src$="/trust.webp"]{object-position:50% 25%}
.page-hero-media img[src$="/study.webp"]{object-position:40% 25%}
.page-hero-media img[src$="/arrive.webp"]{object-position:60% 30%}
.page-hero-media img[src$="/live.webp"]{object-position:60% 30%}
.page-hero-media img[src$="/services.webp"]{object-position:50% 25%}
.page-hero-media img[src$="/work.webp"]{object-position:45% 30%}
@media(max-width:800px){
  .page-hero-media{inset:0 0 auto 0;height:240px}
  .page-hero.has-photo:before{background:linear-gradient(180deg,#11111120 0%,#11111199 130px,#111 240px)}
  .page-hero.has-photo .page-hero-inner{min-height:0;padding-top:200px!important;padding-bottom:40px!important}
  .page-hero h1{letter-spacing:-1px}
  .page-hero .hero-mark{width:300px;right:-80px;bottom:-60px}
}

/* ---------- Breathing room ---------- */
.home-tasks,.home-areas,.hub-section,.section,.trust-band>.wrap,.stage-band>.wrap{padding-block:var(--b-section)!important}
.home-tasks h2,.home-areas h2,.hub-section h2,.section h2,.trust-band h2{font-size:clamp(28px,3vw,38px);letter-spacing:-.8px}
.section-heading{margin-bottom:28px!important}
.task-tiles,.area-links,.topic-card-grid,.guide-grid,.trust-points{gap:var(--b-gap)!important}

/* ---------- Tone on tiles and cards ---------- */
.task-tiles a{border:1px solid var(--b-line);border-left:6px solid var(--tone,var(--b-red));border-radius:var(--b-r);padding:22px 20px;min-height:112px}
.task-tiles a:hover{border-color:var(--tone,var(--b-red));background:#fff;box-shadow:0 10px 26px #0000001a}
.task-tile-icon{width:56px;height:56px;background:var(--tone,var(--b-red));color:#fff;border-radius:var(--b-r)}
.task-tiles a>.icon{color:var(--tone,var(--b-red))}

.area-links a{border-top:6px solid var(--tone,var(--b-red));padding:20px 8px 20px 0}
.area-links a>.icon{color:var(--tone,var(--b-red))}

body .guide-card{border-top:5px solid var(--tone,var(--b-red));border-radius:0 0 var(--b-r) var(--b-r);padding:24px 52px 24px 22px}
body .guide-card:hover{border-color:var(--tone,var(--b-red));background:#fff;box-shadow:0 10px 26px #0000001a}
body .guide-card:hover h3{color:var(--b-ink)}
body .guide-card .card-type,body .guide-card .card-type .icon{color:var(--tone,var(--b-red))}
body .guide-card .card-go,body .guide-card .card-go .icon{color:var(--tone,var(--b-red))}
body .guide-grid.is-list .guide-card{border-top:0;border-left:4px solid var(--tone,var(--b-red));padding-left:16px;box-shadow:none}

body .topic-card{border:1px solid var(--b-line);border-top:5px solid var(--tone,var(--b-red));border-radius:0 0 var(--b-r) var(--b-r);padding:24px 22px}
body .topic-card:hover{border-color:var(--tone,var(--b-red));box-shadow:0 10px 26px #0000001a;background:#fff;text-decoration:none}
body .topic-card .topic-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:var(--tone,var(--b-red));color:#fff;border-radius:var(--b-r)}
body .topic-card .topic-icon .icon{width:30px;height:30px;color:#fff}
body .topic-card>.icon{color:var(--tone,var(--b-red))}

/* Icons: the accent shape inside custom icons is a soft tint of the icon colour */
.icon .fill{fill:currentColor;opacity:.22;stroke:none}
.task-tile-icon .icon .fill,.topic-icon .icon .fill,.heading-icon .icon .fill,header .header-nav nav>a[aria-current] .icon .fill{opacity:.35}

/* ---------- Page accents pick up the page tone ---------- */
body .article-sidebar,body .topic-sidebar{border-top:5px solid var(--tone)}
body .quick-answer{border-left-color:var(--tone)}
.trust-band{border-top:0}

/* ---------- Footer: monogram used on its own ---------- */
.site-footer .brand-mark{color:var(--b-red);width:52px}
.site-footer .brand-word,.site-footer .brand-word span{color:#fff}
.site-footer .footer-help{background:var(--b-red)}

/* ---------- Fixes and tone-tinted content blocks ---------- */
body header .header-main{width:auto!important;max-width:none!important}
body header .header-button .icon{color:var(--b-ink)!important;stroke:currentColor}
body header .header-button:hover .icon{color:#fff!important}
.topic-questions,.short-answer{background:color-mix(in srgb,var(--tone) 7%,#fff);border-left-color:var(--tone);border-radius:0 var(--b-r) var(--b-r) 0}
.question-list li::marker,.question-list li:before,.topic-questions .eyebrow{color:var(--tone)}
body .topic-layout h2 .icon,body .article-body h2 .icon{color:var(--tone)}
body .topic-sidebar a[aria-current],body .topic-sidebar a:hover{color:var(--tone)}
.step-overview a:before,.article-body.has-steps>h2:before,.numbered-list li:before{background:var(--tone)!important;color:#fff!important}
body .text-link{color:var(--b-red-deep)}
body main .button:not(.safety-button){border-radius:var(--b-r)}
/* Homepage hero photo: right-hand full-bleed so the whole family stays visible beside the copy */
@media(min-width:801px){
  .intent-hero-media{left:40%}
  .intent-hero-media img{object-position:35% 30%}
  .intent-hero:before{background:linear-gradient(90deg,#111 0%,#111 40%,#111111b3 50%,#11111126 68%,#11111100 85%)}
}

/* ---------- Long-form guide header (SIN guide layout): dark like every subpage hero ---------- */
.reference-guide .guide-heading{position:relative;overflow:hidden;background:var(--b-ink)!important;color:#fff;border-bottom:6px solid var(--tone)}
.reference-guide .guide-heading>.wrap{padding-block:clamp(56px,7vw,96px)!important}
.reference-guide .guide-heading h1{color:#fff;font-size:clamp(38px,5vw,60px);line-height:1.04;letter-spacing:-1.6px;max-width:18ch}
.reference-guide .guide-heading .guide-intro{color:#e8e8e8}
.reference-guide .guide-heading .guide-byline,.reference-guide .guide-heading .guide-label span{color:#cfcfcf}
.reference-guide .guide-heading .guide-label{color:#fff}
.reference-guide .guide-heading .breadcrumbs,.reference-guide .guide-heading .breadcrumbs a{color:#fff}
.reference-guide .guide-heading :focus-visible{outline-color:#fff!important;box-shadow:0 0 0 6px var(--b-ink)!important}
.reference-guide .contents-sidebar,.reference-guide .contents-menu{border-color:var(--tone)}
.friend-note{background:color-mix(in srgb,var(--tone) 7%,#fff)!important;border-left-color:var(--tone)!important}
.friend-note .note-symbol,.friend-note .icon{color:var(--tone)}

/* ---------- Topic cards, arrows and directory tiles follow their colour ---------- */
body .topic-card.has-icon{border:1px solid var(--b-line);border-top:5px solid var(--tone,var(--b-red));border-radius:0 0 var(--b-r) var(--b-r)}
body .topic-card.has-icon:hover{border-color:var(--tone,var(--b-red));border-top-color:var(--tone,var(--b-red));background:#fff}
body .topic-card .icon:last-child,body .topic-card>svg.icon{color:var(--tone,var(--b-red))}
body main .category-tiles a,body main .directory-tile,body main .category-tile{border-top-color:var(--tone)!important}
body main .directory-category{border-top-color:var(--tone)!important}

/* ---------- Hub "Start here": numbered steps, first one featured in the area colour ---------- */
.step-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--b-gap)}
.step-cards li{position:relative;overflow:hidden;isolation:isolate;background:#fff;border:1px solid var(--b-line);border-radius:var(--b-r);transition:transform .15s ease,box-shadow .15s ease}
.step-cards li:hover{transform:translateY(-3px);box-shadow:0 16px 34px #0000001f;border-color:var(--tone)}
.step-cards a{display:flex;flex-direction:column;gap:10px;height:100%;padding:26px 26px 24px;color:var(--b-ink);text-decoration:none}
.step-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:8px}
.step-num{font-size:44px;font-weight:650;line-height:.9;letter-spacing:-2px;color:var(--tone)}
.step-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:var(--b-r);background:color-mix(in srgb,var(--tone) 12%,#fff);color:var(--tone)}
.step-icon .icon{width:30px;height:30px}
.step-kind{font-size:13px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;color:var(--tone)}
.step-cards strong{font-size:21px;line-height:1.25;letter-spacing:-.3px}
.step-desc{font-size:16px;line-height:1.5;color:#4a4a4a;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.step-go{margin-top:auto;padding-top:10px;display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:var(--tone)}
.step-go .icon{width:18px;height:18px;transition:transform .15s ease}
.step-cards li:hover .step-go .icon{transform:translateX(4px)}
.step-cards li:hover strong{text-decoration:underline;text-underline-offset:4px}
/* Featured first step */
.step-cards li.is-featured{grid-column:span 2;grid-row:span 2;background:var(--tone);border-color:var(--tone);color:#fff}
.step-cards li.is-featured a{color:#fff;padding:clamp(28px,3.4vw,44px)}
.step-cards li.is-featured .step-num{font-size:clamp(64px,7vw,96px);color:#fff;opacity:.95}
.step-cards li.is-featured .step-icon{width:72px;height:72px;background:#ffffff26;color:#fff}
.step-cards li.is-featured .step-icon .icon{width:40px;height:40px}
.step-cards li.is-featured .step-kind,.step-cards li.is-featured .step-desc,.step-cards li.is-featured .step-go{color:#fff}
.step-cards li.is-featured .step-desc{font-size:19px;max-width:44ch;opacity:.92;-webkit-line-clamp:4}
.step-cards li.is-featured strong{font-size:clamp(28px,3vw,40px);line-height:1.1;letter-spacing:-1px;max-width:16ch}
.step-cards li.is-featured .step-go{font-size:18px;background:#fff;color:var(--b-ink);padding:12px 18px;border-radius:var(--b-r);align-self:flex-start;margin-top:auto}
.step-cards li.is-featured .step-icon .fill,.step-cards li.is-featured .step-go .icon{opacity:1}
.step-mark{position:absolute;right:-60px;bottom:-70px;width:340px;color:#fff;opacity:.12;z-index:-1;pointer-events:none}
.step-cards li.is-featured :focus-visible{outline-color:#fff!important;box-shadow:0 0 0 6px var(--b-ink)!important}
@media(max-width:1000px){.step-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.step-cards li.is-featured{grid-row:auto}}
@media(max-width:640px){.step-cards{grid-template-columns:1fr}.step-cards li.is-featured{grid-column:auto}.step-cards a{padding:22px}}

/* ---------- Hub tools: dark cards ---------- */
.tool-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--b-gap)}
.tool-cards li{position:relative;background:var(--b-ink);border-radius:var(--b-r);border-top:5px solid var(--tone);transition:transform .15s ease,box-shadow .15s ease}
.tool-cards li:hover{transform:translateY(-3px);box-shadow:0 16px 34px #00000033}
.tool-cards a{display:flex;flex-direction:column;gap:12px;height:100%;padding:28px 26px 26px;color:#fff;text-decoration:none}
.tool-icon{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:var(--b-r);background:var(--tone);color:#fff}
.tool-icon .icon{width:34px;height:34px}
.tool-icon .icon .fill{opacity:.35}
.tool-chip{align-self:flex-start;font-size:13px;font-weight:600;color:#fff;border:1px solid #ffffff55;border-radius:var(--b-r);padding:3px 9px;margin-top:6px}
.tool-cards strong{font-size:21px;line-height:1.25;letter-spacing:-.3px}
.tool-desc{font-size:16px;line-height:1.5;color:#cfcfcf;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tool-go{margin-top:auto;padding-top:8px;display:inline-flex;align-items:center;gap:8px;font-weight:600;color:#fff}
.tool-go .icon{width:18px;height:18px;transition:transform .15s ease}
.tool-cards li:hover .tool-go .icon{transform:translateX(4px)}
.tool-cards li:hover strong{text-decoration:underline;text-underline-offset:4px}
.tool-cards :focus-visible{outline-color:#fff!important;box-shadow:0 0 0 6px var(--b-ink)!important}
@media(max-width:1000px){.tool-cards{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.step-cards li,.tool-cards li,.step-go .icon,.tool-go .icon{transition:none}.step-cards li:hover,.tool-cards li:hover{transform:none}}

/* =================== Authority and trust layer =================== */
/* Editorial serif for headings (system fonts only, no download): reads as an established publication. */
:root{--b-serif:"Charter","Bitstream Charter","Sitka Text","Iowan Old Style","Source Serif 4","Source Serif Pro",Georgia,Cambria,"Times New Roman",serif}
main h1,main h2,.page-hero h1,.intent-hero h1,.reference-guide .guide-heading h1,.step-cards strong,.tool-cards strong{font-family:var(--b-serif);font-weight:600;letter-spacing:-.3px!important}
.page-hero h1,.intent-hero h1,.reference-guide .guide-heading h1{letter-spacing:-.8px!important;line-height:1.06}
main h2{letter-spacing:-.2px!important}
.step-cards li.is-featured strong{letter-spacing:-.6px!important}

/* "Checked" metadata in page heroes */
.trust-meta{list-style:none;margin:28px 0 0;padding:18px 0 0;border-top:1px solid #ffffff2e;display:flex;flex-wrap:wrap;gap:10px 26px;font-size:15px;color:#e6e6e6}
.trust-meta li{display:inline-flex;align-items:center;gap:8px}
.trust-meta .icon{width:18px;height:18px;color:#fff;opacity:.85}
.trust-meta .trust-seal{font-weight:600;color:#fff;background:#ffffff14;border:1px solid #ffffff40;border-radius:var(--b-r);padding:6px 12px 6px 10px}
.trust-meta .trust-seal .icon{color:#fff;opacity:1}
.trust-meta a{color:#fff;text-decoration:underline;text-underline-offset:3px;font-weight:500}

/* Homepage hero: dated source line */
.hero-checked{display:flex;align-items:flex-start;gap:10px;margin:22px 0 0;padding-top:18px;border-top:1px solid #ffffff2e;font-size:15px;line-height:1.5;color:#e2e2e2;max-width:56ch}
.hero-checked .icon{width:20px;height:20px;color:#fff;margin-top:1px}

/* Proof bar: concrete numbers directly under the hero */
.proof-bar{background:#fff;border-bottom:1px solid var(--b-line)}
.proof-bar>.wrap{display:flex;align-items:center;gap:28px;padding-block:30px}
.proof-bar ul{list-style:none;margin:0;padding:0;flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.proof-bar li{display:flex;flex-direction:column;gap:4px;padding:2px 24px;border-left:1px solid var(--b-line)}
.proof-bar li:first-child{border-left:0;padding-left:0}
.proof-bar strong{font-family:var(--b-serif);font-size:clamp(26px,2.6vw,34px);line-height:1.05;font-weight:600;color:var(--b-ink)}
.proof-bar span{font-size:15px;line-height:1.4;color:#4a4a4a}
.proof-bar .text-link{white-space:nowrap}
@media(max-width:1000px){.proof-bar>.wrap{flex-direction:column;align-items:flex-start}.proof-bar ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0;width:100%}.proof-bar li:nth-child(3){border-left:0;padding-left:0}}
@media(max-width:520px){.proof-bar ul{grid-template-columns:1fr}.proof-bar li{border-left:0;padding:0 0 14px;border-bottom:1px solid var(--b-line)}}

/* Trust line on cards */
.card-trust{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:500;color:#4a4a4a;margin-top:4px}
.card-trust .icon{width:15px;height:15px;color:var(--tone,var(--b-red))}
.step-cards li.is-featured .card-trust{color:#fff}
.step-cards li.is-featured .card-trust .icon{color:#fff}
body .guide-grid.is-list .guide-card .card-trust{margin-top:0}
main h2.short-answer-label,main .eyebrow,main .small-label{font-family:inherit;letter-spacing:.4px!important}
.proof-bar strong{font-size:clamp(24px,2.3vw,30px);white-space:nowrap}

/* ---------- Header: saved situation chip (click to edit) ---------- */
.situation-chip{display:inline-flex;align-items:center;gap:10px;margin-left:auto;min-height:48px;padding:6px 8px 6px 10px;background:#ffffff14;color:#fff;border:1px dashed #ffffffb3;border-radius:var(--b-r);font:inherit;cursor:pointer;text-align:left;max-width:360px}
.situation-chip:hover{background:#ffffff26;border-style:solid}
.situation-chip.is-set{border-style:solid;border-color:#ffffff80}
.situation-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--b-r);background:#fff;color:var(--b-red);flex-shrink:0}
.situation-icon .icon{width:20px;height:20px}
.situation-text{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.situation-label{font-size:12px;font-weight:500;opacity:.85}
.situation-summary{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.situation-edit{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;padding:4px 8px;border-left:1px solid #ffffff4d;margin-left:4px}
.situation-edit .icon{width:15px;height:15px}
body header .header-main .nav-actions{margin-left:0}
@media(max-width:1100px){.situation-label{display:none}.situation-chip{max-width:260px}}
@media(max-width:800px){.situation-chip{order:5;flex:1 1 100%;max-width:none;margin-left:0}.situation-label{display:block}}

/* ---------- Situation questions: answer cards, not dropdowns ---------- */
#plan-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100vh - 32px);border-radius:var(--b-r-lg)!important;padding:clamp(22px,3vw,36px)!important}
#plan-dialog .plan-intro h2{font-family:var(--b-serif);font-size:30px;margin:0 0 6px}
#plan-dialog .plan-intro p{color:#4a4a4a;margin:0 0 8px}
.plan-step{border:0;margin:22px 0 0;padding:20px 0 0;border-top:1px solid var(--b-line)}
.plan-step legend{display:flex;align-items:center;gap:10px;font-weight:650;font-size:19px;padding:0;margin-bottom:14px}
.plan-step-no{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--b-r);background:var(--b-ink);color:#fff;font-size:15px}
.choice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.choice-card{position:relative;display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 40px 12px 12px;border:2px solid var(--b-line);border-radius:var(--b-r);background:#fff;cursor:pointer}
.choice-card:hover{border-color:var(--b-ink)}
.choice-card input{position:absolute;opacity:0;width:1px;height:1px}
.choice-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--b-r);background:var(--b-soft);color:var(--b-ink);flex-shrink:0}
.choice-icon .icon{width:26px;height:26px}
.choice-text{display:flex;flex-direction:column;line-height:1.25}
.choice-text strong{font-size:16px}
.choice-text span{font-size:14px;color:#555}
.choice-tick{position:absolute;right:10px;top:10px;display:none;width:22px;height:22px;border-radius:var(--b-r);background:var(--b-red);color:#fff;align-items:center;justify-content:center}
.choice-tick .icon{width:16px;height:16px;stroke-width:2.5}
.choice-card:has(input:checked){border-color:var(--b-red);background:color-mix(in srgb,var(--b-red) 6%,#fff)}
.choice-card:has(input:checked) .choice-icon{background:var(--b-red);color:#fff}
.choice-card:has(input:checked) .choice-tick{display:flex}
.choice-card:has(input:focus-visible){outline:3px solid var(--b-ink);outline-offset:3px}
.plan-select{display:flex;flex-direction:column;gap:8px;font-weight:500;font-size:16px}
.plan-select select{min-height:52px;font-size:17px;border:2px solid var(--b-ink);border-radius:var(--b-r);padding:0 12px;background:#fff;max-width:420px}
.plan-optional{font-size:13px;font-weight:600;color:#555;background:var(--b-soft);padding:1px 7px;border-radius:var(--b-r);margin-left:6px}
.plan-submit{margin-top:26px;min-height:54px;font-size:17px;background:var(--b-red)!important;color:#fff!important;border-color:var(--b-red)!important;border-radius:var(--b-r)!important}
#plan-dialog #edit-plan{display:inline-flex;align-items:center;gap:6px}
#plan-dialog #edit-plan .icon{width:16px;height:16px}

/* ---------- Service categories: icon tile in the topic colour ---------- */
body main .directory-category{position:relative;display:flex;flex-direction:column;gap:10px;background:#fff!important;border:1px solid var(--b-line);border-top:5px solid var(--tone)!important;border-radius:0 0 var(--b-r) var(--b-r);padding:24px!important;transition:transform .15s ease,box-shadow .15s ease}
body main .directory-category:hover{transform:translateY(-3px);box-shadow:0 14px 30px #0000001c;border-color:var(--tone)}
.directory-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:var(--b-r);background:var(--tone);color:#fff}
.directory-icon .icon{width:30px;height:30px}
.directory-icon .icon .fill{opacity:.35}
.directory-count{font-size:13px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;color:var(--tone)}
body main .directory-category h2{font-family:var(--b-serif);margin:0}
@media(prefers-reduced-motion:reduce){body main .directory-category{transition:none}body main .directory-category:hover{transform:none}}
/* Header fit: drop the area tag first, then give the situation chip its own row */
@media(max-width:1240px){body header .header-scope{display:none}}
@media(max-width:960px){body header .header-main{flex-wrap:wrap;row-gap:12px;padding-block:14px}.situation-chip{order:5;flex:1 1 100%;max-width:none;margin-left:0}.situation-label{display:block}}
body main .directory-category .directory-icon{color:#fff!important}body main .directory-category .directory-count{color:var(--tone)!important}
.situation-chip{min-width:0;box-sizing:border-box}
.situation-text{flex:1 1 auto;min-width:0}
#plan-dialog{box-sizing:border-box;max-width:calc(100vw - 16px)}
#plan-dialog *{box-sizing:border-box}
@media(max-width:520px){#plan-dialog{padding:20px 16px!important}#plan-dialog .plan-intro h2{font-size:26px;padding-right:36px}}

/* ---------- Situation questions v2 ---------- */
#plan-form{counter-reset:step}
.plan-step:not([hidden]){counter-increment:step}
.plan-step[hidden]{display:none}
.plan-step-no::before{content:counter(step)}
.plan-help{margin:-6px 0 12px;color:#4a4a4a;font-size:15px}
.choice-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.choice-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
/* Icon above the title */
.choice-grid.is-stacked .choice-card{flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:10px;padding:18px 10px 16px;min-height:0}
.choice-grid.is-stacked .choice-text{align-items:center}
.choice-grid.is-stacked .choice-icon{width:52px;height:52px}
.choice-grid.is-stacked .choice-icon .icon{width:30px;height:30px}
.choice-grid.is-stacked .choice-tick{right:8px;top:8px}
/* Large yes / not yet cards */
.choice-grid.is-large .choice-card{min-height:96px;padding:18px 44px 18px 18px}
.choice-grid.is-large .choice-icon{width:56px;height:56px}
.choice-grid.is-large .choice-icon .icon{width:32px;height:32px}
.choice-grid.is-large .choice-text strong{font-size:18px}
/* Chip pickers (province, language) */
.chip-grid{display:grid;gap:8px}
.chip-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.chip-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.chip-grid.is-featured{margin-bottom:8px}
.chip{position:relative;display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 12px;border:2px solid var(--b-line);border-radius:var(--b-r);background:#fff;cursor:pointer;font-size:15px;font-weight:500;line-height:1.25}
.chip:hover{border-color:var(--b-ink)}
.chip input{position:absolute;opacity:0;width:1px;height:1px}
.chip-badge{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:26px;padding:0 6px;border-radius:var(--b-r);background:var(--b-soft);font-size:13px;font-weight:650;letter-spacing:.5px;color:var(--b-ink)}
.chip-grid.is-featured .chip{min-height:58px;font-size:17px;font-weight:600}
.chip-grid.is-compact .chip{min-height:42px;padding:6px 10px;font-size:14.5px}
.chip:has(input:checked){border-color:var(--b-red);background:color-mix(in srgb,var(--b-red) 6%,#fff)}
.chip:has(input:checked) .chip-badge{background:var(--b-red);color:#fff}
.chip:has(input:checked)::after{content:'';position:absolute;right:10px;top:50%;width:14px;height:8px;border-left:2.5px solid var(--b-red);border-bottom:2.5px solid var(--b-red);transform:translateY(-70%) rotate(-45deg)}
.chip:has(input:focus-visible){outline:3px solid var(--b-ink);outline-offset:3px}
.geo-hint{display:flex;align-items:center;gap:8px;margin:10px 0 0;font-size:14px;color:#3d3d3d;background:var(--b-soft);padding:8px 12px;border-radius:var(--b-r)}
.geo-hint[hidden]{display:none}
.geo-hint .icon{width:16px;height:16px;color:var(--b-red);flex-shrink:0}
@media(max-width:640px){
  .choice-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .choice-grid.cols-2:not(.is-large){grid-template-columns:repeat(2,minmax(0,1fr))}
  .choice-grid.cols-2:not(.is-large) .choice-card{flex-direction:column;align-items:flex-start;padding:14px 12px;gap:8px}
  .chip-grid.cols-3,.chip-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:400px){.choice-grid.is-large{grid-template-columns:1fr}}

/* ---------- Collapsed pickers (province, second language) ---------- */
.picker{border:2px solid var(--b-red);border-radius:var(--b-r);background:color-mix(in srgb,var(--b-red) 5%,#fff)}
.picker>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:8px 12px;cursor:pointer}
.picker>summary::-webkit-details-marker{display:none}
.picker-value{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600}
.picker-value .chip-badge{background:var(--b-red);color:#fff}
.picker-value .chip-badge[hidden]{display:none}
.picker-change{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--b-red-deep);padding:6px 10px;border:1px solid currentColor;border-radius:var(--b-r);background:#fff}
.picker-change .icon{width:16px;height:16px}
.picker>summary:hover .picker-change{background:var(--b-red);color:#fff;border-color:var(--b-red)}
.picker>summary:focus-visible{outline:3px solid var(--b-ink);outline-offset:3px}
.picker[open]{background:#fff;border-color:var(--b-line)}
.picker[open]>summary{border-bottom:1px solid var(--b-line)}
.picker[open] .picker-change span{font-size:0}
.picker[open] .picker-change span::after{content:'Close';font-size:15px}
.picker-body{padding:12px}

/* ---------- Selected state: black with white text, red accent ---------- */
.choice-card:has(input:checked){background:var(--b-ink);border-color:var(--b-ink);color:#fff}
.choice-card:has(input:checked) .choice-text span{color:#d6d6d6}
.choice-card:has(input:checked) .choice-icon{background:var(--b-red);color:#fff}
.choice-card:has(input:checked) .choice-icon .icon .fill{opacity:.35}
.choice-card:has(input:checked) .choice-tick{background:var(--b-red);color:#fff}
.chip:has(input:checked){background:var(--b-ink);border-color:var(--b-ink);color:#fff}
.chip:has(input:checked) .chip-badge{background:var(--b-red);color:#fff}
.chip:has(input:checked)::after{border-color:#fff}
.choice-card:has(input:checked),.chip:has(input:checked){box-shadow:inset 0 -4px 0 var(--b-red)}
/* Collapsed picker shows its choice the same way */
.picker{background:var(--b-ink);border-color:var(--b-ink);color:#fff;box-shadow:inset 0 -4px 0 var(--b-red)}
.picker-value .chip-badge{background:var(--b-red);color:#fff}
.picker-change{background:transparent;color:#fff;border-color:#ffffff80}
.picker>summary:hover .picker-change{background:var(--b-red);border-color:var(--b-red);color:#fff}
.picker>summary:focus-visible{outline-color:var(--b-red)}
.picker[open]{background:#fff;color:var(--b-ink);border-color:var(--b-line);box-shadow:none}
.picker[open] .picker-change{color:var(--b-ink);border-color:var(--b-line)}
.choice-card:has(input:focus-visible),.chip:has(input:focus-visible){outline-color:var(--b-red)}

/* Native-language chips: the language in its own script, English underneath */
.chip-grid.is-lang .chip{min-height:56px;padding:8px 30px 8px 12px}
.chip-label{display:flex;flex-direction:column;min-width:0}
.chip-native{font-size:16.5px;font-weight:600;line-height:1.25}
.chip-en{font-size:12.5px;font-weight:600;color:#5a5a5a;line-height:1.3}
.chip:has(input:checked) .chip-en{color:#d0d0d0}

/* ---------- Situation questions: lighter, no numbers, no dividers ---------- */
.plan-step-no{display:none}
.plan-step{border-top:0;margin-top:26px;padding-top:0}
.plan-step legend{font-weight:600;font-size:18px;margin-bottom:12px}
#plan-dialog .plan-intro h2{font-weight:600}
.choice-text strong,.choice-grid.is-large .choice-text strong{font-weight:600}
.choice-text span{font-weight:400}
.chip{font-weight:500}
.chip-grid.is-featured .chip{font-weight:600}
.chip-badge{font-weight:600}
.chip-native{font-weight:600}
.chip-en{font-weight:400}
.picker-value{font-weight:600}
.picker-change{font-weight:500}
.plan-optional{font-weight:500}
.plan-submit{font-weight:600}
.geo-hint{font-weight:400}
/* No red bottom bar on selected items */
.choice-card:has(input:checked),.chip:has(input:checked),.picker{box-shadow:none}
.choice-card:has(input:focus-visible),.chip:has(input:focus-visible){outline-color:var(--b-ink)}.picker>summary:focus-visible{outline-color:var(--b-ink)}

/* ---------- Lighter type sitewide ---------- */
strong,b{font-weight:600}
th{font-weight:600}
/* Exceptions: the wordmark and serif headings keep their weight (serif fonts only ship regular and bold) */
.brand-word,.brand-word span{font-weight:800!important}
main h1,main h2,.page-hero h1,.intent-hero h1,.reference-guide .guide-heading h1,.proof-bar strong{font-weight:700}

/* Proof bar: no divider lines */
.proof-bar{border-bottom:0}
.proof-bar li{border-left:0!important;border-bottom:0!important;padding-left:0}
.proof-bar ul{gap:24px}

/* =================== Visual guide template =================== */
/* Hero art: large topic icon on the right */
.page-hero.has-art .page-hero-inner{padding-right:min(34vw,420px)}
.hero-art{position:absolute;right:max(24px,calc((100vw - 1240px)/2 + 20px));top:50%;transform:translateY(-50%);width:clamp(200px,24vw,320px);aspect-ratio:1;z-index:-1;display:flex;align-items:center;justify-content:center}
.hero-art-ring{position:absolute;inset:0;border-radius:50%;border:2px solid color-mix(in srgb,var(--tone) 60%,transparent);opacity:.55}
.hero-art-ring.is-2{inset:14%;border-style:dashed;opacity:.4}
.hero-art-tile{position:relative;display:flex;align-items:center;justify-content:center;width:52%;aspect-ratio:1;border-radius:var(--b-r-lg);background:var(--tone);color:#fff;box-shadow:0 24px 60px #0008;transform:rotate(-4deg)}
.hero-art-tile .icon{width:56%;height:56%;stroke-width:1.5}
.hero-art-tile .icon .fill{opacity:.3}
@media(max-width:900px){.page-hero.has-art .page-hero-inner{padding-right:0}.hero-art{display:none}}

/* Reading progress */
.read-progress{position:sticky;top:0;z-index:30;height:5px;background:transparent}
.read-progress span{display:block;height:100%;background:var(--tone);transform-origin:0 50%;transform:scaleX(0)}

/* At-a-glance strip */
.glance-strip{list-style:none;margin:36px 0 8px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.glance-strip li{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:1px solid var(--b-line);border-radius:var(--b-r)}
.glance-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--b-r);background:color-mix(in srgb,var(--tone) 12%,#fff);color:var(--tone);flex-shrink:0}
.glance-icon .icon{width:24px;height:24px}
.glance-strip li>span:last-child{display:flex;flex-direction:column;line-height:1.25}
.glance-strip strong{font-size:16px}
.glance-strip li>span:last-child>span{font-size:13.5px;color:#555}
@media(max-width:900px){.glance-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Two-column shell with a sticky step rail */
.guide-v2{max-width:1240px!important}
.guide-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(28px,4vw,64px);align-items:start;margin-top:28px}
.guide-main{min-width:0;max-width:760px}
.guide-rail{position:sticky;top:24px}
.rail-box{background:#fff;border:1px solid var(--b-line);border-top:5px solid var(--tone);border-radius:0 0 var(--b-r) var(--b-r);padding:18px}
.rail-label{margin:0 0 10px;font-size:13px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:#555}
.guide-stepper{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.guide-stepper a{display:flex;align-items:flex-start;gap:10px;padding:8px;border-radius:var(--b-r);color:var(--b-ink);text-decoration:none;font-size:15px;line-height:1.3}
.guide-stepper a:hover{background:var(--b-soft)}
.guide-stepper a[aria-current]{background:var(--b-ink);color:#fff}
.guide-stepper a[aria-current] .stepper-icon{background:var(--tone);color:#fff}
.guide-stepper a[aria-current] .stepper-no{color:#cfcfcf}
.stepper-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:var(--b-r);background:color-mix(in srgb,var(--tone) 12%,#fff);color:var(--tone);flex-shrink:0}
.stepper-icon .icon{width:18px;height:18px}
.stepper-text{display:flex;flex-direction:column}
.stepper-no{font-size:12px;color:#666}
.rail-progress{margin-top:16px;padding-top:14px;border-top:1px solid var(--b-line)}
.rail-progress[hidden]{display:none}
.rail-progress-row{display:flex;justify-content:space-between;font-size:14px;font-weight:600;margin-bottom:6px}
.rail-progress progress{width:100%;height:8px;appearance:none;border:0;border-radius:var(--b-r);background:var(--b-soft);overflow:hidden}
.rail-progress progress::-webkit-progress-bar{background:var(--b-soft)}
.rail-progress progress::-webkit-progress-value{background:var(--tone)}
.rail-progress progress::-moz-progress-bar{background:var(--tone)}
.rail-done{margin-top:14px;width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font:inherit;font-size:15px;font-weight:500;background:#fff;border:1px solid var(--b-ink);border-radius:var(--b-r);cursor:pointer;color:var(--b-ink)}
.rail-done .icon{width:18px;height:18px}
[data-guide-done].is-done{background:var(--b-ink)!important;color:#fff!important;border-color:var(--b-ink)!important}
@media(max-width:1000px){
  .guide-shell{grid-template-columns:1fr}
  .guide-rail{position:static;order:-1}
  .guide-rail .rail-label{cursor:pointer;display:flex;justify-content:space-between;margin:0}
  .guide-rail .rail-label::after{content:'Hide';font-size:13px;text-transform:none;letter-spacing:0;text-decoration:underline}
  .guide-rail.is-collapsed .rail-label::after{content:'Show steps'}
  .guide-rail.is-collapsed .guide-stepper,.guide-rail.is-collapsed .rail-done{display:none}
  .guide-rail:not(.is-collapsed) .guide-stepper{margin-top:10px}
}

/* Steps on a visual path */
.guide-path{position:relative;counter-reset:none}
.guide-step{position:relative;padding:0 0 8px 72px;margin-top:44px}
.guide-step::before{content:'';position:absolute;left:25px;top:56px;bottom:-40px;width:2px;background:repeating-linear-gradient(to bottom,var(--b-line) 0 6px,transparent 6px 12px)}
.guide-step:last-child::before{display:none}
.guide-step-head{position:relative;margin-bottom:16px}
.guide-step-icon{position:absolute;left:-72px;top:-2px;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:var(--b-r);background:var(--tone);color:#fff;box-shadow:0 8px 20px color-mix(in srgb,var(--tone) 30%,transparent)}
.guide-step-icon .icon{width:28px;height:28px}
.guide-step-icon .icon .fill{opacity:.3}
.guide-step-label{display:block;font-size:13px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:var(--tone);margin-bottom:4px}
.guide-v2 .guide-step h2{margin:0!important;font-size:clamp(24px,2.4vw,30px);line-height:1.2;scroll-margin-top:24px}
.guide-v2 .guide-step h2::before{content:none!important;display:none!important}
.guide-step-body>p{font-size:18px;line-height:1.7}
@media(max-width:640px){.guide-step{padding-left:0}.guide-step::before{display:none}.guide-step-icon{position:static;margin-bottom:10px;width:46px;height:46px}}

/* Tick-off checklists */
.tick-list{list-style:none;margin:18px 0;padding:0;display:flex;flex-direction:column;gap:10px}
.tick-item{position:relative;display:flex;gap:14px;padding:14px 16px 14px 14px;background:#fff;border:1px solid var(--b-line);border-radius:var(--b-r);transition:background .15s}
.tick-item input{position:absolute;left:14px;top:14px;width:28px;height:28px;opacity:0;margin:0;cursor:pointer;z-index:1}
.tick-box{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:2px solid var(--b-ink);border-radius:var(--b-r);flex-shrink:0;color:transparent;background:#fff}
.tick-box .icon{width:18px;height:18px;stroke-width:2.6}
.tick-item input:checked+.tick-box{background:var(--tone);border-color:var(--tone);color:#fff}
.tick-item input:focus-visible+.tick-box{outline:3px solid var(--b-ink);outline-offset:2px}
.tick-item.is-done{background:color-mix(in srgb,var(--tone) 6%,#fff)}
.tick-item.is-done .tick-text{color:#555}
.tick-text{font-size:17px;line-height:1.6;padding-top:1px}

/* Callouts */
.guide-v2 .callout-example{position:relative;background:var(--b-ink);color:#fff;border:0;border-radius:var(--b-r);padding:22px 24px 22px 24px;margin:22px 0}
.guide-v2 .callout-example p{color:#eee;font-size:17px;line-height:1.65;margin:0}
.guide-v2 .callout-example .callout-label{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:#fff;margin-bottom:10px}
.guide-v2 .callout-example .callout-label .icon{width:30px;height:30px;padding:5px;border-radius:var(--b-r);background:var(--tone);color:#fff}
.guide-v2 .callout-example a{color:#fff}
.say-card{margin:22px 0;border:1px solid var(--b-line);border-left:5px solid var(--tone);border-radius:0 var(--b-r) var(--b-r) 0;background:color-mix(in srgb,var(--tone) 5%,#fff)}
.say-card figcaption{display:flex;align-items:center;gap:8px;padding:12px 16px 0;font-size:13px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:var(--tone)}
.say-card figcaption>.icon{width:20px;height:20px}
.say-copy{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:13px;font-weight:500;text-transform:none;letter-spacing:0;color:var(--b-ink);background:#fff;border:1px solid var(--b-line);border-radius:var(--b-r);padding:4px 10px;cursor:pointer}
.say-copy .icon{width:15px;height:15px}
.say-card blockquote{margin:0;padding:8px 16px 16px;border:0;font-family:var(--b-serif);font-size:19px;line-height:1.55;font-style:italic;color:var(--b-ink)}
.say-card blockquote p{margin:0}

/* Tables as cards */
.table-card{margin:22px 0;border:1px solid var(--b-line);border-radius:var(--b-r);overflow:hidden;background:#fff}
.table-card table{width:100%;border-collapse:collapse;margin:0}
.table-card thead th{background:var(--b-ink);color:#fff;text-align:left;font-size:14px;font-weight:600;padding:12px 16px;border:0}
.table-card td{padding:14px 16px;border:0;border-top:1px solid var(--b-line);font-size:16px;line-height:1.5;vertical-align:top}
.table-card tbody tr:nth-child(even) td{background:var(--b-soft)}
.table-card td:first-child{font-weight:600;width:38%}
@media(max-width:700px){
  .table-card thead{display:none}
  .table-card tr{display:block;border-top:1px solid var(--b-line);padding:12px 14px}
  .table-card tr:first-child{border-top:0}
  .table-card td{display:block;border:0;padding:4px 0;width:auto!important;background:none!important}
  .table-card td::before{content:attr(data-label);display:block;font-size:12px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;color:var(--tone)}
}

/* Finish card */
.guide-finish{display:flex;gap:20px;margin:48px 0 8px;padding:28px;background:var(--b-ink);color:#fff;border-radius:var(--b-r)}
.finish-icon{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;background:var(--tone);color:#fff;flex-shrink:0}
.finish-icon .icon{width:32px;height:32px;stroke-width:2.4}
.guide-finish h2{color:#fff;margin:0 0 6px!important;font-size:28px}
.guide-finish p{color:#ddd;margin:0 0 16px}
.finish-actions{display:flex;flex-wrap:wrap;gap:10px}
.finish-actions .button{display:inline-flex;align-items:center;gap:8px;min-height:48px;background:#fff!important;color:var(--b-ink)!important;border:1px solid #fff!important;border-radius:var(--b-r)!important;font-weight:500}
.finish-actions .finish-print{background:transparent!important;color:#fff!important;border-color:#ffffff80!important}
.finish-actions .icon{width:18px;height:18px}
@media(max-width:640px){.guide-finish{flex-direction:column;padding:22px}}

/* Keep going cards */
.next-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--b-gap)}
.next-cards a{position:relative;display:grid;grid-template-columns:56px 1fr;grid-template-rows:auto auto auto;column-gap:16px;row-gap:4px;padding:22px 52px 22px 22px;background:#fff;border:1px solid var(--b-line);border-left:5px solid var(--tone);border-radius:0 var(--b-r) var(--b-r) 0;color:var(--b-ink);text-decoration:none;height:100%;transition:transform .15s,box-shadow .15s}
.next-cards a:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0000001a}
.next-cards a:hover strong{text-decoration:underline;text-underline-offset:4px}
.next-icon{grid-row:1/4;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:var(--b-r);background:var(--tone);color:#fff}
.next-icon .icon{width:30px;height:30px}
.next-icon .icon .fill{opacity:.3}
.next-kind{font-size:12.5px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;color:var(--tone)}
.next-cards strong{font-family:var(--b-serif);font-size:20px;line-height:1.25}
.next-go{position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--tone)}
.next-go .icon{width:22px;height:22px}
@media(max-width:800px){.next-cards{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.next-cards a,.tick-item{transition:none}.next-cards a:hover{transform:none}}

/* Print: just the guide */
@media print{header,footer,.read-progress,.guide-rail,.next-steps,.help-band,.footer-help,.content-next,.finish-actions,.say-copy,.hero-art,.hero-mark{display:none!important}.page-hero{background:#fff!important;color:#000!important;border:0}.page-hero h1,.page-hero .lede,.trust-meta,.trust-meta *{color:#000!important}.guide-shell{display:block}.guide-finish{background:#fff;color:#000;border:1px solid #000}.guide-v2 .callout-example{background:#fff;color:#000;border:1px solid #000}.guide-v2 .callout-example p{color:#000}.guide-step-icon{box-shadow:none}}
.guide-v2 .guide-stepper a,.guide-v2 .guide-stepper a:hover{color:var(--b-ink)!important;text-decoration:none!important}
.guide-v2 .guide-stepper a[aria-current]{color:#fff!important}
/* Official sources as link cards */
.guide-v2 .sources{margin-top:48px;padding:24px;background:var(--b-soft);border-radius:var(--b-r);border:0}
.guide-v2 .sources h2{margin-top:0!important;font-size:24px}
.guide-v2 .sources ul{list-style:none;margin:12px 0;padding:0;display:grid;gap:8px}
.guide-v2 .sources li a{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;border:1px solid var(--b-line);border-radius:var(--b-r);color:var(--b-ink)!important;text-decoration:none!important;font-weight:500}
.guide-v2 .sources li a::before{content:'';flex-shrink:0;width:10px;height:10px;border-radius:50%;background:var(--tone)}
.guide-v2 .sources li a:hover{border-color:var(--b-ink)}
.guide-v2 .sources p{font-size:14px;color:#555}
@media(max-width:520px){.glance-strip{gap:8px;margin-top:24px}.glance-strip li{padding:10px 12px;gap:10px}.glance-icon{width:36px;height:36px}.glance-icon .icon{width:20px;height:20px}.glance-strip li>span:last-child>span{display:none}.glance-strip strong{font-size:15px}}

/* Sources: small and collapsed, not a headline */
.sources-mini{margin:40px 0 0;font-size:14px;color:#555;border-top:1px solid var(--b-line);padding-top:12px}
.sources-mini>summary{cursor:pointer;font-weight:500;color:#555;list-style:none;display:inline-flex;align-items:center;gap:6px}
.sources-mini>summary::-webkit-details-marker{display:none}
.sources-mini>summary::after{content:'+';font-weight:400}
.sources-mini[open]>summary::after{content:'−'}
.sources-mini ul{margin:10px 0 0;padding-left:18px}
.sources-mini li{margin:4px 0}
.sources-mini a{color:#444}

/* ---------- Tighter header: less space around the logo and menu items ---------- */
body header .header-main{min-height:0!important;padding-block:10px!important}
body header .header-main>.brand{font-size:26px;line-height:1}
.brand{gap:10px}
.brand-mark{width:34px;height:26px}
.brand-word{line-height:1}
body header .header-nav nav{min-height:0!important}
body header .header-nav nav>a,body header .header-nav nav>a:first-child{min-height:0!important;padding:11px 16px!important;line-height:1.2}
body header .header-search,body header .header-button,.situation-chip{min-height:40px!important}
body header .header-search,body header .header-button{padding-block:6px!important}
.situation-chip{padding-block:4px}
.situation-icon{width:28px;height:28px}
@media(max-width:800px){body header .header-main>.brand{font-size:23px}.brand-mark{width:30px;height:23px}body header .header-nav nav>a,body header .header-nav nav>a:first-child{padding:12px 4px!important}}
@media(min-width:801px){.page-hero.has-photo:before{background:linear-gradient(90deg,#111 0%,#111 40%,#111111c0 50%,#11111159 66%,#11111100 85%)}}

/* =================== Practical content components (guide bodies) =================== */
/* Quick numbers */
.by-numbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:22px 0}
.by-numbers>div{background:#fff;border:1px solid var(--b-line);border-top:4px solid var(--tone);border-radius:0 0 var(--b-r) var(--b-r);padding:14px 16px}
.by-numbers strong{display:block;font-family:var(--b-serif);font-size:28px;line-height:1.1;color:var(--b-ink)}
.by-numbers span{display:block;font-size:14.5px;line-height:1.4;color:#4a4a4a;margin-top:4px}
/* Insider tip and watch out */
.pro-tip,.watch-out{position:relative;margin:22px 0;padding:16px 18px 16px 58px;border-radius:var(--b-r)}
.pro-tip p,.watch-out p{margin:0;font-size:17px;line-height:1.6}
.pro-tip p+p,.watch-out p+p{margin-top:8px}
.pro-tip::before,.watch-out::before{position:absolute;left:16px;top:16px;width:28px;height:28px;border-radius:var(--b-r);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:16px}
.pro-tip{background:color-mix(in srgb,var(--tone) 8%,#fff);border:1px solid color-mix(in srgb,var(--tone) 30%,#fff)}
.pro-tip::before{content:'★';background:var(--tone)}
.watch-out{background:#fff7e6;border:1px solid #f0c674}
.watch-out::before{content:'!';background:#8a5a00}
/* Video recommendation (plain link: no embedded player, nothing loads from YouTube until clicked) */
.video-card{margin:22px 0;border:1px solid var(--b-line);border-radius:var(--b-r);background:#fff;overflow:hidden}
.video-card a{position:relative;display:block;padding:16px 18px 14px 84px;background:var(--b-ink);color:#fff!important;text-decoration:none!important;min-height:76px}
.video-card a::before{content:'';position:absolute;left:18px;top:50%;transform:translateY(-50%);width:48px;height:34px;border-radius:8px;background:#e1251b}
.video-card a::after{content:'';position:absolute;left:37px;top:50%;transform:translateY(-50%);border-left:13px solid #fff;border-top:8px solid transparent;border-bottom:8px solid transparent}
.video-card a:hover strong{text-decoration:underline;text-underline-offset:3px}
.video-meta{display:block;font-size:13px;color:#cfcfcf;margin-bottom:3px}
.video-card strong{display:block;font-size:18px;line-height:1.3;font-weight:600}
.video-card>p{margin:0;padding:12px 18px 14px;font-size:16px;line-height:1.55;color:#333}
/* Annotated sample document */
.annotated{margin:26px 0;border:1px solid var(--b-line);border-radius:var(--b-r);overflow:hidden;background:#fff}
.annotated>figcaption{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--b-ink);color:#fff;font-size:14px;font-weight:600;letter-spacing:.3px}
.annotated>figcaption::before{content:'SAMPLE';font-size:11px;letter-spacing:.8px;padding:2px 7px;border-radius:var(--b-r);background:var(--tone);color:#fff}
.annotated ol{list-style:none;margin:0;padding:0;counter-reset:note}
.annotated li{counter-increment:note;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);border-top:1px solid var(--b-line)}
.annotated li:first-child{border-top:0}
.doc-line{position:relative;padding:14px 16px 14px 48px;background:#fbfaf6;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14.5px;line-height:1.55;color:#222;border-right:1px dashed var(--b-line)}
.doc-line::before{content:counter(note);position:absolute;left:14px;top:13px;width:24px;height:24px;border-radius:50%;background:var(--tone);color:#fff;font:600 13px/24px Inter,system-ui,sans-serif;text-align:center}
.doc-note{padding:14px 16px;font-size:16px;line-height:1.55}
@media(max-width:700px){.annotated li{grid-template-columns:1fr}.doc-line{border-right:0;border-bottom:1px dashed var(--b-line)}}
