/* Web Designs For — site styles
   Tokens: vellum paper, ink navy, cobalt for action, highlighter marker used sparingly,
   slate for the prompt panel. Display: Archivo (wide). Body: Public Sans. Utility: IBM Plex Mono. */

:root {
  --paper: #F3F4F1;
  --paper-2: #E8EAE4;
  --card: #FFFFFF;
  --ink: #161A23;
  --ink-2: #434B5C;
  --ink-3: #5A6170;
  --rule: #D2D5CD;
  --rule-strong: #B9BDB3;
  --cobalt: #2446E8;
  --cobalt-deep: #1A33B0;
  --marker: #FFE14D;
  --marker-soft: #FFF1A1;
  --slate: #11151D;
  --slate-2: #1B2130;
  --slate-rule: #2C3446;
  --slate-text: #E7EBF2;
  --slate-dim: #A3ACBE;
  --ok: #157F4B;
  --err: #B42318;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --shadow: 0 1px 0 rgba(22, 26, 35, .05), 0 10px 30px -16px rgba(22, 26, 35, .35);
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--cobalt);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cobalt); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 3px; }
::selection { background: var(--marker); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.75rem); font-weight: 800; font-stretch: 118%; line-height: .98; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 750; font-stretch: 112%; line-height: 1.06; letter-spacing: -.015em; }
h3 { font-size: 1.22rem; font-weight: 700; font-stretch: 104%; line-height: 1.25; }
h4 { font-size: 1.02rem; font-weight: 700; font-stretch: 100%; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.label {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-3); margin: 0;
}
.mark { background: linear-gradient(transparent 55%, var(--marker) 55%, var(--marker) 92%, transparent 92%); padding: 0 .08em; }

/* The fill-in blank: the site's signature. "Web designs for ____". */
.blank {
  display: inline-block;
  border-bottom: .09em solid var(--ink);
  padding: 0 .06em .02em;
  line-height: 1;
  background: linear-gradient(transparent 58%, var(--marker) 58%);
}
.blank a { color: inherit; text-decoration: none; }
.blank a:hover { color: var(--cobalt); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.2em;
  font-family: var(--f-body); font-weight: 650; font-size: 1rem; line-height: 1.1;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--cobalt); color: #fff; }
.btn--primary:hover { background: var(--cobalt-deep); color: #fff; }
.btn--marker { background: var(--marker); color: var(--ink); border-color: var(--ink); }
.btn--marker:hover { background: var(--marker-soft); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arrow-link { font-weight: 650; text-decoration: none; }
.arrow-link::after { content: " \2192"; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 244, 241, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: baseline; gap: .38em; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 1.12rem; letter-spacing: -.01em; white-space: nowrap; margin: 0; }
.wordmark:hover { color: var(--ink); }
.wordmark__blank { display: inline-block; min-width: 3.2em; border-bottom: 3px solid var(--ink); background: linear-gradient(transparent 55%, var(--marker) 55%); line-height: 1; padding: 0 .12em .04em; }
.wordmark__blank.is-filled { min-width: 0; }
/* Nav: without JS the links are always visible (they wrap under the wordmark on phones).
   site.js adds .js-nav to <html>, which collapses the panel behind the Menu button below 960px. */
.site-header__inner { flex-wrap: wrap; }
.site-nav { position: relative; }
.site-nav__toggle { display: none; }
.js-nav .site-nav__toggle { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); font: inherit; font-weight: 650; }
.site-nav__toggle::before { content: ""; width: 16px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) top / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) bottom / 100% 2px no-repeat; }
.site-nav__toggle[aria-expanded="true"]::before { background: linear-gradient(45deg, transparent 45%, var(--ink) 45%, var(--ink) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--ink) 45%, var(--ink) 55%, transparent 55%); }
.site-nav__panel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-bottom: 10px; }
.site-nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 8px 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; border-radius: 4px; }
.site-nav__list a:hover { background: var(--card); }
.site-nav__list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--marker); border-radius: 0; }
.site-nav__cta { min-height: 42px; }
.js-nav .site-header__inner { flex-wrap: nowrap; }
@media (max-width: 479.98px) {
  .wordmark { font-size: clamp(.9rem, 4.1vw, 1.05rem); }
  .js-nav .site-nav__toggle { padding: 0 12px; }
  .js-nav .site-nav__toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 959.98px) {
  .js-nav .site-nav__panel { display: none; position: absolute; right: 0; top: calc(100% + 10px); width: min(88vw, 320px); background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; flex-direction: column; align-items: stretch; }
  .js-nav .site-nav.is-open .site-nav__panel { display: flex; }
  .js-nav .site-nav__list { flex-direction: column; }
  .js-nav .site-nav__list a { padding: 11px 8px; }
  .js-nav .site-nav__list a[aria-current="page"] { box-shadow: none; background: var(--marker-soft); border-radius: 4px; }
  .js-nav .site-nav__cta { width: 100%; }
}
@media (min-width: 960px) {
  .site-header__inner { flex-wrap: nowrap; }
  .site-nav__panel { padding-bottom: 0; gap: 22px; }
  .site-nav__toggle { display: none !important; }
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs { padding-top: 22px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule-strong); }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--cobalt); text-decoration: underline; }

/* ---------- sections ---------- */
main { display: block; }
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--rule { border-top: 1px solid var(--rule); }
.section--ink { background: var(--slate); color: var(--slate-text); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .label { color: var(--slate-dim); }
.section--ink a { color: #9DB0FF; }
.section__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.section__head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 860px) { .section__head--split { grid-template-columns: 1.2fr 1fr; gap: 40px; } }
.section__head p { margin: 0; color: var(--ink-2); }
.section--ink .section__head p { color: var(--slate-dim); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin: 14px 0 22px; }
.hero .lede { margin-bottom: 28px; }
.hero__note { margin-top: 18px; font-size: .92rem; color: var(--ink-3); }
.hero--compact { padding-block: clamp(20px, 4vw, 44px) clamp(20px, 3vw, 32px); }
.hero--compact h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); max-width: 18ch; }
.hero__sub { display: block; font-family: var(--f-body); font-weight: 600; font-stretch: 100%; letter-spacing: 0; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.35; color: var(--ink-2); margin-top: 18px; }

/* Home: the sentence you finish. Sized to its own column (container query units), so the
   longest word, "electricians", always fits beside the screenshot stack. */
.hero__grid > div:first-child { container-type: inline-size; position: relative; z-index: 1; }
.finish { font-size: clamp(2.6rem, 8.4vw, 6.4rem); }
@supports (font-size: 1cqi) {
  .finish { font-size: clamp(2.4rem, 14.2cqi, 6.4rem); }
}
.finish__lead { display: block; }
.finish__options { display: block; margin-top: .08em; }
.industry-pick { display: grid; gap: 10px; margin-top: 30px; max-width: 640px; }
.industry-pick__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.industry-pick__item:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.industry-pick__name { font-family: var(--f-display); font-weight: 750; font-stretch: 110%; font-size: 1.25rem; }
.industry-pick__meta { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); }
.industry-pick__go { font-weight: 700; color: var(--cobalt); white-space: nowrap; }
.industry-pick__soon { padding: 12px 18px; border: 1px dashed var(--rule-strong); border-radius: var(--radius); color: var(--ink-3); font-size: .95rem; }

/* Hero sheet stack (template screenshots) */
.sheet-stack { position: relative; aspect-ratio: 5 / 4; }
.sheet-stack img { position: absolute; width: 74%; border: 1px solid var(--rule-strong); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); }
.sheet-stack img:nth-child(1) { left: 0; top: 12%; transform: rotate(-2.2deg); }
.sheet-stack img:nth-child(2) { right: 0; top: 0; transform: rotate(1.6deg); }
.sheet-stack img:nth-child(3) { left: 14%; bottom: 0; transform: rotate(-.4deg); }

/* ---------- template sheets (cards with a drawing-sheet title block) ---------- */
.sheets { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.sheet { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.sheet:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(22,26,35,.05), 0 18px 40px -18px rgba(22,26,35,.45); }
.sheet__shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--rule-strong); }
.sheet__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sheet__body { padding: 18px 18px 6px; display: grid; gap: 8px; flex: 1; }
.sheet__title { font-size: 1.22rem; }
.sheet__title a { color: var(--ink); text-decoration: none; }
.sheet__title a::after { content: ""; position: absolute; inset: 0; }
.sheet { position: relative; }
.sheet__summary { color: var(--ink-2); font-size: .97rem; margin: 0; }
.titleblock { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-strong); margin-top: 12px; }
.titleblock > div { padding: 10px 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.titleblock > div:nth-child(2n) { border-right: 0; }
.titleblock > div:nth-last-child(-n+2) { border-bottom: 0; }
.titleblock dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.titleblock dd { margin: 2px 0 0; font-weight: 600; font-size: .92rem; }
.titleblock--boxed { background: var(--card); border: 1px solid var(--rule-strong); border-radius: var(--radius); margin: 0; overflow: hidden; }
.sheet__foot { margin: 0; padding: 12px 18px 16px; border-top: 1px solid var(--rule); }
.sheet__foot a { position: relative; z-index: 2; }

/* ---------- template detail ---------- */
.tpl-hero { padding-block: clamp(20px, 4vw, 40px) clamp(28px, 4vw, 48px); }
.tpl-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 12px 0 16px; }
.tpl-hero__grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .tpl-hero__grid { grid-template-columns: 1.35fr 1fr; gap: 48px; } }
.tpl-hero__grid > *, .hero__grid > *, .guide-layout > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
figure { margin: 0; }
.shots { position: relative; padding-bottom: 8%; }
.shots__desktop { display: block; }
.shots__desktop img, .shots__mobile { aspect-ratio: auto; }
.shots__desktop { border: 1px solid var(--rule-strong); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); overflow: hidden; }
.shots__mobile { position: absolute; right: 3%; bottom: 0; width: 24%; border: 5px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--card); }
.shots__caption { margin-top: 10px; padding-right: 30%; font-size: .85rem; color: var(--ink-3); }
.tpl-actions { display: grid; gap: 12px; }
.tpl-actions .btn { width: 100%; }
.tpl-actions__note { font-size: .88rem; color: var(--ink-3); margin: 0; }

/* ---------- prompt block ---------- */
.prompt { background: var(--slate); color: var(--slate-text); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(17, 21, 29, .7); }
.prompt__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: var(--slate-2); border-bottom: 1px solid var(--slate-rule); }
.prompt__title { font-family: var(--f-display); font-weight: 750; font-stretch: 110%; font-size: 1.2rem; color: #fff; margin: 0; }
.prompt__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--f-mono); font-size: .74rem; color: var(--slate-dim); margin: 4px 0 0; padding: 0; list-style: none; }
.prompt__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.prompt__copy { min-width: 150px; }
.prompt__copy.is-copied { background: #C8F5D9; border-color: #C8F5D9; }
.prompt__toggle { background: transparent; color: var(--slate-text); border: 2px solid var(--slate-rule); }
.prompt__toggle:hover { border-color: var(--slate-dim); color: #fff; background: transparent; }
.prompt__body { position: relative; }
.prompt__text {
  margin: 0; padding: 22px 22px 28px;
  font-family: var(--f-mono); font-size: .86rem; line-height: 1.68;
  white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal;
  max-height: 34rem; overflow: auto; color: var(--slate-text); tab-size: 2;
}
.prompt.is-expanded .prompt__text { max-height: none; }
.prompt__fade { position: absolute; left: 0; right: 12px; bottom: 0; height: 64px; background: linear-gradient(rgba(17,21,29,0), var(--slate)); pointer-events: none; }
.prompt.is-expanded .prompt__fade { display: none; }
.prompt__foot { padding: 14px 18px; border-top: 1px solid var(--slate-rule); font-size: .9rem; color: var(--slate-dim); }
.prompt__foot p { margin: 0; }
.prompt__foot a { color: #9DB0FF; }
.prompt__status { min-height: 1.4em; font-size: .88rem; color: #C8F5D9; margin: 8px 0 0; }
.prompt__status.is-error { color: #FFB4A8; }
.prompt__status:empty { display: none; }
.prompt-notes { margin: 14px 0 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); padding: 0 18px; }
.prompt-notes summary { cursor: pointer; padding: 14px 0; font-weight: 650; }
.prompt-notes > div { padding-bottom: 6px; color: var(--ink-2); font-size: .96rem; }
.diy { margin-top: 24px; }
.hint { font-size: .88rem; color: var(--ink-3); margin: 10px 0 0; }

/* ---------- prose (guides) ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
.prose h3 { margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ink-3); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--marker); color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.guide-layout { display: grid; gap: 40px; }
@media (min-width: 1040px) { .guide-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } }
.guide-aside { align-self: start; position: sticky; top: 96px; display: grid; gap: 16px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); margin: 0 0 8px; }

/* ---------- panels, lists, misc ---------- */
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.panel--marker { background: var(--marker-soft); border-color: #E9CF4A; }
.panel h3 { margin-bottom: 8px; }
.panel p:last-child { margin-bottom: 0; }
.grid-2 { display: grid; gap: 20px; }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 4px; background: var(--marker) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23161A23' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checklist--plain li::before { background: transparent; border-style: dashed; border-color: var(--rule-strong); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps > li { counter-increment: step; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; }
.steps > li::before { content: "Step " counter(step); display: block; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.steps--stack { grid-template-columns: 1fr !important; gap: 10px; }
.steps--stack > li { padding: 14px 16px; }
.section--ink .steps > li { background: var(--slate-2); border-color: var(--slate-rule); }
.section--ink .steps > li::before { color: var(--slate-dim); }
.compare { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; font-size: .96rem; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { background: var(--paper-2); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.2rem; line-height: 1; color: var(--ink-3); }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding-bottom: 16px; color: var(--ink-2); }
.cta-band { display: grid; gap: 24px; align-items: center; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: clamp(22px, 4vw, 40px); box-shadow: 8px 8px 0 var(--marker); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; color: var(--ink-2); }
.tag { display: inline-block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--ink-2); background: var(--paper); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.link-list li { border-bottom: 1px solid var(--rule); }
.link-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 4px; text-decoration: none; color: var(--ink); }
.link-list a:hover { background: var(--card); }
.link-list strong { font-family: var(--f-display); font-stretch: 108%; font-size: 1.15rem; }
.link-list span { grid-column: 1; color: var(--ink-2); font-size: .96rem; }
.link-list a::after { content: "\2192"; grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--cobalt); font-weight: 700; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 650; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--rule-strong); border-radius: var(--radius);
  padding: 11px 12px; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(36, 70, 232, .2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .93rem; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--cobalt); }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { background: #E3F6EC; color: var(--ok); border: 1px solid #A8DFC0; }
.form-status.is-error { background: #FDECEA; color: var(--err); border: 1px solid #F5B5AE; }
.chosen-template { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px; }
.chosen-template[hidden] { display: none; }
.chosen-template img { border-radius: 4px; border: 1px solid var(--rule); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #C9CFDB; margin-top: clamp(48px, 8vw, 96px); padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .label { color: #8F98AB; margin-bottom: 12px; }
.site-footer__top { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #2D3445; }
@media (min-width: 860px) { .site-footer__top { grid-template-columns: 1.6fr 1fr 1.4fr 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wordmark--footer { color: #fff; margin-bottom: 12px; }
.wordmark--footer .wordmark__blank { border-color: #fff; background: linear-gradient(transparent 55%, rgba(255, 225, 77, .85) 55%); }
.site-footer__disclosure { padding-top: 24px; display: grid; gap: 10px; max-width: 900px; }
.site-footer__disclosure p { margin: 0; }
.site-footer__disclosure a { text-decoration: underline; }
.site-footer__legal { color: #8F98AB; font-size: .86rem; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(56px, 10vw, 120px); }
.notfound h1 { margin: 14px 0 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
