/* We Connect Uganda | app.css
   Mobile-first: the base rules are the phone layout. Desktop is added with min-width queries.
   Colours come from the tokens below and nowhere else. See docs/DESIGN.md. */

:root {
  --brand: #0E6B4E;   --brand-dark: #0A4F3A;   --brand-tint: #E6F2EE;
  --accent: #F5A623;  --accent-dark: #9A6200;
  --ink: #1B2A27;     --muted: #5C6B67;
  --bg: #F7F5F0;      --surface: #FFFFFF;      --border: #E3DED4;
  --ok: #0E7A3E;      --ok-bg: #E3F4EA;
  --warn: #8A5200;    --warn-bg: #FFF1D6;
  --danger: #B3261E;  --danger-bg: #FBE4E2;
  --info: #1F5F8B;    --info-bg: #E4F0F8;
  --wa: #0F7A6E;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(27, 42, 39, .14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.5 var(--font);
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 76px;               /* room for the bottom nav */
}
body.no-bottom-nav { padding-bottom: 0; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 var(--s3); }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.0625rem; font-weight: 600; }
p { margin: 0 0 var(--s3); }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 var(--s4); }
.main { padding-top: var(--s5); padding-bottom: var(--s6); min-height: 60vh; }
.lead { color: var(--muted); font-size: 1.0625rem; }
.stack { margin-top: var(--s4); }
.plain-list { margin: 0; padding-left: var(--s5); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s2); top: -60px; z-index: 50;
  background: var(--accent); color: var(--ink); padding: var(--s3) var(--s4); border-radius: var(--radius);
}
.skip-link:focus { top: var(--s2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* honeypot */
.js-only { display: none; }
.js .js-only { display: block; }

/* ---- Icons ---- */
.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---- Header ---- */
.site-header { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 60px; }
.brand { display: flex; align-items: center; gap: var(--s3); color: #fff; text-decoration: none; min-height: 48px; }
.brand__mark { border-radius: 8px; flex: none; }
.brand__text { line-height: 1.2; font-weight: 700; font-size: 1rem; }
.brand__section { font-weight: 400; opacity: .92; }
.header-btn {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; color: #fff; border-radius: var(--radius);
}
.header-btn:hover { background: var(--brand-dark); }
.site-nav { display: none; }

/* ---- Bottom nav (phones) ---- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, 1fr);
  min-height: 60px; background: var(--surface); border-top: 1px solid var(--border);
}
.bottom-nav__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; padding: var(--s1) 0; color: var(--muted); text-decoration: none;
  font-size: .875rem; font-weight: 600;
}
.bottom-nav__item.is-current { color: var(--brand); }

/* ---- Buttons ---- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  width: 100%; min-height: 48px; padding: 0 20px;
  font: inherit; font-weight: 600; text-align: center; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
}
.btn--auto { width: auto; display: inline-flex; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--secondary { background: var(--surface); color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--brand-tint); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn + .btn { margin-top: var(--s3); }

/* ---- Forms ---- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s4); margin-bottom: var(--s4);
}
.field { margin-bottom: var(--s4); }
.field__label { display: block; font-weight: 600; margin-bottom: var(--s1); }
.field__optional { font-weight: 400; color: var(--muted); }
.field__input {
  display: block; width: 100%; min-height: 48px; padding: 10px var(--s3);
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 2px solid var(--border); border-radius: var(--radius);
}
.field__input:focus { border-color: var(--brand); }
select.field__input { appearance: auto; }
.field--error .field__input { border-color: var(--danger); }
.field__hint { font-size: .875rem; color: var(--muted); margin: var(--s1) 0 0; }
.field__error { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font-size: .9375rem; margin: var(--s1) 0 0; }
.field__error .icon { width: 20px; height: 20px; }
.check { display: flex; align-items: center; gap: var(--s2); min-height: 48px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); }
.form-links { text-align: center; }
.alert { display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s3) var(--s4); border-radius: var(--radius); margin-bottom: var(--s4); }
.alert--error { background: var(--danger-bg); color: var(--danger); }
.alert--info  { background: var(--info-bg); color: var(--info); }

/* ---- Flash messages ---- */
.flashes { padding-top: var(--s4); }
.flash { display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s3) var(--s4); border-radius: var(--radius); font-weight: 600; }
.flash + .flash { margin-top: var(--s2); }
.flash--success { background: var(--ok-bg); color: var(--ok); }
.flash--error   { background: var(--danger-bg); color: var(--danger); }
.flash--info    { background: var(--info-bg); color: var(--info); }

/* ---- Home ---- */
.hero { background: var(--brand-tint); border-radius: var(--radius); padding: var(--s5) var(--s4); margin-bottom: var(--s5); }
.hero__title { font-size: 1.625rem; color: var(--brand-dark); }
.hero__lead { font-size: 1.0625rem; }
.hero__actions { margin-top: var(--s4); }
.tiles { display: grid; gap: var(--s4); grid-template-columns: 1fr; margin-bottom: var(--s5); }
.tile {
  display: grid; grid-template-columns: 56px 1fr; column-gap: var(--s4); align-items: center;
  min-height: 88px; padding: var(--s4); text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.tile:hover { border-color: var(--brand); }
.tile__icon {
  grid-row: span 2; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--radius); background: var(--brand-tint); color: var(--brand);
}
.tile__icon .icon { width: 30px; height: 30px; }
.tile__title { font-size: 1.1875rem; font-weight: 700; }
.tile__text { color: var(--muted); font-size: .9375rem; }
.trust__list { list-style: none; margin: 0; padding: 0; }
.trust__list li { display: flex; gap: var(--s3); margin-bottom: var(--s3); }
.trust__list .icon { color: var(--ok); margin-top: 2px; }

/* ---- Cards for listings, drivers, providers ---- */
.cards { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
.listing-card {
  display: block; overflow: hidden; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.listing-card__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--brand-tint); }
.listing-card__body { padding: var(--s3) var(--s4) var(--s4); }
.listing-card__title { font-size: 1.0625rem; font-weight: 600; margin: 0 0 var(--s1);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card__meta { color: var(--muted); font-size: .9375rem; margin-bottom: var(--s2); }
.price { font-size: 1.25rem; font-weight: 700; color: var(--brand); }
.person-card { display: flex; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.vehicle { display: block; width: 100%; height: auto; }
.vehicle .vb { fill: var(--body, #B8BCC2); }
.person-card .vehicle { width: 72px; flex: none; }

/* ---- Badges ---- */
.badges { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s2) 0; }
.badge { display: inline-flex; align-items: center; gap: var(--s1); padding: 2px 10px; border-radius: 999px; font-size: .875rem; font-weight: 600; }
.badge .icon { width: 16px; height: 16px; }
.badge--ok       { background: var(--ok-bg);     color: var(--ok); }
.badge--pending  { background: var(--warn-bg);   color: var(--warn); }
.badge--info     { background: var(--info-bg);   color: var(--info); }
.badge--danger   { background: var(--danger-bg); color: var(--danger); }
.badge--featured { background: var(--accent);    color: var(--ink); }

/* ---- Disclaimer (every property page) ---- */
.disclaimer {
  background: var(--warn-bg); border-left: 4px solid var(--warn); color: var(--ink);
  padding: var(--s3) var(--s4); border-radius: var(--radius); font-size: .9375rem; margin: var(--s4) 0;
}

/* ---- Stepper, chips, photo strip, stars ---- */
.stepper__label { font-weight: 600; margin-bottom: var(--s1); }
.stepper__bar { height: 6px; background: var(--border); border-radius: 99px; overflow: hidden; margin-bottom: var(--s4); }
.stepper__fill { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s4);
  border: 2px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none;
}
.chip.is-selected { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-dark); }
.photo-strip { display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: var(--s4); }
.photo-strip img { flex: 0 0 85%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; border-radius: var(--radius); }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--accent-dark); }
.stars .icon { width: 18px; height: 18px; fill: currentColor; }
.stars .icon.is-empty { fill: none; }

/* ---- Property pages ---- */
.icon--sm { width: 16px; height: 16px; vertical-align: -3px; }
.listing-card__body { display: block; }
.listing-card__body .price, .listing-card__meta { display: block; }
.listing-card__img--none { display: flex; align-items: center; justify-content: center; color: var(--brand); }
.listing-card__img--none .icon { width: 48px; height: 48px; }
.listing-card.is-gone { opacity: .6; }
.crumbs { margin-bottom: var(--s2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; }
.section-gap { margin-top: var(--s5); }
.result-count { color: var(--muted); }
.cta { margin-top: var(--s5); background: var(--brand-tint); }
.price--big { display: block; font-size: 1.625rem; margin-bottom: var(--s1); }
.location { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s1); }
.map-links { font-size: .9375rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin: var(--s4) 0; }
.facts div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s2) var(--s3); }
.facts dt { font-size: .875rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.prose { margin: 0; overflow-wrap: anywhere; }
.disclaimer p { margin: 0 0 var(--s2); }
.disclaimer p:last-child { margin: 0; }
.disclaimer__safety { font-weight: 600; }
.actions { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.actions .btn + .btn, .actions form + .btn { margin: 0; }
.actions .btn { width: 100%; }

.facts--one { grid-template-columns: 1fr; margin: 0; }

/* ---- Admin ---- */
.admin-nav { display: flex; gap: var(--s2); overflow-x: auto; padding-bottom: var(--s2); margin-bottom: var(--s4); }
.admin-nav .chip { flex: none; }
.queue-list { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s3); }
.queue { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; min-height: 64px; padding: var(--s3) var(--s4); text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.queue--late { border-color: var(--danger); }
.queue--off { opacity: .6; }
.queue__count { font-size: 1.5rem; font-weight: 700; color: var(--brand); min-width: 2ch; }
.queue__label { font-weight: 600; flex: 1; }

/* ---- Post-a-listing form ---- */
.listing-form fieldset, .step { border: 0; margin: 0 0 var(--s4); padding: 0; min-width: 0; }
.step[hidden], [data-types][hidden] { display: none; }
.step legend { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--s4); padding: 0; }
.pick { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.pick__item { display: block; cursor: pointer; }
.pick__box {
  display: flex; align-items: center; gap: var(--s3); min-height: 64px; padding: var(--s3) var(--s4); font-weight: 600;
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius);
}
.pick__box .icon { color: var(--brand); }
.pick__item input:checked + .pick__box { border-color: var(--brand); background: var(--brand-tint); }
.pick__item input:focus-visible + .pick__box, .chip-radio input:focus-visible + .chip { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip-radio { cursor: pointer; }
.chip-radio input:checked + .chip { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-dark); }
.field__row { display: flex; gap: var(--s2); }
.field__input--short { width: 96px; flex: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field-row[hidden] { display: none; }
.step-nav { display: flex; gap: var(--s3); }
.step-nav .btn { margin: 0; flex: 1; }
.step-nav [hidden] { display: none; }
.photo-grid { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--s2); }
.photo-grid li { position: relative; }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.photo-grid__cover { position: absolute; left: 4px; bottom: 4px; background: var(--accent); color: var(--ink); font-size: .75rem; font-weight: 700; padding: 0 6px; border-radius: 6px; }
.photo-grid__remove { position: absolute; right: 2px; top: 2px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(27, 42, 39, .8); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.photo-grid__keep { min-height: 36px; font-size: .875rem; }
.pay-instructions { background: var(--brand-tint); border-radius: var(--radius); padding: var(--s3) var(--s4); }

/* ---- Transport ---- */
.vehicle-pick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.vehicle-pick__item { display: block; cursor: pointer; }
.vehicle-pick__box { display: flex; flex-direction: column; align-items: center; gap: var(--s1); padding: var(--s3); text-align: center; font-weight: 600; font-size: .9375rem;
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); }
.vehicle-pick__item input:checked + .vehicle-pick__box { border-color: var(--brand); background: var(--brand-tint); }
.vehicle-pick__item input:focus-visible + .vehicle-pick__box, .swatch input:focus-visible + .swatch__dot { outline: 3px solid var(--accent); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: var(--s2); }
.swatch { cursor: pointer; }
.swatch__dot { display: block; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--border); }
.swatch input:checked + .swatch__dot { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint), 0 0 0 5px var(--brand); }
.driver-form h2 { margin-top: var(--s5); }
.driver-form h2:first-of-type { margin-top: 0; }
.hub-item__head { display: flex; gap: var(--s3); align-items: flex-start; }
.hub-item__head img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.hub-item__stats { color: var(--muted); font-size: .9375rem; margin: var(--s2) 0; }
.hub-item__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.hub-item__actions .btn { margin: 0; }
.saved-remove { margin-top: var(--s2); }
.audit-detail { overflow-wrap: anywhere; font-size: .875rem; color: var(--muted); }
.service-group { margin-bottom: var(--s5); }
.service-group__title { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; }
.service-group__title .icon { color: var(--brand); }
.cat-group { border: 0; border-top: 1px solid var(--border); margin: var(--s3) 0 0; padding: var(--s2) 0 0; min-width: 0; }
.cat-group legend { font-weight: 600; color: var(--muted); padding: 0 var(--s2) 0 0; }
.cat-list { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: var(--s3); }
.cat-row { display: grid; gap: var(--s2); padding: var(--s3); border: 1px solid var(--border); border-radius: var(--radius); }
.cat-row.is-off { opacity: .65; background: var(--bg); }
.cat-row__rename { display: flex; gap: var(--s2); }
.cat-row__rename .field__input { flex: 1; min-width: 0; }
.cat-row__tools { display: flex; gap: var(--s2); }
.cat-row__tools .btn { margin: 0; }
.flip { transform: rotate(180deg); }
.vehicle-line { font-weight: 600; }
.profile-head { text-align: center; }
.profile-head .vehicle { max-width: 260px; margin: 0 auto var(--s3); }
.profile-head .badges, .profile-head .rating-line { justify-content: center; }
.stars__text { font-size: .9375rem; color: var(--muted); }
.person-card > div { min-width: 0; }
.rating-line { display: flex; align-items: center; gap: var(--s2); color: var(--muted); font-size: .9375rem; }

.consent { border: 0; margin: 0 0 var(--s4); padding: 0; min-width: 0; }
.consent legend { padding: 0; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---- Policy pages ---- */
.policy h2 { margin-top: var(--s5); }
.policy ul, .policy ol { padding-left: var(--s5); }
.policy li { margin-bottom: var(--s2); }
.policy__draft { background: var(--warn-bg); border-left: 4px solid var(--warn); border-radius: var(--radius); padding: var(--s3) var(--s4); margin-bottom: var(--s4); font-size: .9375rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin: 0 0 var(--s3); padding: 0; list-style: none; }
.site-footer__links a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }

/* ---- Empty state, pagination, filters ---- */
.empty { text-align: center; padding: var(--s6) var(--s4); background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty .icon { width: 40px; height: 40px; color: var(--muted); margin-bottom: var(--s2); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s5); }
.pager .btn { width: auto; }
.filters { margin-bottom: var(--s4); }
.filters > summary { display: flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s4); font-weight: 600; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }

/* ---- Admin tables: stacked cards on phones ---- */
.table-cards { width: 100%; border-collapse: collapse; }
.table-cards thead { display: none; }
.table-cards tr { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: var(--s3); padding: var(--s2) var(--s4); }
.table-cards td { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--border); }
.table-cards td:last-child { border-bottom: 0; }
.table-cards td::before { content: attr(data-label); font-weight: 600; color: var(--muted); }

/* ---- Footer ---- */
.site-footer { background: var(--brand-dark); color: #fff; padding: var(--s5) 0; margin-top: var(--s5); }
.site-footer__name { font-weight: 700; margin-bottom: var(--s1); }
.site-footer__tag { margin-bottom: var(--s2); }
.site-footer__small { font-size: .875rem; opacity: .85; margin: 0; }

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

/* ---- 600px and up: large phones, small tablets ---- */
@media (min-width: 600px) {
  .btn { width: auto; display: inline-flex; padding: 0 28px; }
  .btn + .btn { margin-top: 0; margin-left: var(--s3); }
  .hero__actions .btn { margin-top: 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile { grid-template-columns: 1fr; text-align: left; row-gap: var(--s2); }
  .tile__icon { grid-row: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .form { max-width: 520px; }
  .form .btn { width: 100%; }
  .photo-strip img { flex-basis: 48%; }
  .table-cards thead { display: table-header-group; }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: revert; }
  .table-cards tr { border: 0; border-radius: 0; margin: 0; padding: 0; background: none; }
  .table-cards th, .table-cards td { padding: var(--s3); text-align: left; border-bottom: 1px solid var(--border); }
  .table-cards td::before { content: none; }
}

/* ---- 960px and up: desktop ---- */
@media (min-width: 960px) {
  body { font-size: 16px; padding-bottom: 0; }
  .bottom-nav { display: none; }
  .site-nav { display: flex; gap: var(--s2); margin-left: auto; }
  .site-nav__link { display: flex; align-items: center; min-height: 48px; padding: 0 var(--s4); color: #fff; text-decoration: none; font-weight: 600; border-radius: var(--radius); }
  .site-nav__link:hover, .site-nav__link.is-current { background: var(--brand-dark); }
  .header-btn { display: none; }
  h1 { font-size: 1.75rem; }
  .hero { padding: var(--s6); }
  .hero__title { font-size: 2rem; max-width: 22ch; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .main { padding-top: var(--s6); }
}
