/* Mock D: Stories (layout pattern inspired by a case-study index; ALGCO brand rules apply) */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  background: var(--c-offwhite);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus, var(--c-ink)); outline-offset: 3px; }

.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--c-ink); color: var(--c-offwhite); padding: 12px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.label { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; }
.placeholder { display: inline-block; border: 1px dashed currentColor; padding: 0 6px; font-weight: 600; }

/* Story voice: lighter, slightly narrow Archivo in place of a serif */
.story-text {
  font-size: var(--fs-story); font-weight: 400; font-stretch: var(--story-width);
  line-height: 1.28; letter-spacing: 0; text-wrap: pretty;
}
.story .story-text { max-width: 30ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; text-align: center; border: 2px solid transparent;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { border-color: var(--focus, var(--c-ink)); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; font-size: 1.0625rem; }

/* Header */
.site-header { padding-block: 20px; }
.header-row { display: flex; align-items: center; gap: 16px; }
.logo { margin-right: auto; }
.logo img { width: 220px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero: huge plain title + lighter tagline */
.hero { padding-block: 40px 88px; }
.hero .label { color: var(--c-muted); margin-bottom: 24px; }
.hero h1 {
  font-size: var(--fs-h1); font-weight: 800; line-height: 0.96; letter-spacing: -0.025em;
  max-width: 18ch; text-wrap: balance;
}
.hero .tagline { margin-top: 20px; max-width: 38ch; font-size: var(--fs-tagline); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.section-title { font-size: var(--fs-title); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }

/* Story panels */
.stories { display: grid; gap: var(--panel-gap); }
.story {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: 600px;
  border: 1px solid var(--c-rule);
  background: var(--c-offwhite);
}
.story-copy {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 56px 48px 48px;
}
.story h3 {
  font-size: var(--fs-title); font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  color: var(--c-primary); text-wrap: balance;
}
.story-bottom { display: grid; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 3px 8px; background: var(--c-rule); }
.story .detail { color: var(--c-muted); max-width: 46ch; }
.story-media { position: relative; overflow: hidden; min-height: 360px; }
.story-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-media .vis-wrap {
  position: absolute; left: 7%; bottom: 7%; width: min(440px, 78%);
}
.story-media .vis { border-color: var(--c-ink); }
.story-media .vis-cap {
  position: absolute; left: 0; top: -30px; margin: 0;
  padding: 3px 8px; background: var(--c-offwhite); color: var(--c-ink);
  font-size: 0.75rem; font-weight: 600;
}

/* The assessment story is the teal one */
.story--teal { background: var(--c-primary); color: var(--c-offwhite); border-color: var(--c-primary); --focus: var(--c-offwhite); }
.story--teal h3 { color: var(--c-offwhite); }
.story--teal .chips li { background: transparent; border: 1px solid var(--c-offwhite); }
.story--teal .detail { color: var(--c-offwhite); }
.story--teal .story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.story--teal .btn-primary:hover { border-color: var(--c-offwhite); }

/* How it works */
.how { padding-block: var(--space-section) 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--c-rule); }
.steps li { padding: 32px 28px 36px; }
.steps li + li { border-left: 1px solid var(--c-rule); }
.steps .num { display: block; font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--c-primary); margin-bottom: 24px; }
.steps h3 { font-size: 1.25rem; line-height: 1.25; }
.steps p { margin-top: 8px; color: var(--c-muted); }

/* Work delivered: "in your industry" chips */
.work { padding-block: var(--space-section) 0; }
.work-lines { display: grid; gap: 28px; }
.work-line { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 12px 32px; align-items: start; padding-top: 20px; border-top: 3px solid var(--c-ink); }
.work-line .label { padding-top: 10px; color: var(--c-muted); }
.big-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.big-chips li {
  padding: 8px 16px; border: 1px solid var(--c-ink);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 400; font-stretch: var(--story-width); line-height: 1.2;
}
.big-chips--teal li { background: var(--c-primary); color: var(--c-offwhite); border-color: var(--c-primary); }

/* Commitments (in place of testimonials) */
.commit { padding-block: var(--space-section) 0; }
.commit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--c-rule); }
.commit-grid li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 32px 32px 32px 0; border-bottom: 1px solid var(--c-rule);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 400; font-stretch: var(--story-width); line-height: 1.1; letter-spacing: -0.01em;
}
.commit-grid li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--c-rule); }
.commit-grid li::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--c-primary); transform: translateY(-4px); }

/* Closing CTA with the form */
.closing { padding-block: var(--space-section); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px 64px; align-items: start; }
.closing h2 { font-size: var(--fs-title); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.closing .story-text { margin-top: 20px; }
.closing .lead-form { border: 1px solid var(--c-ink); }

/* Footer */
.site-footer { background: var(--c-primary); color: var(--c-offwhite); --focus: var(--c-offwhite); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-logo img { width: 240px; }
.footer-col .label { display: block; margin-bottom: 12px; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.footer-col p { margin-bottom: 12px; }
.fine { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--c-offwhite); font-size: 0.875rem; }

.action-bar { display: none; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity 380ms ease-out, transform 380ms ease-out; }
  .reveal.is-pending { opacity: 0; transform: translateY(14px); }
  .reveal-group > * { transition: opacity 320ms ease-out, transform 320ms ease-out; transition-delay: calc(var(--i, 0) * 120ms); }
  .reveal-group.is-pending > * { opacity: 0; transform: translateY(14px); }
}

/* Responsive */
@media (max-width: 1000px) {
  .story { grid-template-columns: 1fr; min-height: 0; }
  .story-media { aspect-ratio: 4 / 3; min-height: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--c-rule); }
  .closing-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .header-cta { display: none; }
  .logo img { width: 172px; }
  .hero { padding-block: 40px 56px; }
  .story-copy { padding: 28px 20px 28px; gap: 28px; }
  .story-media { aspect-ratio: auto; display: flex; flex-direction: column; }
  .story-media > img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .story-media .vis-wrap { position: relative; left: auto; bottom: auto; width: auto; margin: -48px 16px 20px; }
  .story-media .vis-cap { position: static; display: inline-block; margin-top: 8px; background: transparent; padding: 0; color: var(--c-muted); }
  .story--teal .story-media .vis-cap { color: var(--c-offwhite); }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--c-rule); }
  .work-line { grid-template-columns: 1fr; }
  .commit-grid { grid-template-columns: 1fr; }
  .commit-grid li, .commit-grid li:nth-child(even) { padding: 24px 0; border-left: 0; }
  .btn { width: 100%; }
  .action-bar {
    display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 8px;
    position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--c-offwhite); border-top: 3px solid var(--c-ink);
  }
  .action-bar .btn { min-height: 52px; padding: 0 12px; font-size: 1rem; white-space: nowrap; }
  .action-bar .btn-call { border-color: var(--c-ink); color: var(--c-ink); }
}

/* ===================== Experience layer (v2) ===================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-inout: cubic-bezier(.83, 0, .17, 1); }
html.menu-open, html.menu-open body { overflow: hidden; }

/* Header: logo scrolls away; menu (and Book, after the hero) stay pinned */
.site-header { padding-block: 20px; }
.header-row { min-height: 50px; }
.pinned { position: fixed; top: 31px; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); z-index: 60; display: flex; gap: 10px; align-items: center; }
/* Hidden until the hero's own Book button scrolls away (needs JS; without JS the hero button is enough) */
.pinned-cta { opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s linear .35s; }
html.past-hero .pinned-cta { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s; }
.menu-btn, .menu-close {
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--c-primary); color: var(--c-offwhite);
}
.menu-btn:focus-visible { outline-color: var(--c-ink); }
.menu-lines { position: relative; width: 20px; height: 12px; display: block; }
.menu-lines i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .35s var(--ease-out); }
.menu-lines i:first-child { top: 0; }
.menu-lines i:last-child { bottom: 0; }
.menu-btn:hover .menu-lines i:first-child { transform: translateY(-2px); }
.menu-btn:hover .menu-lines i:last-child { transform: translateY(2px); }
.menu-lines.is-x i:first-child { top: 5px; transform: rotate(45deg); }
.menu-lines.is-x i:last-child { bottom: 5px; transform: rotate(-45deg); }

/* Full-screen menu takeover (opens with JS, or via #menu :target without JS) */
.menu-overlay {
  position: fixed; inset: 0; z-index: 80; overflow-y: auto;
  background: var(--c-ink); color: var(--c-offwhite); --focus: var(--c-offwhite);
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-inout), visibility 0s linear .7s;
}
.menu-overlay.is-open, .menu-overlay:target { visibility: visible; clip-path: inset(0); transition: clip-path .7s var(--ease-inout), visibility 0s; }
.menu-inner { max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding: 20px var(--gutter) 48px; min-height: 100%; display: flex; flex-direction: column; }
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 50px; }
.menu-top img { width: 220px; }
.menu-close { background: var(--c-offwhite); color: var(--c-ink); }
.menu-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 48px 80px; align-items: center; padding-block: 48px; }
.menu-nav .label { display: block; margin-bottom: 16px; opacity: .8; }
.menu-nav li a { display: flex; align-items: center; min-height: 52px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; text-decoration: none; }
.menu-nav li a:hover { text-decoration: underline; }
.menu-contact { margin-top: 28px; display: grid; }
.menu-contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.menu-ask h2 { font-size: clamp(2.5rem, 5.6vw, 5rem); font-weight: 800; line-height: .96; letter-spacing: -0.025em; max-width: 12ch; }
.ask-form { display: flex; margin-top: 36px; max-width: 760px; }
.ask-form input {
  flex: 1; min-width: 0; min-height: 64px; padding: 0 20px;
  font: inherit; font-size: 1.125rem; color: var(--c-ink); background: var(--c-offwhite); border: 0; border-radius: 0;
}
.ask-form input:focus-visible { outline: 3px solid var(--c-offwhite); outline-offset: 3px; }
.ask-send { flex: none; width: 64px; border: 0; background: var(--c-accent); color: var(--c-ink); cursor: pointer; display: grid; place-items: center; }
.ask-send svg { width: 24px; height: 24px; }
.ask-hint { margin-top: 28px; opacity: .85; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; max-width: 860px; }
.ask-chip {
  min-height: 44px; padding: 10px 16px; text-align: left;
  font: inherit; font-size: 1rem; color: var(--c-offwhite); background: transparent;
  border: 1px solid var(--c-offwhite); cursor: pointer;
  transition: background-color .25s, color .25s;
}
.ask-chip:hover, .ask-chip:focus-visible { background: var(--c-offwhite); color: var(--c-ink); }
/* Menu content arrives after the panel */
.menu-nav li, .menu-ask > * { transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.menu-overlay:not(.is-open):not(:target) .menu-nav li,
.menu-overlay:not(.is-open):not(:target) .menu-ask > * { opacity: 0; transform: translateY(24px); }
.menu-overlay.is-open .menu-nav li:nth-child(1) { transition-delay: .30s; }
.menu-overlay.is-open .menu-nav li:nth-child(2) { transition-delay: .36s; }
.menu-overlay.is-open .menu-nav li:nth-child(3) { transition-delay: .42s; }
.menu-overlay.is-open .menu-nav li:nth-child(4) { transition-delay: .48s; }
.menu-overlay.is-open .menu-ask > :nth-child(1) { transition-delay: .32s; }
.menu-overlay.is-open .menu-ask > :nth-child(2) { transition-delay: .42s; }
.menu-overlay.is-open .menu-ask > :nth-child(3) { transition-delay: .50s; }
.menu-overlay.is-open .menu-ask > :nth-child(4) { transition-delay: .56s; }

/* Line reveals: each line rises out of a mask and comes into focus */
.is-split .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.is-split .line-in {
  display: inline-block; transform: translateY(105%); filter: blur(10px); opacity: 0;
  transition: transform 1s var(--ease-out), filter 1s var(--ease-out), opacity .6s ease-out;
  transition-delay: calc(var(--l) * 110ms);
}
.is-split.is-in .line-in { transform: none; filter: none; opacity: 1; }

/* Story titles: whole panel is the link; arrow slides in on hover */
.story { position: relative; }
.story-link { color: inherit; text-decoration: none; }
.story-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.story-link:focus-visible { outline: none; }
.story:has(.story-link:focus-visible) { outline: 3px solid var(--c-ink); outline-offset: 4px; }
.title-icon { display: inline-block; width: .55em; height: .55em; margin-left: .18em; vertical-align: .1em; opacity: 0; transform: translate(-8px, 8px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.title-icon svg { width: 100%; height: 100%; display: block; }
.story:hover .title-icon, .story:has(.story-link:focus-visible) .title-icon { opacity: 1; transform: none; }
.story-media > img { transition: transform 1.2s var(--ease-out); }
.story:hover .story-media > img { transform: scale(1.03); }
@media (hover: none) { .title-icon { opacity: 1; transform: none; } }

/* Reduced motion: everything arrives instantly */
@media (prefers-reduced-motion: reduce) {
  .menu-overlay, .menu-overlay.is-open, .menu-nav li, .menu-ask > *, .pinned-cta, .title-icon, .story-media > img { transition: none !important; }
  .story:hover .story-media > img { transform: none; }
}

@media (max-width: 1000px) {
  .menu-grid { grid-template-columns: 1fr; align-items: start; gap: 40px; }
  .menu-ask { order: -1; }
}
@media (max-width: 640px) {
  .pinned { top: 23px; right: var(--gutter); }
  .pinned-cta { display: none; }
  .menu-top img { width: 172px; }
  .ask-form input { min-height: 56px; font-size: 1rem; }
  .ask-send { width: 56px; }
}


/* Menu: labeled Continue button + explanation */
.ask-send { width: auto; padding: 0 20px; gap: 8px; display: inline-flex; align-items: center; font: inherit; font-weight: 700; font-size: 1rem; }
.ask-send svg { width: 20px; height: 20px; }
.ask-note { margin-top: 12px; font-size: 0.9375rem; opacity: .9; }
/* Form: confirmation after a prefill */
.prefill-note { margin-top: 14px; padding: 10px 12px; border-left: 4px solid var(--c-primary); background: var(--c-rule); font-size: 0.9375rem; font-weight: 600; }
.prefill-note[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .just-filled { animation: filled 1.6s ease-out 1; }
}
@keyframes filled { 0%, 40% { border-width: 3px; border-color: var(--c-primary); } 100% { border-width: 1px; border-color: var(--c-ink); } }
@media (max-width: 640px) { .ask-send { padding: 0 14px; } }
html.past-hero.form-in-view .pinned-cta { opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden; }

/* Panel videos fade in over the photo once playing */
.story-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease-out); pointer-events: none; }
.story-video.is-playing { opacity: 1; }
.story:hover .story-video { transform: scale(1.03); transition: opacity .8s var(--ease-out), transform 1.2s var(--ease-out); }
@media (max-width: 640px) {
  .story-video { inset: 0 0 auto 0; height: auto; aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .story-video { display: none; } }

.logo { display: inline-flex; align-items: center; min-height: 44px; }
.story-link { display: inline-block; min-height: 44px; }

/* Menu takes the navy so the 3c logo's built-in navy background blends in */
.menu-overlay { background: var(--c-primary); }

/* ===================== About page ===================== */
.story .story-title { font-size: var(--fs-title); font-weight: 800; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.story--teal .story-title { color: var(--c-offwhite); }
.footer-bio { margin-top: 16px; max-width: 46ch; font-size: 0.9375rem; }
.footer-bio a { font-weight: 700; }
.closing > .story-text { margin-top: 20px; }
@media (max-width: 640px) {
  }

/* About: experience grid */
.section-lead { max-width: 40ch; margin: -8px 0 32px; }
.exp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--c-ink); }
.exp-grid li { padding: 24px 24px 28px 0; }
.exp-grid li + li { padding-left: 24px; border-left: 1px solid var(--c-rule); }
.exp-grid h3 { font-size: 1.375rem; line-height: 1.2; color: var(--c-primary); }
.exp-grid p { margin-top: 10px; color: var(--c-muted); }
.exp-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--c-rule); color: var(--c-muted); font-size: 0.9375rem; }
@media (max-width: 1000px) {
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .exp-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .exp-grid li:nth-child(n+3) { border-top: 1px solid var(--c-rule); }
}
@media (max-width: 640px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp-grid li, .exp-grid li + li { padding: 20px 0; border-left: 0; }
  .exp-grid li + li { border-top: 1px solid var(--c-rule); }
}

.menu-top .menu-logo { display: inline-flex; align-items: center; min-height: 44px; }

/* ===================== FAQ (answer engines read this) ===================== */
.faq { padding-block: var(--space-section) 0; }
.faq-list { border-top: 3px solid var(--c-ink); }
.faq-item { border-bottom: 1px solid var(--c-rule); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 64px; padding-block: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.3; }
.faq-item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  border-right: 2.5px solid var(--c-primary); border-bottom: 2.5px solid var(--c-primary);
  transform: translateY(-4px) rotate(45deg); transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-item summary:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.faq-item p { max-width: 68ch; padding-bottom: 22px; color: var(--c-muted); font-size: 1.0625rem; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* ===================== Legal / plain document pages ===================== */
.hero--doc { padding-block: 40px 32px; }
.hero--doc h1 { font-size: var(--fs-title); }
.doc { max-width: calc(760px + var(--gutter) * 2); margin-inline: 0 auto; padding-bottom: var(--space-section); }
.doc-lead { font-size: var(--fs-story); font-stretch: var(--story-width); line-height: 1.3; padding-bottom: 24px; border-bottom: 3px solid var(--c-ink); }
.doc h2 { font-size: 1.5rem; line-height: 1.2; margin-top: 40px; scroll-margin-top: 96px; }
.doc p, .doc li { max-width: 68ch; }
.doc p { margin-top: 12px; }
.doc ul { margin-top: 12px; display: grid; gap: 10px; }
.doc li { position: relative; padding-left: 22px; }
.doc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--c-primary); }
.doc a { font-weight: 600; }
.doc .hero-actions { margin-top: 28px; }

/* Footer legal links */
.fine { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.fine a { display: inline-flex; align-items: center; min-height: 44px; }

/* Keep phone numbers on one line */
a[href^="sms:"], a[href^="tel:"] { white-space: nowrap; }
