/*
 * Panomode marketing site
 * Direction: "survey sheet" (precise, open-air, survey instrument). Tokens are documented in
 * website/DESIGN.md; keep the two in step.
 *
 * Archivo (variable, wght 100-900, wdth 62-125): Copyright 2020 The Archivo Project Authors
 * (https://github.com/Omnibus-Type/Archivo), SIL Open Font License 1.1 (https://openfontlicense.org).
 */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-wdth-wght.woff2') format('woff2-variations'),
    url('../fonts/archivo-latin-wdth-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback so text does not jump when Archivo arrives. */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 98.4%;
  ascent-override: 89.2%;
  descent-override: 21.3%;
  line-gap-override: 0%;
}

:root {
  /* Colour primitives (OKLCH source values in DESIGN.md) */
  --bg: #f3f7fa;
  --bg-sunk: #e7eef3;
  --line: #c9d3d9;
  --line-strong: #5d6b77;
  --ink: #0f202e;
  --ink-2: #42525f;
  --ink-3: #5d6b77;
  --signal: #f87025;
  --signal-hover: #ec6011;
  --signal-deep: #b4410d;
  --signal-tint: #ffe1d1;
  --sky: #4f9cf9;
  --sky-deep: #2063b0;
  --landmark: #ffd23f;
  --viewer: #0b0d10;
  --viewer-panel: rgba(12, 14, 18, 0.72);
  --placeholder: #ffe07a;

  /* Semantic */
  --text: var(--ink);
  --text-body: var(--ink-2);
  --text-muted: var(--ink-3);
  --focus: var(--ink);
  --link: var(--ink);
  --link-underline: var(--signal);

  /* Type */
  --font: 'Archivo', 'Archivo Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-code: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;
  --font-viewer: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wd-display: 116%;
  --wd-label: 84%;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.32rem + 0.75vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.4rem + 2vw, 2.875rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);

  /* Space (4pt) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --wrap: 76rem;

  /* Shape and depth */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --shadow-screen: 0 1px 0 rgba(15, 32, 46, 0.04), 0 28px 56px -24px rgba(15, 32, 46, 0.45),
    0 10px 20px -12px rgba(15, 32, 46, 0.25);
  --shadow-card: 0 1px 2px rgba(15, 32, 46, 0.06), 0 8px 24px -12px rgba(15, 32, 46, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur: 240ms;

  /* Layers */
  --z-sticky: 20;
  --z-menu: 30;
  --z-skip: 40;

  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  font-stretch: var(--wd-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-2);
  letter-spacing: -0.015em;
}
h4 {
  font-size: var(--step-1);
  font-stretch: 108%;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
p {
  margin: 0;
  text-wrap: pretty;
}
p + p {
  margin-top: var(--sp-4);
}
ul,
ol {
  margin: 0;
  padding: 0;
}
a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
a:hover {
  text-decoration-color: currentColor;
}
strong {
  color: var(--text);
  font-weight: 650;
}
code {
  font-family: var(--font-code);
  font-size: 0.9em;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: var(--signal-tint);
  color: var(--ink);
}
.visually-hidden {
  position: absolute !important;
  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(--sp-4);
  top: var(--sp-3);
  z-index: var(--z-skip);
  padding: var(--sp-3) var(--sp-4);
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-md);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus-visible {
  transform: none;
  outline-color: var(--signal);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-body);
  max-width: 38ch;
}
.measure {
  max-width: 62ch;
}
.label {
  font-size: 0.8125rem;
  font-stretch: var(--wd-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.num {
  font-variant-numeric: tabular-nums;
}

/* Placeholder for facts we do not have yet: deliberately loud. */
.placeholder {
  background: var(--placeholder);
  color: var(--ink);
  padding: 0.05em 0.3em;
  border-radius: 3px;
  outline: 1px dashed #8a6a00;
  outline-offset: -1px;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--signal);
  --btn-bg-hover: var(--signal-hover);
  --btn-fg: var(--ink);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0.75rem 1.375rem;
  border: 2px solid var(--btn-border);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 104%;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:hover {
  background: var(--btn-bg-hover);
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover svg.arrow {
  transform: translateX(3px);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(15, 32, 46, 0.06);
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
}
.btn--ink {
  --btn-bg: var(--ink);
  --btn-bg-hover: #23384a;
  --btn-fg: var(--bg);
}
.btn--sm {
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}
.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 4.25rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 760;
  font-stretch: 122%;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark svg {
  width: 1.5em;
  height: 1.5em;
  flex: none;
}
.wordmark:hover {
  color: var(--ink);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-left: auto;
}
.site-nav__links {
  display: flex;
  gap: var(--sp-1);
  list-style: none;
}
.site-nav__links a,
.site-nav__signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--sp-3);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 0.9688rem;
  font-weight: 550;
  text-decoration: none;
}
.site-nav__links a:hover,
.site-nav__signin:hover {
  background: rgba(15, 32, 46, 0.06);
}
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--sp-3);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.menu-toggle svg {
  width: 18px;
  height: 18px;
}
.menu-toggle .icon-close {
  display: none;
}
.menu-toggle[aria-expanded='true'] .icon-open {
  display: none;
}
.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}
.header-cta-mobile {
  display: none;
}

@media (max-width: 63.99rem) {
  .js .menu-toggle {
    display: inline-flex;
  }
  .site-header__bar {
    flex-wrap: wrap;
    gap: var(--sp-3);
  }
  .js .header-cta-mobile {
    display: inline-flex;
    margin-left: auto;
  }
  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
    margin-left: 0;
    padding-bottom: var(--sp-4);
  }
  .site-nav__links {
    flex-wrap: wrap;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.is-open {
    display: flex;
    padding: var(--sp-2) 0 var(--sp-5);
    border-top: 1px solid var(--line);
  }
  .js .site-nav.is-open .site-nav__links {
    flex-direction: column;
  }
  .js .site-nav.is-open .site-nav__links a {
    min-height: 48px;
    padding-inline: var(--sp-2);
    font-size: 1.0625rem;
  }
  .site-nav__actions {
    flex-wrap: wrap;
  }
  /* The header already shows Start free (or Open app) next to the menu button. */
  .js .site-nav .site-nav__actions .btn {
    display: none;
  }
  .js .site-nav.is-open .site-nav__signin {
    min-height: 48px;
    padding-inline: var(--sp-2);
    font-size: 1.0625rem;
  }
}

/* Phones: keep wordmark, Start free and the menu button on one row.
   The "Menu" word stays as the button's accessible name. */
@media (max-width: 29.99rem) {
  .site-header__bar {
    gap: var(--sp-2);
  }
  .wordmark {
    font-size: 1.25rem;
  }
  .menu-toggle {
    width: 44px;
    padding: 0;
  }
  .menu-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section);
}
.section--sunk {
  background: var(--bg-sunk);
}
.section-head {
  display: grid;
  gap: var(--sp-4);
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.section-head p {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 44ch;
}
.section-head--split {
  max-width: none;
}
@media (min-width: 64rem) {
  .section-head--split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: var(--sp-7);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(2rem, 1rem + 4vw, 5rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  isolation: isolate;
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  align-items: center;
}
.hero__copy {
  display: grid;
  gap: var(--sp-5);
  justify-items: start;
}
.hero__copy h1 {
  max-width: 16ch;
  font-stretch: 110%;
}
.hero .neatline {
  margin-bottom: 1.75rem;
}
.hero__copy .lead {
  max-width: 34rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}
.hero__note {
  font-size: var(--step--1);
  color: var(--text-muted);
  max-width: 34rem;
}
.hero__note strong {
  color: var(--ink-2);
}
@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
    gap: var(--sp-7);
  }
}

/* Neatline: the hairline frame with graticule ticks drawn around the viewer, like a map sheet. */
.neatline {
  position: relative;
  margin: 0;
  padding: 14px;
}
.neatline::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  background: linear-gradient(90deg, var(--line-strong) 1px, transparent 1px) 0 0 / 40px 6px repeat-x,
    linear-gradient(90deg, var(--line-strong) 1px, transparent 1px) 0 100% / 40px 6px repeat-x,
    linear-gradient(var(--line-strong) 1px, transparent 1px) 0 0 / 6px 40px repeat-y,
    linear-gradient(var(--line-strong) 1px, transparent 1px) 100% 0 / 6px 40px repeat-y;
  opacity: 0.6;
  pointer-events: none;
}
.neatline__north {
  position: absolute;
  top: -11px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  font-stretch: var(--wd-label);
}
.neatline figcaption {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 14px;
  max-width: calc(100% - 28px);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---------- Hero demo: a still of the live demo tour, swapped for the tour itself on request ---------- */
.viewer {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: var(--viewer);
  box-shadow: var(--shadow-screen);
  font-family: var(--font-viewer);
}
@media (min-width: 40rem) {
  .viewer {
    aspect-ratio: 3 / 2;
  }
}
.viewer__poster,
.viewer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.viewer__poster {
  object-fit: cover;
}
/* The whole still is the link; the pill says what it does. It sits between the scene links and
   the info point in the wide still, and in the sky in the tall one. */
.viewer__open {
  position: absolute;
  inset: 0;
  color: #fff;
  text-decoration: none;
}
.viewer__pill {
  position: absolute;
  left: 50%;
  top: 42%;
  translate: -50% -50%;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem 0.75rem 0.85rem;
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.viewer__pill svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 39.99rem) {
  .viewer__pill {
    top: 20%;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem 0.55rem 0.65rem;
    font-size: 0.9375rem;
  }
  .viewer__pill svg {
    width: 1.45rem;
    height: 1.45rem;
  }
}
.viewer__open:hover .viewer__pill {
  background: rgba(12, 14, 18, 0.94);
}
.viewer__open:focus-visible {
  outline: none;
}
.viewer__open:focus-visible .viewer__pill {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px rgba(12, 14, 18, 0.75), 0 10px 30px rgba(0, 0, 0, 0.35);
}
@media (prefers-reduced-motion: no-preference) {
  .viewer__open:hover .viewer__pill {
    transform: scale(1.04);
  }
}
/* While the tour loads, the still stays in place; it goes once the first scene is on screen. */
.viewer.is-loading .viewer__open {
  cursor: progress;
}
.viewer iframe {
  opacity: 0;
}
.viewer.is-live iframe {
  opacity: 1;
}
.viewer.is-live .viewer__poster,
.viewer.is-live .viewer__open {
  display: none;
}

/* "Works with" legend under the hero */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-2);
}
.legend dt {
  flex-basis: 100%;
  color: var(--ink);
}
.legend dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-4);
}
.legend dd span::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: var(--sp-2);
  border-radius: 50%;
  background: var(--signal);
  vertical-align: middle;
}
@media (min-width: 48rem) {
  .legend {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: var(--sp-3) var(--sp-6);
    align-items: baseline;
  }
  .legend dt {
    flex-basis: auto;
  }
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: var(--sp-7);
  list-style: none;
  counter-reset: step;
}
.step {
  display: grid;
  gap: var(--sp-4);
  align-content: start;
}
.step__fig {
  aspect-ratio: 16 / 10;
  margin: 0 0 var(--sp-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
}
.step__fig svg {
  width: 100%;
  height: 100%;
}
.step__head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
}
.step__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 100%;
  line-height: 1;
  transform: translateY(-0.15em);
}
.step p {
  max-width: 40ch;
}
@media (min-width: 56rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-6);
  }
}

/* Step 3: a small real-looking share control (decorative) */
.mini-share {
  display: grid;
  align-content: center;
  gap: 12px;
  height: 100%;
  padding: 7%;
  font-size: clamp(0.6875rem, 0.55rem + 0.6vw, 0.875rem);
  color: var(--ink);
}
.mini-share__seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.mini-share__seg span {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 7px;
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
}
.mini-share__seg svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mini-share__seg .is-on {
  background: var(--ink);
  color: var(--bg);
}
.mini-share__row {
  display: flex;
  gap: 8px;
}
.mini-share__row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
}
.mini-share__row svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mini-share__url {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg-sunk);
  font-family: var(--font-code);
  font-size: 0.92em;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
}

/* Bearing lines draw in as they scroll into view (static where unsupported). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .draw-in path,
    .draw-in line {
      stroke-dasharray: 1;
      stroke-dashoffset: 0;
      animation: draw 1s linear both;
      animation-timeline: view();
      animation-range: entry 20% cover 45%;
    }
  }
}
@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- Feature splits ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}
.split + .split {
  margin-top: clamp(4rem, 3rem + 4vw, 7rem);
}
.split__copy {
  display: grid;
  gap: var(--sp-5);
  align-content: start;
}
.split__copy > p {
  max-width: 46ch;
}
.split__fig {
  margin: 0;
}
@media (min-width: 64rem) {
  .split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .split--rev {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .split--phone {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}
.figure-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.figure-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.fig-caption {
  margin-top: var(--sp-3);
  font-size: var(--step--1);
  color: var(--text-muted);
}

/* Feature definition lists: label + plain description, separated by hairlines. */
.facts {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}
.facts > div {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  color: var(--ink);
  font-weight: 650;
  font-size: 1.0625rem;
  line-height: 1.35;
}
.facts dd {
  margin: 0;
  max-width: 52ch;
}
.facts--2 {
  border-top: 0;
}
@media (min-width: 48rem) {
  .facts--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--sp-6);
  }
  .facts--2 > div:nth-child(-n + 2) {
    border-top: 1px solid var(--line);
  }
}
.facts dt .ico {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: -8px;
  border-radius: 50%;
  background: var(--viewer);
}
.facts dt .ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.software {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
}
.software li {
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  font-stretch: 96%;
}

/* Viewer section: a phone frame around a screenshot of the demo tour */
.phone {
  position: relative;
  width: min(300px, 78%);
  margin-inline: auto;
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 38px;
  background: #11161b;
  box-shadow: var(--shadow-screen), inset 0 0 0 2px #2a3138;
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 29px;
  background: var(--viewer);
}
.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Sharing ---------- */
.visibility {
  display: grid;
  gap: var(--sp-3);
  margin: 0 0 clamp(3rem, 2rem + 3vw, 5rem);
  padding: 0;
  list-style: none;
}
.visibility li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-1) var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.visibility .vis-ico {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
}
.visibility .vis-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--bg);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visibility h3 {
  font-size: var(--step-1);
  font-stretch: 108%;
  align-self: center;
}
.visibility p {
  grid-column: 2;
}
@media (min-width: 56rem) {
  .visibility {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg);
    overflow: hidden;
  }
  .visibility li {
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .visibility li + li {
    border-left: 1px solid var(--line);
  }
}

.share-grid {
  display: grid;
  gap: clamp(3rem, 2rem + 3vw, 5rem);
}
@media (min-width: 64rem) {
  .share-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--sp-8);
  }
}
.share-block {
  display: grid;
  gap: var(--sp-5);
  align-content: start;
}
.share-block > p {
  max-width: 50ch;
}

/* Client portal mock */
.portal {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  font-size: 0.875rem;
  color: var(--ink);
}
.portal__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--ink);
  color: var(--bg);
}
.portal__logos {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 700;
  font-stretch: 112%;
}
.portal__logos span + span {
  padding-left: var(--sp-3);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.portal__body {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-4);
}
.portal__tour {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--sp-3);
  align-items: center;
}
.portal__tour i {
  display: block;
  height: 48px;
  border-radius: 6px;
  background: url('../img/site-pano.svg') 60% 62% / 280% auto no-repeat;
}
.portal__tour:nth-child(2) i {
  background-position: 20% 70%;
}
.portal__tour b {
  display: block;
  font-weight: 650;
}
.portal__tour small {
  color: var(--ink-3);
  font-size: 0.8125rem;
}
.logo-std {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-4);
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.logo-std figure {
  display: grid;
  gap: var(--sp-2);
  justify-items: center;
  margin: 0;
  text-align: center;
}
.logo-std .tile {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 132px;
  height: 56px;
  border-radius: 8px;
}
.logo-std .tile--raw {
  background: #fff;
  border: 1px solid var(--line);
}
.logo-std .tile--clean {
  background: var(--ink);
}
.logo-std svg.arrow {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 2;
}

/* Activity log */
.activity {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  font-size: 0.875rem;
}
.activity__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-1) var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.activity__row:last-child {
  border-bottom: 0;
}
.activity__row small {
  color: var(--ink-3);
  font-size: 0.8125rem;
}
.activity__row time {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Code */
.code {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #e4ecf2;
  box-shadow: var(--shadow-card);
}
.code__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: #b9c7d2;
}
.code pre {
  margin: 0;
  padding: var(--sp-4);
  overflow-x: auto;
  font-family: var(--font-code);
  font-size: 0.8125rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.code pre:focus-visible {
  outline-color: var(--signal);
  outline-offset: -3px;
}
.code .k {
  color: #ffb489;
}
.code .s {
  color: #a9d3ff;
}
.code .c {
  color: #9fb0bd;
}

.mini-list {
  display: grid;
  gap: var(--sp-3);
  list-style: none;
}
.mini-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--sp-3);
  align-items: start;
}
.mini-list svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  fill: none;
  stroke: var(--signal-deep);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Pricing ---------- */
.billing {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto;
  margin: 0 0 var(--sp-6);
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
}
.billing legend {
  float: left;
  width: 100%;
  margin-bottom: var(--sp-2);
  padding: 0;
}
.billing-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-6);
}
.billing-wrap .billing {
  margin: 0;
}
.billing input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.billing label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: 0 1.125rem;
  border-radius: 9px;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.billing label:hover {
  background: var(--bg-sunk);
}
.billing input:checked + label {
  background: var(--ink);
  color: var(--bg);
}
.billing input:focus-visible + label {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.billing .save {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--signal-tint);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}
.billing-note {
  font-size: var(--step--1);
  color: var(--ink-2);
}

.plans {
  display: grid;
  gap: var(--sp-5);
  align-items: stretch;
}
@media (min-width: 60rem) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-4);
  }
}
.plan {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: var(--sp-5);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
.plan--trial {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-card);
}
.plan__flag {
  position: absolute;
  top: -0.85rem;
  left: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-sm);
  background: var(--signal);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  font-stretch: 96%;
}
.plan__head {
  display: grid;
  gap: var(--sp-2);
}
.plan__head h3 {
  font-size: var(--step-2);
}
.plan__head p {
  font-size: 0.9688rem;
  color: var(--ink-2);
  min-height: 3em;
}
.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 var(--sp-2);
  color: var(--ink);
  min-height: 4.5rem;
}
.plan__amount {
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.25rem);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__amount sup {
  font-size: 0.5em;
  vertical-align: 0.65em;
  margin-right: 0.04em;
  letter-spacing: 0;
}
.plan__per {
  color: var(--ink-2);
  font-size: 0.9688rem;
}
.plan__sub {
  flex-basis: 100%;
  margin-top: var(--sp-2);
  color: var(--ink-3);
  font-size: 0.875rem;
}
.plan__note {
  margin-top: calc(var(--sp-2) * -1);
  color: var(--ink-3);
  font-size: 0.875rem;
}
.plan__list {
  display: grid;
  gap: var(--sp-3);
  align-content: start;
  list-style: none;
  font-size: 0.9688rem;
}
.plan__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--sp-3);
}
.plan__list svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.plan__list .minus svg {
  stroke: var(--ink-3);
}
.plan__list .minus {
  color: var(--ink-3);
}

/* Interval switching: CSS-only through :has(), so it also works without JavaScript. */
.pricing .when-year {
  display: none;
}
.pricing:has(#billing-year:checked) .when-year {
  display: revert;
}
.pricing:has(#billing-year:checked) .when-month {
  display: none;
}
.pricing .plan__price.when-year {
  display: none;
}
.pricing:has(#billing-year:checked) .plan__price.when-year {
  display: flex;
}
.pricing .btn.when-year {
  display: none;
}
.pricing:has(#billing-year:checked) .btn.when-year {
  display: inline-flex;
}

/* Fallback for browsers without :has(): site.js mirrors the choice as .is-year */
.pricing.is-year .when-month {
  display: none !important;
}
.pricing.is-year .plan__price.when-year {
  display: flex;
}
.pricing.is-year .btn.when-year {
  display: inline-flex;
}

/* Comparison table */
.compare {
  margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
}
.compare h3 {
  margin-bottom: var(--sp-5);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  table-layout: fixed;
}
.compare caption {
  text-align: left;
}
.compare th,
.compare td {
  padding: 0.875rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.compare thead th {
  position: sticky;
  top: 4.25rem;
  background: var(--bg-sunk);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 108%;
  border-bottom: 2px solid var(--ink);
}
.compare tbody th {
  text-align: left;
  color: var(--ink);
  font-weight: 550;
  padding-left: 0;
}
.compare td {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.compare col.feature {
  width: 40%;
}
.compare .yes svg,
.compare .no svg {
  width: 20px;
  height: 20px;
  margin-inline: auto;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compare .yes svg {
  stroke: var(--ink);
}
.compare .no svg {
  stroke: var(--ink-3);
}
.compare .group th {
  padding-top: var(--sp-6);
  border-bottom-color: var(--line-strong);
  font-size: 0.8125rem;
  font-weight: 700;
  font-stretch: var(--wd-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
@media (max-width: 40rem) {
  .compare table {
    font-size: 0.875rem;
  }
  .compare col.feature {
    width: 37%;
  }
  .compare th,
  .compare td {
    padding: 0.75rem 0.25rem;
  }
  .compare thead th {
    font-size: 0.9375rem;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 64rem) {
  .faq {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: var(--sp-8);
  }
  .faq .section-head {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}
.faq__list {
  border-top: 1px solid var(--line-strong);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 3.5rem;
  padding: var(--sp-4) 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 650;
  font-stretch: 104%;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--signal-deep);
}
.faq summary svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: transform var(--dur) var(--ease-out);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 0 var(--sp-5);
  max-width: 62ch;
}

/* ---------- Final call to action (drenched in signal orange) ---------- */
.final {
  position: relative;
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
  background: var(--signal);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.final .wrap {
  display: grid;
  gap: var(--sp-5);
  justify-items: start;
}
.final h2 {
  max-width: 16ch;
  font-size: clamp(2.125rem, 1.4rem + 3vw, 4rem);
}
.final p {
  color: var(--ink);
  font-size: var(--step-1);
  max-width: 40ch;
}
.final .btn--ink:focus-visible {
  outline-color: var(--ink);
}
.final a:not(.btn) {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: var(--sp-8) var(--sp-6);
  background: var(--ink);
  color: #c4d0d9;
  font-size: 0.9375rem;
  --focus: var(--signal);
}
.site-footer a {
  color: #eef3f6;
  text-decoration-color: rgba(248, 112, 37, 0.8);
}
.site-footer a:hover {
  text-decoration-color: currentColor;
}
.site-footer .wordmark {
  color: var(--bg);
  text-decoration: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6) var(--sp-5);
}
.footer-grid > :first-child {
  grid-column: 1 / -1;
}
@media (min-width: 56rem) {
  .footer-grid > :first-child {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  }
}
.footer-grid p {
  max-width: 34ch;
  margin-top: var(--sp-4);
}
.footer-grid h2 {
  margin-bottom: var(--sp-3);
  color: #eef3f6;
  font-size: 0.8125rem;
  font-stretch: var(--wd-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-grid ul {
  display: grid;
  gap: var(--sp-1);
  list-style: none;
}
.footer-grid li a {
  display: inline-block;
  padding-block: 0.4rem;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.875rem;
}
.site-footer .placeholder {
  color: var(--ink);
}

/* ---------- Legal pages ---------- */
.draft-banner {
  background: var(--placeholder);
  color: var(--ink);
  border-bottom: 1px solid #c9a300;
}
.draft-banner .wrap {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding-block: var(--sp-4);
}
.draft-banner svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.draft-banner p {
  max-width: 80ch;
}
.legal {
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--section);
}
.legal__grid {
  display: grid;
  gap: var(--sp-7);
}
@media (min-width: 64rem) {
  .legal__grid {
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: var(--sp-6) var(--sp-8);
  }
  .legal__head {
    grid-column: 2;
    grid-row: 1;
  }
  .legal__toc {
    position: sticky;
    top: 6.5rem;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
  }
  .legal__grid > .prose {
    grid-column: 2;
    grid-row: 2;
  }
}
.legal__head {
  display: grid;
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line-strong);
}
.legal__head h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
}
.legal__meta {
  color: var(--ink-2);
  font-size: var(--step--1);
}
.legal__toc h2 {
  margin-bottom: var(--sp-3);
  font-size: 0.8125rem;
  font-stretch: var(--wd-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.legal__toc ol {
  display: grid;
  gap: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}
.legal__toc a {
  display: block;
  padding: 0.4rem 0 0.4rem var(--sp-4);
  color: var(--ink-2);
  font-size: 0.9375rem;
  text-decoration: none;
}
.legal__toc a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--signal);
}
.prose {
  max-width: 68ch;
}
.prose h2 {
  margin: var(--sp-7) 0 var(--sp-4);
  font-size: var(--step-2);
  scroll-margin-top: 6rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: var(--sp-6) 0 var(--sp-3);
  font-size: var(--step-1);
  font-stretch: 106%;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 var(--sp-4);
}
.prose p + p {
  margin-top: 0;
}
.prose ul,
.prose ol {
  padding-left: 1.25rem;
}
.prose li {
  margin-bottom: var(--sp-2);
  padding-left: var(--sp-1);
}
.prose li::marker {
  color: var(--signal-deep);
}
.prose code {
  padding: 0.1em 0.35em;
  border-radius: var(--r-sm);
  background: var(--bg-sunk);
  color: var(--ink);
}
.prose table {
  width: 100%;
  margin: 0 0 var(--sp-5);
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.prose th,
.prose td {
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  color: var(--ink);
  font-weight: 650;
}
.prose thead th {
  border-bottom: 2px solid var(--ink);
}
@media (max-width: 40rem) {
  .prose table,
  .prose thead,
  .prose tbody,
  .prose tr,
  .prose th,
  .prose td {
    display: block;
  }
  .prose thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .prose tr {
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--line);
  }
  .prose td,
  .prose tbody th {
    padding: var(--sp-1) 0;
    border: 0;
  }
  .prose td::before {
    content: attr(data-label) ': ';
    color: var(--ink);
    font-weight: 650;
  }
}

/* ---------- 404 ---------- */
.lost {
  padding-block: clamp(3rem, 2rem + 5vw, 7rem) var(--section);
}
.lost__grid {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 56rem) {
  .lost__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
}
.lost__copy {
  display: grid;
  gap: var(--sp-5);
  justify-items: start;
}
.lost__copy h1 {
  max-width: 12ch;
}
.lost__links {
  display: grid;
  gap: var(--sp-2);
  list-style: none;
}
.lost__map {
  margin: 0;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Forced colours (Windows high contrast) ---------- */
@media (forced-colors: active) {
  .btn,
  .billing,
  .menu-toggle {
    border: 2px solid ButtonText;
  }
  .placeholder {
    outline: 2px solid Mark;
  }
}
