/* wonderbooth.app marketing and legal pages.
   The portal's "console" layer (dashboard/src/portal/portal.css, docs/DESIGN.md)
   carried onto a static page: dark only, depth from light, accent only where
   something emits. No raw colour below the token block. */

:root {
  color-scheme: dark;

  /* Surfaces */
  --ground: #0a0a0b;
  --ground-2: #0e0e10;
  --sunk: #08080a;
  --raise-top: #2a2a2d;
  --raise-bottom: #151517;
  --card-top: #1a1e27;
  --card-bottom: #141720;
  --slab-top: #1c1c1f;
  --slab-bottom: #111113;
  --screen: #050506;

  /* Ink: the portal's four steps, all 4.5:1 or better on these grounds */
  --ink: #d4d4d8;
  --ink-strong: #ffffff;
  --ink-dim: #a8a8b0;
  --ink-faint: #8e8e96;
  --ink-faintest: #3a3a3f;

  /* Accent is light (precept 7) */
  --accent: #f5a524;
  --glow: color-mix(in srgb, var(--accent) 55%, transparent);
  --bloom: color-mix(in srgb, var(--accent) 16%, transparent);
  --bloom-far: color-mix(in srgb, var(--accent) 5%, transparent);

  --rule: rgba(255, 255, 255, 0.055);
  --hairline: rgba(255, 255, 255, 0.1);
  --black: rgba(0, 0, 0, 0.8);

  --well-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.03);
  --raise-shadow: 0 8px 18px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6);
  --card-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  --slab-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.95), 0 30px 60px -30px rgba(0, 0, 0, 0.8);

  --r-control: 8px;
  --r-well: 12px;
  --r-card: 18px;
  --r-slab: 22px;
  --r-pill: 999px;

  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --t-colour: 160ms;
  --t-select: 200ms;

  --gutter: clamp(16px, 4vw, 40px);
  --measure: 1120px;
}

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

html {
  background: var(--ground);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* ---- primitives --------------------------------------------------------- */

.lbl {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  background: var(--ink-faintest);
}
.dot-live {
  background: var(--accent);
  box-shadow: 0 0 9px var(--accent);
  animation: breathe 2.4s var(--ease) infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.glow {
  color: var(--accent);
  filter: drop-shadow(0 0 7px var(--glow));
}

.well {
  background: var(--sunk);
  border-radius: var(--r-well);
  box-shadow: var(--well-shadow);
}

.raise {
  background: linear-gradient(180deg, var(--raise-top), var(--raise-bottom));
  border-radius: var(--r-well);
  box-shadow: var(--raise-shadow);
}

.card {
  border: 1px solid transparent;
  border-radius: var(--r-card);
  background-image: linear-gradient(180deg, var(--card-top), var(--card-bottom)),
    linear-gradient(180deg, var(--hairline), rgba(255, 255, 255, 0));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--card-shadow);
}

.rule {
  height: 1px;
  background: var(--rule);
}

/* Buttons stand proud of the page; press is immediate (Touch). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-well);
  background: linear-gradient(180deg, var(--raise-top), var(--raise-bottom));
  box-shadow: var(--raise-shadow);
  color: var(--ink-strong);
  font: 500 13.5px/1 var(--sans);
  cursor: pointer;
  transition: box-shadow var(--t-select) var(--ease), transform var(--t-select) var(--ease),
    color var(--t-colour) var(--ease);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-lg {
  min-height: 52px;
  padding: 0 22px;
  font-size: 14.5px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 6px;
  color: var(--ink-dim);
  font-size: 13.5px;
  font-weight: 500;
  transition: color var(--t-colour) var(--ease);
}
.link:hover {
  color: var(--ink-strong);
}
.link svg {
  transition: transform var(--t-select) var(--ease);
}
.link:hover svg {
  transform: translateX(2px);
}

/* Status pill: raised, never tinted (precept 7). */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  padding: 0 13px 0 11px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--raise-top), var(--raise-bottom));
  box-shadow: var(--raise-shadow);
}
.pill .lbl {
  color: var(--ink-dim);
}

/* ---- nav ---------------------------------------------------------------- */

.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: var(--ink-strong);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.02em;
}
.mark {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--raise-top), var(--raise-bottom));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
/* The lens: a sunk ring with the tally light lit in it. */
.mark::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: var(--r-pill);
  background: var(--sunk);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.06);
}
.mark::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 11px;
  width: 4px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink-dim);
  font-size: 13.5px;
  transition: color var(--t-colour) var(--ease);
}
.nav-links a:not(.btn):hover,
.nav-links a[aria-current='page'] {
  color: var(--ink-strong);
}
.nav-links .btn {
  margin-left: 8px;
}

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

.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 104px) 0;
  overflow: hidden;
  isolation: isolate;
}
/* The flash: the one place the accent fills space, because it is the light
   the booth gives off, falling on the ground below the slab. */
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: min(1200px, 160vw);
  aspect-ratio: 1.6;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--bloom), var(--bloom-far) 55%, transparent);
  pointer-events: none;
}
/* The console sinks into the page instead of stopping at an edge. */
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--ground));
  pointer-events: none;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.display {
  margin: 0;
  max-width: 15ch;
  color: var(--ink-strong);
  font-size: clamp(40px, 7.4vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.display .dim,
.h2 .dim {
  color: var(--ink-faint);
}
.lede {
  margin: 0;
  max-width: 54ch;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  text-wrap: pretty;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 6px;
}

/* The console: an iPad in landscape, running the booth's look picker. */
.stage {
  margin-top: clamp(48px, 7vw, 80px);
  perspective: 1800px;
}
.slab {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(10px, 1.4vw, 16px);
  border-radius: calc(var(--r-slab) + 6px) calc(var(--r-slab) + 6px) 0 0;
  background: linear-gradient(180deg, var(--slab-top), var(--slab-bottom));
  box-shadow: var(--slab-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateX(16deg);
  transform-origin: 50% 100%;
  animation: settle 1.1s var(--ease) both;
}
@keyframes settle {
  from { transform: rotateX(28deg) translateY(24px); }
  to { transform: rotateX(16deg); }
}
.screen {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(14px, 2.4vw, 28px);
  border-radius: var(--r-slab) var(--r-slab) 0 0;
  background: var(--screen);
  box-shadow: inset 0 0 0 1px var(--black), inset 0 0 40px rgba(0, 0, 0, 0.9);
}
.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.steps li + li::before {
  content: '';
  width: clamp(10px, 2vw, 22px);
  height: 1px;
  background: var(--ink-faintest);
}
.steps .lbl {
  color: var(--ink-faint);
}
.steps [aria-current='step'] .lbl {
  color: var(--ink-strong);
}
.screen-title {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 6px 10px;
  border-radius: var(--r-well);
  transition: transform var(--t-select) var(--ease), box-shadow var(--t-select) var(--ease);
}
.tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}
.tile .lbl {
  padding-inline: 2px;
  font-size: 9px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Selection is raised, not ringed (precept 6). */
.tile[aria-selected='true'] {
  background: linear-gradient(180deg, var(--raise-top), var(--raise-bottom));
  box-shadow: var(--raise-shadow);
  transform: translateY(-4px);
}
.tile[aria-selected='true'] .lbl {
  color: var(--ink-strong);
}

/* ---- sections ----------------------------------------------------------- */

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
}
.section + .section::before,
.hero + .section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--rule);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.section-head p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 16px;
  max-width: 52ch;
}

/* Bento: wide, narrow / narrow, wide. */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bento .card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 22px;
}
.span-2 {
  grid-column: span 2;
}
.card h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.55;
}
.card-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.icon {
  width: 20px;
  height: 20px;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.strip figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-control);
}
.strip figcaption {
  font-size: 9px;
}

.readout {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0;
}
.readout-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-dim);
}
.readout-row + .readout-row {
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.025);
}
.readout-row .url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.readout-row .v {
  margin-left: auto;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}

.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px 0 12px;
  border-radius: var(--r-well);
  background: linear-gradient(180deg, var(--raise-top), var(--raise-bottom));
  box-shadow: var(--raise-shadow);
  color: var(--ink);
  font-size: 13px;
}
.chip svg {
  width: 16px;
  height: 16px;
}

/* Split: copy left, console card right. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split .section-head {
  margin-bottom: 0;
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  color: var(--ink);
  font-size: 14.5px;
}
.checks svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.event {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
}
.event-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dateblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 56px;
  flex-shrink: 0;
}
.dateblock .d {
  color: var(--ink-strong);
  font: 500 20px/1 var(--mono);
}
.dateblock .m {
  margin-top: 5px;
  font-size: 9px;
}
.event-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.event-name strong {
  color: var(--ink-strong);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status .lbl {
  color: var(--ink-dim);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
}
.stat .v {
  color: var(--ink-strong);
  font: 500 22px/1 var(--mono);
  font-variant-numeric: tabular-nums;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-control);
}

/* Closing call: the flash again, smaller. */
.closer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.closer::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(900px, 140vw);
  aspect-ratio: 1.8;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--bloom), transparent);
  pointer-events: none;
}
.closer .section-head {
  align-items: center;
  margin-inline: auto;
  margin-bottom: 30px;
}
.closer .actions {
  margin-top: 0;
}
.address {
  margin-top: 18px;
  color: var(--ink-faint);
  font: 12.5px/1.4 var(--mono);
  user-select: all;
}

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

.footer {
  position: relative;
  padding-block: 56px 40px;
  background: var(--ground-2);
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-brand p {
  margin: 14px 0 0;
  max-width: 30ch;
  color: var(--ink-faint);
  font-size: 13.5px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-col .lbl {
  margin-bottom: 8px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--ink-dim);
  font-size: 13.5px;
  transition: color var(--t-colour) var(--ease);
}
.footer-col a:hover,
.footer-col a[aria-current='page'] {
  color: var(--ink-strong);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 22px;
  box-shadow: inset 0 1px 0 var(--rule);
  color: var(--ink-faint);
  font-size: 12.5px;
}

/* ---- legal pages -------------------------------------------------------- */

.doc {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(48px, 7vw, 88px) clamp(72px, 10vw, 120px);
}
.doc-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.doc-head h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.doc-head p {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-dim);
  font-size: 16px;
}
/* The jump rail (precept 3). */
.rail {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rail .lbl {
  margin-bottom: 10px;
}
.rail a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: var(--ink-faint);
  font-size: 13px;
  transition: color var(--t-colour) var(--ease);
}
.rail a::before {
  content: '';
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  background: var(--ink-faintest);
  transition: background var(--t-select) var(--ease), box-shadow var(--t-select) var(--ease);
}
.rail a:hover {
  color: var(--ink-strong);
}
.rail a[aria-current='true'] {
  color: var(--ink-strong);
}
.rail a[aria-current='true']::before {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.prose {
  max-width: 68ch;
  min-width: 0;
}
.prose section {
  scroll-margin-top: 88px;
  padding-block: 28px;
}
.prose section + section {
  box-shadow: inset 0 1px 0 var(--rule);
}
.prose h2 {
  margin: 0 0 12px;
  color: var(--ink-strong);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.prose h3 {
  margin: 22px 0 8px;
  color: var(--ink-strong);
  font-size: 15.5px;
  font-weight: 500;
}
.prose p,
.prose li {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}
.prose p {
  margin: 0 0 12px;
}
.prose ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.prose li + li {
  margin-top: 6px;
}
.prose li::marker {
  color: var(--ink-faint);
}
.prose strong {
  color: var(--ink-strong);
  font-weight: 500;
}
.prose a {
  color: var(--ink-strong);
  text-decoration: underline;
  text-decoration-color: var(--ink-faintest);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-colour) var(--ease);
}
.prose a:hover {
  text-decoration-color: var(--accent);
}
.prose .callout {
  margin: 16px 0;
  padding: 16px 18px;
}
.prose .callout p:last-child {
  margin-bottom: 0;
}
.table-scroll {
  overflow-x: auto;
  margin: 8px 0 14px;
}
.prose table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
}
.prose th,
.prose td {
  padding: 10px 12px 10px 0;
  text-align: left;
  vertical-align: top;
}
.prose th {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.prose td {
  color: var(--ink);
  box-shadow: inset 0 1px 0 var(--rule);
}

/* SMS opt-in: the booth's share screen, as guests see it. */
.optin {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 18px 0 8px;
  padding: 22px;
}
.prose .optin-title {
  margin: 0;
  color: var(--ink-strong);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.optin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.optin-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink-strong);
  font: 13px var(--mono);
}
.optin-field .lbl {
  color: var(--ink-faint);
}
.optin .btn {
  flex: 0 0 auto;
  cursor: default;
}
.prose .optin-consent {
  margin: 0;
  color: var(--ink-dim);
  font-size: 12.5px;
  line-height: 1.6;
}
.prose .optin-consent a {
  color: var(--ink-strong);
}
.prose .bubble {
  max-width: 44ch;
  margin: 10px 0 14px;
  padding: 14px 16px;
  border-radius: 18px 18px 18px 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
.bubble .lbl {
  display: block;
  margin-bottom: 6px;
}

/* ---- narrow ------------------------------------------------------------- */

@media (max-width: 900px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .span-2 {
    grid-column: auto;
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .doc {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) {
    display: none;
  }
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tiles li:nth-child(n + 4) {
    display: none;
  }
  .steps li:not([aria-current='step']):not(:first-child) {
    display: none;
  }
  .screen-top .lbl.when {
    display: none;
  }
  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .thumbs img:nth-child(5) {
    display: none;
  }
}

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