/* Self-hosted so no visitor data goes to a font service */
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --fg: #fff;
  --dim: rgb(255 255 255 / 0.68);
  --faint: rgb(255 255 255 / 0.08);
  --glass: rgb(255 255 255 / 0.035);
  --glass-edge: rgb(255 255 255 / 0.09);
  --pad: clamp(1rem, 4vw, 3rem);
  --radius: 28px;
  --accent: #d9c6a5; /* beige, for small details only */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fine film grain over every page, echoing the grain in the home photo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
ul, ol, dl, dd, p, h1, h2, h3 { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 999px;
}

/* Background photo, home page only: a warehouse store aisle seen down its centre line */

.backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #000;
}

.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  filter: brightness(0.82) contrast(1.05); /* keeps the photo's warm yellow cast */
}

/* Shade: dims the bright ceiling, darkens behind the text, and fades into the black page below */
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgb(0 0 0 / 0.5), transparent 22%),
    linear-gradient(to top, #000, transparent 25%),
    linear-gradient(to right, rgb(0 0 0 / 0.9) 10%, rgb(0 0 0 / 0.6) 42%, transparent 68%);
}

/* Glass top bar */

.nav {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}

/* Floating nav */

.nav {
  position: fixed;
  top: clamp(0.75rem, 2vw, 1.25rem);
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2 * var(--pad), 68rem);
  height: 3.5rem;
  padding: 0 0.5rem 0 1.4rem;
  border-radius: 999px;
  background: rgb(10 10 10 / 0.8);
  transform: translateX(-50%);
}


.logo {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--dim);
  font-size: 0.95rem;
  transition: color 0.25s, background-color 0.25s;
}
.nav-links a:hover {
  color: var(--fg);
  background: var(--faint);
}

/* Pills */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  padding-inline: 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.pill-light {
  background: var(--fg);
  color: var(--bg);
}
.pill-light:hover { background: rgb(255 255 255 / 0.86); }

.pill-ghost {
  border: 1px solid rgb(255 255 255 / 0.3);
  color: var(--fg);
}
.pill-ghost:hover {
  border-color: var(--accent);
  background: rgb(255 255 255 / 0.06);
}

.pill-sm {
  height: 2.5rem;
  padding-inline: 1.15rem;
  font-size: 0.95rem;
}

.pill-lg {
  height: auto;
  padding: 1rem 2rem;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Pager */

.pager {
  position: fixed;
  right: calc(var(--pad) * 0.6);
  top: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(-50%);
}
.pager a {
  display: grid;
  place-items: center;
  width: 24px;
  min-height: 18px;
}
.pager a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.3);
  transition: height 0.4s var(--ease), background-color 0.3s;
}
.pager a:hover::before { background: rgb(255 255 255 / 0.6); }
.pager a[aria-current="true"]::before {
  height: 20px;
  background: var(--accent);
}

/* Pages */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* content edges line up with the logo and Contact button inside the top bar */
  --edge: calc(max(var(--pad), (100% - 68rem) / 2) + 1.4rem);
  padding: 7rem var(--edge) 4rem;
  scroll-snap-align: start;
}

/* Rule with a short beige lead-in, used above columns */
.tile,
.steps li {
  padding-top: 1.25rem;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 2.5rem 1px no-repeat,
    linear-gradient(rgb(255 255 255 / 0.22), rgb(255 255 255 / 0.22)) top left / 100% 1px no-repeat;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 6vw, 5.75rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lede {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  max-width: 33rem;
  color: var(--dim);
  font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.25rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* Sources: heading on the left, the two lists on the right */

#sources {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-content: center;
  align-items: start;
  gap: 3rem clamp(2rem, 6vw, 6rem);
}

.panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
}

.panel-label {
  color: var(--accent);
  font-size: 0.95rem;
}

.list {
  margin-top: 0.75rem;
  list-style: none;
}
.list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.85rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  letter-spacing: -0.02em;
}
.list li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.14); }

/* Small neon marker, shared by the lists and facts */
.list li::before,
.facts li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Results: three plain columns */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 8vh, 5rem);
}

.tile dt {
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.tile dd {
  margin-top: 0.75rem;
  max-width: 24ch;
  color: var(--dim);
  font-size: 1.05rem;
}

/* How it works: a real sequence, so it is numbered */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 8vh, 5rem);
  list-style: none;
  counter-reset: step;
}

.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 1.25rem;
  color: var(--fg);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.steps p {
  margin-top: 0.75rem;
  max-width: 30ch;
  color: var(--dim);
  font-size: 1.05rem;
}
.steps .meta {
  margin-top: 1.25rem;
  color: var(--accent);
  font-size: 0.95rem;
}

.note {
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
  max-width: 44rem;
  color: var(--dim);
  font-size: 1rem;
}

/* Who it's for */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
  list-style: none;
  color: var(--fg);
  font-size: 1rem;
}
.facts li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 16px;
}
.facts li::before {
  width: 6px;
  height: 6px;
  transform: translateY(-2px);
}

/* Contact */

.page-last {
  justify-content: space-between;
  padding-bottom: var(--pad);
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  margin-block: auto;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  color: var(--dim);
  font-size: 0.85rem;
}
.footer a:hover { color: var(--fg); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

/* Legal pages: plain reading layout, no snapping */

html.doc { scroll-snap-type: none; }

.doc-main {
  max-width: 44rem;
  margin-inline: auto;
  padding: 9rem calc(var(--pad) + 1.15rem) 5rem;
}

.doc-main h1 {
  max-width: none;
  font-size: clamp(2.3rem, 5vw, 3.75rem);
}

.doc-main .updated {
  margin-top: 1rem;
  color: var(--dim);
}

.doc-main h2 {
  margin-top: 3rem;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.doc-main p,
.doc-main li {
  color: rgb(255 255 255 / 0.8);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.doc-main p { margin-top: 1rem; }

.doc-main ul {
  margin-top: 1rem;
  padding-left: 1.25rem;
}
.doc-main li + li { margin-top: 0.5rem; }

.doc-main a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-footer {
  max-width: 44rem;
  margin-inline: auto;
  padding: 2rem calc(var(--pad) + 1.15rem) var(--pad);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.nav-links a[aria-current="page"] { color: var(--fg); }

/* Demo booking line under the hero buttons */
.announce {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--dim);
  font-size: 0.95rem;
  line-height: 1.5;
}
.announce::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-1px);
}
.announce a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Not-facial-recognition notice */
.notice {
  margin-top: clamp(2rem, 5vh, 3rem);
  max-width: 48rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-left: 2px solid var(--accent);
  border-radius: 14px;
  color: var(--dim);
  font-size: 1rem;
  line-height: 1.6;
}
.notice strong { color: var(--fg); font-weight: 500; }

.contact .actions,
.contact .note { margin-top: 0; }

/* About and Products pages: scrolling pages aligned to the top bar */

.sub-main {
  --edge: calc(max(var(--pad), (100% - 68rem) / 2) + 1.4rem);
  padding: clamp(8rem, 18vh, 10rem) var(--edge) 5rem;
}

.sub-hero h1 { max-width: 18ch; font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
.sub-hero .lede + .lede { margin-top: 1rem; }
.sub-main { min-height: 78vh; }

.sub-section {
  margin-top: clamp(4.5rem, 12vh, 7rem);
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.sub-section > h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.sub-footer {
  max-width: none;
  padding-inline: calc(max(var(--pad), (100% - 68rem) / 2) + 1.4rem);
}

/* Plain running text on About */
.prose { margin-top: 1.5rem; max-width: 44rem; }
.prose p { margin-top: 1.25rem; color: rgb(255 255 255 / 0.85); font-size: 1.15rem; line-height: 1.7; }
.prose p:first-child { margin-top: 0; }
.prose a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* Founder letter */
.letter { margin: 2rem 0 0; max-width: 46rem; }
.letter p {
  margin-top: 1.25rem;
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.4rem);
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.letter p:first-child { margin-top: 0; }
.signature {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  color: var(--dim);
}
.signature span { display: block; color: var(--fg); font-size: 1.1rem; }

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 4vw, 3.5rem);
  margin-top: 2rem;
  list-style: none;
}
.products li {
  padding-top: 1.25rem;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 2.5rem 1px no-repeat,
    linear-gradient(rgb(255 255 255 / 0.22), rgb(255 255 255 / 0.22)) top left / 100% 1px no-repeat;
}
.products .code { color: var(--accent); font-size: 0.9rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.products h3 { margin-top: 0.5rem; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 400; letter-spacing: -0.03em; }
.products p:not(.code):not(.meta) { margin-top: 0.75rem; color: var(--dim); font-size: 1.05rem; line-height: 1.6; }
.products .meta { margin-top: 1.25rem; color: var(--accent); font-size: 0.95rem; }

/* Pricing */
.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 4vw, 3.5rem);
  margin-top: 2rem;
  max-width: 44rem;
}
.prices p:not(.price) { margin-top: 0.4rem; color: var(--dim); }
.price {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}
.price small { font-size: 0.4em; letter-spacing: 0; color: var(--dim); margin-left: 0.15em; }

.calc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 2rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  max-width: 52rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 20px;
}
.calc[hidden] { display: none; }
.calc label { color: var(--dim); }

.calc-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  color: var(--dim);
}
.field input {
  width: 5.5rem;
  border: 0;
  background: none;
  color: var(--fg);
  font: inherit;
  font-size: 1.1rem;
  text-align: right;
  -moz-appearance: textfield;
  appearance: textfield;
}
.field input::-webkit-outer-spin-button,
.field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field:focus-within { border-color: var(--fg); }
.field input:focus-visible { outline: none; }

.calc .calc-out {
  flex-basis: 100%;
  margin-left: 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 1.1rem;
}
.calc .calc-out strong { font-size: 1.5rem; letter-spacing: -0.02em; }

#pricing, #trial { scroll-margin-top: 6rem; }

.calc-note {
  flex-basis: 100%;
  color: var(--dim);
  font-size: 0.9rem;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
}
.stepper button {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--fg);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}
.stepper button:hover { background: var(--faint); }
.stepper input {
  width: 3.5rem;
  border: 0;
  background: none;
  color: var(--fg);
  font: inherit;
  font-size: 1.1rem;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: 0; }

.calc-out {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-left: auto;
  color: var(--dim);
}
.calc-out strong { color: var(--fg); font-weight: 500; font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Products page: quiet supporting lines */
.fine {
  margin-top: 1.75rem;
  max-width: 44rem;
  color: var(--dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.price-line {
  margin-top: 1.5rem;
  color: var(--dim);
  font-size: 1.15rem;
}
.price-line strong {
  color: var(--fg);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.035em;
}
.price-line .plus { margin-inline: 0.6rem; }
@media (max-width: 640px) {
  .price-line { display: flex; flex-direction: column; gap: 0.35rem; }
  .price-line .plus { display: none; }
}

.sub-section .calc { margin-top: 2rem; }

/* Trial */
.trial {
  margin-top: 2.5rem;
  color: var(--fg);
  font-size: 1.05rem;
}
.trial a { text-decoration: underline; text-underline-offset: 3px; }
.trial[hidden] { display: none; }

@media (max-width: 900px) {
  .products { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sub-main { --edge: calc(var(--pad) + 1.15rem); }
  .sub-footer { padding-inline: calc(var(--pad) + 1.15rem); }
  .calc-out { margin-left: 0; }
}

/* Motion, enabled by main.js */

/* Only the home page fades in, once, on load. Other pages are simply there. */
.js #home .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js #home.in-view .reveal { opacity: 1; transform: none; }

/* Responsive */

@media (max-width: 900px) {
  .tiles, .steps, .facts { grid-template-columns: 1fr; }
  .steps li::before { margin-bottom: 0.75rem; font-size: 2.5rem; }
  #sources { grid-template-columns: 1fr; align-content: center; }
}

.menu-btn { display: none; }

@media (max-width: 640px) {
  /* Natural scrolling on phones; only the home screen stays full height */
  html { scroll-snap-type: none; }
  .page {
    --edge: calc(var(--pad) + 1.15rem);
    min-height: 0;
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }
  #home {
    min-height: 100vh;
    min-height: 100svh;
    justify-content: flex-end;
    padding-bottom: 3rem;
  }
  .page + .page { border-top: 1px solid rgb(255 255 255 / 0.08); }
  .page-last { padding-bottom: 2rem; }
  .contact { margin-block: 0 4rem; }

  h1 { font-size: 2.35rem; }
  h2 { font-size: 2.1rem; }
  .lede { font-size: 1.05rem; }

  /* Top bar with menu */
  .nav {
    flex-wrap: wrap;
    height: auto;
    min-height: 3.5rem;
    padding: 0.5rem 0.5rem 0.5rem 1.15rem;
    gap: 0.5rem;
    border-radius: 28px;
    transition: border-radius 0.3s var(--ease);
  }
  .nav .logo { margin-right: auto; }
  .nav-links { display: none; }
  .menu-btn {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 0.2);
    border-radius: 999px;
    background: none;
    cursor: pointer;
  }
  .menu-btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--fg);
    transition: transform 0.3s var(--ease);
  }
  .nav.open { border-radius: 24px; }
  .nav.open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    order: 3;
    width: 100%;
    gap: 0;
    padding: 0.25rem 0.65rem 0.5rem 0;
  }
  .nav.open .nav-links a {
    padding: 0.9rem 0;
    border-top: 1px solid rgb(255 255 255 / 0.08);
    border-radius: 0;
    background: none;
    color: var(--fg);
    font-size: 1.15rem;
  }

  .pager { display: none; }

  /* Buttons fill the row, so wrapped buttons line up */
  .actions .pill { flex: 1 1 auto; }
  .pill-lg { padding: 0.95rem 1.5rem; font-size: 1.15rem; }

  .panels { grid-template-columns: 1fr; }
  .steps li::before { font-size: 2.25rem; margin-bottom: 0.5rem; }
  .facts li { padding: 0.8rem 1rem; }
  .notice { padding: 1rem 1.1rem; font-size: 0.95rem; }

  .prices { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .price { font-size: 2.3rem; }
  .calc { padding: 1.25rem; gap: 1rem; }
  .calc-row { width: 100%; justify-content: space-between; }

  .footer-links { gap: 0.25rem 1.25rem; }
  .footer-links a { padding-block: 0.4rem; }

  .backdrop img { filter: brightness(0.55); }
  .backdrop::after {
    background:
      linear-gradient(to bottom, rgb(0 0 0 / 0.55), transparent 25%),
      linear-gradient(to top, #000 8%, rgb(0 0 0 / 0.75) 45%, rgb(0 0 0 / 0.2) 75%);
  }
}

@media (max-height: 640px) {
  html { scroll-snap-type: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transition: none; opacity: 1; transform: none; }
}

.sub-section-plain { border-top: 0; padding-top: 0; }
