/* homebot.sh: the homepage.
   A family album. The page is aged album paper in light mode and a black
   album page in dark mode; the family photograph is a sepia print on a
   cabinet-card mount; the faces are small prints held by photo corners.
   Terminals are the only other boxes. Everything is sepia except Neatpik's
   mint, the one hand-tinted colour, used for links, buttons and fixes. */

@font-face {
  font-family: "Young Serif";
  src: url(/assets/fonts/young-serif-latin-400-normal.woff2?v=6ba68b99) format("woff2");
  font-weight: 400;
  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;
}
@font-face {
  font-family: "Libre Franklin";
  src: url(/assets/fonts/libre-franklin-latin-wght-normal.woff2?v=52e60585) format("woff2-variations");
  font-weight: 100 900;
  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;
}
@font-face {
  font-family: "Libre Franklin";
  src: url(/assets/fonts/libre-franklin-latin-wght-italic.woff2?v=c9fb9170) format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  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;
}

/* ------------------------------------------------------------------ tokens */

:root {
  color-scheme: light dark;

  --serif: "Young Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Libre Franklin", "Franklin Gothic", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, "DejaVu Sans Mono", "Liberation Mono", monospace;

  /* the album page: aged cream paper, browner at the edges */
  --paper: #ece2cc;
  --paper-light: #f6efdd;
  --paper-edge: #d9c49c;
  --stain-opacity: .55;
  --grain-opacity: .2;

  --ink: #2a2017;
  --ink-soft: #5b4a39;
  --rule: rgb(42 32 23 / .18);
  --code-bg: rgb(42 32 23 / .08);

  /* Neatpik, hand-tinted */
  --mint: #8fdcc2;
  --mint-ink: #0f2b23;
  --link-line: #2a7a62;
  --focus: #2a7a62;

  /* prints, the cabinet-card mount and the photo corners */
  --print-border: #f4ecd9;
  --print-shadow: 0 1px 1px rgb(42 28 16 / .2), 0 14px 26px -14px rgb(42 28 16 / .6);
  --mount: #3d2c1f;
  --mount-deep: #261a12;
  --gilt: #c9a45c;
  --corner: #2a2017;

  /* terminals: dark in both themes */
  --term-bg: #211a14;
  --term-edge: #120d09;
  --term-ink: #ece3d0;
  --term-bright: #fff8ea;
  --term-dim: #a09079;
  --term-urgent: #ff9b80;
  --term-fix: #8fdcc2;
  --term-path: #e9c98a;
  --term-step: #a9d2df;
  --term-warn: #f2c46d;

  --gutter: clamp(16px, 4vw, 48px);
  --page: 1240px;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* the black page of an old album */
    --paper: #1a1511;
    --paper-light: #241d17;
    --paper-edge: #0f0b08;
    --stain-opacity: .4;
    --grain-opacity: .14;

    --ink: #ece2cc;
    --ink-soft: #b9a98f;
    --rule: rgb(236 226 204 / .15);
    --code-bg: rgb(236 226 204 / .09);

    --link-line: #8fdcc2;
    --focus: #8fdcc2;

    --print-border: #e9dfc8;
    --print-shadow: 0 1px 1px rgb(0 0 0 / .45), 0 16px 32px -14px rgb(0 0 0 / .85);
    --mount: #4a3727;
    --mount-deep: #2c2018;
    --corner: #b99a64;

    --term-bg: #110d0a;
    --term-edge: #3b3026;
  }
}

/* ------------------------------------------------------------------- base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(80% 60% at 30% 0%, var(--paper-light), transparent 70%),
    radial-gradient(70% 70% at 100% 100%, var(--paper-edge), transparent 72%),
    radial-gradient(55% 50% at 0% 100%, var(--paper-edge), transparent 70%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* The paper's age: soft stains and foxing, then a fine fibre grain. Both sit
   behind everything and stay put while the page scrolls. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  opacity: var(--stain-opacity);
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='900' viewBox='0 0 1200 900' preserveAspectRatio='none'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .006' numOctaves='5' seed='11'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.7' intercept='-.35'/%3E%3CfeFuncG type='linear' slope='1.7' intercept='-.38'/%3E%3CfeFuncB type='linear' slope='1.7' intercept='-.45'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  background-size: cover;
}
body::after {
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85 .55' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

img { max-width: 100%; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
}
a:hover { text-decoration-thickness: 3px; }

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

code {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--code-bg);
  padding: .08em .32em;
  border-radius: 4px;
  white-space: nowrap;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  /* Young Serif's default figures are old-style, which turns "HAL 9000" into "HAL 9ooo" */
  font-variant-numeric: lining-nums;
}

p { margin: 0; }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: .6em 1em;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* the page column */
.masthead,
main > section,
.footer {
  width: min(100% - 2 * var(--gutter), var(--page));
  margin-inline: auto;
}

/* ---------------------------------------------------------------- masthead */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: clamp(16px, 2.4vw, 28px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -.01em;
}
.wordmark-face {
  width: 1.3em;
  height: 1.3em;
  color: var(--ink);
}

.masthead ul {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.masthead nav a {
  font-weight: 560;
  text-decoration-color: transparent;
}
.masthead nav a:hover { text-decoration-color: var(--link-line); }

/* -------------------------------------------------------------------- hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "photo" "body";
  gap: clamp(24px, 4vw, 40px);
  padding-block: clamp(16px, 3vw, 40px) clamp(24px, 4vw, 48px);
}

.hero h1 {
  grid-area: head;
  font-size: clamp(2.5rem, 1.55rem + 4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.018em;
  max-width: 12ch;
}

.hero-body { grid-area: body; }

.pitch {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.3rem);
  line-height: 1.5;
  max-width: 34ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .7em 1.25em;
  border-radius: 6px;
  font-weight: 620;
  text-decoration: none;
  line-height: 1.2;
}
.button-primary {
  background: var(--mint);
  color: var(--mint-ink);
  box-shadow: inset 0 -2px 0 rgb(15 43 35 / .22), 0 6px 16px -8px rgb(15 43 35 / .5);
}
.button-primary:hover { background: #a3e6cf; }
.button-quiet {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.button-quiet:hover { background: var(--code-bg); }

.note {
  margin-top: 24px;
  max-width: 36ch;
  font-size: .95rem;
  color: var(--ink-soft);
}
.note strong { color: var(--ink); font-weight: 650; }

/* The cabinet card: the print glued to a thick brown mount with a gilt
   bevel, and the family's name stamped below it like a studio imprint. */
.mount {
  grid-area: photo;
  position: relative;
  margin: 0;
  padding: clamp(10px, 1.8vw, 22px) clamp(10px, 1.8vw, 22px) 0;
  border-radius: 6px;
  background-color: var(--mount);
  background-image:
    radial-gradient(120% 90% at 20% 0%, rgb(255 240 210 / .1), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 .85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23l)' opacity='.4'/%3E%3C/svg%3E"),
    linear-gradient(165deg, var(--mount), var(--mount-deep));
  box-shadow:
    inset 0 1px 0 rgb(255 240 210 / .14),
    inset 0 -2px 0 rgb(0 0 0 / .28),
    0 2px 3px rgb(42 28 16 / .3),
    0 34px 60px -26px rgb(42 28 16 / .75);
}
.mount::before {
  /* the gilt rule pressed into the card */
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(201 164 92 / .55);
  border-radius: 3px;
  pointer-events: none;
}

.print {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: #a08a6c;
  /* the bevel round the print */
  box-shadow: 0 0 0 1px rgb(201 164 92 / .7), 0 0 0 3px rgb(0 0 0 / .25);
}
.print img {
  display: block;
  width: 100%;
  height: auto;
  /* a 4:3 print, never cropped to fit the page */
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.print::after {
  /* the print develops, once, as the page arrives */
  content: "";
  position: absolute;
  inset: 0;
  background: #f3e6c8;
  opacity: 0;
  pointer-events: none;
  animation: develop 1.4s ease-out both;
}
@keyframes develop {
  0% { opacity: .45; }
  100% { opacity: 0; }
}

.mount figcaption {
  padding: .65em 0 .75em;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(.95rem, .85rem + .4vw, 1.15rem);
  letter-spacing: .03em;
  color: var(--gilt);
  background-image: linear-gradient(180deg, #f0dc9f 10%, #b88f45 55%, #e2c47b 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "photo head" "photo body";
    grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 5vw, 80px);
    row-gap: 28px;
    align-items: start;
    padding-top: clamp(24px, 4vw, 56px);
  }
  .hero h1 { align-self: end; padding-top: clamp(8px, 3vw, 40px); }
  .mount { transform: rotate(-1deg); }
}

/* -------------------------------------------------------- what it does */

.does {
  padding-block: clamp(48px, 7vw, 88px);
}

.does-intro,
.family-intro {
  max-width: 40rem;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.does-intro h2,
.family-intro h2 {
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -.012em;
  margin-bottom: .45em;
}
.does-intro p,
.family-intro p {
  font-size: 1.15rem;
  max-width: 38em;
}
.family-intro p + p { margin-top: .8em; }

.feature h3 {
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem);
  line-height: 1.15;
  margin-bottom: .55em;
}
.feature-text p { max-width: 36em; }
.feature-text p + p { margin-top: .75em; }
.feature-text .more { margin-top: 1em; font-weight: 560; }
.feature .term { margin-top: 20px; }

.feature-lead {
  margin-bottom: clamp(56px, 7vw, 88px);
}
@media (min-width: 900px) {
  .feature-lead {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
  }
  .feature-lead .term { margin-top: 0; }
  .feature-lead h3 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); }
  .feature-lead .feature-text p { font-size: 1.1rem; }
}

.feature-grid {
  display: grid;
  gap: clamp(48px, 6vw, 72px) clamp(32px, 5vw, 64px);
}
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------- terminals */

.term {
  margin: 0;
  padding: 18px 20px 20px;
  border-radius: 10px;
  background: var(--term-bg);
  color: var(--term-ink);
  box-shadow: 0 0 0 1px var(--term-edge), 0 20px 40px -26px rgb(10 14 18 / .7);
  font-family: var(--mono);
  font-size: clamp(.75rem, .7rem + .2vw, .84rem);
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 4;
}
.term code {
  font: inherit;
  background: none;
  padding: 0;
  border-radius: 0;
  white-space: inherit;
}
.t-in { color: var(--term-bright); font-weight: 600; }
.t-ps { color: var(--term-dim); font-weight: 400; margin-right: .1em; }
.t-dim { color: var(--term-dim); }
.t-urg { color: var(--term-urgent); font-weight: 700; }
.t-fix { color: var(--term-fix); }
.t-path { color: var(--term-path); }
.t-step { color: var(--term-step); }
.t-warn { color: var(--term-warn); }

/* --------------------------------------------------------- meet the family */

.family {
  padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 104px);
  scroll-margin-top: 16px;
}

/* The picker: a row of faces on a phone, a column beside the terminal on a
   wide screen. */
.voice {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
@media (min-width: 900px) {
  .voice {
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
  }
}

.voice-picker {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.voice-picker legend {
  padding: 0;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 1.35rem;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (min-width: 900px) {
  .pills { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
}
.pills input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.pills label {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  padding: 5px 1em 5px 5px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px var(--rule);
  font-weight: 560;
  font-size: .98rem;
  cursor: pointer;
  user-select: none;
}
@media (min-width: 900px) {
  .pills label { display: flex; box-shadow: none; }
}
.pills label:hover { background: var(--code-bg); }
.pills input:checked + label {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}
.pills input:focus-visible + label {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.pill-face img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  object-fit: cover;
  background: #a08a6c;
}

.voice-term { font-size: clamp(.75rem, .7rem + .25vw, .9rem); }

.voice-caption {
  margin-top: 16px;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* Who is talking: one radio per voice, no script. Neatpik shows by default
   (and stays the only voice in a browser without :has()). */
.voice [data-p] { display: none; }
.voice [data-p="neatpik"] { display: inline; }
@supports selector(:has(*)) {
  .voice:has(.pills input:checked:not(#v-neatpik)) [data-p="neatpik"] { display: none; }
  .voice:has(#v-rosie:checked) [data-p="rosie"],
  .voice:has(#v-wall-e:checked) [data-p="wall-e"],
  .voice:has(#v-marvin:checked) [data-p="marvin"],
  .voice:has(#v-r2-d2:checked) [data-p="r2-d2"],
  .voice:has(#v-johnny-5:checked) [data-p="johnny-5"],
  .voice:has(#v-hal-9000:checked) [data-p="hal-9000"],
  .voice:has(#v-miss-minute:checked) [data-p="miss-minute"] { display: inline; }
}
@supports not selector(:has(*)) {
  .voice { display: block; }
  .voice-picker, .voice-caption { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  /* only once someone is picking, not on page load */
  .voice:focus-within [data-p] { animation: voice-in .35s ease-out; }
}
@keyframes voice-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* the album: one small print per face, held by four photo corners */
.members {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  margin: clamp(56px, 8vw, 96px) 0 0;
  padding: 0;
  list-style: none;
}
.member::after { content: ""; display: block; clear: both; }

.snap {
  position: relative;
  float: left;
  width: 96px;
  margin: 4px 18px 8px 4px;
  padding: 5px;
  background: var(--print-border);
  box-shadow: var(--print-shadow);
  transform: rotate(-1.5deg);
}
.member:nth-child(even) .snap { transform: rotate(1.2deg); }
.member:nth-child(3n) .snap { transform: rotate(-.6deg); }
.snap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #a08a6c;
}
.snap::before {
  /* the print's own darker edges */
  content: "";
  position: absolute;
  inset: 5px;
  background: radial-gradient(closest-side, transparent 62%, rgb(42 26 12 / .32));
  pointer-events: none;
}
.snap::after {
  /* photo corners */
  --c: 18px;
  content: "";
  position: absolute;
  inset: -3px;
  pointer-events: none;
  background:
    linear-gradient(135deg, var(--corner) 50%, transparent 50.5%) top left / var(--c) var(--c) no-repeat,
    linear-gradient(225deg, var(--corner) 50%, transparent 50.5%) top right / var(--c) var(--c) no-repeat,
    linear-gradient(45deg, var(--corner) 50%, transparent 50.5%) bottom left / var(--c) var(--c) no-repeat,
    linear-gradient(315deg, var(--corner) 50%, transparent 50.5%) bottom right / var(--c) var(--c) no-repeat;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / .25));
}

.member h3 {
  font-size: 1.5rem;
  line-height: 1.15;
  margin-top: 4px;
}
.origin {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: .95rem;
}
.origin cite { font-style: italic; }
.member dl {
  clear: both;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: .9rem;
}
.member dt { color: var(--ink-soft); font-size: .88rem; }
.member dd { margin: 1px 0 8px; }
.member dd code { font-size: .9em; white-space: normal; }
.says {
  clear: both;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.35;
}
.says q { quotes: "\201C" "\201D"; }
.says-translation {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-style: italic;
  font-size: .9rem;
  color: var(--ink-soft);
}

@media (min-width: 640px) {
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
  .snap {
    float: none;
    display: block;
    width: 132px;
    margin: 4px 0 20px 4px;
    padding: 6px;
  }
  .snap::before { inset: 6px; }
  .member dl { clear: none; }
}
@media (min-width: 1240px) {
  .members { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 32px; }
}

/* ------------------------------------------------------------------ footer */

.footer {
  padding-block: 40px 56px;
  border-top: 1px solid var(--rule);
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
}
.footer-status strong { font-weight: 650; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 560;
}
.footer-small {
  margin-top: 24px;
  max-width: 62ch;
  font-size: .85rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------- not found */

.lost {
  padding-block: clamp(32px, 6vw, 80px) clamp(64px, 10vw, 128px);
  display: grid;
  gap: 32px;
  align-items: start;
}
.lost h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  max-width: 14ch;
}
.lost-text p { font-size: 1.15rem; max-width: 34ch; margin-top: .6em; }
.lost .term { max-width: 40rem; }
.lost .term a {
  color: var(--term-fix);
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
}
@media (min-width: 900px) {
  .lost { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
}

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

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

@media (forced-colors: active) {
  .pills input:checked + label { outline: 2px solid CanvasText; }
  .print::after { display: none; }
}

@media print {
  body::before, body::after, .print::after { display: none; }
  body { background: #fff; }
}
