/* Test-only shared refinement. The production design system remains the source
   of brand tokens; page types deliberately retain their distinct compositions. */
:root {
  --ui-notice:#ffffff;
  --ui-field-border:#b9b1a6;
  --ui-error-light:#a3291f;
  --ui-brand-header:#100e0c;
  --ui-control-hover:#fff5eb;
  --radius-control:8px;
  --radius-panel:12px;
  --type-action:15px;
  --ui-control-font:750 15px/1.45 var(--font-body);
  --ui-panel-light:#fffdfa;
  --ui-reading-line:1.8;
  --sw-light-field:radial-gradient(ellipse at 95% 0,#ff681b14,transparent 54%),linear-gradient(135deg,#f7f4ee,#f1eee7);
  --sw-dark-field:radial-gradient(ellipse at 95% 12%,#ff681b12,transparent 55%),radial-gradient(ellipse at 15% 100%,#ff681b0b,transparent 60%),linear-gradient(135deg,#080808,#15110e);
}
:root body .home-commercial :is(.system-section,.cs-commercial,.copy-authority,.faq-refresh){background:var(--sw-light-field)}
:root body .home-commercial :is(.hero,.sector-showcase,.method-section,.founder-spotlight){background:var(--sw-dark-field)}
:root body .sector-reading .sr-hero{background:var(--sw-light-field)}
::selection { background:#ffbe97; color:var(--color-ink); }
input,textarea { caret-color:var(--color-orange); }
body :is(a,button,summary,input,select,textarea):focus-visible {
  outline:3px solid var(--color-orange); outline-offset:4px;
}
body :is(.sector-reading,.article-paper,.cs-library,.privacy-page) :is(a,button,summary):focus-visible {
  outline-color:var(--color-accent-on-light);
}
/* A single control voice: display typography is reserved for headings. */
:root body :is(main,dialog,.site-mobile-menu) .button,
body .sector-reading .sr-button,
body .home-commercial .sector-showcase-footer .button,
body .primary {
  display:inline-flex; align-items:center; justify-content:center;
  gap:18px; min-height:54px; padding:15px 22px;
  border-radius:var(--radius-control); font:var(--ui-control-font);
  letter-spacing:0; text-decoration:none; box-shadow:none;
}
body :is(main,dialog) .button>span { font:400 20px/1 var(--font-body); }
body :is(main,dialog) .button>img { width:20px; height:20px; flex-shrink:0; }
body :is(main,dialog) .button:hover { box-shadow:none; }
body .site-header .button { font:750 13px/1.45 var(--font-body); border-radius:var(--radius-control); }
body .site-mobile-menu .button { justify-content:space-between; }
body .cookie-button { border-radius:var(--radius-control); }
body .cookie-dialog-actions .cookie-button { font-size:14px; min-height:48px; }
body .site-footer .footer-meta :is(a,button,small) { font-size:12px; }
body .site-footer .footer-legal a { display:inline-flex; align-items:center; min-height:44px; }
body :is(.sr-breadcrumb,.cs-breadcrumb,.article-breadcrumb) { font-size:12px; line-height:1.6; }
body :is(.sr-breadcrumb,.cs-breadcrumb,.article-breadcrumb) a { display:inline-flex; align-items:center; min-height:36px; }

/* Sector reading pages: retain the approved narrow layout, remove tiny copy. */
.sector-reading {
  --sr-paper:var(--color-paper); --sr-ink:var(--color-ink);
  --sr-muted:var(--color-muted-light); --sr-orange:var(--color-orange);
  --sr-line:var(--color-rule-light);
}
body .sector-reading p { font-size:16px; line-height:var(--ui-reading-line); }
body .sector-reading .sr-deliverables p { font-size:16px; line-height:var(--ui-reading-line); }
body .sector-reading .sr-lead { font-size:18px; line-height:1.75; }
body .sector-reading :is(.sr-signs li,.sr-faq-list summary) { font-size:15px; line-height:1.65; }
body .sector-reading :is(.sr-hero-action>span,.sr-trust p,.sr-person p,.sr-person span,.sr-case-results span,.sr-case-date,.sr-disclaimer,.sr-final-note,.sr-final-top,.sr-sector) {
  font-size:12px; line-height:1.7;
}
body .sector-reading :is(.sr-case-context p,.sr-outcome,.sr-text-link,.sr-explore) { font-size:13px; line-height:1.7; }
body .sector-reading .sr-final>p { color:var(--color-muted-dark); }
body .sector-reading .sr-final .sr-final-note { font-size:12px; }
body .sector-reading :is(.sr-case,.sr-deliverables article,.sr-signs li,.sr-faq-list details) { background:var(--ui-panel-light); border-radius:var(--radius-panel); }
body .sector-reading .sr-final { border-radius:var(--radius-panel); }
body .sr-text-link { min-height:44px; }
body .sr-explore a { display:inline-flex; align-items:center; min-height:44px; }
body .sr-breadcrumb { margin-bottom:24px; }

/* One FAQ component language, with generous internal space on touch screens. */
body .faq-refresh .faq-list { display:grid; gap:10px; }
body .faq-refresh .faq-list details,
body .faq-refresh .faq-list details:first-child,
body .faq-refresh .faq-list details:last-child {
  border:1px solid var(--color-rule-light); border-radius:var(--radius-panel);
  background:var(--ui-panel-light); overflow:hidden;
}
body .faq-refresh .faq-list details[open],body .sr-faq-list details[open] {
  background:var(--ui-panel-light); border-color:#a59b8d;
}
body .faq-refresh .faq-list summary,body .sr-faq-list summary {
  padding:22px; min-height:76px; gap:18px; font:700 16px/1.6 var(--font-body);
}
body .faq-refresh .faq-list summary { grid-template-columns:minmax(0,1fr) 32px; }
body .faq-refresh .faq-list details p,body .sector-reading .sr-faq-list details p {
  padding:0 22px 24px; max-width:none; font-size:16px; line-height:1.8;
}
body .faq-refresh .faq-toggle,body .sr-toggle {
  width:32px; height:32px; min-width:32px; border:1px solid var(--color-rule-light);
  border-radius:var(--radius-control); background:transparent; color:var(--color-ink);
}
body .sr-toggle:before,body .sr-toggle:after { left:8px; top:14px; }
body .sr-faq-list details[open] .sr-toggle { background:var(--color-orange); border-color:var(--color-orange); }

/* Consistent proof cards, readable metadata and quieter closing sections. */
body :is(.cs-card,.cs-campaign,.cs-commercial-card,.journal-card,.article-checklist) { border-radius:var(--radius-panel); }
body :is(.cs-card,.cs-campaign,.journal-card) { background:var(--ui-panel-light); }
body :is(.cs-card-spend,.cs-card-since,.cs-agency,.founder-area,.article-table caption) { font-size:12px; line-height:1.7; }
body :is(.cs-card-results strong,.cs-commercial-card strong,.sr-case-results strong) { font-variant-numeric:tabular-nums; }
:root body :is(.cs-closing,.journal-closing,.final-invitation) h2 { max-width:900px; margin-inline:auto; font-size:clamp(40px,5vw,72px); line-height:1.15; }
body .home-commercial .hero-session-note { font-size:12px; }
body .home-commercial .sector-detail-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; font-size:13px; }
body .home-commercial .final-content>.final-note { font-size:13px; }
body .article-sidebar a { min-height:44px; display:flex; align-items:center; }
body .article-table :is(th,td) { font-size:14px; }
body .article-body .article-founder .eyebrow { font-size:11px; }

/* Long-form utility copy uses the same warm reading surface as articles. */
body:has(.privacy-page) { background:var(--color-paper); }
body .privacy-page { color:var(--color-ink); max-width:1000px; }
body .privacy-page :is(p,ul,.privacy-table) { color:var(--color-muted-light); }
body .privacy-page :is(h1,h2,strong,th,caption) { color:var(--color-ink); }
body .privacy-page :is(h2,th,td,.privacy-table-wrap,.privacy-summary) { border-color:var(--color-rule-light); }
body .privacy-page .eyebrow,body .privacy-page a { color:var(--color-accent-on-light); }
body .privacy-page .privacy-summary { background:var(--ui-panel-light); }
body .privacy-page .privacy-summary .cookie-button { border-color:#989087; color:var(--color-ink); font-size:14px; min-height:48px; }
body .privacy-page .privacy-table-wrap { background:var(--ui-panel-light); }
body .privacy-page .privacy-table-wrap:focus-visible { outline:3px solid var(--color-accent-on-light); outline-offset:4px; }
body .journey p,body .journey li span { font-size:12px; }

@media(max-width:700px) {
  body .sector-reading .sr-width { width:calc(100% - 44px); }
  body .sector-reading .sr-lead { font-size:16px; }
  body .sector-reading .sr-deliverables article { padding:22px; }
  body .sector-reading .sr-signs li { padding:16px; font-size:14px; }
  body .sector-reading .sr-final>p { font-size:16px; }
  body .sector-reading .sr-final { padding:26px 22px; }
  body .faq-refresh .faq-list summary,body .sr-faq-list summary { padding:20px 18px; gap:14px; font-size:15px; }
  body .faq-refresh .faq-list details p,body .sector-reading .sr-faq-list details p { padding:0 18px 22px; }
  body .home-commercial .hero .button { font-size:15px; }
  body .home-commercial .sector-showcase-footer .button { font-size:15px; }
  body .journal-grid .journal-card-link,body .journal-grid-compact .journal-card-link,body .journal-related-grid .journal-card-link { display:grid; grid-template-columns:1fr; }
  body .journal-card .journal-art { height:180px; min-height:180px; }
  body .journal-card-body { padding:22px; }
  body .journal-card h3 { font-size:28px; }
  body .journal-library .journal-card p { display:block; font-size:15px; line-height:1.75; }
  body .journal-library .journal-meta { flex-direction:row; justify-content:space-between; }
  body .journal-library .art-channels { flex-direction:row; top:30px; gap:10px; }
  body .journal-library .art-channels small { display:none; }
  body .journal-library .art-pipeline { grid-template-columns:repeat(3,minmax(0,1fr)); inset:22px 12% 20px; gap:12px; }
  body .journal-library .art-pipeline small { display:none; }
  body .journal-library .art-metric-bars { inset:24px 18% 38px; }
  body .journal-library .art-metric-equation { display:none; }
  body .journal-card-compact .art-channels { flex-direction:row; top:30px; gap:10px; }
  body .journal-card-compact .art-channels>span { width:auto; }
  body .journal-card-compact .art-channels small { display:none; }
  body .journal-card-compact .art-pipeline { grid-template-columns:repeat(3,minmax(0,1fr)); inset:22px 12% 20px; gap:12px; }
  body .journal-card-compact .art-pipeline small { display:none; }
  body .journal-card-compact .art-pipeline>div { padding:9px 6px; }
  body .journal-card-compact .art-metric-bars { inset:24px 18% 38px; }
  body .journal-card-compact .art-metric-equation { display:none; }
  body .article-table :is(th,td) { font-size:13px; }
  body .privacy-page { padding-block:48px; }
  body .privacy-page h1 { text-align:left; font-size:40px; }
  body .privacy-page h2 { font-size:21px; }
  body .error-actions { align-items:stretch; }
  body .error-actions>a { min-height:48px; display:inline-flex; align-items:center; }
}
@media(prefers-reduced-motion:reduce) {
  body :is(.button,.sr-toggle:before,.sr-toggle:after) { transition:none; }
}

/* One closing invitation shared by every page that already had a final CTA. */
:root body .sw-site-closing{background:radial-gradient(ellipse at 50% 120%,#ff681b1f,transparent 70%),var(--gradient-dark),var(--color-dark);color:var(--color-white);text-align:center;padding:88px 0;margin:0;border:0;border-radius:0}
:root body .sw-site-closing>.wrap{width:min(100% - 48px,1100px);margin-inline:auto}
:root body .sw-site-closing .eyebrow{color:var(--color-orange);font:750 12px/1.6 var(--font-body);letter-spacing:.12em;text-transform:uppercase;margin:0 0 28px}
:root body .sw-site-closing h2{font:400 clamp(44px,5.5vw,72px)/1.12 var(--font-display);letter-spacing:-.02em;color:var(--color-white);max-width:790px;margin:0 auto 34px;text-wrap:balance}
:root body .sw-site-closing .button{width:auto;min-width:300px;max-width:100%;background:var(--color-orange);color:var(--color-ink);border:1px solid var(--color-orange);justify-content:center;text-decoration:none}
:root body .sw-site-closing .button:hover{background:var(--color-orange-hover)}
:root body .sw-site-closing .sw-closing-note{font:400 13px/1.8 var(--font-body);color:var(--color-muted-dark);margin:20px 0 0;max-width:none}
@media(max-width:700px){
  :root body .sw-site-closing{padding:64px 0}
  :root body .sw-site-closing h2{font-size:42px;margin-bottom:28px}
  :root body .sw-site-closing .button{width:100%;min-width:0;max-width:340px}
}
/* One breadcrumb pattern across sector, client and editorial pages. */
.sw-breadcrumb{margin:0 0 24px;color:#645e56;font:400 12px/1.6 var(--font-body)}
.sw-breadcrumb ol{display:flex;align-items:center;flex-wrap:wrap;gap:0 12px;list-style:none;margin:0;padding:0}
.sw-breadcrumb li{display:flex;align-items:center;gap:12px;min-width:0;margin:0;padding:0}
.sw-breadcrumb li+li:before{content:'›';color:currentColor;opacity:.7}
.sw-breadcrumb a{display:inline-flex;align-items:center;min-height:36px;color:inherit;text-decoration:none}
.sw-breadcrumb a:hover{color:#a83e05;text-decoration:underline;text-underline-offset:4px}
.sw-breadcrumb [aria-current=page]{color:#191919}
.sw-breadcrumb-dark{color:#ccc4b9;margin-bottom:36px}
.sw-breadcrumb-dark [aria-current=page]{color:#fffaf4}
.sw-breadcrumb-dark a:hover{color:#ff965d}
@media(max-width:600px){.sw-breadcrumb ol{gap:0 8px}.sw-breadcrumb li{gap:8px}.sw-breadcrumb a{min-height:44px}.sw-breadcrumb li:last-child{flex:1 1 auto}.sw-breadcrumb [aria-current=page]{max-width:35ch}.sw-breadcrumb-dark{margin-bottom:28px}}

/* Sector heroes occupy the first mobile screen without clipping enlarged text. */
body .sr-hero-action { display:grid; justify-items:center; width:fit-content; gap:10px; }
body .sr-hero-action>span { width:100%; text-align:center; }
@media(max-width:700px) {
  body .sector-reading .sr-hero { min-height:calc(100svh - var(--header-height)); display:flex; align-items:center; padding:28px 0; }
  body .sector-reading .sr-breadcrumb { margin-bottom:12px; }
  body .sector-reading .sr-sector { margin-bottom:20px; }
  body .sector-reading h1 { font-size:clamp(34px,11vw,48px); line-height:1.08; }
  body .sector-reading .sr-lead { font-size:15px; line-height:1.65; margin-top:28px; }
  body .sr-hero-action { width:100%; margin-top:24px; gap:12px; }
  body .sector-reading .sr-hero .sr-button { min-height:48px; padding:12px 14px; }
  body .sr-trust { margin-top:24px; }
}
@media(max-width:700px) and (max-height:700px) {
  body .sector-reading .sr-hero { padding:8px 0 10px; }
  body .sector-reading .sr-breadcrumb { margin-bottom:6px; }
  body .sector-reading .sr-sector { margin-bottom:10px; padding-block:4px; font-size:10px; }
  body .sector-reading h1 { font-size:clamp(30px,9.4vw,38px); line-height:1.06; }
  body .sector-reading .sr-lead { margin-top:12px; font-size:14px; line-height:1.5; }
  body .sr-hero-action { margin-top:12px; gap:6px; }
  body .sr-trust { margin-top:12px; }
}


/* Proof and action form one aligned group in both sector heroes. */
body .sector-reading .sr-trust {
  display:flex; align-items:center; gap:14px;
  width:min(100%,340px); margin:24px 0 0; padding:12px 14px;
  border:1px solid var(--color-rule-light); border-radius:var(--radius-panel);
  background:var(--ui-panel-light);
}
body .sector-reading .sr-faces { flex-shrink:0; padding:0; }
body .sector-reading .sr-faces img { width:36px; height:36px; border-color:var(--ui-panel-light); }
body .sector-reading .sr-trust p { font-size:12px; line-height:1.5; max-width:none; }
body .sector-reading .sr-trust p strong { display:block; margin-bottom:2px; font-weight:800; }
body .sector-reading .sr-hero-action { width:min(100%,340px); margin-top:14px; }
body .sector-reading .sr-hero-action .button { width:100%; }
body :is(.journal-card,.sw-client-card):focus-within { border-color:var(--color-accent-on-light); }
@media(hover:hover) and (pointer:fine) {
  body .journal-card:hover { box-shadow:none; border-color:#a99c8a; }
}
@media(max-width:700px) {
  body .sector-reading .sr-trust,body .sector-reading .sr-hero-action { width:100%; }
  body .sector-reading .sr-trust { margin-top:28px; padding:10px 12px; }
  body .sector-reading .sr-hero-action { margin-top:20px; }
  body .site-header.is-scrolled { background:#100d0b; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:0 4px 12px #0000001a; }
}
@media(max-width:700px) and (max-height:700px) {
  body .sector-reading .sr-trust { padding:7px 10px; margin-top:12px; gap:10px; }
  body .sector-reading .sr-trust p { font-size:11px; line-height:1.4; }
  body .sector-reading .sr-faces img { width:30px; height:30px; }
  body .sector-reading .sr-hero-action { margin-top:10px; }
  body .sector-reading .sr-sector { margin-bottom:8px; }
  body .sector-reading .sr-lead { margin-top:10px; }
}

/* Sector introductions share the home hero's plain brand eyebrow. */
/* A continuous paper surface, with a divider aligned to the reading column. */
:root body .sector-reading .sr-hero {
  border-bottom:0;
  background:linear-gradient(to bottom,transparent 55%,var(--color-paper)),var(--sw-light-field);
}
body .sector-reading .sr-body { padding-top:0; }
body .sector-reading .sr-reality {
  position:relative; padding-top:56px;
  border-top:1px solid var(--color-rule-light);
}
body .sector-reading .sr-reality:before {
  content:""; position:absolute; left:0; top:-1px;
  width:48px; height:2px; background:var(--color-orange);
}
@media(min-width:701px) {
  body .sector-reading .sr-hero { padding-bottom:64px; }
}
@media(max-width:700px) {
  body .sector-reading .sr-reality { padding-top:36px; }
  body .sector-reading .sr-reality:before { width:32px; }
}
@media(min-width:701px) {
  body .sector-reading .sr-hero h1 { max-width:none; font-size:clamp(38px,4.5vw,52px); text-wrap:initial; }
  body .sector-reading .sr-hero .sr-desktop-break { display:none; }
}
body .sector-reading .sr-hero-eyebrow {
  color:var(--color-orange); font:700 11px/1.6 var(--font-body);
  letter-spacing:.14em; text-transform:uppercase; margin:0 0 18px;
}
@media(max-width:700px) {
  body .sector-reading .sr-hero-eyebrow { font-size:10px; letter-spacing:.1em; margin-bottom:20px; }
}
@media(max-width:700px) and (max-height:700px) {
  body .sector-reading .sr-hero-eyebrow { margin-bottom:8px; }
}
/* Lead capture and home selection share the approved dark brand surface. */
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) {
  --dialog-inset:28px; --text:var(--color-white); --muted:var(--color-muted-dark);
  --ui-field-border:#796e65; --ui-control-hover:#28221e;
  width:min(620px,calc(100% - 24px)); padding:var(--dialog-inset);
  color:var(--color-white); background:var(--color-surface); border-color:var(--color-rule-dark);
  color-scheme:dark; box-shadow:0 24px 80px #0006;
  scrollbar-color:#796e65 var(--color-surface);
}
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .dialog-heading { padding-block:12px; min-height:68px; background:var(--ui-brand-header); }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .form-brand .original-logo { width:154px; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) h2 { font-size:28px; line-height:1.25; color:var(--color-white); }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) :is(.form-description,.form-note,.privacy-check,#form-success p,#form-status p) { color:var(--color-muted-dark); }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .form-description { margin:12px 0 26px; font-size:14px; line-height:1.65; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) #step-fields { gap:20px 16px; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .field { font-size:13px; font-weight:700; line-height:1.5; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .field:has([name=digitalMarketing]) { grid-column:1/-1; padding-top:20px; border-top:1px solid var(--color-rule-dark); }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .field :is(input,select) { min-height:50px; padding:12px 14px; margin-top:8px; border:1px solid var(--ui-field-border); background:var(--color-dark); color:var(--color-white); font:400 16px/1.5 var(--font-body); }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .field input::placeholder { color:var(--color-muted-dark); opacity:1; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) :is(input,select):focus-visible { outline:2px solid var(--color-orange); outline-offset:2px; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .field [aria-invalid=true] { border-color:var(--color-error); }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) :is(.form-error,.field-error) { color:var(--color-error); }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .privacy-check { font-size:12px; line-height:1.65; gap:10px; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .privacy-check input { margin-top:2px; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .form-note { text-align:center; font-size:11px; margin-top:14px; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .form-actions { margin-top:22px; }
@media(max-width:480px) {
  body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) { --dialog-inset:20px; max-height:calc(100dvh - 16px); width:calc(100% - 16px); }
  body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) h2 { font-size:24px; }
  body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) #step-fields { gap:16px; }
}
/* One white notice with an inline preference area and reachable actions. */
body .cookie-banner { padding:22px; gap:12px; border-radius:var(--radius-panel); background:var(--ui-notice); color-scheme:light; border-color:var(--color-rule-light); box-shadow:0 10px 32px #0002; overscroll-behavior:contain; }
body .cookie-banner p { padding:0; }
body .cookie-banner-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
body .cookie-banner-heading .cookie-banner-title { margin:0; }
body .cookie-banner .cookie-close { color:var(--color-ink); border-color:var(--color-rule-light); }
body .cookie-preferences { border-block:1px solid var(--color-rule-light); }
body .cookie-preferences summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding:10px 0; cursor:pointer; list-style:none; font:700 13px/1.5 var(--font-body); }
body .cookie-preferences summary::-webkit-details-marker { display:none; }
body .cookie-preferences summary:after { position:static; content:'+'; color:var(--color-ink); font-size:22px; font-weight:400; }
body .cookie-preferences[open] summary:after { content:'−'; }
body .cookie-preferences summary:focus-visible { outline:2px solid var(--color-accent-on-light); outline-offset:2px; }
body .cookie-preferences-body { max-height:clamp(80px,calc(100dvh - 450px),340px); overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; padding:0 6px 0 0; scrollbar-width:thin; scrollbar-color:#b9b1a6 transparent; }
body .cookie-banner .cookie-category { border-color:var(--color-rule-light); gap:14px; align-items:center; padding-block:14px; }
body .cookie-banner .cookie-category :is(h3,strong) { margin:0 0 4px; padding:0; color:var(--color-ink); font-size:13px; }
body .cookie-banner :is(.cookie-description,.cookie-required,.cookie-category p) { margin:0; padding:0; color:var(--color-muted-light); font-size:12px; line-height:1.55; }
body .cookie-banner .cookie-required { max-width:76px; flex-shrink:0; text-align:right; }
body .cookie-banner .cookie-category>div,body .cookie-banner .cookie-category>span:first-child { min-width:0; }
body .cookie-banner .cookie-category input { width:22px; height:22px; margin:11px 0; }
body .cookie-banner .cookie-availability { margin:4px 0 12px; font-size:12px; line-height:1.55; }
body .cookie-banner .cookie-policy-link { margin:0; font-size:12px; }
body .cookie-banner .cookie-policy-link a { display:inline-flex; align-items:center; min-height:44px; }
body .cookie-banner .cookie-actions { grid-template-columns:repeat(2,minmax(0,1fr)); position:static; gap:8px; padding:0; margin:0; border:0; background:var(--ui-notice); }
body .cookie-banner .cookie-actions .cookie-save { display:none; grid-column:1/-1; width:100%; min-height:46px; background:var(--color-ink); border-color:var(--color-ink); color:#fff; }
body .cookie-banner:has(.cookie-preferences[open]) .cookie-save { display:block; }
body .cookie-banner .cookie-actions .cookie-save:hover:not(:disabled) { background:#30302d; border-color:#30302d; }
body .cookie-banner .cookie-status:empty { display:none; }
body .cookie-banner .cookie-status { font-size:12px; color:var(--ui-error-light); }
@media(max-width:700px) { body .cookie-banner { padding:18px; max-height:calc(100dvh - 24px); } }

/* The sector picker is the first step of the same lead-capture surface. */
body .demo-sector-dialog .eyebrow { color:var(--color-orange); font:700 11px/1.6 var(--font-body); letter-spacing:.14em; margin:0 0 12px; }
body .demo-sector-dialog .demo-sector-option { background:var(--gradient-dark),var(--color-dark); border:1px solid var(--ui-field-border); border-radius:var(--radius-control); color:var(--color-white); padding:20px; gap:16px; box-shadow:none; }
body .demo-sector-dialog .demo-sector-option strong { font-size:19px; }
body .demo-sector-dialog .demo-sector-option small { color:var(--color-muted-dark); font-size:13px; margin-top:4px; }
body .demo-sector-dialog .demo-sector-arrow { display:grid; place-items:center; flex-shrink:0; width:40px; height:40px; border-radius:var(--radius-control); background:var(--color-orange); color:var(--color-ink); font-size:24px; }
body .demo-sector-dialog .demo-sector-error { color:var(--color-error); }
body .demo-sector-dialog :is(.demo-sector-back,.demo-fallback) { color:var(--color-orange); }
@media(hover:hover) and (pointer:fine) { body .demo-sector-dialog .demo-sector-option:hover:not(:disabled) { background:var(--ui-control-hover); border-color:var(--color-orange); } }
@media(max-width:480px) { body .demo-sector-dialog .demo-sector-option { padding:16px; } }
body .demo-sector-dialog .demo-loading { color:var(--color-muted-dark); }
body .demo-sector-dialog .demo-error { color:var(--color-error); }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .demo-sector-back { color:var(--color-orange); }

/* Shared interactive and completion states across the appointment journey. */
body .booking-panel :is(.month-button,.time-slot) { border:1px solid var(--ui-field-border); background:var(--ui-panel-light); color:var(--color-ink); }
body .booking-panel .time-slot:has(input:checked) { background:var(--color-orange); border-color:var(--color-orange); }
body .booking-panel .calendar-export { margin-top:28px; padding-top:24px; border-top:1px solid var(--color-rule-light); }
body .booking-panel .calendar-export h4 { margin:0 0 14px; font:750 14px/1.5 var(--font-body); color:var(--color-ink); }
body .booking-panel .calendar-export-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
body .booking-panel .calendar-export-link { display:flex; align-items:center; justify-content:center; gap:9px; min-width:0; min-height:52px; padding:12px; border:1px solid var(--ui-field-border); border-radius:var(--radius-control); background:var(--ui-panel-light); color:var(--color-ink); font:700 12px/1.5 var(--font-body); text-decoration:none; text-align:center; }
body .booking-panel .calendar-export-link img { width:20px; height:20px; flex-shrink:0; }
body .booking-panel .calendar-export-link:focus-visible { outline:2px solid var(--color-accent-on-light); outline-offset:3px; }
body .booking-panel #calendar-export-help { font:400 12px/1.65 var(--font-body); color:var(--color-muted-light); margin-top:14px; }
body .booking-panel #calendar-export-status { font:400 13px/1.65 var(--font-body); color:var(--color-muted-light); margin:0 0 14px; }
body .booking-panel #calendar-export-status:empty { display:none; }
@media(hover:hover) and (pointer:fine) { body .booking-panel .calendar-export-link:hover { border-color:var(--color-accent-on-light); background:var(--color-orange-soft); } }
@media(max-width:600px) { body .booking-panel .calendar-export-links { grid-template-columns:1fr; } body .booking-panel .calendar-export-link { justify-content:flex-start; padding-inline:16px; font-size:14px; } }
body :is(.complete-symbol,.success-icon) { width:48px; height:48px; border-radius:var(--radius-panel); background:var(--color-orange-soft); color:var(--color-accent-on-light); font:700 26px/1 var(--font-body); }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) .success-icon { color:var(--color-orange); }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) :is(#form-status,#form-success) p { line-height:1.7; font-size:14px; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) #form-success .button { margin:0 0 10px; }
body .demo-sector-dialog .demo-loading:empty { min-height:0; margin:0; }
body dialog:is(:has(form[data-lead-form]),.demo-sector-dialog) :is(.field select,.privacy-check input) { scroll-margin-block:88px 36px; }
body :is(.button,.primary,.demo-sector-option,.cookie-button) { transition:background-color 150ms ease,border-color 150ms ease; }
@media(hover:hover) and (pointer:fine) {
  :root body :is(.button,.primary):hover { transform:none; box-shadow:none; }
  body .booking-panel :is(.month-button,.time-slot):hover:not(:disabled) { border-color:var(--color-accent-on-light); background:var(--ui-control-hover); }
  body .booking-panel .time-slot:has(input:checked):hover { background:var(--color-orange-hover); }
}
@media(prefers-reduced-motion:reduce) {
  body :is(.button,.primary,.demo-sector-option,.cookie-button) { transition:none; }
}

body .cookie-banner .cookie-actions [data-cookie-action=accept] { grid-column:2; grid-row:1; }
