/* HelpAndGo design tokens and layout: see DESIGN.md (source of truth) and CLAUDE.md "Design lock".
   Hierarchy comes from background tone, weight and spacing only. No decorative vertical rules or separator lines;
   borders exist only on form controls, the menu button and screenshot frames. */
:root {
  --ink: #1F2328;
  --muted: #5B6470;
  --line: #E3E6EA;
  --field: #858E97;
  --surface: #F5F7F8;
  --tint: #E8F2F1;
  --bg: #FFFFFF;
  --accent: #0B6E6E;
  --accent-ink: #085656;
  --amber: #B45309;
  --amber-tint: #FCF1E4;
  --deep: #0E2A33;
  --deep-ink: #E8F0F1;
  --deep-muted: #A9BCC1;
  --radius: 8px;
  --radius-s: 6px;
  --wrap: 72rem;
  --read: 42rem;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  /* type scale: 15 / 17 / 20 / 24 / 30 (36 desktop) */
  --fs-s: .882rem;
  --fs-m: 1.176rem;
  --fs-l: 1.412rem;
  --fs-xl: 1.765rem;
}

*, *::before, *::after { box-sizing: border-box; }
/* the hidden attribute must win over component display rules (JS-only buttons, revealed forms) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.75 var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .6em; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: var(--fs-xl); }
h2 { font-size: var(--fs-l); }
h3 { font-size: var(--fs-m); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin: .25em 0; }
code { background: var(--surface); padding: .1em .35em; border-radius: 4px; font-size: .92em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: calc(var(--read) + 2.5rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 20; }
.skip:focus { left: 0; }
.muted { color: var(--muted); font-size: var(--fs-s); }

.staging-banner { background: var(--amber); color: #fff; font-size: var(--fs-s); padding: .35rem 1.25rem; text-align: center; }

/* header: the one horizontal edge kept, so sticky header and page content do not merge while scrolling */
.top { box-shadow: 0 1px 0 var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: var(--fs-m); color: var(--ink); text-decoration: none; }
.nav-desk { display: none; }
.nav-mob summary { list-style: none; cursor: pointer; padding: .5rem .9rem; background: var(--surface); border-radius: var(--radius-s); min-height: 44px; display: flex; align-items: center; }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob[open] nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); box-shadow: 0 8px 16px rgba(14, 42, 51, .08); padding: .5rem 1.25rem 1rem; }
.nav-mob ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }
.nav-mob a { display: block; padding: .6rem 0; color: var(--ink); text-decoration: none; min-height: 44px; }
.nav-mob a[aria-current] { color: var(--accent); font-weight: 600; }
@media (min-width: 60rem) {
  .nav-mob { display: none; }
  .nav-desk { display: flex; align-items: center; gap: 1rem; }
  .nav-desk > ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
  .nav-desk a, .nav-desk summary { display: block; padding: .5rem .75rem; color: var(--ink); text-decoration: none; border-radius: var(--radius-s); cursor: pointer; }
  .nav-desk a:hover, .nav-desk summary:hover { background: var(--surface); }
  .nav-desk a[aria-current] { color: var(--accent); font-weight: 600; }
  .nav-desk summary { list-style: none; }
  .nav-desk summary::-webkit-details-marker { display: none; }
  .nav-desk summary::after { content: ""; display: inline-block; margin-left: .35rem; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; vertical-align: 2px; }
  .has-sub { position: relative; }
  .has-sub ul { position: absolute; top: 100%; left: 0; min-width: 9rem; list-style: none; padding: .4rem; margin: .25rem 0 0; background: var(--bg); border-radius: var(--radius-s); box-shadow: 0 0 0 1px var(--line), 0 8px 18px rgba(14, 42, 51, .08); }
  .nav-search { background: var(--tint); color: var(--accent-ink) !important; font-weight: 600; }
}

/* breadcrumbs */
.crumbs { max-width: var(--wrap); margin: 0 auto; padding: 1rem 1.25rem 0; font-size: var(--fs-s); color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.crumbs li + li::before { content: "/"; margin: 0 .4rem; color: var(--field); }
.crumbs a { color: var(--muted); }

/* page heads */
.page-head { padding: 1.5rem 0 .5rem; }
.page-head .lead { font-size: 1.059rem; color: var(--muted); }
.page-head .sub { color: var(--muted); font-size: var(--fs-s); margin-top: -.4rem; }
.page-head .question { font-size: 1.059rem; color: var(--muted); }
.lead { font-size: 1.059rem; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.btn, .btn-small { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem 1.25rem; border-radius: var(--radius-s); border: 0; background: var(--accent); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; touch-action: manipulation; }
.btn:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { background: var(--tint); color: var(--accent-ink); }
.btn-ghost:hover { background: #D6E9E7; color: var(--accent-ink); }
.band-dark .btn-on-dark { background: #fff; color: var(--deep); }
.band-dark .btn-on-dark:hover { background: var(--deep-ink); color: var(--deep); }
.btn-small { min-height: 40px; padding: .35rem .85rem; font-size: var(--fs-s); font-weight: 500; background: var(--surface); color: var(--accent-ink); }
.btn-small:hover { background: var(--tint); color: var(--accent-ink); }
.btn:active, .btn-small:active, .next-box a:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: progress; }

/* bands: full-width rhythm white / soft / deep */
.band { padding: 2rem 0; }
.band-soft { background: var(--surface); }
.band-dark { background: var(--deep); color: var(--deep-ink); }
.band-dark h2, .band-dark h3 a { color: #fff; }
.band-dark a { color: #fff; }
.band h2 { margin-bottom: 1rem; }
.h-minor { font-size: var(--fs-m); margin: 2rem 0 .75rem; }

/* home hero: search is the primary action */
.hero { background: var(--tint); padding: 2rem 0 2.25rem; }
.hero h1 { font-size: 1.647rem; max-width: 18em; margin-bottom: .4rem; }
.hero .lead { color: var(--muted); max-width: 36em; margin-bottom: 1.25rem; }
.hero-search { max-width: 40rem; }
.hero-search label { display: block; font-weight: 600; margin-bottom: .4rem; }
.hero-search input { font-size: 17px; min-height: 52px; background: #fff; }
.hero-search .btn { min-height: 52px; padding: 0 1.5rem; }
.shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; margin: .9rem 0 0; font-size: var(--fs-s); }
.shortcuts span { color: var(--muted); }
.shortcuts a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 500; }

/* five directions: compact tiles on background tone, no outlines */
.dir-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.dir-grid li { margin: 0; }
.dir-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dir-grid a { display: block; height: 100%; padding: .9rem 1rem; border-radius: var(--radius); background: var(--surface); color: var(--muted); text-decoration: none; font-size: var(--fs-s); line-height: 1.6; }
.dir-grid a:hover { background: var(--tint); }
.dir-grid strong { display: block; font-size: 1.059rem; color: var(--ink); margin-bottom: .2rem; }
.dir-grid a:hover strong { color: var(--accent-ink); }

/* eight stages: a real sequence, so numbered; compact grid instead of a tall checklist */
.stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.stages li { margin: 0; }
.stages a { display: flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--ink); text-decoration: none; font-size: .941rem; }
.stages a:hover { color: var(--accent-ink); }
.stages .n { flex: none; width: 1.6rem; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }

/* lead case on the deep band */
.feature { display: grid; gap: 1rem 2rem; }
.feature .shot { margin: 0; }
.feature .shot img { border: 0; border-radius: var(--radius); }
.band-dark .shot figcaption { color: var(--deep-muted); }
.feature-body h3 { font-size: var(--fs-l); margin-bottom: .5rem; }
.feature-body h3 a { text-decoration: none; }
.feature-body h3 a:hover { text-decoration: underline; }
.feature-body p { color: var(--deep-ink); }
.also { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .25rem; }
.also li { margin: 0; }
.also a { display: block; padding: .6rem .9rem; margin: 0 -.9rem; border-radius: var(--radius-s); color: #fff; text-decoration: none; font-weight: 500; }
.also a:hover { background: rgba(255, 255, 255, .08); text-decoration: underline; }
.band-note { margin: 1rem 0 0; font-size: var(--fs-s); color: var(--deep-muted); }

/* selected resources: screenshot + short title */
.media-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem .9rem; }
.media-grid li { margin: 0; }
.media-grid a { display: block; color: var(--ink); text-decoration: none; }
.mg-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: var(--radius-s); box-shadow: 0 0 0 1px var(--line); background: var(--surface); margin-bottom: .5rem; }
.mg-meta { display: block; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.media-grid strong { display: block; font-size: .941rem; line-height: 1.55; font-weight: 600; }
.media-grid a:hover strong { color: var(--accent-ink); text-decoration: underline; }

/* tools and questions: concise name lists */
.split { display: grid; gap: 2.5rem; }
.name-list, .q-list { list-style: none; padding: 0; margin: 0; }
.name-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.name-list span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.name-list li, .q-list li { margin: 0; }
.name-list a { display: block; padding: .55rem .9rem; margin: 0 -.9rem; border-radius: var(--radius-s); text-decoration: none; color: var(--muted); font-size: var(--fs-s); line-height: 1.55; }
.name-list strong { display: block; color: var(--ink); font-size: 1rem; }
.q-list a { display: flex; align-items: center; min-height: 44px; padding: .45rem .9rem; margin: 0 -.9rem; border-radius: var(--radius-s); color: var(--ink); font-weight: 500; text-decoration: none; }
.name-list a:hover, .q-list a:hover { background: #fff; }
.name-list a:hover strong, .q-list a:hover { color: var(--accent-ink); }
.svc-line { margin: 1.5rem 0 0; font-size: var(--fs-s); }
.closing p { max-width: 36em; }

/* sections and rows (lists of cases, resources, tools, guides) */
.sec { margin: 2.25rem 0; }
.sec-lead { color: var(--muted); }
.sec-note { background: var(--surface); padding: 1rem 1.25rem; border-radius: var(--radius); }
.sec-note h2 { font-size: var(--fs-m); }
.more { margin: .75rem 0 0; font-weight: 500; }
.rows { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.row { margin: 0 -.9rem; padding: .8rem .9rem; border-radius: var(--radius); }
.row:hover { background: var(--surface); }
.band-soft .row:hover { background: #fff; }
.row-link { display: block; text-decoration: none; color: var(--ink); }
.row-link::after { content: none; }
.row-link:hover .row-title { color: var(--accent-ink); text-decoration: underline; }
.row-kind { display: block; font-size: .8rem; color: var(--muted); line-height: 1.6; }
.row-title { display: block; font-weight: 600; font-size: 1.059rem; line-height: 1.55; }
.row-desc { margin: .25rem 0 0; color: var(--muted); font-size: .941rem; line-height: 1.7; }
.row-meta { margin: .2rem 0 0; color: var(--muted); font-size: .8rem; }
.row.has-thumb::after { content: ""; display: block; clear: both; }
.row-thumb { float: right; width: 88px; height: 55px; object-fit: cover; object-position: top left; margin: .2rem 0 .3rem .9rem; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
@media (min-width: 40rem) { .row-thumb { width: 128px; height: 80px; } }
.shot { margin: 1.25rem 0 1.75rem; }
.shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-s); box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.shot figcaption { margin-top: .5rem; font-size: .8rem; color: var(--muted); line-height: 1.6; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: .2rem .75rem; border-radius: var(--radius-s); font-size: var(--fs-s); color: var(--muted); text-decoration: none; background: var(--surface); }
a.chip:hover { background: var(--tint); color: var(--accent-ink); }
.chip-path { color: var(--accent-ink); }
.tagset { margin: 1.5rem 0; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0 0 1.25rem; font-size: .941rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.steps { padding-left: 1.4em; }
.steps > li { margin: 0 0 1.25rem; }
.steps p { margin: 0 0 .4rem; }
.step-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.step-link { display: inline-block; padding: .4rem .75rem; border-radius: var(--radius-s); background: var(--surface); font-size: .941rem; text-decoration: none; line-height: 1.5; }
.step-link span { color: var(--muted); font-size: .8rem; margin-right: .4rem; }
.step-link:hover { background: var(--tint); }

.results { list-style: none; padding: 0; display: grid; gap: .75rem; }
.results li { margin: 0; }
.label { display: inline-block; font-size: .8rem; color: var(--amber); background: var(--amber-tint); border-radius: 4px; padding: 0 .45rem; margin-right: .5rem; font-weight: 600; }
.links { padding-left: 1.2em; }
.links a { overflow-wrap: anywhere; }

.answer { background: var(--tint); padding: 1rem 1.25rem; border-radius: var(--radius); margin: 1rem 0 1.5rem; }
.answer h2 { font-size: 1rem; color: var(--accent-ink); }
.prose h2 { margin-top: 2rem; }
.prose { overflow-wrap: anywhere; }

.status { background: var(--amber-tint); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1rem 0; }
.status h2 { font-size: 1rem; color: var(--amber); }

.video-box { border-radius: var(--radius); padding: 1rem; background: var(--surface); }
.video-box iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-s); display: block; }
.note { color: var(--muted); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2.5rem 0; font-size: var(--fs-s); color: var(--muted); }
.share-status { color: var(--accent-ink); font-weight: 600; }

/* filters, search, ask */
.filters { background: var(--surface); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.filters h2 { font-size: 1rem; margin: 0 0 .4rem; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 .6rem; }
.filters legend { font-size: var(--fs-s); color: var(--muted); padding: 0; }
.filters label { display: inline-flex; align-items: center; gap: .35rem; margin: .15rem 1rem .15rem 0; min-height: 36px; font-size: .941rem; cursor: pointer; }
.filters input { width: 18px; height: 18px; accent-color: var(--accent); }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; }
.search label, .ask label { display: block; font-weight: 600; margin-bottom: .35rem; }
.search-row { display: flex; gap: .5rem; }
.search input, .hero-search input, .ask textarea { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: .55rem .75rem; border: 1px solid var(--field); border-radius: var(--radius-s); min-height: 44px; width: 100%; }
.ask textarea { resize: vertical; margin-bottom: .6rem; }
.ask .check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; font-size: var(--fs-s); color: var(--muted); margin-bottom: .8rem; }
.ask .check input { margin-top: .35rem; width: 18px; height: 18px; flex: none; }
.ask { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; }
#search-results, #ask-out { margin-top: 1rem; }
.ask-answer { background: #fff; padding: 1rem 1.25rem; border-radius: var(--radius); white-space: pre-wrap; }

/* contextual next step (solution box): one compact editorial section per page, tone not rules.
   Order: next step (h2), page situation, obstacle, result, free actions, boundary, submit, optional help. */
.solve { background: var(--surface); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.1rem; margin: 2.25rem 0; max-width: calc(var(--read) + 2.5rem); scroll-margin-top: 4.5rem; }
.solve h2 { font-size: var(--fs-m); margin-bottom: .5rem; }
.solve p { margin: 0 0 .5rem; }
.solve-ctx { color: var(--ink); }
.solve strong { font-weight: 600; }
.solve-acts { list-style: none; padding: 0; margin: .9rem 0; display: grid; gap: .4rem; }
.solve-acts li { display: grid; grid-template-columns: 4em 1fr; gap: .75rem; margin: 0; line-height: 1.6; }
.solve-k { color: var(--muted); font-size: var(--fs-s); font-weight: 600; padding-top: .1rem; }
.solve-limit { color: var(--muted); font-size: var(--fs-s); }
.solve-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 1rem 0 0; }
.solve-foot span { color: var(--muted); font-size: var(--fs-s); }
.solve-foot .btn { white-space: nowrap; }
.solve-help { margin: .75rem 0 0 !important; font-size: var(--fs-s); color: var(--muted); }
.wrap > .solve-foot, .narrow > .solve-foot { margin: 2.5rem 0; }
.solve-mini { margin-top: 3rem; }
.solve-mini .row:hover { background: var(--surface); }

/* utility pages: plain next steps, no sales */
.next-box { background: var(--surface); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 2.5rem 0; }
.next-box h2 { font-size: 1rem; margin-bottom: .6rem; }
.next-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.next-box li { margin: 0; }
.next-box a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .9rem; border-radius: var(--radius-s); background: #fff; text-decoration: none; font-size: .941rem; font-weight: 500; }
.next-box a:hover { background: var(--tint); }

/* /skills/ catalogue: needs on tone blocks, two columns on wide screens, odd last block spans */
.needs { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.need { background: var(--surface); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 0; scroll-margin-top: 4.5rem; }
.need h3 { margin-bottom: .4rem; }
.need p { margin: 0 0 .5rem; }
.need:target { background: var(--tint); }
.skill-body h2 { font-size: var(--fs-m); }

/* submission form: labels above fields, help below, status announced; complete busy / ok / error states */
.submit-box { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; margin: 1rem 0 2rem; }
.submit-box h2 { font-size: var(--fs-m); }
.field { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: .35rem; padding: 0; }
.submit-form textarea, .submit-form input[type=url] { display: block; width: 100%; font: inherit; font-size: 17px; padding: .55rem .75rem; border: 1px solid var(--field); border-radius: var(--radius-s); background: #fff; min-height: 44px; }
.submit-form textarea { resize: vertical; }
/* form is laid out from first paint (no reveal shift); hidden only when scripting is off, where it cannot post */
@media (scripting: none) { .submit-form { display: none; } }
@media (scripting: enabled) { #submit-nojs { display: none; } }
.help { margin: .35rem 0 0; font-size: var(--fs-s); color: var(--muted); }
.opt { display: flex; align-items: center; gap: .5rem; min-height: 40px; cursor: pointer; }
.opt input, .check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.ctx { font-size: var(--fs-s); color: var(--muted); }
.ctx p { margin: 0 0 .2rem; overflow-wrap: anywhere; }
.ctx-k { margin-right: .5rem; }
.check { display: flex; gap: .5rem; align-items: flex-start; font-size: var(--fs-s); color: var(--muted); margin-bottom: 1rem; cursor: pointer; }
.check input { margin-top: .3rem; }
.submit-bar { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-status:empty { display: none; }
.submit-status { margin-top: 1rem; }
.submit-status p { margin: 0; padding: .75rem 1rem; border-radius: var(--radius-s); }
.submit-status .ok { background: var(--tint); color: var(--accent-ink); }
.submit-status .err { background: var(--amber-tint); color: var(--ink); }
.submit-status .busy { background: #fff; color: var(--muted); }
.submit-done p { margin: 0 0 .75rem; }

/* mobile bottom bar: in normal flow between main and footer, sticky to the viewport bottom while scrolling,
   so it reserves its own height (content clearance) and settles above the footer; never a floating bubble.
   A soft upward shadow (no rule) separates it from content; hidden at desktop widths. */
.cta-bar { position: sticky; bottom: 0; z-index: 9; background: var(--bg); box-shadow: 0 -6px 16px rgba(14, 42, 51, .08);
  padding: .6rem 0 calc(.6rem + env(safe-area-inset-bottom)); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.cta-in span { color: var(--muted); font-size: var(--fs-s); }
.cta-in .btn { white-space: nowrap; }
@media (min-width: 60rem) { .cta-bar { display: none; } }
@media print { .cta-bar { display: none; } }

/* footer */
.foot { padding: 2.25rem 0; background: var(--deep); color: var(--deep-ink); font-size: var(--fs-s); }
main > :last-child:not(.band) { margin-bottom: 3rem; }
.foot a { color: var(--deep-ink); }
.foot-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
/* narrow screens: six links as two even rows of three instead of five plus one orphan */
@media (max-width: 30em) { .foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; } }
.foot-note { color: var(--deep-muted); max-width: 46em; }

@media (min-width: 40rem) {
  .stages { grid-template-columns: repeat(4, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; }
  .hero h1 { font-size: var(--fs-xl); }
}
@media (min-width: 60rem) {
  h1 { font-size: 2rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 2.118rem; }
  .band { padding: 3.5rem 0; }
  .dir-grid { grid-template-columns: repeat(5, 1fr); }
  .dir-grid li:last-child:nth-child(odd) { grid-column: auto; }
  .feature { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .media-grid { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .name-list { gap: 0 1.5rem; }
  .needs { grid-template-columns: 1fr 1fr; }
  .need:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 80rem) {
  .stages { grid-template-columns: repeat(8, auto); justify-content: start; gap: 0 1.75rem; }
  .stages a { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
