/* QAZ Appliance Services
   Layout concept: every page opens with the booking widget beside the headline, so a visitor can
   book on the first screen. Brand cues come from the crew uniform: graphite fleece, QAZ sun-yellow,
   stainless steel. One bold element: the yellow $79 service tag. */
:root {
  --graphite: #1c1f24;
  --graphite-2: #2a2e35;
  --sun: #f7c600;
  --sun-deep: #d9ad00;
  --fleece: #6f6c58;
  --paper: #f3f4f1;
  --white: #ffffff;
  --steel: #d6d9db;
  --steel-2: #e7e9ea;
  --text: #22252a;
  --muted: #5b6067;
  --ok: #1f7a4d;
  --ok-bg: #e6f3ec;
  --err: #b42318;
  --err-bg: #fdecea;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --r-sm: 6px;
  --r-md: 12px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--sun); color: var(--graphite); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

h1, h2, h3 { font-family: var(--display); font-stretch: 112%; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; margin: 0; color: var(--graphite); }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 106%; line-height: 1.25; }
p { margin: 0; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.prose { max-width: 42rem; display: grid; gap: 1rem; }
.prose p { color: var(--text); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--graphite); color: #c9ccd0; font-size: 0.88rem; }
.topbar .wrap { display: flex; gap: 1.25rem; justify-content: space-between; align-items: center; padding-block: 6px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; }
.topbar span { display: inline-flex; gap: 6px; align-items: center; }
.topbar svg { width: 15px; height: 15px; }
@media (max-width: 640px) { .topbar .addr { display: none; } }

.site-header { background: var(--white); border-bottom: 1px solid var(--steel); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--graphite); }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.55rem; letter-spacing: 0.02em; line-height: 1; display: block; }
.logo small { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 3px; }
.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a { text-decoration: none; font-weight: 700; font-size: 0.97rem; color: var(--text); }
.nav a:hover { color: var(--fleece); }
.header-call { display: inline-flex; align-items: center; gap: 8px; background: var(--graphite); color: var(--white); text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.header-call svg { width: 18px; height: 18px; color: var(--sun); }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 420px) { .header-call .num { display: none; } .header-call::after { content: "Call"; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1.2 var(--body); padding: 14px 22px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: var(--graphite); }
.btn-sun:hover { background: var(--sun-deep); }
.btn-dark { background: var(--graphite); color: var(--white); }
.btn-dark:hover { background: var(--graphite-2); }
.btn-line { background: transparent; border-color: currentColor; color: var(--graphite); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--steel); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); grid-template-areas: "head book" "trust book"; grid-template-rows: auto 1fr; gap: 1.25rem 3.5rem; padding-block: 2.6rem 3rem; align-items: start; }
.hero-head { grid-area: head; display: grid; gap: 1.1rem; min-width: 0; }
.hero-trust { grid-area: trust; min-width: 0; display: grid; gap: 1.4rem; }
.hero-book { grid-area: book; min-width: 0; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "book" "trust"; padding-block: 1.6rem 2.2rem; gap: 1.5rem; }
}
.crumbs { font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { color: var(--steel); }

/* The service tag: the page's one loud element */
.tag {
  position: relative; display: inline-grid; gap: 2px; align-self: start; justify-self: start;
  background: var(--sun); color: var(--graphite);
  padding: 14px 22px 14px 46px; border-radius: 8px 18px 18px 8px;
  transform: rotate(-1.6deg); box-shadow: 0 2px 0 var(--sun-deep);
  max-width: 100%;
}
.tag::before { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--sun-deep); }
.tag strong { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.55rem; line-height: 1.05; }
.tag span { font-size: 0.98rem; font-weight: 700; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 1.4rem; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 0.98rem; }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 2px; }
@media (max-width: 520px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.hero-photo { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 14px; align-items: center; background: var(--paper); border-radius: var(--r-md); padding: 10px; }
.hero-photo img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; }
.hero-photo p { font-size: 0.95rem; color: var(--muted); }
.hero-photo b { color: var(--graphite); display: block; }

/* ---------- Booking widget ---------- */
.booking { background: var(--white); border: 2px solid var(--graphite); border-radius: 16px; box-shadow: 8px 8px 0 var(--sun); overflow: hidden; }
.bk-head { background: var(--graphite); color: var(--white); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bk-head h2 { color: var(--white); font-size: 1.25rem; font-stretch: 118%; }
.bk-step { font-size: 0.85rem; color: #c9ccd0; white-space: nowrap; }
.bk-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 18px; background: var(--graphite); padding-bottom: 12px; }
.bk-progress i { height: 4px; border-radius: 2px; background: #474c55; }
.bk-progress i.on { background: var(--sun); }
.bk-body { padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.bk-body > * { min-width: 0; }
.bk-label { font-weight: 700; font-size: 0.98rem; display: block; margin-bottom: 8px; color: var(--graphite); }
.bk-hint { font-size: 0.86rem; color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 400px) { .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.app-btn { display: grid; justify-items: center; gap: 4px; padding: 10px 4px 9px; border: 1.5px solid var(--steel); background: var(--white); border-radius: 10px; cursor: pointer; font: 700 0.8rem/1.15 var(--body); color: var(--text); text-align: center; min-height: 76px; }
.app-btn svg { width: 28px; height: 28px; color: var(--graphite); }
.app-btn:hover { border-color: var(--graphite); }
.app-btn.wide { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 10px; min-height: 0; padding: 9px; }
.app-btn.wide svg { width: 22px; height: 22px; }
.app-btn[aria-pressed="true"] { border-color: var(--graphite); background: var(--sun); box-shadow: inset 0 0 0 1px var(--graphite); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--steel); background: var(--white); border-radius: 999px; padding: 7px 13px; font: 700 0.88rem/1.2 var(--body); color: var(--text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--graphite); }
.field label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--text); background: var(--white); border: 1.5px solid #b9bec3; border-radius: 9px; padding: 11px 12px; min-height: 46px; }
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(247, 198, 0, .55); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.err-msg { color: var(--err); font-size: 0.85rem; font-weight: 700; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 420px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.day { flex: none; scroll-snap-align: start; width: 68px; display: grid; justify-items: center; gap: 0; padding: 8px 4px; border: 1.5px solid var(--steel); border-radius: 10px; background: var(--white); cursor: pointer; font-family: var(--body); color: var(--text); }
.day small { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.day b { font-family: var(--display); font-stretch: 112%; font-size: 1.35rem; line-height: 1.15; }
.day span { font-size: 0.72rem; color: var(--muted); }
.day[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] span { color: var(--sun); }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.slot { padding: 11px 8px; border: 1.5px solid var(--steel); border-radius: 10px; background: var(--white); font: 700 0.95rem/1.2 var(--body); color: var(--text); cursor: pointer; }
.slot[aria-pressed="true"] { background: var(--sun); border-color: var(--graphite); }
.slot:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.bk-actions { display: flex; gap: 10px; align-items: center; }
.bk-actions .btn { flex: 1; }
.bk-actions .back { flex: none; background: none; border: none; font: 700 0.95rem var(--body); color: var(--muted); cursor: pointer; padding: 10px 6px; text-decoration: underline; }
.bk-fee { font-size: 0.86rem; color: var(--muted); text-align: center; }
.bk-fee b { color: var(--graphite); }
.bk-summary { background: var(--paper); border-radius: 10px; padding: 10px 12px; font-size: 0.92rem; display: grid; gap: 2px; }
.bk-summary b { color: var(--graphite); }
.bk-summary button { justify-self: start; background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font: 400 0.85rem var(--body); cursor: pointer; }
.bk-alert { border-radius: 10px; padding: 10px 12px; font-size: 0.92rem; }
.bk-alert.err { background: var(--err-bg); color: var(--err); }
.bk-alert.warn { background: #fff7d6; color: #6b5400; }
.bk-done { text-align: left; display: grid; gap: 12px; }
.bk-done .big { display: flex; gap: 10px; align-items: center; color: var(--ok); }
.bk-done .big svg { width: 34px; height: 34px; flex: none; }
.bk-done h3 { font-size: 1.35rem; }
.hp { position: absolute; left: -5000px; }

/* Address autocomplete */
.ac { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--white); border: 1.5px solid var(--graphite); border-radius: 10px; list-style: none; margin: 0; padding: 4px; z-index: 30; box-shadow: 0 10px 24px rgba(28, 31, 36, .18); max-height: 280px; overflow-y: auto; }
.ac-list li { padding: 9px 10px; border-radius: 7px; cursor: pointer; font-size: 0.95rem; line-height: 1.3; }
.ac-list li small { display: block; color: var(--muted); font-size: 0.82rem; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--paper); }
.ac-list .ac-foot { font-size: 0.72rem; color: var(--muted); cursor: default; padding: 4px 10px; }
.ac-list .ac-foot:hover { background: none; }

/* ---------- Sections ---------- */
.section { padding-block: 4rem; }
.section.alt { background: var(--white); border-block: 1px solid var(--steel); }
.section.dark { background: var(--graphite); color: #d8dbde; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.sec-head { display: grid; gap: 0.7rem; margin-bottom: 2rem; max-width: 46rem; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.section.dark .sec-head p { color: #b5bac0; }
@media (max-width: 640px) { .section { padding-block: 2.8rem; } }

/* Appliance list */
.app-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--steel); }
.app-list a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--steel); text-decoration: none; align-items: start; }
.app-list a svg { width: 34px; height: 34px; grid-row: span 2; color: var(--graphite); }
.app-list a b { font-family: var(--display); font-stretch: 108%; font-size: 1.12rem; color: var(--graphite); }
.app-list a span { color: var(--muted); font-size: 0.93rem; line-height: 1.45; }
.app-list a:hover b { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 3px; }
@media (max-width: 900px) { .app-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .app-list { grid-template-columns: minmax(0, 1fr); } }

/* Built-in specialist feature */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; align-items: center; }
.feature .photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature .photo-stack img { border-radius: var(--r-md); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.feature .photo-stack img:first-child { margin-top: 2.5rem; }
.brand-rows { display: grid; gap: 0; margin-top: 1.4rem; }
.brand-rows a { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid #3d424a; text-decoration: none; }
.brand-rows a:last-child { border-bottom: 1px solid #3d424a; }
.brand-rows b { font-family: var(--display); font-stretch: 115%; font-size: 1.3rem; color: var(--white); }
.brand-rows span { color: #b5bac0; font-size: 0.97rem; }
.brand-rows a:hover b { color: var(--sun); }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 0.5rem; align-content: start; padding-top: 1rem; border-top: 3px solid var(--graphite); }
.steps li::before { content: counter(s); font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--fleece); }
.steps p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Brands */
.brand-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-cloud a, .brand-cloud span { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 1rem; padding: 9px 15px; border: 1.5px solid var(--steel); border-radius: 8px; background: var(--white); text-decoration: none; color: var(--graphite); }
.brand-cloud a { border-color: var(--graphite); }
.brand-cloud a:hover { background: var(--sun); }

/* Areas */
.areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 2.5rem; }
.areas h3 { margin-bottom: 0.8rem; }
.area-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.2rem; }
.area-links li { break-inside: avoid; padding: 4px 0; }
.area-links a { text-decoration: none; font-weight: 700; }
.area-links a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }
.map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--steel); background: var(--steel-2); aspect-ratio: 4 / 3; max-width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.nap { margin-top: 1rem; display: grid; gap: 4px; font-size: 0.97rem; }
@media (max-width: 960px) { .areas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .areas .map-col { grid-column: 1 / -1; } }
@media (max-width: 560px) { .areas { grid-template-columns: minmax(0, 1fr); } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; display: grid; gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); background: var(--steel-2); }
.gallery figcaption { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Symptom table on service pages */
.fixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.fixes div { padding: 16px 0; border-top: 1px solid var(--steel); display: grid; gap: 4px; }
.fixes b { color: var(--graphite); font-size: 1.04rem; }
.fixes span { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 700px) { .fixes { grid-template-columns: minmax(0, 1fr); } }

.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.two-col img { border-radius: var(--r-md); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } .two-col img { aspect-ratio: 4 / 3; } }

.pill-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-links a { text-decoration: none; font-weight: 700; font-size: 0.92rem; padding: 7px 13px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--steel); }
.pill-links a:hover { border-color: var(--graphite); }
.zips { font-variant-numeric: tabular-nums; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 50rem; border-top: 1px solid var(--steel); }
.faq details { border-bottom: 1px solid var(--steel); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.06rem; color: var(--graphite); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 1.8rem/1 var(--display); color: var(--fleece); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 44rem; }

/* CTA band */
.cta-band { background: var(--sun); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 2.5rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { font-weight: 700; margin-top: 6px; }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--graphite); color: #b5bac0; font-size: 0.94rem; padding-block: 3rem 6rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.8rem; font-stretch: 112%; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #e3e5e8; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer .logo { color: var(--white); }
.site-footer .logo small { color: #9aa0a7; }
.legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #3d424a; font-size: 0.82rem; color: #8d939a; display: grid; gap: 6px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile action bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: var(--white); border-top: 1px solid var(--steel); box-shadow: 0 -6px 18px rgba(28, 31, 36, .1); }
.mbar .btn { flex: 1; padding: 13px 10px; }
@media (max-width: 760px) { .mbar { display: flex; } .site-footer { padding-bottom: 7rem; } }

/* 404 / simple pages */
.simple { padding-block: 4rem; display: grid; gap: 1.2rem; max-width: 44rem; }
.simple h2 { font-size: 1.4rem; margin-top: 1rem; }
