/*
 * The Linger site. Colors, faces and shapes are the app's own
 * (client/src/next/styles/tokens.css in the Linger repo): the night blues,
 * the cream text, and the lamp, which is kept for the main action on a
 * screen. Dark only, like the app.
 */

@font-face { font-family: "Geist Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/geist-sans-0.woff2") format("woff2"); }
@font-face { font-family: "Geist Sans"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("fonts/geist-sans-1.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/geist-mono-0.woff2") format("woff2"); }
@font-face { font-family: "Departure Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/departure-mono-0.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/newsreader-0.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("fonts/newsreader-1.woff2") format("woff2"); }

:root {
  color-scheme: dark;

  /* The app's surfaces. */
  --night-0: #0a101d;
  --night-1: #0f1522;
  --night-2: #131a28;
  --night-3: #182135;
  --night-hover: #1f2a40;
  --terminal: #0d1320;

  /* The app's text. --ink-3 is the dimmest text allowed (4.5:1). */
  --ink-1: #f1ebe0;
  --ink-2: #c0c6d2;
  --ink-3: #8d96a9;
  --icon-faint: #69738a;

  --lamp: #f3b55c;
  --lamp-2: #ffc674;
  --on-lamp: #1c1206;
  --sky: #2ec5f2;
  --around: #7cc98f;

  --hairline: #222d44;
  --hairline-strong: #2e3b54;
  --edge-hover: #43527a;

  --font-ui: "Geist Sans", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --font-label: "Departure Mono", "Geist Mono", monospace;
  --font-serif: "Newsreader", Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;

  --shadow-window: 0 0 0 1px rgb(255 255 255 / 0.07), 0 24px 60px rgb(0 0 0 / 0.55), 0 6px 16px rgb(0 0 0 / 0.35);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  --gutter: 24px;
  --band: clamp(64px, 8vw, 104px);
}

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

html {
  background: var(--night-0);
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  background: var(--night-0);
  color: var(--ink-2);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* A fine grain over the night, as in the app's press pictures. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 4px 4px;
}

main, .top, .foot { position: relative; z-index: 1; }

img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }

::selection { background: rgb(243 181 92 / 0.32); color: var(--ink-1); }

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

a { color: var(--ink-1); text-decoration: underline; text-decoration-color: var(--hairline-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color 160ms; }
a:hover { text-decoration-color: var(--lamp); }

h1, h2, h3 { color: var(--ink-1); font-weight: 600; line-height: 1.2; }
p + p { margin-top: 1em; }
strong { color: var(--ink-1); font-weight: 600; }

code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  color: var(--ink-1);
  background: var(--night-1);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 1px 5px;
  overflow-wrap: anywhere;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 16px; height: 16px; flex: none; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap.narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--lamp);
  color: var(--on-lamp);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 12px; }

/* ── The bar along the top ─────────────────────────────────────────────── */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(10 16 29 / 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(34 45 68 / 0.7);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 60px;
}

/* The logo is one picture, the door beside the name, copied from the Linger
   repo (assets/logo/linger-logo.svg). The link's aria-label names it. */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { width: auto; height: 26px; }

.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 160ms;
}
.top nav a:hover { color: var(--ink-1); }

/* ── Buttons ───────────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.02);
  color: var(--ink-1);
  font: 500 15px/1 var(--font-ui);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms, border-color 160ms, color 160ms;
}
.button:hover { background: var(--night-hover); border-color: var(--edge-hover); }
.button.lamp { background: var(--lamp); border-color: var(--lamp); color: var(--on-lamp); font-weight: 600; }
.button.lamp:hover { background: var(--lamp-2); border-color: var(--lamp-2); }
.button.quiet { border-color: transparent; background: none; color: var(--ink-2); }
.button.quiet:hover { color: var(--ink-1); background: var(--night-hover); }
.button .icon { width: 16px; height: 16px; }

/* ── Type shared by every section ──────────────────────────────────────── */

/* A section's label, drawn like the list's own ROOMS and PEOPLE. */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label::before {
  content: "";
  width: 6px;
  height: 6px;
  margin: -3px 2px 0;
  border-right: 1.5px solid var(--icon-faint);
  border-bottom: 1.5px solid var(--icon-faint);
  transform: rotate(45deg);
}

.statement {
  max-width: 21em;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.7vw, 2.9rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink-1);
  text-wrap: balance;
}
.statement em, .quote em, h1 em { font-style: italic; color: var(--lamp-2); }
.statement.small { font-size: clamp(1.6rem, 2.9vw, 2.25rem); max-width: 15em; }
.band .statement.small + p { margin-top: 24px; }

.sub { margin-top: 14px; max-width: 46em; color: var(--ink-2); }
.sub + * { margin-top: 36px; }
.fine { margin-top: 20px; font-size: 14.5px; color: var(--ink-3); }

.band { padding-block: var(--band); }
.band .statement + * { margin-top: 44px; }
.band .statement + .sub { margin-top: 14px; }

.window {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night-2);
  box-shadow: var(--shadow-window);
}
.window img { width: 100%; }

/* ── The top of the page ───────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 96px) clamp(64px, 9vw, 112px);
  overflow: hidden;
}
/* The lamp's warmth behind the list, and a cool edge of night low down. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 620px 400px at 80% 44%, rgb(243 181 92 / 0.15), transparent 72%),
    radial-gradient(ellipse 520px 300px at 6% 34%, rgb(46 197 242 / 0.05), transparent 72%);
  animation: lights-on 1.8s 0.15s var(--ease-out) both;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.presence {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-3);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--around); }

h1 {
  margin-top: 22px;
  max-width: 11.5em;
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede { margin-top: 26px; max-width: 32em; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.lede.soft { margin-top: 10px; color: var(--ink-3); }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.meta { margin-top: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }

.hero-shot { width: 340px; }

.hero-copy > * { animation: rise 0.9s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.16s; }
.hero-copy > :nth-child(5) { animation-delay: 0.22s; }
.hero-copy > :nth-child(6) { animation-delay: 0.26s; }
.hero-shot { animation: rise 1.1s 0.1s var(--ease-out) both; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes lights-on { from { opacity: 0; } }

/* ── How it works ──────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 0;
  list-style: none;
}
.steps li { padding-top: 22px; border-top: 1px solid var(--hairline-strong); }
.step-num { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.14em; color: var(--lamp); }
.steps h3 { margin-top: 12px; font-size: 19px; }
.steps p { margin-top: 8px; font-size: 16px; }

/* ── A look around ─────────────────────────────────────────────────────── */

.tour {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

/* The list of parts, drawn like the buddy list's own rows. */
.tour-list {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: var(--radius-lg);
  background: var(--night-2);
  box-shadow: var(--shadow-window);
}
.tour-list [role="tab"] {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: none;
  color: var(--ink-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 120ms, border-color 120ms;
}
.tour-list [role="tab"]:hover { background: rgb(31 42 64 / 0.6); }
.tour-list [role="tab"][aria-selected="true"] { background: var(--night-hover); border-color: var(--hairline-strong); }
.lead { display: grid; place-items: center; width: 16px; color: var(--ink-3); }
.lead.hash { font-family: var(--font-mono); font-size: 16px; line-height: 1; }
.marker { width: 8px; height: 8px; border-radius: 50%; background: var(--around); }
.row-text { display: grid; min-width: 0; }
.row-name { color: var(--ink-1); font-size: 15.5px; line-height: 20px; }
.row-meta {
  overflow: hidden;
  color: var(--ink-3);
  font-size: 13px;
  font-style: italic;
  line-height: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tour-panels { min-width: 0; }
.panel { margin: 0; }
.panel:focus-visible { outline-offset: 6px; border-radius: var(--radius-lg); }
.panel figcaption { margin-top: 20px; max-width: 40em; font-size: 16px; }
.panel.tall { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: 40px; }
.panel.tall figcaption { margin-top: 0; }
.phones { display: flex; gap: clamp(12px, 2.4vw, 28px); }
.phones .window.phone { flex: 1; max-width: 250px; border-radius: 26px; }

/* With the script, the panels share one spot, so choosing a part never moves the page below. */
.js .tour-panels { display: grid; }
.js .panel { grid-area: 1 / 1; }
.js .panel[hidden] { display: block; visibility: hidden; }
.js .panel.tall[hidden] { display: grid; }
html:not(.js) .panel[hidden] { display: block; }
html:not(.js) .panel + .panel { margin-top: 64px; }
html:not(.js) .tour-list { display: none; }
html:not(.js) .tour { grid-template-columns: minmax(0, 1fr); }

/* ── Watch it ──────────────────────────────────────────────────────────── */

.video { aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; background: var(--night-0); }

/* ── What it won't do ──────────────────────────────────────────────────── */

.nots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}
.nots li {
  padding: 22px 22px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  background: rgb(19 26 40 / 0.6);
}
.nots h3 { font-size: 17px; }
.nots p { margin-top: 6px; font-size: 15.5px; }

/* ── The honest part ───────────────────────────────────────────────────── */

.two {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.list-head { margin-bottom: 18px; font-family: var(--font-label); font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.checks { display: grid; gap: 14px; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; font-size: 16px; }
.checks .icon { margin-top: 4px; color: var(--around); }

/* ── Download ──────────────────────────────────────────────────────────── */

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  background: var(--night-2);
  transition: border-color 200ms;
}
.platform.is-yours { border-color: var(--edge-hover); }
.platform.later { background: none; border-style: dashed; border-color: var(--hairline-strong); }
.platform-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.platform h3 { font-size: 20px; }
.yours {
  padding: 3px 8px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.file { margin: -6px 0 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.note { font-size: 15px; }
.alt { font-size: 15px; color: var(--ink-3); }
.platform p { margin-top: 0; }

.distros { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; width: 100%; }
.distros > div, .distros dd { min-width: 0; }
.distros dt { color: var(--ink-1); font-weight: 600; font-size: 15.5px; }
.distros dd { margin: 4px 0 0; font-size: 15px; }
.distros dd p { margin-bottom: 8px; }
.distros .code { margin-top: 8px; }

.code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--night-1);
}
.code code {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  background: none;
  font-size: 12.5px;
  white-space: nowrap;
  overflow-x: auto;
  overflow-wrap: normal;
  scrollbar-width: thin;
}
.copy {
  flex: none;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  background: var(--night-2);
  color: var(--ink-2);
  font: 500 13px/1 var(--font-ui);
  cursor: pointer;
}
.copy:hover { color: var(--ink-1); border-color: var(--edge-hover); }
html:not(.js) .copy { display: none; }

/* ── Run a server ──────────────────────────────────────────────────────── */

.needs { display: grid; gap: 14px; margin-bottom: 22px; padding-left: 1.1em; }
.needs li::marker { color: var(--lamp); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.terminal {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--terminal);
  box-shadow: var(--shadow-window);
}
.terminal-bar {
  padding: 12px 18px;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.terminal pre {
  padding: 20px 22px 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}
.terminal .c { color: var(--ink-3); }
.terminal .p { color: var(--lamp); }

/* ── Help build it ─────────────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  display: block;
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  background: var(--night-2);
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color 160ms, background 160ms;
}
.card:hover { border-color: var(--edge-hover); background: var(--night-3); }
.card h3 { display: flex; align-items: center; gap: 6px; font-size: 17px; }
.card h3 .icon { color: var(--ink-3); transition: color 160ms, transform 160ms var(--ease-out); }
.card:hover h3 .icon { color: var(--lamp); transform: translate(2px, -2px); }
.card p { margin-top: 8px; font-size: 15px; }

#chip-in p { margin-bottom: 24px; max-width: 40em; }

/* ── The end ───────────────────────────────────────────────────────────── */

.closing { position: relative; padding-block: clamp(64px, 9vw, 112px) clamp(80px, 11vw, 140px); text-align: center; }
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse closest-side at 50% 45%, rgb(243 181 92 / 0.09), transparent);
}
.closing .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.porch { width: 150px; height: 150px; border-radius: 50%; }
.quote {
  margin-top: 36px;
  max-width: 19em;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  color: var(--ink-1);
  text-wrap: balance;
}

.foot { border-top: 1px solid var(--hairline); }
.foot-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 40px;
  padding-block: 40px 56px;
}
.foot-notes { max-width: 44em; font-size: 14px; color: var(--ink-3); }
.foot-notes p + p { margin-top: 6px; }
.foot-links { display: flex; gap: 20px; font-size: 14px; }
.foot-links a { color: var(--ink-2); }

/* ── Smaller screens ───────────────────────────────────────────────────── */

@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
  .panel.tall { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-shot { justify-self: center; width: min(340px, 100%); }
  .hero::before {
    background:
      radial-gradient(ellipse 70% 40% at 50% 72%, rgb(243 181 92 / 0.12), transparent 70%),
      radial-gradient(ellipse 60% 40% at 0% 0%, rgb(46 197 242 / 0.05), transparent 70%);
  }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .foot-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  /* The parts become a row you can swipe along, above one picture. */
  .tour { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tour-list {
    position: static;
    flex-direction: row;
    gap: 6px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 6px;
    overflow-x: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    scrollbar-width: none;
  }
  .tour-list::-webkit-scrollbar { display: none; }
  .tour-list [role="tab"] {
    flex: none;
    grid-template-columns: 16px auto;
    min-height: 40px;
    padding: 6px 14px 6px 12px;
    border-color: var(--hairline);
    border-radius: 999px;
    background: var(--night-2);
  }
  .tour-list [role="tab"][aria-selected="true"] { border-color: var(--edge-hover); }
  .row-meta { display: none; }
  .row-name { font-size: 14.5px; }
  .js .tour-panels { display: block; }
  .js .panel[hidden], .js .panel.tall[hidden] { display: none; }
  .panel.tall { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 20px; }
  .panel.tall .window { width: min(300px, 100%); }
  .panel.tall figcaption { justify-self: stretch; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .top nav { gap: 18px; }
  .lede { font-size: 17.5px; }
  .cards, .nots { grid-template-columns: minmax(0, 1fr); }
  .platform { padding: 20px; }
  .ctas .button { flex: 1 1 auto; }
  /* Phone-sized pictures here (build.mjs picks them below 640px): kept at a phone's width. */
  .panel .window { max-width: 320px; margin-inline: auto; }
  .phones {
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .phones .window.phone { flex: none; width: 250px; max-width: none; margin: 0; border-radius: 22px; scroll-snap-align: center; }
  .terminal pre { font-size: 12.5px; padding: 16px; }
}

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

/* ── The page for an address that isn't here ──────────────────────────── */

.lost { display: grid; min-height: 100vh; place-items: center; text-align: center; padding-block: 64px; }
.lost .wrap { display: flex; flex-direction: column; align-items: center; }
.lost h1 { margin-top: 32px; }
.lost .ctas { justify-content: center; }
