/* RestoQR Help Center — same design tokens as the marketing site
   (apps/website/assets/site.css) so the Help Center reads as one product. */

:root {
  --canvas:      #f7f6f4;
  --canvas-sunk: #efedea;
  --surface:     #ffffff;
  --line:        #e7e4df;
  --line-strong: #d6d2cb;
  --ink:         #1c1a17;
  --ink-2:       #4a463f;
  --muted:       #78736a;
  --faint:       #a8a29a;

  --brand:        #e23744;
  --brand-strong: #b92c37;
  --brand-tint:   #fdeef0;

  --ok:     #157a3f;
  --warn:   #a4640a;
  --danger: #b3261e;
  --info:   #1d4ed8;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(28,26,23,.05);
  --shadow:    0 2px 8px rgba(28,26,23,.06), 0 1px 2px rgba(28,26,23,.04);
  --shadow-lg: 0 24px 60px -20px rgba(28,26,23,.22), 0 8px 24px -12px rgba(28,26,23,.12);

  --maxw: 1180px;
  --gut:  24px;
  --ease: cubic-bezier(.32,.72,0,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

/* ── header ─────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 14px; height: 60px; }
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 16px; color: var(--ink); text-decoration: none; letter-spacing: -.01em;
}
.logo__mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; }
.logo__mark svg { width: 15px; height: 15px; }
.hdr__div { width: 1px; height: 22px; background: var(--line-strong); }
.hdr__hc { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.hdr__hc[aria-current] { color: var(--brand-strong); }
.hdr__nav { display: flex; gap: 4px; margin-left: 6px; }
.hdr__nav a {
  color: var(--ink-2); text-decoration: none; font-size: 13.5px; font-weight: 600;
  padding: 7px 10px; border-radius: 8px;
}
.hdr__nav a:hover { background: var(--canvas-sunk); color: var(--ink); }
.hdr__nav a.is-active { color: var(--brand-strong); background: var(--brand-tint); }
.hdr__search { margin-left: auto; position: relative; }
.hdr__search input {
  width: 220px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font: inherit; font-size: 13.5px; color: var(--ink);
}
.hdr__search input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-tint); }
.hdr__results {
  position: absolute; left: 0; right: 0; top: 60px; z-index: 50;
}

/* search results (shared by header + hero) */
.sres {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); overflow: hidden; margin-top: 8px;
}
.sres__item { display: block; padding: 11px 16px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sres__item:last-child { border-bottom: 0; }
.sres__item:hover, .sres__item.is-cursor { background: var(--brand-tint); }
.sres__item strong { display: block; font-size: 14.5px; }
.sres__item span { display: block; font-size: 12.5px; color: var(--muted); }
.sres__item em { font-style: normal; background: #fde9a9; border-radius: 3px; }
.sres__meta { padding: 8px 16px; font-size: 12px; color: var(--muted); background: var(--canvas-sunk); display: flex; justify-content: space-between; gap: 8px; }
.sres__meta a { color: var(--brand-strong); }
.sres__empty { padding: 16px; }
.sres__empty p { margin: 0 0 8px; }

/* ── hero (help home) ───────────────────────────────────────────── */
.hero { padding: 56px 0 40px; text-align: center; background:
  radial-gradient(600px 260px at 50% -60px, var(--brand-tint), transparent); }
.hero h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -.03em; margin: 0 0 8px; font-weight: 800; }
.hero__sub { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.bigsearch { position: relative; max-width: 640px; margin: 0 auto; }
.bigsearch input {
  width: 100%; padding: 17px 22px; font: inherit; font-size: 17px;
  border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  box-shadow: var(--shadow);
}
.bigsearch input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px var(--brand-tint); }
.bigsearch__results { position: absolute; left: 0; right: 0; z-index: 30; text-align: left; }
.hero__hint { font-size: 12.5px; color: var(--faint); margin-top: 12px; }

/* ── sections & cards ───────────────────────────────────────────── */
.sect { padding: 34px 0 6px; }
.sect__head { margin-bottom: 16px; }
.sect__head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.sect__head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.quickrow { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cards--fix { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: box-shadow .18s var(--ease), transform .18s var(--ease);
  position: relative;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin: 0 0 5px; font-size: 15.5px; letter-spacing: -.01em; }
.card p { margin: 0 0 8px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.card small { color: var(--faint); font-size: 11.5px; font-weight: 600; }
.card__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand-tint); color: var(--brand-strong); margin-bottom: 10px; }
.card__ic svg { width: 18px; height: 18px; }
.card__type { position: absolute; top: 12px; right: 12px; }
.card--fix h3 { margin: 0; }
.card--cta { border-color: var(--brand-soft, #f7ccd1); background: linear-gradient(180deg, var(--surface), var(--brand-tint)); }

/* roles */
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.role {
  display: block; padding: 13px 14px; border-radius: var(--r); background: var(--surface);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
}
.role:hover { border-color: var(--brand); }
.role strong { display: block; font-size: 14px; }
.role small { color: var(--muted); font-size: 12px; }

/* ── buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-strong); color: #fff; }
.btn--quiet { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn--quiet:hover { border-color: var(--ink-2); }
.btn--lg { padding: 13px 24px; font-size: 15px; }
.btn--block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-strong); cursor: pointer; text-decoration: underline; }

/* ── breadcrumbs / page head ────────────────────────────────────── */
.crumbs { padding: 18px 0 0; font-size: 13px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--faint); }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-strong); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.pagehead { padding: 10px 0 18px; }
.pagehead h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 34px); letter-spacing: -.025em; }
.pagehead .lede { margin: 0; color: var(--muted); max-width: 640px; }

/* ── article ────────────────────────────────────────────────────── */
.art { padding-bottom: 60px; }
.art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 34px; align-items: start; }
.art__main { min-width: 0; padding-top: 8px; }
.art__main h1 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -.025em; margin: 10px 0 8px; }
.art__main .lede { color: var(--ink-2); font-size: 16.5px; margin: 0 0 18px; }
.art__main h2 { font-size: 21px; letter-spacing: -.02em; margin: 34px 0 10px; scroll-margin-top: 80px; }
.art__main h3 { font-size: 16.5px; margin: 22px 0 8px; }
.art__main p { margin: 0 0 12px; }
.art__main ul, .art__main ol { margin: 0 0 14px; padding-left: 22px; }
.art__main li { margin-bottom: 7px; }
.art__main code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .88em;
  background: var(--canvas-sunk); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px;
  color: var(--ink);
}

.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .03em;
  padding: 3px 10px; border-radius: 999px; background: var(--canvas-sunk); color: var(--ink-2);
  border: 1px solid var(--line); text-transform: capitalize;
}
.badge--troubleshooting { background: var(--brand-tint); color: var(--brand-strong); border-color: #f4c3c9; }
.badge--guide { background: #e9f3ec; color: var(--ok); border-color: #c4e0cd; }
.badge--reference { background: #e9eefc; color: var(--info); border-color: #c9d6f5; }
.badge--checklist { background: #fbf1de; color: var(--warn); border-color: #ecd9ae; }
.badge--role, .badge--date { color: var(--muted); }

/* numbered steps */
.steps { list-style: none; padding: 0; counter-reset: st; margin: 0 0 16px; }
.steps li { display: flex; gap: 12px; margin-bottom: 12px; }
.steps__n {
  flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px;
}

/* checklists (pre-start checks) */
.check { list-style: none; padding: 0; }
.check li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.check li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 17px; height: 17px;
  border: 2px solid var(--line-strong); border-radius: 5px; background: var(--surface);
}

/* callouts */
.callout { border-radius: var(--r); padding: 14px 16px; margin: 0 0 16px; border: 1px solid; }
.callout p { margin: 0 0 6px; }
.callout p:last-child { margin-bottom: 0; }
.callout ul { margin: 6px 0 0; padding-left: 20px; }
.callout__t { font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
.callout--warn  { background: #fdf6e7; border-color: #ecd9ae; } .callout--warn .callout__t { color: var(--warn); }
.callout--dont  { background: #fdeeed; border-color: #f2c6c2; } .callout--dont .callout__t { color: var(--danger); }
.callout--tip   { background: #edf6f0; border-color: #c4e0cd; } .callout--tip .callout__t { color: var(--ok); }
.callout--note  { background: var(--canvas-sunk); border-color: var(--line); } .callout--note .callout__t { color: var(--ink-2); }

/* error chips */
.errchips { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; }
.errchip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 10px; padding: 8px 12px;
}
.errchip code { font-size: 12.5px; }
.errchip__copy {
  border: 1px solid var(--line-strong); background: var(--canvas-sunk); border-radius: 7px;
  font: inherit; font-size: 11.5px; font-weight: 700; padding: 4px 10px; cursor: pointer; color: var(--ink-2);
  flex: 0 0 auto;
}
.errchip__copy:hover { border-color: var(--ink-2); color: var(--ink); }

/* tables */
.tablewrap { overflow-x: auto; margin: 0 0 16px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.tbl th { text-align: left; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; background: var(--canvas-sunk); border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }

/* figures */
.fig { margin: 0 0 18px; }
.fig img { border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.fig figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; text-align: center; }

/* interactive checklist (setup-checklist article) */
.checklist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; margin: 0 0 20px; box-shadow: var(--shadow-sm); }
.checklist__bar { height: 8px; background: var(--canvas-sunk); border-radius: 999px; overflow: hidden; }
.checklist__fill { height: 100%; width: 0; background: var(--ok); border-radius: 999px; transition: width .25s var(--ease); }
.checklist__count { font-size: 12.5px; color: var(--muted); margin: 8px 0 10px; font-weight: 700; }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist__item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: 14.5px; }
.checklist__item input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ok); flex: 0 0 auto; }
.checklist__item input:checked + span { color: var(--muted); text-decoration: line-through; }

/* feedback */
.feedback { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 20px; }
.feedback__q { font-weight: 800; font-size: 15px; margin: 0 0 10px; }
.feedback__btns { display: flex; gap: 10px; }
.feedback__btns button {
  font: inherit; font-weight: 700; font-size: 14px; padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; color: var(--ink);
}
.feedback__btns button:hover { border-color: var(--ink-2); }
.feedback__btns button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.feedback__after { margin-top: 12px; }
.feedback__after p { margin: 0 0 10px; font-weight: 600; }
.fbreasons { display: flex; flex-direction: column; gap: 6px; max-width: 340px; }
.fbreasons button {
  text-align: left; font: inherit; font-size: 13.5px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer;
}
.fbreasons button:hover { border-color: var(--brand); }
.fbactions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fbactions .btn { font-size: 13.5px; padding: 9px 16px; }

/* pager */
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.pager a {
  max-width: 46%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 11px 16px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 13.5px;
  box-shadow: var(--shadow-sm);
}
.pager a small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.pager__next { text-align: right; margin-left: auto; }

/* sidebar */
.art__side { position: sticky; top: 78px; padding-top: 26px; display: flex; flex-direction: column; gap: 22px; }
.art__sideh { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.side__toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.side__toc a { display: block; padding: 4px 0 4px 12px; font-size: 13px; color: var(--ink-2); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.side__toc a:hover { color: var(--brand-strong); border-left-color: var(--brand); }
.side__rel ul { list-style: none; margin: 0; padding: 0; }
.side__rel li { margin-bottom: 9px; }
.side__rel a { font-size: 13.5px; font-weight: 700; display: block; text-decoration: none; }
.side__rel a:hover { text-decoration: underline; }
.side__rel small { color: var(--faint); font-size: 11px; font-weight: 600; }
.side__cta .btn { width: 100%; }

/* ── wizard ─────────────────────────────────────────────────────── */
.wizard { margin-bottom: 30px; }
.wizard__cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.wcat {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 13px 15px; cursor: pointer; font: inherit; color: var(--ink); box-shadow: var(--shadow-sm);
}
.wcat:hover { border-color: var(--brand); }
.wcat[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); }
.wcat__ic { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px; background: var(--canvas-sunk); color: var(--brand-strong); }
.wcat__ic svg { width: 18px; height: 18px; }
.wcat strong { display: block; font-size: 14px; }
.wcat small { color: var(--muted); font-size: 12px; }
.wizard__stage {
  margin-top: 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow);
}
.wizard__stage h3 { margin: 0 0 12px; font-size: 18px; letter-spacing: -.01em; }
.wopts { display: flex; flex-direction: column; gap: 8px; }
.wopts button {
  text-align: left; font: inherit; font-size: 14.5px; font-weight: 600; padding: 12px 16px;
  border-radius: var(--r); border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer;
}
.wopts button:hover { border-color: var(--brand); background: var(--brand-tint); }
.wleaf__steps { margin: 0 0 14px; padding-left: 22px; }
.wback { margin-top: 14px; }

/* ── category groups ────────────────────────────────────────────── */
.catgroup { margin-bottom: 30px; }
.catgroup h2 { font-size: 19px; margin: 0 0 12px; letter-spacing: -.01em; }
.catgroup h2 a { color: var(--ink); text-decoration: none; }
.catgroup h2 a:hover { color: var(--brand-strong); }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faqgroup { margin-bottom: 28px; }
.faqgroup h2 { font-size: 19px; margin: 0 0 10px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 14.5px; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 12px; font-size: 19px; color: var(--muted); }
.faq[open] summary::after { content: '–'; }
.faq__a { padding: 0 18px 14px; color: var(--ink-2); font-size: 14.5px; }
.faq__a p { margin: 0 0 8px; }
.morelink { font-weight: 700; }

/* ── contact form ───────────────────────────────────────────────── */
.contactways { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 22px; }
.cway {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
}
.cway strong { display: block; font-size: 13px; }
.cway span { font-size: 13px; color: var(--muted); }
.sform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); margin-bottom: 60px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; display: flex; flex-direction: column; }
.field label { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--faint); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 14.5px; padding: 10px 13px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-tint); }
.field .err { display: none; color: var(--danger); font-size: 12.5px; margin-top: 5px; font-weight: 600; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--danger); }
.field.is-bad .err { display: block; }
.ctxbox { background: var(--canvas-sunk); border-radius: 10px; padding: 12px 14px; }
.ctxbox__v { font-size: 12.5px; color: var(--ink-2); margin: 4px 0; font-family: ui-monospace, Menlo, Consolas, monospace; }
.form__foot { margin-top: 8px; }
.form__legal { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.done { text-align: center; padding: 26px 10px; }
.done__ic { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; background: #e9f3ec; color: var(--ok); display: grid; place-items: center; }
.done__ic svg { width: 22px; height: 22px; }
.done h2 { margin: 0 0 6px; font-size: 20px; }
.done p { color: var(--muted); margin: 0; }
.formnote { font-size: 13px; color: var(--danger); font-weight: 700; margin: 10px 0 0; }

/* ── footer ─────────────────────────────────────────────────────── */
.ftr { margin-top: 70px; background: var(--ink); color: #cfcac1; }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 44px 24px 30px; }
.ftr .logo { color: #fff; }
.ftr__blurb { font-size: 13px; max-width: 300px; margin: 10px 0 0; color: #a8a29a; }
.ftr__ver { font-size: 11.5px; color: #7d786f; margin-top: 10px; }
.ftr h4 { color: #fff; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; margin: 2px 0 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 7px; font-size: 13.5px; }
.ftr a { color: #cfcac1; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__base {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid #322e29; padding: 16px 24px 22px; font-size: 12.5px; color: #7d786f;
  max-width: var(--maxw); margin: 0 auto;
}

/* ── responsive ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .art__grid { grid-template-columns: 1fr; }
  .art__side { position: static; padding-top: 6px; }
  .side__toc { display: none; } /* mobile gets the h2 headings directly */
  .hdr__nav { display: none; }
  .hdr__search input { width: 150px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .hdr__in { height: 56px; gap: 10px; }
  .hdr__hc { display: none; }
  .hdr__search { margin-left: auto; }
  .hdr__search input { width: 100%; min-width: 130px; }
  .hdr__results { top: 56px; }
  .hero { padding: 38px 0 30px; }
  .grid2 { grid-template-columns: 1fr; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards--fix { grid-template-columns: 1fr 1fr; }
  .pager { flex-direction: column; }
  .pager a { max-width: 100%; }
  .sform { padding: 18px; }
  .wizard__cats { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .cards, .cards--fix { grid-template-columns: 1fr; }
  .ftr__in { grid-template-columns: 1fr; }
  .quickrow .btn { flex: 1; }
}

@media print {
  .hdr, .ftr, .feedback, .art__side, .pager, .crumbs { display: none !important; }
  body { background: #fff; }
}
