/* propmap.co.za — the landing and legal pages.
 *
 * Same direction as the app (src/ui/tokens.css): a surveyor's plan, not a SaaS
 * page. Survey ink on cool paper, sky for action, beacon amber for "the
 * property you chose". One typeface, Archivo, whose width axis does the work a
 * second face would: wide for titles, normal for reading, condensed for figures.
 * The colour values are the app's tokens, copied (this page has no build step);
 * keep them in step with src/ui/tokens.css.
 */

/* ---- type: Archivo, self-hosted (the app's own file) ---- */
/* Body text swaps in when the font arrives; the fallback is Arial sized to
 * Archivo's advance and line metrics, so the swap barely moves a line. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-standard-normal.woff2) format('woff2-variations'), url(/fonts/archivo-latin-standard-normal.woff2) format('woff2');
}
/* Titles are set wide, which no fallback can imitate, so they wait (briefly:
 * the file is preloaded) rather than reflow the page under the reader. */
@font-face {
  font-family: 'Archivo Title';
  font-style: normal;
  font-display: block;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-standard-normal.woff2) format('woff2-variations'), url(/fonts/archivo-latin-standard-normal.woff2) format('woff2');
}
/* While a title waits, the browser still lays it out in a fallback face: this
 * one is Arial Bold widened to Archivo's 720 weight at 122% width, so the title
 * wraps the same way before and after and nothing below it moves. */
@font-face {
  font-family: 'Archivo Title fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Helvetica Bold');
  font-weight: 100 900;
  size-adjust: 122.5%;
  ascent-override: 71.7%;
  descent-override: 17.1%;
  line-gap-override: 0%;
}
/* Android has no Arial: the same two fallbacks, measured against Roboto. */
@font-face {
  font-family: 'Archivo Title fallback R';
  src: local('Roboto Bold'), local('Roboto-Bold');
  font-weight: 100 900;
  size-adjust: 130.2%;
  ascent-override: 67.4%;
  descent-override: 16.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Archivo fallback R';
  src: local('Roboto'), local('Roboto-Regular');
  size-adjust: 99%;
  ascent-override: 88.7%;
  descent-override: 21.2%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Archivo fallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 98.5%;
  ascent-override: 89.1%;
  descent-override: 21.3%;
  line-gap-override: 0%;
}

:root {
  --font: 'Archivo', 'Archivo fallback', 'Archivo fallback R', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-title: 'Archivo Title', 'Archivo Title fallback', 'Archivo Title fallback R', system-ui, sans-serif;

  /* Type scale: the app's minor third, extended upward for a page you read. */
  --t-xs: 0.75rem;
  --t-sm: 0.8125rem;
  --t-md: 0.9375rem;
  --t-body: 1.0625rem;
  --t-lg: 1.1875rem;
  --t-xl: 1.3125rem;
  --t-2xl: clamp(1.625rem, 1.15rem + 1.6vw, 2.375rem);
  --t-3xl: clamp(2.125rem, 1.2rem + 3.6vw, 3.875rem);
  --lh-tight: 1.06;
  --lh-snug: 1.25;
  --lh-body: 1.55;
  --w-regular: 400;
  --w-medium: 520;
  --w-semi: 620;
  --w-bold: 720;
  --wd-condensed: 88%;
  --wd-normal: 100%;
  --wd-wide: 116%;
  --wd-title: 122%;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --control: 48px;
  --tap: 44px;
  --sheet: 1200px;
  --measure: 62ch;
  --gutter: 16px;

  --dur-1: 110ms; --dur-2: 190ms; --dur-3: 300ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
  --paper: #f3f5f4;
  --surface: #ffffff;
  --surface-2: #edf0ef;
  --surface-3: #e2e7e5;
  --line: #d6dcda;
  --line-strong: #aeb8b5;
  --ink: #15202a;
  --ink-2: #44515d;
  --ink-3: #5f6b76;
  --sky: #097ab1;
  --sky-strong: #086797;
  --sky-ink: #ffffff;
  --sky-soft: #e3f2fa;
  --beacon: #e09a0b;
  --beacon-ink: #2b1d00;
  --beacon-soft: #fdf2d8;
  --good: #17733c;
  --focus: 0 0 0 3px color-mix(in srgb, var(--sky) 38%, transparent);
  --shadow-float: 0 1px 2px rgb(13 20 25 / 0.08), 0 8px 24px rgb(13 20 25 / 0.12);
  --shadow-sheet: 0 1px 2px rgb(13 20 25 / 0.08), 0 18px 48px rgb(13 20 25 / 0.16);
  /* The dark band near the foot of the page: ink in daylight. */
  --band: #15202a;
  --band-ink: #e6ebee;
  --band-ink-2: #b0bcc5;
  --band-line: #2c3a45;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --gutter: 32px; } }

/* Dark: survey ink at night (the app's dark tokens). */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #0c1318;
    --surface: #131c23;
    --surface-2: #1a252d;
    --surface-3: #22303a;
    --line: #26343e;
    --line-strong: #3d4d59;
    --ink: #e6ebee;
    --ink-2: #b0bcc5;
    --ink-3: #8f9ca7;
    --sky: #3cb0e6;
    --sky-strong: #6cc5ee;
    --sky-ink: #03121a;
    --sky-soft: #0f2a38;
    --beacon: #f2b437;
    --beacon-ink: #241800;
    --beacon-soft: #33270c;
    --good: #4cc27c;
    --shadow-float: 0 1px 2px rgb(0 0 0 / 0.5), 0 8px 24px rgb(0 0 0 / 0.4);
    --shadow-sheet: 0 1px 2px rgb(0 0 0 / 0.5), 0 18px 48px rgb(0 0 0 / 0.5);
    --band: #1a252d;
    --band-ink: #e6ebee;
    --band-ink-2: #b0bcc5;
    --band-line: #2c3a45;
  }
}

/* ---- document ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(64px + var(--s-4)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-weight: var(--w-regular);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, picture { display: block; max-width: 100%; }
img, video { height: auto; }
/* Text links take the darker sky: the action sky is 4.7:1 on white but 4.3:1 on paper. */
a { color: var(--sky-strong); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
b, strong { font-weight: var(--w-semi); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; box-shadow: var(--focus); border-radius: var(--r-xs); }
::selection { background: color-mix(in srgb, var(--sky) 26%, transparent); }
a, button, summary, input, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 50;
  padding: var(--s-3) var(--s-4); background: var(--surface); color: var(--ink); border-radius: var(--r-sm); box-shadow: var(--shadow-float);
}
.skip:focus { top: var(--s-4); }

.sheet { width: 100%; max-width: calc(var(--sheet) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- headings: the title block ---- */
.h1, .h2 { font-family: var(--font-title); font-stretch: var(--wd-title); letter-spacing: -0.02em; color: var(--ink); }
.h1 { font-size: var(--t-3xl); line-height: var(--lh-tight); font-weight: var(--w-bold); max-width: 16ch; }
.h2 { font-size: var(--t-2xl); line-height: 1.12; font-weight: 690; max-width: 22ch; }
.h3 { font-size: var(--t-lg); line-height: var(--lh-snug); font-weight: var(--w-semi); }
.lead { font-size: var(--t-lg); color: var(--ink-2); max-width: var(--measure); }
.prose { color: var(--ink-2); max-width: var(--measure); }
.small { font-size: var(--t-sm); color: var(--ink-3); }
.fig { font-stretch: var(--wd-condensed); font-variant-numeric: tabular-nums; }

/* ---- buttons (the app's: 8px radius, no pills except chips) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--control); padding: 0 var(--s-5);
  border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: var(--t-md); font-weight: var(--w-semi); line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--sky); color: var(--sky-ink); }
.btn--primary:active { background: var(--sky-strong); }
.btn--quiet { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.btn--quiet:active { background: var(--surface-3); }
/* Google's own button: white, the four-colour G, dark text. People know it by
 * that, so it is not restyled into the brand palette in either theme. */
.btn--google { background: #fff; color: #3c4043; border-color: #dadce0; }
.btn--google:active { background: #f1f3f4; }
.btn--google img { width: 18px; height: 18px; }
.btn--small { min-height: var(--tap); padding: 0 var(--s-4); }
@media (hover: hover) {
  .btn--primary:hover { background: var(--sky-strong); }
  .btn--quiet:hover { background: var(--surface-3); }
  .btn--google:hover { background: #f7f8f8; border-color: #c6cacf; }
  a:hover { text-decoration-thickness: 2px; }
}
.badge {
  display: inline-block; vertical-align: 0.15em; margin-left: var(--s-2);
  padding: 1px var(--s-2); border-radius: var(--r-xs);
  background: var(--sky-soft); color: var(--sky-strong); font-size: var(--t-xs); font-weight: var(--w-semi); line-height: 1.5; letter-spacing: 0;
}
@media (prefers-color-scheme: dark) { .badge { color: var(--sky-strong); } }

/* ---- the mark: an erf with beacons, one amber (the app's BrandMark) ---- */
.mark { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--ink); text-decoration: none; font-weight: var(--w-bold); font-size: var(--t-lg); letter-spacing: -0.01em; font-stretch: var(--wd-wide); min-height: var(--tap); }
.mark svg { width: 30px; height: 30px; flex: none; }
.mark__tld { color: var(--ink-3); font-weight: var(--w-medium); }
.mark__tile { fill: var(--ink); }
.mark__erf { fill: var(--sky); }
.mark__edge { fill: none; stroke: var(--paper); stroke-width: 0.6; stroke-linejoin: round; }
.mark__pt { fill: var(--paper); }
.mark__chosen { fill: var(--beacon); }

/* ---- header ---- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) { .top { backdrop-filter: saturate(1.2) blur(10px); background: color-mix(in srgb, var(--paper) 82%, transparent); } }
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; }
.top__nav { display: none; }
.top__nav ul { display: flex; gap: var(--s-1); list-style: none; padding: 0; }
.top__nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-3); border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-size: var(--t-md); font-weight: var(--w-medium); }
.top__nav a:active { background: var(--surface-2); }
@media (hover: hover) { .top__nav a:hover { color: var(--ink); background: var(--surface-2); } }
@media (min-width: 1040px) { .top__nav { display: block; } }
@media (max-width: 380px) { .mark__tld { display: none; } }

/* ---- sections ---- */
.section { padding-block: var(--s-16); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .section { padding-block: var(--s-24); } }
.section__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-10); }
@media (min-width: 960px) { .section__head { margin-bottom: var(--s-12); } }

/* ---- hero ---- */
.hero { position: relative; padding-block: var(--s-10) var(--s-16); overflow: clip; }
/* The survey grid the plan is drawn on, fading out toward the page. */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(120% 80% at 20% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 80% at 20% 0%, #000 30%, transparent 75%);
}
.hero__grid { display: grid; gap: var(--s-10); align-items: center; }
.hero__text { display: grid; gap: var(--s-5); min-width: 0; }
@media (min-width: 960px) {
  .hero { padding-block: var(--s-16) var(--s-20); }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-12); }
}

/* The search box: the page's main action. */
.find { display: grid; gap: var(--s-2); max-width: 560px; }
.find label { font-size: var(--t-md); font-weight: var(--w-semi); color: var(--ink); }
.find__row {
  display: flex; align-items: stretch; gap: var(--s-2);
  padding: var(--s-1); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-float);
}
.find__row:focus-within { border-color: var(--sky); box-shadow: var(--shadow-float), var(--focus); }
.find__field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.find__field svg { position: absolute; left: var(--s-3); width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.find input {
  width: 100%; min-height: var(--control); padding: 0 var(--s-2) 0 calc(var(--s-3) + 20px + var(--s-2));
  border: 0; background: transparent; font-size: 1rem; outline: none; border-radius: var(--r-sm);
}
.find input::placeholder { color: var(--ink-3); opacity: 1; }
.find input::-webkit-search-cancel-button { display: none; }
.find .btn { flex: none; }
.find__try { font-size: var(--t-sm); color: var(--ink-3); }
.find__try a { display: inline-flex; align-items: center; min-height: 32px; font-weight: var(--w-medium); }
.find__try .fig { font-stretch: var(--wd-condensed); }
@media (pointer: coarse) { .find__try a { min-height: var(--tap); } }
.hero__note { font-size: var(--t-md); color: var(--ink-3); }

/* The product shot, set out like a surveyed figure: an amber boundary with a
 * beacon at each corner (one filled: the property you chose). It draws itself
 * once on load; that is the page's one piece of unprompted motion. */
.plot { position: relative; padding: 14px; min-width: 0; }
@media (min-width: 640px) { .plot { padding: 20px; } }
.plot__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.plot__line polygon { fill: none; stroke: var(--beacon); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* The line is revealed by a sweep around the figure's centre, beacon to beacon
 * (a dash animation can't be used: the stroke doesn't scale with the figure). */
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
.plot__beacon {
  position: absolute; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--beacon); pointer-events: none;
}
.plot__beacon--chosen { background: var(--beacon); }
.plot__img { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sheet); background: var(--surface-2); border: 1px solid var(--line); }
.plot__img img { width: 100%; }
.hero__fig { min-width: 0; }
.hero__fig figcaption { padding-inline: 20px; }
.hero__fig figcaption, .shot figcaption { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-3); max-width: var(--measure); }
@media (prefers-reduced-motion: no-preference) {
  .plot__line {
    --sweep: 0deg;
    -webkit-mask-image: conic-gradient(from -48deg, #000 var(--sweep), transparent 0);
    mask-image: conic-gradient(from -48deg, #000 var(--sweep), transparent 0);
    animation: survey 1.4s linear 0.3s forwards;
  }
  .plot__beacon { transform: scale(0); animation: beacon var(--dur-3) var(--ease-out) forwards; }
  .plot__beacon:nth-of-type(1) { animation-delay: 0.25s; }
  .plot__beacon:nth-of-type(2) { animation-delay: 0.65s; }
  .plot__beacon:nth-of-type(3) { animation-delay: 1s; }
  .plot__beacon:nth-of-type(4) { animation-delay: 1.4s; }
}
@keyframes survey { to { --sweep: 360deg; } }
@keyframes beacon { to { transform: scale(1); } }

/* ---- screenshots elsewhere ---- */
.shot { min-width: 0; }
.shot__frame { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-float); background: var(--surface-2); }
.shot__frame img { width: 100%; }
.shot--phone .shot__frame { max-width: 300px; margin-inline: auto; border-radius: 28px; border: 6px solid var(--ink); box-shadow: var(--shadow-sheet); }
@media (prefers-color-scheme: dark) { .shot--phone .shot__frame { border-color: var(--surface-3); } }
.shot--phone figcaption { text-align: center; margin-inline: auto; }

/* ---- how it works: a traverse, beacon to beacon ---- */
.steps { list-style: none; padding: 0; display: grid; gap: var(--s-10); counter-reset: step; position: relative; }
.step { position: relative; display: grid; gap: var(--s-3); align-content: start; padding-left: calc(36px + var(--s-4)); }
.step__n {
  position: absolute; left: 0; top: -4px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 2px solid var(--beacon);
  font-weight: var(--w-bold); font-size: var(--t-md); font-variant-numeric: tabular-nums; color: var(--ink);
}
.step:last-child .step__n { background: var(--beacon); color: var(--beacon-ink); }
/* the boundary leg to the next beacon */
.step:not(:last-child)::before {
  content: ''; position: absolute; left: 17px; top: 36px; bottom: calc(var(--s-10) * -1); width: 2px;
  background: repeating-linear-gradient(to bottom, var(--beacon) 0 6px, transparent 6px 10px);
}
/* One frame shape for all three, cropped from the top-left like a window. */
.step .shot__frame { margin-top: var(--s-2); aspect-ratio: 5 / 4; }
.step .shot__frame picture { height: 100%; }
.step .shot__frame img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
  .step { padding-left: 0; padding-top: calc(36px + var(--s-5)); }
  .step__n { top: 0; }
  .step:not(:last-child)::before {
    left: 44px; right: calc(var(--s-8) * -1 + 8px); top: 17px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, var(--beacon) 0 6px, transparent 6px 10px);
  }
}

/* ---- a ruled schedule (the app's property card table) ---- */
.ledger { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--ink); border-radius: var(--r-xs); background: var(--surface); list-style: none; padding: 0; }
.ledger > * { padding: var(--s-5); border-top: 1px solid var(--line); min-width: 0; }
.ledger > :first-child { border-top: 0; }
.ledger h3 { font-size: var(--t-lg); font-weight: var(--w-semi); line-height: var(--lh-snug); margin-bottom: var(--s-1); }
.ledger p { color: var(--ink-2); font-size: var(--t-md); }
@media (prefers-color-scheme: dark) { .ledger { border-color: var(--line-strong); } }
@media (min-width: 640px) {
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger > * { border-left: 1px solid var(--line); }
  .ledger > :nth-child(2n + 1) { border-left: 0; }
  .ledger > :nth-child(2) { border-top: 0; }
}
.features { display: grid; gap: var(--s-10); align-items: start; }
@media (min-width: 1040px) { .features { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-12); } }

/* Coverage: the same ruled cells, label above the figure, like the app's Extent cell. */
.facts { margin-top: var(--s-8); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 639px) {
  .facts > :nth-child(2n) { border-left: 1px solid var(--line); }
  .facts > :nth-child(2) { border-top: 0; }
  .facts > * { padding: var(--s-4); }
}
.facts > div { display: flex; flex-direction: column; gap: var(--s-1); }
.facts dt { font-size: var(--t-sm); color: var(--ink-2); }
.facts dd { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: var(--w-bold); line-height: 1.1; font-stretch: var(--wd-condensed); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.facts dd small { font-size: var(--t-md); font-weight: var(--w-medium); color: var(--ink-3); font-stretch: var(--wd-normal); letter-spacing: 0; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts > * { border-top: 0; }
  .facts > :nth-child(n) { border-left: 1px solid var(--line); }
  .facts > :first-child { border-left: 0; }
}
.links-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }

/* ---- who it's for ---- */
.who { display: grid; gap: var(--s-8); list-style: none; padding: 0; }
.who__item { display: grid; gap: var(--s-3); align-content: start; min-width: 0; }
.who__item p { color: var(--ink-2); font-size: var(--t-md); }
.who__item--lead .h3 + p { margin-top: var(--s-2); }
.who__art {
  border-radius: var(--r-md); border: 1px solid var(--line); background-color: var(--surface); overflow: hidden;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px);
  background-size: 15px 15px; background-position: -1px -1px;
}
.who__art svg { width: 100%; height: auto; aspect-ratio: 240 / 150; }
@media (min-width: 640px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } .who__item--lead { grid-column: 1 / -1; } }
@media (min-width: 640px) and (max-width: 1039px) {
  .who__item--lead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: center; }
}
@media (min-width: 1040px) {
  .who { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-10) var(--s-8); }
  .who__item--lead { grid-column: span 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
  .who__item--lead .h3 { font-size: var(--t-xl); }
  .who__item--lead p { font-size: var(--t-body); }
}

/* The plan drawings (the app's 1 Stop Media line work): ink strokes, beacon
 * dots on corners, the property in beacon amber. Decorative; the text beside
 * each says what it is. */
.art * { vector-effect: non-scaling-stroke; }
.art-ink { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.art-ink--bold { stroke: var(--ink); stroke-width: 2.2; }
.art-ink--faint { stroke: var(--ink-3); stroke-width: 1; opacity: 0.7; }
.art-dash { fill: none; stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 4 4; }
.art-parcel { fill: var(--beacon-soft); fill-opacity: 0.6; stroke: var(--beacon); stroke-width: 2; stroke-linejoin: round; }
.art-parcel--quiet { fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linejoin: round; }
.art-beacon circle { fill: var(--surface); stroke: var(--beacon); stroke-width: 1.6; }
.art-card { fill: var(--surface); stroke: var(--ink-2); stroke-width: 1.4; stroke-linejoin: round; }
.art-wash { fill: var(--surface-2); stroke: none; }
.art-water { fill: var(--sky-soft); stroke: var(--sky); stroke-width: 1.2; }
.art-pin { fill: var(--sky); }
.art-dot { fill: var(--ink-3); }
.art-label { fill: var(--ink-2); font-size: 9px; font-weight: 700; font-family: var(--font); }
.art-label--sm { font-size: 7px; font-weight: 600; fill: var(--ink-3); }

/* ---- split sections (text beside a picture) ---- */
.split { display: grid; gap: var(--s-10); align-items: center; }
.split__text { display: grid; gap: var(--s-5); align-content: center; min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-16); }
  .split--pic-first > :first-child { order: 2; }
}
.ticks { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.ticks li { position: relative; padding-left: calc(18px + var(--s-3)); color: var(--ink-2); }
/* A beacon, not a tick: the list is points on the same figure. */
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: 0.5em; width: 11px; height: 11px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--beacon);
}

/* The report's pages, laid on the table. */
.pages { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; padding-bottom: var(--s-8); }
.pages .page { grid-row: 1; border-radius: var(--r-xs); overflow: hidden; background: #fff; box-shadow: var(--shadow-sheet); border: 1px solid var(--line); }
.pages .page:first-child { grid-column: 1 / span 7; position: relative; z-index: 1; }
.pages .page:last-child { grid-column: 6 / span 7; margin-top: var(--s-12); }
.pages img { width: 100%; }

/* ---- time-lapse examples: a schedule of reels ---- */
.reels { list-style: none; padding: 0; display: grid; gap: var(--s-8); margin-top: var(--s-10); }
/* Phones: a row you swipe through, not ten screens of scrolling. */
@media (max-width: 639px) {
  .reels {
    grid-auto-flow: column; grid-auto-columns: 84%; gap: var(--s-4);
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--s-3);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .reel { scroll-snap-align: start; }
}
.reels__hint { margin-top: var(--s-6); }
@media (min-width: 640px) { .reels__hint { display: none; } }
@media (max-width: 639px) { .reels { margin-top: var(--s-3); } }
@media (min-width: 640px) { .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) var(--s-6); } }
@media (min-width: 1040px) { .reels { gap: var(--s-10) var(--s-10); } }
.reel { display: grid; gap: var(--s-3); align-content: start; min-width: 0; }
@media (min-width: 1040px) { .reel { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-5); align-items: start; } }
.reel__media { position: relative; aspect-ratio: 760 / 474; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.reel__media img, .reel__media video { width: 100%; height: 100%; object-fit: cover; }
.reel__play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: var(--s-3);
  border: 0; background: transparent; cursor: pointer; border-radius: var(--r-md);
}
.reel__play span {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 40px; padding: 0 var(--s-4) 0 var(--s-3);
  border-radius: var(--r-sm); background: rgb(13 20 25 / 0.78); color: #fff; font-size: var(--t-sm); font-weight: var(--w-semi);
  backdrop-filter: blur(4px);
}
.reel__play:active span { background: rgb(13 20 25 / 0.92); }
@media (hover: hover) { .reel__play:hover span { background: rgb(13 20 25 / 0.92); } }
.reel__play:focus-visible { outline-offset: -4px; }
.reel__body { display: grid; gap: var(--s-1); min-width: 0; }
.reel__body h3 { font-size: var(--t-lg); font-weight: var(--w-semi); line-height: var(--lh-snug); }
.reel__body h3 a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: none; }
.reel__body h3 { margin-block: calc((var(--tap) - 1.25em) / -2); }
@media (hover: hover) { .reel__body h3 a:hover { text-decoration: underline; } }
.reel__place { font-size: var(--t-sm); color: var(--ink-3); }
.reel__blurb { font-size: var(--t-md); color: var(--ink-2); }
.reel__links { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); font-size: var(--t-sm); }
.reel__links a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: var(--w-medium); }

/* ---- pricing ---- */
.plans { display: grid; gap: var(--s-5); list-style: none; padding: 0; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.plan--pro { border: 2px solid var(--sky); box-shadow: var(--shadow-float); }
.plan h3 { font-size: var(--t-xl); font-weight: var(--w-bold); font-stretch: var(--wd-wide); }
.plan__price { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); font-weight: var(--w-bold); line-height: 1; font-stretch: var(--wd-condensed); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.plan__price small { font-size: var(--t-md); font-weight: var(--w-medium); color: var(--ink-3); font-stretch: var(--wd-normal); letter-spacing: 0; }
.plan__sub { font-size: var(--t-md); color: var(--ink-2); min-height: 1.55em; }
.plan .ticks { font-size: var(--t-md); flex: 1; align-content: start; }
.plan__cta { display: grid; gap: var(--s-2); }
.plan__cta .btn { width: 100%; }
.plan__alt { font-size: var(--t-sm); text-align: center; }
.plan__alt a { display: inline-flex; align-items: center; min-height: var(--tap); }
.promo {
  margin-top: var(--s-6); padding: var(--s-4) var(--s-5); border-radius: var(--r-md);
  border: 1px dashed var(--beacon); background: var(--beacon-soft); color: var(--ink); font-size: var(--t-md);
}
.promo code { font-family: var(--font); font-stretch: var(--wd-wide); font-weight: var(--w-bold); letter-spacing: 0.02em; color: var(--ink); }

/* ---- questions ---- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 56px; padding: var(--s-3) 0; cursor: pointer; list-style: none;
  font-size: var(--t-lg); font-weight: var(--w-semi); line-height: var(--lh-snug);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; color: var(--ink-3); transition: transform var(--dur-2) var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
@media (hover: hover) { .faq summary:hover { color: var(--sky); } }
.faq details > div { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: var(--measure); display: grid; gap: var(--s-3); }

/* ---- the last word: an ink band ---- */
.band { background: var(--band); color: var(--band-ink); padding-block: var(--s-16); }
@media (min-width: 960px) { .band { padding-block: var(--s-20); } }
.band .h2 { color: var(--band-ink); }
.band p { color: var(--band-ink-2); }
.band__grid { display: grid; gap: var(--s-8); align-items: end; }
@media (min-width: 960px) { .band__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-12); } }
.band .find label { color: var(--band-ink); }
.band .find__row { border-color: transparent; }
.band .find__or { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-4); color: var(--band-ink-2); font-size: var(--t-md); }
.band :focus-visible { outline-color: #6cc5ee; }

/* ---- footer ---- */
.foot { padding-block: var(--s-12) var(--s-10); font-size: var(--t-md); color: var(--ink-2); }
.foot__grid { display: grid; gap: var(--s-8); }
@media (min-width: 900px) { .foot__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); } }
.foot ul { list-style: none; padding: 0; display: grid; gap: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); color: var(--ink-2); }
@media (hover: hover) { .foot li a:hover { color: var(--sky); } }
.foot h2 { font-size: var(--t-md); font-weight: var(--w-semi); color: var(--ink); margin-bottom: var(--s-1); }
.foot__legal { margin-top: var(--s-10); padding-top: var(--s-6); border-top: 1px solid var(--line); display: grid; gap: var(--s-2); font-size: var(--t-sm); color: var(--ink-3); }

/* ---- legal pages (privacy, terms, acceptable use) ---- */
.doc { padding-block: var(--s-10) var(--s-16); }
.doc__body { max-width: 72ch; }
.doc__body h1 { font-family: var(--font-title); font-stretch: var(--wd-title); font-size: clamp(1.875rem, 1.4rem + 2vw, 2.625rem); line-height: 1.1; font-weight: var(--w-bold); letter-spacing: -0.02em; margin-bottom: var(--s-2); }
.doc__body .updated { color: var(--ink-3); font-size: var(--t-md); margin-bottom: var(--s-8); }
.doc__body h2 { font-size: var(--t-xl); font-weight: var(--w-semi); line-height: var(--lh-snug); margin: var(--s-10) 0 var(--s-3); }
.doc__body p, .doc__body li { color: var(--ink-2); }
.doc__body p + p { margin-top: var(--s-3); }
.doc__body ul, .doc__body ol { padding-left: var(--s-6); margin: var(--s-3) 0; display: grid; gap: var(--s-2); }
.doc__body strong { color: var(--ink); }
.doc__body .note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); font-size: var(--t-md); margin-top: var(--s-6); }
.doc__body .callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--beacon); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); margin: var(--s-6) 0; }
.doc__body .callout p { margin: 0; }

/* A link that stands on its own line gets a full-size target. */
.link-solo { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: var(--w-medium); }
