/* PaiScan (Property AI Scan) landing site. One stylesheet, mobile first, no JavaScript.
   Brand tokens: design/paiscan-brand-kit. Design direction: apps/landing/brief.md, section 13. */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/sora-latin-wght.woff2") format("woff2");
  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;
}

:root {
  --midnight: #12103a;
  --indigo: #2b2494;
  --beam: #ff5b2e;
  --beam-hover: #ff6b43;
  --beam-active: #ec552f;
  --ice: #d5d8ff;
  --white: #ffffff;
  --mist: #eef0ff;
  --hairline-on-light: rgba(18, 16, 58, 0.12);
  --hairline-on-dark: rgba(213, 216, 255, 0.35);

  --font-heading: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --text-h1: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  --text-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --text-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.375rem);
  --text-lead: clamp(1.25rem, 1.2rem + 0.25vw, 1.375rem);
  --text-body: 1.0625rem;
  --text-small: 0.9375rem;
  --text-price: clamp(3rem, 2rem + 4vw, 5rem);

  --gutter: 16px;
  --gap: 24px;
  --container: 1200px;
  --section-y: clamp(4rem, 3rem + 4vw, 6rem);
  --header-h: 56px;
  --radius-card: 20px;
  --radius-button: 14px;
  --beam-h: 4px;
  --hero-overhang: 96px;

  --focus: var(--indigo);
  --link: var(--indigo);
  --shadow-device: 0 24px 48px rgba(18, 16, 58, 0.22);
  --shadow-paper: 0 12px 32px rgba(18, 16, 58, 0.12);
}

@media (min-width: 600px) {
  :root {
    --gutter: 24px;
    --beam-h: 6px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
    --header-h: 64px;
  }
}

/* ---------------------------------------------------------------- Base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--midnight);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--midnight);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
}

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--ice);
  color: var(--midnight);
}

code,
.file {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

strong {
  font-weight: 650;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--midnight);
  font: 600 1rem/1.2 var(--font-heading);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* The ring sits on the Midnight header: Ice, as on every dark background. */
.skip-link:focus-visible {
  outline-color: var(--ice);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* Single-column grids get a track that never grows past its container: an implicit "auto" track
   would grow to the min-content width of a long word or an image and scroll the page sideways. */
.hero-grid,
.hero-copy,
.lidar-grid,
.lidar-lists,
.moments,
.outputs-list,
.output,
.output-copy,
.stage,
.steps,
.step,
.measures-grid,
.measures-copy,
.sheet-figure,
.privacy-grid,
.privacy-list,
.faq-list,
.waiting-grid,
.waiting-copy,
.sketch-figure,
.split,
.split-copy,
.split-visual,
.side-by-side,
.draft-row,
.footer-grid,
.footer-brand,
.footer-store,
.footer-legal,
.pricing-inner,
.closing-inner,
.downloads,
.files,
.files-row,
.section-head,
.link-list,
.title-band .container {
  grid-template-columns: minmax(0, 1fr);
}

.section {
  padding-block: var(--section-y);
}

/* A section that follows another on the same background: a hairline instead of double padding. */
.section-follow {
  padding-top: 0;
}

.section-follow > .container {
  position: relative;
  padding-top: var(--section-y);
}

.section-follow > .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--gutter), env(safe-area-inset-left));
  right: max(var(--gutter), env(safe-area-inset-right));
  border-top: 1px solid var(--hairline-on-light);
}

.on-dark {
  --focus: var(--ice);
  --link: var(--ice);
  background: var(--midnight);
  color: var(--ice);
}

.on-dark h1,
.on-dark h2,
.on-dark h3 {
  color: var(--white);
}

.bg-ice {
  background: var(--ice);
}

.bg-mist {
  background: var(--mist);
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 46rem;
  margin-bottom: 40px;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.lead {
  font-family: var(--font-heading);
  font-size: var(--text-lead);
  font-weight: 600;
  line-height: 1.4;
}

.small {
  font-size: var(--text-small);
  line-height: 1.5;
}

.stack > * + * {
  margin-top: 16px;
}

.stack-lg > * + * {
  margin-top: 24px;
}

/* Running text: at most 65 characters a line (brief 13.1). In the system font of the body, a line
   of 27em holds at most about 65 characters, at any text size (measured with Chrome at 768 and
   1440 px). Headings and lists of short items keep the width of their column. */
.measure,
.prose,
.section-head p,
.title-band p,
.lidar-grid > p,
.faq-answer,
.output-copy p,
.step p,
.steps-note,
.outputs-note,
.measures-copy p,
.privacy-list span,
.privacy-note,
.waiting-copy p,
.closing-inner p,
.split-copy p,
.draft-row p,
.footer-legal p {
  max-width: 27em;
}

.link-list {
  display: grid;
  justify-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-button);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.button:hover {
  text-decoration: none;
}

/* The one primary action in view, in Beam (the brand kit keeps Beam for the beam, the "ai" of the
   logo and primary actions): until launch day the hero's sample button, from launch day the App
   Store buttons. */
.button-primary,
.button-store {
  background: var(--beam);
  border-color: var(--beam);
  color: var(--midnight);
}

.button-primary:hover,
.button-store:hover {
  background: var(--beam-hover);
  border-color: var(--beam-hover);
}

.button-primary:active,
.button-store:active {
  background: var(--beam-active);
  border-color: var(--beam-active);
}

.button-secondary {
  background: transparent;
  border-color: var(--midnight);
  color: var(--midnight);
}

.button-secondary:hover {
  background: var(--mist);
}

.on-dark .button-secondary {
  border-color: var(--ice);
  color: var(--ice);
}

.on-dark .button-secondary:hover {
  background: rgba(213, 216, 255, 0.12);
}

/* A compact label may wrap: with larger text spacing (WCAG 1.4.12) it must not run out of its
   column. Only the header button keeps one line (.header-store). */
.button-compact {
  min-height: 44px;
  padding: 6px 16px;
  font-size: 0.9375rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 1024px) {
  .button {
    min-height: 52px;
  }

  .button-compact {
    min-height: 44px;
  }
}

@media (max-width: 359px) {
  .button {
    padding: 0 14px;
    font-size: 0.9375rem;
  }
}

/* "Coming soon on the App Store": until launch day it stands where each store link will be, with
   no link and no badge (brief 4.5, stage 1). It is a status line with a clock, not a button: no
   outline, no fill and no button radius; its text is smaller than any button's (0.875rem against
   1rem) and never brighter than an action (Ice on dark, Midnight on light). The text is wrapped in
   a span, so it can wrap beside the icon. */
.store-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  max-width: 100%;
  color: var(--ice);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

.store-soon .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.1;
  color: var(--ice);
}

/* In the centred price section and closing bands, centred. */
.pricing .store-soon,
.closing .store-soon {
  justify-self: center;
}

/* On a light band: Midnight text and an Indigo clock. */
.store-soon-on-light {
  color: var(--midnight);
}

.store-soon-on-light .icon {
  color: var(--indigo);
}

/* The header: a span, plain text, two short lines on a phone and one line from 1024 px; no icon.
   From 768 px a hairline sets it apart from the links. */
.store-soon-header {
  justify-self: auto;
  max-width: 10.5em;
  font-size: 0.8125rem;
  line-height: 1.25;
  text-align: right;
}

@media (min-width: 768px) {
  .store-soon-header {
    padding-left: 12px;
    border-left: 1px solid var(--hairline-on-dark);
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .store-soon-header {
    max-width: none;
    font-size: 0.875rem;
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------------- Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--midnight);
  color: var(--white);
  border-bottom: 1px solid rgba(213, 216, 255, 0.1);
}

/* At least the header height, and taller when larger text spacing (WCAG 1.4.12) wraps the store
   line onto a third line, so that nothing is cut off. */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: -4px;
  padding: 0 4px;
  border-radius: 8px;
}

.site-logo img {
  width: auto;
  height: 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--ice);
}

.header-store {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .site-nav {
    display: block;
  }

  .header-actions {
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .site-logo img {
    height: 32px;
  }

  .site-nav ul {
    gap: 8px;
  }
}

/* ---------------------------------------------------------------- The beam
   One per page, at the bottom edge of the opening Midnight band: a Beam bar with round ends,
   centred on the boundary, from gutter to gutter. */

.beam-band {
  position: relative;
  z-index: 1;
}

.beam-band::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  right: max(var(--gutter), calc((100% - var(--container)) / 2));
  bottom: calc(var(--beam-h) / -2);
  height: var(--beam-h);
  border-radius: 999px;
  background: var(--beam);
  transform-origin: left center;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .hero::after {
    animation: beam-draw 700ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
  }
}

@keyframes beam-draw {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* ---------------------------------------------------------------- Device frame and paper
   A generic CSS frame: a rounded rectangle, no notch, no buttons, no camera. */

.device {
  --device-w: 240px;
  --bezel: calc(var(--device-w) * 0.035);
  --screen-r: calc((var(--device-w) - 2 * var(--bezel)) * 0.11);
  width: var(--device-w);
  max-width: 100%;
  padding: var(--bezel);
  border-radius: calc(var(--screen-r) + var(--bezel));
  background: var(--midnight);
  box-shadow: var(--shadow-device);
}

.device img {
  width: 100%;
  border-radius: var(--screen-r);
  background: var(--white);
}

.device-on-dark {
  box-shadow: 0 0 0 1px var(--hairline-on-dark);
}

@media (min-width: 1024px) {
  .device {
    --device-w: 300px;
  }
}

.paper {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ice);
  box-shadow: var(--shadow-paper);
}

.paper img {
  width: 100%;
}

.figure-caption {
  margin-top: 16px;
  font-size: var(--text-small);
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

/* ---------------------------------------------------------------- Icons */

.icon {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The stroke is 1.75 px at every size: the viewBox is 24 units wide. */
.icon-20 {
  width: 20px;
  height: 20px;
  stroke-width: 2.1;
}

.icon-32 {
  width: 32px;
  height: 32px;
  stroke-width: 1.3125;
}

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

/* On a phone the first screen holds the promise, the price line, the LiDAR requirement and the
   store line ("Coming soon on the App Store" until launch day, then the store button): the
   requirement comes before the store action (context 6.4). */
.hero {
  padding-block: 24px 64px;
  color: var(--ice);
}

.hero-grid {
  display: grid;
  gap: 48px;
}

.hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

/* "Scan a room." has a line of its own at every width (the <br> of the H1), and "and the data."
   never breaks (.nowrap), so no line ends in "and". The size is in rem only, one step for each
   range of widths, so that browser zoom and the browser's text size both enlarge it (WCAG 1.4.4,
   failure F94): 2rem below 600 px, the size at 200 % zoom on a phone; 3rem from 600 px; 3.5rem
   from 768 px; 4rem from 1280 px, twice the phone size, which 400 % zoom reaches. Each step keeps
   "Get the plan, the video and the data." on two lines in its column, from 336 px up. */
.hero h1 {
  max-width: 14em;
  font-size: 2rem;
}

/* Under a high zoom on a phone, or with the browser's text size at 200 %, the column is narrower
   than "and the data.": it may break there rather than scroll the page sideways. The width is in
   em, 239 px at the default 16 px, so that it grows with the browser's text size as the heading
   does (WCAG 1.4.4): with a default font of 32 px it is 478 px, and a 390 px window no longer
   scrolls sideways. From 600 px the heading steps up to 3rem, so with a large default font the
   phrase may still be wider than the column up to 20.5em, 656 px at 32 px: the second query
   releases it there too, and never at the default 16 px, where 20.5em is 328 px (2026-11-21,
   measured in Chrome with default fonts of 16, 20, 24 and 32 px). */
@media (max-width: 14.9375em), (min-width: 600px) and (max-width: 20.5em) {
  .hero h1 .nowrap {
    white-space: normal;
  }
}

@media (min-width: 600px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 4rem;
  }
}

.hero-subhead {
  max-width: 27em;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.hero-price {
  display: grid;
  gap: 2px;
  max-width: 27em;
}

.hero-price-line {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-price .small {
  color: var(--ice);
}

/* The LiDAR requirement: its own outlined box with an icon, not the style of the price. */
.hero-lidar {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-self: start;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius-button);
  background: rgba(213, 216, 255, 0.08);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-lidar .icon {
  margin-top: -1px;
  color: var(--ice);
}

.hero .button-row {
  margin-top: 4px;
}

/* The store line pairs with the requirement above it. */
.hero .store-soon {
  margin-top: -4px;
}

.hero .button {
  width: 100%;
}

/* At most its column, so that the phone narrows instead of scrolling the page sideways under a
   high browser zoom. */
.hero-figure {
  justify-self: center;
  max-width: 100%;
}

.hero-figure .figure-caption {
  color: var(--ice);
}

@media (min-width: 600px) {
  .hero {
    padding-block: 64px 80px;
  }

  .hero-copy {
    gap: 20px;
  }

  .hero-subhead {
    font-size: 1.125rem;
    line-height: 1.6;
  }

  .hero .button {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-block: 96px;
  }

  .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
  }

  .hero-copy {
    grid-column: 1 / span 7;
    gap: 24px;
  }

  .hero-subhead {
    font-size: 1.1875rem;
  }

  /* Columns 8 to 12 from 1024 px, the phone centred and at least 48 px narrower than the columns:
     the rounded end of the beam shows beside the phone (48 px at 1024 px, 93 px from 1280 px)
     instead of a stub. */
  .hero-figure {
    position: relative;
    z-index: 2;
    grid-column: 8 / span 5;
    justify-self: stretch;
    margin-bottom: calc(-1 * (96px + var(--hero-overhang)));
  }

  .hero-figure .device {
    max-width: calc(100% - 96px);
    margin-inline: auto;
  }

  .hero-figure .figure-caption {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 14px;
    color: var(--midnight);
  }
}

/* ---------------------------------------------------------------- LiDAR check */

.lidar {
  color: var(--midnight);
}

.lidar-grid {
  display: grid;
  gap: 20px;
}

.lidar-lists {
  display: grid;
  gap: 24px;
  margin-block: 12px;
}

.model-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.model-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.model-list .icon {
  margin-top: 3px;
}

.model-list-yes .icon {
  color: var(--indigo);
}

.model-list-no .icon {
  color: var(--midnight);
}

.lidar-card {
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--white);
}

@media (min-width: 600px) {
  .lidar-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lidar-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto auto auto auto 1fr;
    column-gap: var(--gap);
    row-gap: 20px;
  }

  .lidar-grid > :not(.lidar-lists) {
    grid-column: 1 / span 6;
  }

  .lidar-lists {
    grid-column: 8 / span 5;
    grid-row: 1 / -1;
    grid-template-columns: 1fr;
    align-self: start;
    margin: calc(var(--hero-overhang) + 72px) 0 0;
  }

  .lidar-card {
    padding: 32px;
  }
}

/* ---------------------------------------------------------------- Everyday moments */

.moments {
  display: grid;
  gap: var(--gap);
  padding: 0;
  list-style: none;
}

.moment {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--mist);
}

.moment-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: var(--white);
  color: var(--indigo);
}

/* From 600 px the cards of a row share their row tracks (subgrid): a title on two lines moves no
   paragraph lower than the paragraphs beside it. */
@media (min-width: 600px) {
  .moments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto auto 1fr;
  }

  .moment {
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 12px;
  }
}

@media (min-width: 1024px) {
  .moments {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .moment {
    padding: 32px;
  }
}

/* ---------------------------------------------------------------- What you get */

.outputs-list {
  display: grid;
  gap: var(--gap);
}

.output {
  display: grid;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--ice);
  border-radius: var(--radius-card);
  background: var(--white);
}

.output-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.output-label {
  margin-top: -8px;
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Less padding on phones, so that the plan is drawn as large as the card allows. */
.stage {
  display: grid;
  place-items: center;
  padding: 16px 12px;
  border-radius: 16px;
  background: var(--mist);
}

@media (min-width: 600px) {
  .stage {
    padding: 32px 24px;
  }
}

.stage .paper {
  width: min(100%, 360px);
}

.video-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  width: 100%;
  max-width: 300px;
}

.video-frame {
  width: 100%;
  height: auto;
}

@media (min-width: 600px) {
  .video-frames {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 600px;
  }
}

.outputs-note {
  margin-top: 32px;
}

@media (min-width: 768px) {
  .output {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
  }

  .output-video {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .output {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gap);
    padding: 32px;
  }

  .output {
    align-items: start;
  }

  .output-copy {
    grid-column: 1 / span 6;
    padding: 40px 16px 0 0;
  }

  .output .stage {
    grid-column: 7 / span 6;
    align-self: stretch;
    padding: 48px 32px;
  }

  .output-video .output-copy {
    grid-column: 8 / span 5;
    grid-row: 1;
    padding-right: 0;
  }

  .output-video .stage {
    grid-column: 1 / span 7;
    grid-row: 1;
  }
}

/* ---------------------------------------------------------------- How it works */

.steps {
  position: relative;
  display: grid;
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  padding-left: 60px;
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--indigo);
  border-radius: 50%;
  background: var(--white);
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: -40px;
  left: 19px;
  border-left: 2px dotted var(--indigo);
}

.step h3 {
  padding-top: 6px;
}

.step-visual {
  margin-top: 12px;
}

.walk-sketch {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
}

/* A screen of the app drawn in HTML: the tips of step 1 and the export choices of step 3. Mist,
   like the cards of the app, with White rows. The two cards are about as tall, and no step shows
   a half-empty screen. */
.app-card {
  max-width: 360px;
  margin-inline: auto;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--mist);
}

.app-card-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
}

.app-card-intro {
  margin-top: 4px;
  font-size: var(--text-small);
  line-height: 1.5;
}

.app-card-rows {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.app-card-rows li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: var(--white);
  font-size: var(--text-small);
  line-height: 1.45;
}

.app-card-rows .icon {
  grid-row: span 2;
  color: var(--indigo);
}

.app-card-rows strong {
  font-family: var(--font-heading);
  font-weight: 600;
}

.app-card-foot {
  margin-top: 12px;
  font-size: var(--text-small);
  line-height: 1.5;
}

.steps-note {
  margin-top: 40px;
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto 1fr;
    column-gap: 40px;
    row-gap: 14px;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 20px;
    right: calc((100% - 80px) / 3 - 20px);
    border-top: 2px dotted var(--indigo);
  }

  .step {
    grid-row: span 4;
    grid-template-rows: subgrid;
    gap: 14px;
    padding-left: 0;
  }

  .step:not(:last-child)::before {
    content: none;
  }

  .step-number {
    position: relative;
    z-index: 1;
  }

  .step h3 {
    padding-top: 8px;
  }

  .step-visual {
    margin-top: 20px;
  }
}

/* ---------------------------------------------------------------- How to read the measures */

.measures-grid {
  display: grid;
  gap: 40px;
}

.measures-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 20px 20px 20px 16px;
  border-left: 4px solid var(--indigo);
  border-radius: 4px 16px 16px 4px;
  background: var(--mist);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.45;
}

.callout .icon {
  margin-top: 2px;
  color: var(--indigo);
}

.sheet-figure {
  display: grid;
  gap: 20px;
  /* The rows keep their content height: a stretched row would make .sheet taller than its image
     (by 30 px from 1024 to 1279 px), and the markers, placed in shares of .sheet, would drift. */
  align-content: start;
}

.sheet {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
}

.marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 3px var(--white);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  transform: translate(-50%, -50%);
}

/* Positions as shares of the sheet, from the label coordinates of floorplan.svg (A4, 595 x 842 pt).
   Each marker stands beside its label, never on it, down to a 320 px screen: 1 just left of the
   "5.00 m" of the bottom wall of Room 1; 3 right of the label block of Room 1, on the line of
   "20.0 m²", clear of the bed above it and of the window on the right wall. */
.marker-1 {
  left: 42%;
  top: 66.3%;
}

.marker-2 {
  left: 26.2%;
  top: 25%;
}

.marker-3 {
  left: 65%;
  top: 61.8%;
}

.marker-list {
  display: grid;
  gap: 8px;
  width: min(100%, 560px);
  margin-inline: auto;
  padding: 0;
  list-style: none;
  counter-reset: marker;
  font-size: var(--text-small);
  line-height: 1.5;
}

.marker-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  counter-increment: marker;
}

.marker-list li::before {
  content: counter(marker);
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .measures-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
  }

  .measures-copy {
    grid-column: 1 / span 5;
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }

  .sheet-figure {
    grid-column: 7 / span 6;
  }
}

/* ---------------------------------------------------------------- Privacy */

.privacy-grid {
  display: grid;
  gap: 32px;
}

.privacy-head {
  display: grid;
  gap: 16px;
  align-content: start;
}

.privacy-head .lead {
  color: var(--white);
}

.privacy-list {
  display: grid;
  gap: 20px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--hairline-on-dark);
  list-style: none;
}

.privacy-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.privacy-list .icon {
  margin-top: 1px;
  color: var(--ice);
}

@media (min-width: 768px) {
  .privacy-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 28px;
  }
}

@media (min-width: 1024px) {
  .privacy-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: 40px;
  }

  .privacy-head {
    grid-column: 1 / span 5;
  }

  .privacy-list,
  .privacy-note {
    grid-column: 6 / span 7;
  }
}

/* ---------------------------------------------------------------- Questions */

.faq {
  max-width: 50rem;
  margin-inline: auto;
}

.faq h2 {
  margin-bottom: 32px;
}

.faq-list {
  border-top: 1px solid var(--ice);
}

.faq details {
  border-bottom: 1px solid var(--ice);
}

.faq summary {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding-block: 16px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--indigo);
}

.plus {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mist);
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--indigo);
  transition: transform 150ms ease;
}

.plus::after {
  transform: rotate(90deg);
}

details[open] > summary .plus::after {
  transform: rotate(90deg) scaleX(0);
}

.faq-answer {
  padding-bottom: 20px;
}

.faq-closing {
  margin-top: 32px;
}

/* ---------------------------------------------------------------- Price */

.pricing {
  background: linear-gradient(180deg, var(--indigo) 0%, var(--midnight) 100%);
  text-align: center;
}

.pricing-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 40rem;
  margin-inline: auto;
}

.app-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 8px;
  border-radius: 22.37%;
  box-shadow: 0 16px 40px rgba(18, 16, 58, 0.45), 0 0 0 1px var(--hairline-on-dark);
}

/* The app as the App Store lists it: its name and the proposed subtitle of the listing. */
.app-listing {
  display: grid;
  gap: 2px;
  margin: -4px 0 12px;
}

.app-name {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.app-subtitle {
  color: var(--ice);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.price {
  margin-top: 8px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-price);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pricing p.measure {
  margin-top: 8px;
}

.pricing .button {
  width: 100%;
  margin-top: 16px;
}

.pricing-lidar {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
}

@media (min-width: 600px) {
  .pricing .button {
    width: auto;
  }
}

/* ---------------------------------------------------------------- Waiting list */

.waiting-grid {
  display: grid;
  gap: 40px;
}

.waiting-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.waiting-copy .eyebrow {
  color: var(--indigo);
}

.waiting-copy .button {
  justify-self: start;
  margin-top: 8px;
}

.sketch-figure {
  display: grid;
  gap: 16px;
}

.sketch-figure img {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

.sketch-figure .figure-caption {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .waiting-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: center;
  }

  .waiting-copy {
    grid-column: 1 / span 6;
  }

  .sketch-figure {
    grid-column: 8 / span 5;
  }
}

/* ---------------------------------------------------------------- Title bands (sub pages) */

.title-band {
  padding-block: 56px 64px;
}

.title-band .container {
  display: grid;
  gap: 20px;
}

.title-band .meta {
  color: var(--ice);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

.title-band .lead-text {
  font-size: 1.125rem;
}

/* The policy's effective date and its last update: two lines of one group. */
.title-band .meta + .meta {
  margin-top: -14px;
}

/* A fact only the founder can give, still missing (brief 4.8): it shows in a preview, and the
   publication checks fail while one is left. */
[data-founder-input] {
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--mist);
  box-shadow: inset 0 -2px 0 var(--indigo);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.on-dark [data-founder-input] {
  background: rgba(213, 216, 255, 0.14);
  box-shadow: inset 0 -2px 0 var(--ice);
}

.title-band .button-row {
  margin-top: 8px;
}

@media (min-width: 1024px) {
  .title-band {
    padding-block: 88px 96px;
  }
}

/* The 404 band and the title band of /sample/ hold an empty plan grid in Ice lines, kept away from
   the text: a strip along the top of the band below 64em, the right side of the band from 64em
   (1024 px at the default text size). The band is a stacking context (.beam-band), so the grid sits on its Midnight and under
   its text. */
.plan-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(213, 216, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213, 216, 255, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 24px, transparent 56px);
  mask-image: linear-gradient(180deg, #000 0, #000 24px, transparent 56px);
}

.not-found {
  padding-block: 72px 80px;
}

.not-found h1 {
  max-width: 9em;
}

/* Under the beam the page turns light: the ways on, as full-width buttons on a phone. */
.not-found-links {
  padding-block: 48px 64px;
}

.not-found-links .button {
  width: 100%;
}

@media (min-width: 600px) {
  .not-found-links .button {
    width: auto;
  }
}

/* From 64em, 1024 px at the default text size: at a larger text size the band's text reaches past
   the middle of a window narrower than that, so the grid stays the strip along the top; in a
   wider window the container of both pages, 75rem, grows with the text and keeps it clear of the
   grid. */
@media (min-width: 64em) {
  .plan-grid::before {
    -webkit-mask-image: linear-gradient(90deg, transparent calc(50% + 96px), #000 calc(50% + 224px));
    mask-image: linear-gradient(90deg, transparent calc(50% + 96px), #000 calc(50% + 224px));
  }
}

@media (min-width: 1024px) {
  .not-found {
    padding-block: 128px 136px;
  }

  .not-found-links {
    padding-block: 64px 80px;
  }
}

/* ---------------------------------------------------------------- Prose pages (privacy, support) */

.prose > * + * {
  margin-top: 16px;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin-top: 56px;
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
}

.prose h3 {
  margin-top: 32px;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 12px;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--indigo);
}

.panel {
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--mist);
}

.panel > * + * {
  margin-top: 12px;
}

.panel h2 {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .panel {
    padding: 32px;
  }
}

.prose .callout {
  margin-top: 16px;
}

/* "On this page": the H2 sections of the policy and of the support page, after "In short" and
   under the title band. Two columns from 360 px; every link a 44 px target. The address in the
   policy's list may break before its @ (a <wbr>), and a word still wider than its column, under
   larger text spacing (WCAG 1.4.12) or a larger text size, wraps inside it. */
.toc {
  padding: 20px;
  border: 1px solid var(--hairline-on-light);
  border-radius: var(--radius-card);
}

.toc-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.prose .toc ul {
  column-gap: 20px;
  margin-top: 4px;
  padding: 0;
  list-style: none;
}

/* The links run down the first column, then the second. */
.prose .toc li {
  break-inside: avoid;
}

.prose .toc li + li {
  margin-top: 0;
}

.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 4px;
  font-size: var(--text-small);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

@media (min-width: 360px) {
  .prose .toc ul {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .toc {
    padding: 24px 32px;
  }
}

.prose .lead {
  margin-top: 12px;
}

/* The privacy policy and the support page read as one centred block: the title band and the text
   share its left edge, so the text no longer sits in a narrow column at the left of a wide page
   (founder's feedback of 2026-11-22). The running text keeps its measure of 27em (brief 13.1). From
   1024 px the table of contents stands beside the text, on the right, and stays in view while the
   text scrolls; its links run in one column there. */
.page-privacy,
.page-support {
  --prose-block: 27em;
}

.page-privacy .title-band .container,
.page-support .title-band .container {
  grid-template-columns: minmax(0, var(--prose-block));
  justify-content: center;
}

.page-privacy .prose,
.page-support .prose {
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .page-privacy,
  .page-support {
    --prose-block: calc(27em + 64px + 17rem);
  }

  .page-privacy .prose,
  .page-support .prose {
    display: grid;
    grid-template-columns: minmax(0, 27em) 17rem;
    column-gap: 64px;
    align-items: start;
    justify-content: center;
    max-width: none;
  }

  .page-privacy .prose > *,
  .page-support .prose > * {
    grid-column: 1;
  }

  /* Spans every row of the text, so that it can stay in view down the whole page. It sticks below the
     sticky site header, and scrolls inside itself when the window is shorter than the list, so that
     every link, focused from the keyboard too, can come into view (review round 1, F-01). */
  .page-privacy .prose > .toc,
  .page-support .prose > .toc {
    grid-column: 2;
    grid-row: 1 / span 999;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 48px);
    overflow-y: auto;
    margin-top: 0;
  }

  .page-privacy .prose > .toc:first-child + *,
  .page-support .prose > .toc:first-child + * {
    margin-top: 0;
  }

  .page-privacy .prose .toc ul,
  .page-support .prose .toc ul {
    columns: 1;
  }
}

/* ---------------------------------------------------------------- Sample page */

.page-sample {
  --section-y: clamp(3.5rem, 2.75rem + 3vw, 5rem);
}

.downloads {
  display: grid;
  gap: 12px;
  max-width: 46rem;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.downloads a {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--ice);
  border-radius: 16px;
  background: var(--white);
  color: var(--midnight);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.downloads a:hover {
  border-color: var(--indigo);
  background: var(--mist);
}

.downloads .icon {
  color: var(--indigo);
}

.split {
  display: grid;
  gap: 40px;
}

.split-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.split-copy .callout {
  margin-block: 4px;
}

.split-visual {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.split-visual .sheet,
.split-visual .paper {
  width: min(100%, 520px);
}

.sheet-link {
  display: block;
  width: min(100%, 520px);
  border-radius: 2px;
}

.sheet-link .paper {
  transition: box-shadow 120ms ease;
}

.sheet-link:hover .paper {
  box-shadow: 0 16px 40px rgba(18, 16, 58, 0.2);
}

.model-link {
  display: block;
  width: min(100%, 520px);
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--mist);
}

.model-link img {
  width: 100%;
}

/* Only /sample/ uses .split: it switches at 64em, with the other two-column rules of the page. */
@media (min-width: 64em) {
  .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
  }

  .split-copy {
    grid-column: 1 / span 6;
  }

  .split-visual {
    grid-column: 8 / span 5;
  }
}

/* The table keeps its descriptions near 65 characters a line. */
.files-wrap {
  max-width: 45rem;
  margin-top: 28px;
}

.files {
  display: grid;
  border-top: 1px solid var(--ice);
}

.files-head {
  display: none;
}

.files-row {
  display: grid;
  gap: 4px;
  padding-block: 14px;
  border-bottom: 1px solid var(--ice);
}

.files dt {
  color: var(--indigo);
  font-weight: 600;
}

.files dd {
  margin: 0;
}

@media (min-width: 600px) {
  .files-head {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: 24px;
    padding-block: 12px;
    border-bottom: 1px solid var(--ice);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
  }

  .files {
    border-top: 0;
  }

  .files-row {
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: 24px;
  }
}

.files-note {
  margin-top: 24px;
}

.developers {
  max-width: 35.5rem;
}

.dev-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-left: 1.25rem;
}

.dev-list li::marker {
  color: var(--indigo);
}

/* /sample/ from 64em, which is 1024 px at the default text size: a heading beside its content, in
   the language of the home page (brief 13.1). The heading, with its introduction, takes columns 1
   to 5 and the content 6 to 12; the listing draft takes the columns of the views above it and its
   notes those of the map; the developers' panel holds its heading beside its list. Below 64em
   everything stacks in source order, with the spacing the page had before: 16 px from a heading
   to its text, 24 px to the list of downloads, 28 px from the introduction to the table. Running
   text keeps its 27em measure: the second column holds it, it does not widen it. The container of
   the page is 75rem, 1200 px at the default text size: a reader who sets a larger text size gets
   the stacked layout until the window is 64em of that text wide, and from there the two columns
   in a container that grows with the text, so the table and the draft keep their measure instead
   of narrowing to a few words a line. */
.page-sample,
.page-not-found {
  --container: 75rem;
}

.side-by-side {
  display: grid;
  gap: 16px;
}

.side-by-side .downloads {
  margin-top: 8px;
}

.side-by-side .files-wrap {
  margin-top: 12px;
}

.draft-row {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

@media (min-width: 64em) {
  .side-by-side,
  .draft-row,
  .developers {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }

  .side-head,
  .developers h2 {
    grid-column: 1 / span 5;
  }

  .side-body,
  .developers .dev-list {
    grid-column: 6 / span 7;
  }

  .side-by-side .downloads,
  .side-by-side .files-wrap {
    margin-top: 0;
  }

  .draft-row {
    margin-top: 64px;
  }

  .draft-row > h3,
  .draft-row > .listing-draft {
    grid-column: 1 / span 6;
  }

  .draft-row > .draft-notes {
    grid-column: 8 / span 5;
    grid-row: 2;
  }

  .developers {
    display: grid;
    max-width: none;
  }

  .developers .dev-list {
    max-width: calc(27em + 1.25rem);
    margin-top: 0;
  }
}

/* The listing draft: the section of the home page and /sample/#listing */

.listing-views {
  display: grid;
  gap: 8px;
  padding-left: 1.5rem;
}

.listing-views li::marker {
  color: var(--indigo);
  font-weight: 700;
}

.listing-draft {
  border-left: 4px solid var(--indigo);
}

.listing-draft-title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
}

.listing-figure {
  align-content: start;
}

.listing-map {
  width: min(100%, 360px);
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--mist);
}

.listing-map img {
  width: 100%;
  height: auto;
}

.closing {
  text-align: center;
}

.closing-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 40rem;
  margin-inline: auto;
}

.closing .lead {
  color: var(--midnight);
}

.closing-lidar {
  font-family: var(--font-heading);
  font-weight: 600;
}

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

.site-footer {
  --focus: var(--ice);
  --link: var(--white);
  padding-block: 56px calc(40px + env(safe-area-inset-bottom));
  background: var(--midnight);
  color: var(--ice);
  font-size: var(--text-small);
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  gap: 36px;
}

.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footer-brand img {
  width: auto;
  height: 32px;
}

.footer-promise {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.footer-links ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* overflow-wrap: anywhere lets the address wrap inside its column when the text spacing grows. */
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.footer-store {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
}

.footer-lidar {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
}

.footer-legal {
  display: grid;
  gap: 12px;
  align-content: start;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr) minmax(17rem, 1fr) minmax(0, 1.25fr);
    gap: 40px;
  }

  /* /sample/ and /support/ end with their own store band, so their footer has no store block. */
  .footer-grid-no-store {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr) minmax(0, 2.25fr);
  }
}

/* ---------------------------------------------------------------- Motion preferences */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------------------------------------------------------------- Print (privacy, support) */

@media print {
  html,
  body {
    background: #ffffff;
    color: #000000;
  }

  .site-header,
  .skip-link,
  .button,
  .toc,
  .footer-store,
  .footer-links,
  .closing {
    display: none !important;
  }

  .on-dark,
  .site-footer,
  .panel,
  .callout {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .on-dark h1,
  .on-dark h2,
  .on-dark h3,
  .title-band .meta,
  .footer-promise,
  .footer-lidar {
    color: #000000 !important;
  }

  .beam-band::after,
  .plan-grid::before {
    display: none;
  }

  a {
    color: #000000;
  }

  .title-band,
  .section {
    padding-block: 16px;
  }
}
