/* ==========================================================================
   Whittle Launcher — whittlelauncher.com
   One stylesheet, no external dependencies, no web fonts.

   Surfaces are borrowed from the launcher itself:
     canvas  — the near-black home screen
     row     — the rounded settings list row
     sheet   — the raised bottom sheet, used sparingly
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
  /* Brand */
  --ink:        #161513;
  --cream:      #f2efe9;

  /* Neutrals derived from Ink */
  --void:       #0b0a09;   /* deeper than the canvas: screen wells only */
  --canvas:     #161513;
  --row:        #1c1a18;
  --row-hover:  #232120;
  --sheet:      #232120;

  /* Text */
  --dim:        #a9a59d;
  --dimmer:     #949087;

  /* Hairlines */
  --line:        rgba(242, 239, 233, 0.10);
  --line-strong: rgba(242, 239, 233, 0.20);

  /* Shape */
  --r-row:    18px;
  --r-panel:  24px;
  --r-screen: 26px;
  --r-sheet:  32px;

  --shadow-soft:  0 1px 2px rgba(0, 0, 0, .4);
  --shadow-lift:  0 24px 60px -20px rgba(0, 0, 0, .75);
  --shadow-phone: 0 40px 80px -32px rgba(0, 0, 0, .9);

  /* Layout */
  --wrap:  1120px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --band:   clamp(4.5rem, 10vw, 8rem);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* --- Reset -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--cream);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }
p  { margin: 0; }
ul, ol { margin: 0; }

:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--cream); color: var(--ink); }

/* --- Layout primitives -------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band); }
.band--tight { padding-block: calc(var(--band) * 0.62); }

.band + .band { padding-top: 0; }
.pagehead + .band { padding-top: calc(var(--band) * 0.55); }

.hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--cream);
  color: var(--ink);
  padding: .75rem 1.15rem;
  border-radius: 0 0 12px 0;
  font-weight: 500;
}
.skip-link:focus { left: 0; }

/* --- Top bar ------------------------------------------------------------ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22, 21, 19, 0.82);
  border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .topbar {
    background: rgba(22, 21, 19, 0.68);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
    backdrop-filter: saturate(140%) blur(16px);
  }
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: .4rem 0;
}
.brand img { height: 20px; width: auto; }

.nav { display: flex; align-items: center; gap: .35rem; }

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 .8rem;
  border-radius: 999px;
  color: var(--dim);
  text-decoration: none;
  font-size: .96875rem;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__link:hover { color: var(--cream); background: rgba(242, 239, 233, .06); }
.nav__link[aria-current="page"] { color: var(--cream); }

.nav__toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  min-height: 2.6rem;
  padding: 0 .9rem 0 .8rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: .96875rem;
}
.nav__toggle:hover { background: rgba(242, 239, 233, .06); }

.nav__bars {
  width: 15px;
  display: grid;
  gap: 3px;
  justify-items: start;
}
.nav__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: width .22s var(--ease);
}
.nav__bars i:nth-child(1) { width: 15px; }
.nav__bars i:nth-child(2) { width: 11px; }
.nav__bars i:nth-child(3) { width: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars i { width: 15px; }

/* Mobile panel: rendered as the launcher's own list rows */
.navpanel {
  border-top: 1px solid var(--line);
  padding: .6rem 0 1.1rem;
}
.navpanel__list { display: grid; gap: 2px; list-style: none; padding: 0; }
.navpanel__link {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0 1.1rem;
  border-radius: var(--r-row);
  background: var(--row);
  text-decoration: none;
  color: var(--cream);
}
.navpanel__link[aria-current="page"] { background: var(--row-hover); }

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--cream); color: var(--ink); }
.btn--solid:hover { background: #fff; }

.btn--quiet { border-color: var(--line-strong); color: var(--cream); }
.btn--quiet:hover { background: rgba(242, 239, 233, .06); border-color: var(--cream); }

.textlink {
  display: inline-block;
  padding-block: .3rem;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .18s var(--ease);
}
.textlink:hover { border-bottom-color: var(--cream); }

/* --- Hero --------------------------------------------------------------- */

.hero { text-align: center; padding-block: clamp(3.5rem, 9vw, 7rem) 0; }

.hero__title {
  font-size: clamp(2.7rem, 7.2vw, 5rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin-inline: auto;
  text-wrap: balance;
}

.hero__lead {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 50ch;
  margin-inline: auto;
  color: var(--dim);
  font-size: clamp(1.05rem, 1.4vw, 1.1875rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.avail {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.5rem;
  color: var(--dimmer);
  font-size: .9375rem;
}
.avail::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim);
  flex: none;
}

/* --- Phone composition -------------------------------------------------- */

.stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: .5rem;
}

.phone {
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  display: block;
  transition: transform .35s var(--ease);
}

.phone__screen {
  width: 100%;
  height: auto;
  aspect-ratio: 941 / 1672;
  object-fit: cover;
  background: var(--void);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-screen);
  box-shadow: var(--shadow-phone);
}

.phone--lead { width: clamp(232px, 26vw, 288px); z-index: 2; }
.phone--side {
  width: clamp(200px, 22vw, 246px);
  z-index: 1;
  opacity: .72;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.phone--side:first-child { margin-right: -1.75rem; transform: translateY(2rem); }
.phone--side:last-child  { margin-left:  -1.75rem; transform: translateY(2rem); }

.phone--lead:hover { transform: translateY(-8px); }
.phone--side:first-child:hover { transform: translateY(1.25rem); opacity: 1; }
.phone--side:last-child:hover  { transform: translateY(1.25rem); opacity: 1; }

/* --- Section headings --------------------------------------------------- */

.sectionhead { max-width: 34rem; }
.sectionhead--center { margin-inline: auto; text-align: center; }

.sectionhead__title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 20ch;
}
.sectionhead--center .sectionhead__title { max-width: 22ch; margin-inline: auto; }
.sectionhead__note {
  margin-top: .9rem;
  color: var(--dim);
  max-width: 46ch;
}
.sectionhead--center .sectionhead__note { margin-inline: auto; }

/* --- Settings-style list rows ------------------------------------------- */

.split { display: grid; gap: clamp(2.25rem, 5vw, 4rem); }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.68fr); align-items: start; }
  .split > .sectionhead { position: sticky; top: 6.25rem; }
  .split > .groups, .split > .faq, .split > .steps { margin-top: 0; }
}

.groups { display: grid; gap: 2.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.group__label {
  font-size: .9375rem;
  color: var(--dimmer);
  margin-bottom: .75rem;
  padding-left: .25rem;
}

.rowlist { display: grid; gap: 2px; list-style: none; padding: 0; }

.row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--row);
  border-radius: var(--r-row);
  text-decoration: none;
  color: inherit;
}
.rowlist > li:first-child .row { border-radius: var(--r-panel) var(--r-panel) var(--r-row) var(--r-row); }
.rowlist > li:last-child  .row { border-radius: var(--r-row) var(--r-row) var(--r-panel) var(--r-panel); }
.rowlist > li:only-child  .row { border-radius: var(--r-panel); }

a.row { transition: background-color .18s var(--ease); }
a.row:hover { background: var(--row-hover); }

.row__icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: .18rem;
  color: var(--dim);
}
.row__icon svg { width: 100%; height: 100%; }

.row__body { flex: 1; min-width: 0; }
.row__title { display: block; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.row__tag {
  display: inline-block;
  margin-left: .55rem;
  padding: .05rem .5rem .1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 400;
  color: var(--dim);
  vertical-align: .12em;
  white-space: nowrap;
}
.row__text { display: block; margin-top: .3rem; color: var(--dim); font-size: .96875rem; line-height: 1.6; }

.row__chev {
  flex: none;
  align-self: center;
  width: 18px;
  height: 18px;
  color: var(--dimmer);
  transition: transform .2s var(--ease), color .2s var(--ease);
}
a.row:hover .row__chev { color: var(--cream); transform: translateX(3px); }

/* --- Screenshot rail ---------------------------------------------------- */

.rail {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  align-items: start;
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
}

.shot__screen {
  width: 100%;
  height: auto;
  aspect-ratio: 941 / 1672;
  object-fit: cover;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: var(--r-screen);
  box-shadow: var(--shadow-lift);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.shot:hover .shot__screen { transform: translateY(-6px); border-color: var(--line-strong); }

.shot__caption {
  display: block;
  margin-top: .9rem;
  color: var(--dim);
  font-size: .9375rem;
}
.shot:hover .shot__caption { color: var(--cream); }

/* Editorial stagger, wide screens only */
@media (min-width: 1000px) {
  .rail > li:nth-child(even) { transform: translateY(2.25rem); }
}

/* --- Bottom sheet (used once, for the privacy statement) ---------------- */

.sheet {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--r-sheet);
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem) clamp(2.25rem, 5vw, 3rem);
  box-shadow: var(--shadow-lift);
  text-align: center;
}
.sheet::before {
  content: "";
  position: absolute;
  top: .85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: var(--line-strong);
}

.claims {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 2.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.sheet__text {
  max-width: 54ch;
  margin: 0 auto 1.75rem;
  color: var(--dim);
}

/* --- Footer ------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 2.5rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}
.footer__brand img { height: 22px; width: auto; opacity: .85; }
.footer__tagline { margin-top: .9rem; color: var(--dim); font-size: .96875rem; max-width: 30ch; }

.footer__nav { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin-top: -.45rem; }
.footer__nav a {
  display: inline-block;
  padding-block: .45rem;
  color: var(--dim);
  text-decoration: none;
  font-size: .96875rem;
  transition: color .18s var(--ease);
}
.footer__nav a:hover { color: var(--cream); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--dimmer);
  font-size: .875rem;
}

/* --- Lightbox (native dialog: closed by default, Escape handled by UA) --- */

.lightbox {
  width: auto;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  color: var(--cream);
}
.lightbox::backdrop { background: rgba(6, 6, 5, .88); }

.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 1rem; }

.lightbox__img {
  width: auto;
  max-width: min(90vw, 420px);
  max-height: 78vh;
  border-radius: var(--r-screen);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-phone);
}
.lightbox__caption { color: var(--dim); font-size: .9375rem; text-align: center; }

.lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(242, 239, 233, .06);
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(242, 239, 233, .14); }
.lightbox__close svg { width: 18px; height: 18px; }

html.is-locked { overflow: hidden; }

/* --- Inner pages -------------------------------------------------------- */

.pagehead { padding-block: clamp(3rem, 7vw, 5rem) 0; }
.pagehead__title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.pagehead__lead {
  margin-top: 1.25rem;
  max-width: 58ch;
  color: var(--dim);
  font-size: clamp(1.05rem, 1.4vw, 1.1875rem);
}
.pagehead__meta { margin-top: 1.25rem; color: var(--dimmer); font-size: .9375rem; }

.panel {
  background: var(--row);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.panel--raised { background: var(--row-hover); border-color: var(--line-strong); }
.panel__title { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.panel__lede { color: var(--dim); font-size: .96875rem; }
.panel__foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--dimmer);
  font-size: .875rem;
}
.panel > * + * { margin-top: 1rem; }

.cols { display: grid; gap: 1.25rem; }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.checklist { list-style: none; padding: 0; display: grid; gap: .9rem; }
.checklist li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--dim);
  font-size: .96875rem;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dimmer);
}
.checklist strong { color: var(--cream); font-weight: 500; }
.checklist a { color: var(--cream); }

/* Prose (legal + long-form) */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 {
  font-size: 1.3125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p, .prose li { color: var(--dim); }
.prose strong { color: var(--cream); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .6rem; }
.prose li::marker { color: var(--dimmer); }
.prose a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: var(--cream); }

.layout-doc { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 940px) {
  .layout-doc { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; }
  .toc { position: sticky; top: 5.75rem; }
}

.toc__label { font-size: .9375rem; color: var(--dimmer); margin-bottom: .75rem; }
.toc__list { list-style: none; padding: 0; display: grid; gap: 1px; }
.toc__list a {
  display: block;
  padding: .5rem .75rem;
  border-radius: 10px;
  color: var(--dim);
  text-decoration: none;
  font-size: .9375rem;
  line-height: 1.45;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.toc__list a:hover { background: var(--row); color: var(--cream); }

/* Numbered sequence (genuinely ordered content: setup steps, bug reports) */
.steps { list-style: none; padding: 0; display: grid; gap: 2px; counter-reset: step; }
.steps > li {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--row);
  border-radius: var(--r-row);
  counter-increment: step;
}
.steps > li:first-child { border-radius: var(--r-panel) var(--r-panel) var(--r-row) var(--r-row); }
.steps > li:last-child  { border-radius: var(--r-row) var(--r-row) var(--r-panel) var(--r-panel); }
.steps > li::before {
  content: counter(step);
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--dim);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
.steps strong { font-weight: 500; }
.steps p { color: var(--dim); font-size: .96875rem; margin-top: .25rem; }

/* Provider cards */
.provider { display: grid; gap: .6rem; }
.provider__name { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; }
.provider__key {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: start;
  padding: .3rem .7rem .3rem .55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .875rem;
  color: var(--dim);
}
.provider__key svg { width: 14px; height: 14px; flex: none; }
.provider__text { color: var(--dim); font-size: .96875rem; }

/* FAQ */
.faq { display: grid; gap: 2px; }
.faq details {
  background: var(--row);
  border-radius: var(--r-row);
  overflow: hidden;
}
.faq details:first-of-type { border-radius: var(--r-panel) var(--r-panel) var(--r-row) var(--r-row); }
.faq details:last-of-type  { border-radius: var(--r-row) var(--r-row) var(--r-panel) var(--r-panel); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--dimmer);
  border-bottom: 1.5px solid var(--dimmer);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq summary:hover { background: var(--row-hover); }
.faq__body { padding: 0 1.25rem 1.3rem; color: var(--dim); }
.faq__body > * + * { margin-top: .75rem; }
.faq__body a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

/* Video placeholder */
.placeholder {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-panel);
  background: var(--void);
  aspect-ratio: 16 / 9;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .9rem;
  text-align: center;
  padding: 2rem;
}
.placeholder svg { width: 34px; height: 34px; color: var(--dimmer); }
.placeholder p { color: var(--dim); max-width: 34ch; font-size: .96875rem; }

/* Centred utility page (404) */
.centered {
  min-height: 58vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 1.25rem;
  padding-block: 4rem;
}
.centered__title {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.centered img { height: 30px; width: auto; opacity: .5; }

/* Contact strip */
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.contact__addr {
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  word-break: break-word;
}
.contact__addr:hover { border-bottom-color: var(--cream); }

.address { font-style: normal; line-height: 1.8; color: var(--dim); }
.address strong { color: var(--cream); font-weight: 500; }

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1000px) {
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cols--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  /* Only swap in the menu button once the script has confirmed it works.
     Without JavaScript the inline links stay put and simply wrap. */
  .js .nav { display: none; }
  .nav { flex-wrap: wrap; justify-content: flex-end; }
  .nav__toggle { display: inline-flex; }
  .cols--2 { grid-template-columns: minmax(0, 1fr); }
  .phone--side { display: none; }
  .phone--lead { width: min(62vw, 250px); }
}

@media (max-width: 640px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .claims { flex-direction: column; align-items: center; gap: .1rem; }
  .footer__top { flex-direction: column; gap: 1.75rem; }
  .contact { flex-direction: column; align-items: flex-start; }
  .row { padding: 1rem 1.1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 360px) {
  .rail { gap: .6rem; }
}

/* --- Entrance: one orchestrated moment, on the hero only ----------------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.js .rise { opacity: 0; animation: rise .8s var(--ease) both; }
.js .rise--1 { animation-delay: .05s; }
.js .rise--2 { animation-delay: .16s; }
.js .rise--3 { animation-delay: .27s; }
.js .rise--4 { animation-delay: .38s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; animation: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
