/* TextTots — texttots.com
   Layout: one left-aligned reading column; the hero splits into words (left) and a live chat
   log (right) that stacks under the headline on phones; every later section is quiet text. */

@font-face {
  font-family: "Recursive Casual";
  src: url("/fonts/recursive-casual.woff2") format("woff2-variations"), url("/fonts/recursive-casual.woff2") format("woff2");
  font-weight: 300 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-next-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-next-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Dark first: the site is built around the 3am feed. Morning (light) values follow. */
:root {
  --bg: #17142b;          /* night: the nursery with the lights off */
  --surface: #211d3b;     /* the app screen */
  --surface-2: #2c2750;   /* an entry card */
  --line: #3a3466;
  --fg: #eeeafb;          /* moonlit text */
  --muted: #aba5cf;
  --accent: #ffb463;      /* nightlight amber: your own messages and the main action */
  --accent-edge: #ffb463;
  --on-accent: #2a1906;
  --ok: #86e3c3;
  --focus: #ffd29e;
  --cat-feed: #ffb463;
  --cat-sleep: #b3aaff;
  --cat-diaper: #7fd6e8;
  --cat-care: #ff9fb2;
  --cat-other: #c9c3e6;

  --font-hand: "Recursive Casual", "Recursive", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-sm: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: 1.3125rem;
  --t-h3: 1.3125rem;
  --t-h2: clamp(1.875rem, 1.25rem + 2.4vw, 2.75rem);
  --t-h1: clamp(2.625rem, 1.4rem + 5vw, 4.75rem);

  --measure: 36rem;
  --radius-screen: 28px;
  --radius-card: 14px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f2fb;
    --surface: #ffffff;
    --surface-2: #f1eefa;
    --line: #dad5ee;
    --fg: #1f1a3a;
    --muted: #5c5680;
    --accent: #ffb463;
    --accent-edge: #e0913f;
    --on-accent: #2a1906;
    --ok: #1c7c5e;
    --focus: #5b4fd1;
    --cat-feed: #b8620c;
    --cat-sleep: #5b4fd1;
    --cat-diaper: #0f7c94;
    --cat-care: #b8385a;
    --cat-other: #6e6890;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f4f2fb;
  --surface: #ffffff;
  --surface-2: #f1eefa;
  --line: #dad5ee;
  --fg: #1f1a3a;
  --muted: #5c5680;
  --accent: #ffb463;
  --accent-edge: #e0913f;
  --on-accent: #2a1906;
  --ok: #1c7c5e;
  --focus: #5b4fd1;
  --cat-feed: #b8620c;
  --cat-sleep: #5b4fd1;
  --cat-diaper: #0f7c94;
  --cat-care: #b8385a;
  --cat-other: #6e6890;
  color-scheme: light;
}

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

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding-inline: clamp(16px, 4vw, 40px);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.2em;
}
.sr-only {
  position: absolute;
  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: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 0.9rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
.hand {
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
}

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 2rem;
  height: 2rem;
}
.mark-bubble {
  fill: var(--accent);
}
.mark-dot {
  fill: var(--on-accent);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--accent-edge);
  border-radius: 999px;
  color: var(--fg);
  font-weight: 700;
  font-size: var(--t-sm);
  text-decoration: none;
}
.header-cta:hover {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

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

.hero {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-block: clamp(1.5rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem);
}
@media (min-width: 60rem) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}
.hero-words {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}
.hero h1 {
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
  font-weight: 820;
  font-size: var(--t-h1);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 12ch;
}
.hero h1 .caret {
  display: inline-block;
  width: 0.09em;
  height: 0.82em;
  margin-left: 0.08em;
  vertical-align: -0.04em;
  background: var(--accent);
  border-radius: 2px;
}
.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: var(--measure);
}
.lead strong {
  color: var(--fg);
  font-weight: 700;
}
.typed {
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
  color: var(--fg);
  quotes: "\201C" "\201D";
}

/* ---------- waitlist form ---------- */

.waitlist {
  display: grid;
  gap: 0.75rem;
  max-width: 32rem;
}
.waitlist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.field {
  flex: 1 1 15rem;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--fg);
  font: inherit;
}
.field::placeholder {
  color: var(--muted);
}
.field:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.4rem;
  border: 1.5px solid var(--accent-edge);
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.button:hover {
  filter: brightness(1.05);
}
.button[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.stage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: var(--t-sm);
}
.stage legend {
  float: left;
  padding: 0;
  margin-right: 0.25rem;
}
.stage label {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.25rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--fg);
  cursor: pointer;
}
.stage input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.stage input:checked + span {
  font-weight: 700;
}
.stage label:has(input:checked) {
  border-color: var(--accent-edge);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}
.stage label:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  color: var(--muted);
  font-size: var(--t-sm);
}
.form-status:empty {
  display: none;
}
.form-status {
  font-size: var(--t-sm);
  font-weight: 700;
}
.form-status[data-tone="error"] {
  color: var(--cat-care);
}
.form-status[data-tone="ok"] {
  color: var(--ok);
}
.joined {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  border: 1.5px solid color-mix(in srgb, var(--ok) 55%, transparent);
  border-radius: 14px;
  max-width: 32rem;
}
.joined strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ok);
}

/* ---------- the chat screen (the one bold object on the page) ---------- */

.screen {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: clamp(34rem, 72vh, 40rem);
  max-width: 30rem;
  width: 100%;
  justify-self: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-screen);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--accent) 45%, transparent);
}
.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.stat {
  display: grid;
  gap: 0.1rem;
  padding: 0.8rem 0.9rem;
  min-width: 0;
}
.stat + .stat {
  border-left: 1px solid var(--line);
}
.stat-label {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}
.stat-value {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.stat-value[data-live="true"] {
  color: var(--cat-sleep);
}

.chat-log {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 1rem 0.9rem 1.25rem;
  list-style: none;
  display: grid;
  align-content: start;
  gap: 1.1rem;
  scrollbar-width: thin;
}
.msg {
  display: grid;
  gap: 0.5rem;
}
.bubble {
  justify-self: end;
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 18px 18px 6px 18px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
  font-weight: 520;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.sent {
  justify-self: end;
  margin-top: -0.3rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.cards {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 92%;
}
.card {
  --cat: var(--cat-other);
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) auto;
  column-gap: 0.7rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 0.6rem 0.75rem;
  background: var(--surface-2);
  border-radius: var(--radius-card);
}
.card[data-cat="feed"] {
  --cat: var(--cat-feed);
}
.card[data-cat="sleep"] {
  --cat: var(--cat-sleep);
}
.card[data-cat="diaper"] {
  --cat: var(--cat-diaper);
}
.card[data-cat="care"] {
  --cat: var(--cat-care);
}
.card-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cat) 20%, transparent);
  color: var(--cat);
}
.card-icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}
.card-title {
  font-weight: 700;
  line-height: 1.25;
}
.card-time {
  justify-self: end;
  font-size: var(--t-sm);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.card-day {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}
.card-detail {
  grid-column: 2 / 4;
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.card-actions {
  grid-column: 2 / 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.3rem;
}
.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0.15rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}
.chip-btn:hover {
  border-color: var(--muted);
}
.chip-btn[data-ask="true"] {
  border-color: var(--accent-edge);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  font-weight: 700;
}
.chip-btn .icon {
  width: 0.95rem;
  height: 0.95rem;
}
.card-removed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  color: var(--muted);
  font-size: var(--t-sm);
}
.card-in {
  animation: card-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
}

.composer {
  display: grid;
  gap: 0.6rem;
  padding: 0.7rem 0.75rem 0.85rem;
  border-top: 1px solid var(--line);
}
.suggestions {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  margin: 0;
  padding: 0 0 0.15rem;
  list-style: none;
  scrollbar-width: none;
}
.suggestions::-webkit-scrollbar {
  display: none;
}
.suggestion {
  flex: none;
  min-height: 2.1rem;
  padding: 0.2rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
}
.suggestion:hover {
  border-color: var(--accent-edge);
}
.input-bar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}
.input-bar:focus-within {
  border-color: var(--accent-edge);
}
.input-bar input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.6rem;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
  font-size: 1rem;
}
.input-bar input:focus {
  outline: none;
}
.input-bar input::placeholder {
  color: var(--muted);
}
.send {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
}
.screen-note {
  max-width: 30rem;
  justify-self: center;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: var(--t-sm);
  text-align: center;
}
.demo {
  display: grid;
  min-width: 0;
}

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

.section {
  display: grid;
  gap: 2rem;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-top: 1px solid var(--line);
}
.section h2 {
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
  font-weight: 760;
  font-size: var(--t-h2);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.section h3 {
  font-size: var(--t-h3);
  line-height: 1.3;
  font-weight: 700;
}
.prose {
  display: grid;
  gap: 1rem;
  max-width: var(--measure);
}
.prose p {
  color: var(--muted);
}
.prose strong {
  color: var(--fg);
}

/* story */
.story {
  display: grid;
  gap: 2rem;
}
@media (min-width: 56rem) {
  .story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }
}
.thread {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 1.5rem 0;
  list-style: none;
  border-block: 1px dashed var(--line);
  max-width: 30rem;
}
.thread li {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}
.thread time {
  color: var(--muted);
  font-size: var(--t-sm);
  font-variant-numeric: tabular-nums;
}
.thread span {
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}
.signoff {
  color: var(--fg);
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
}

/* reading rules */
.rules {
  display: grid;
  gap: 2.5rem 3.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48rem) {
  .rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.rule {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  min-width: 0;
}
.rule p {
  color: var(--muted);
  max-width: 32rem;
}
.example {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.4rem;
}
.example .bubble {
  justify-self: start;
  max-width: 100%;
  font-size: 0.95rem;
  border-radius: 16px 16px 16px 6px;
}
.outs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.out {
  --cat: var(--cat-other);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.2rem 0.75rem 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: var(--t-sm);
}
.out .icon {
  color: var(--cat);
  width: 1rem;
  height: 1rem;
}
.out[data-cat="feed"] {
  --cat: var(--cat-feed);
}
.out[data-cat="sleep"] {
  --cat: var(--cat-sleep);
}
.out[data-cat="diaper"] {
  --cat: var(--cat-diaper);
}
.out[data-cat="care"] {
  --cat: var(--cat-care);
}

/* glance */
.glance {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 56rem) {
  .glance {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }
}
.mini-screen {
  display: grid;
  max-width: 28rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-screen);
  overflow: hidden;
}
.morning {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.1rem 1.2rem;
}
.morning-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.morning-head strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.morning-head .icon {
  color: var(--cat-feed);
}
.example-tag {
  padding: 0.1rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
}
.morning dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 0;
}
.morning dt {
  color: var(--muted);
  font-size: 0.8125rem;
}
.morning dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.points {
  display: grid;
  gap: 2rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48rem) {
  .points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 48rem) {
  .points-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 52rem;
  }
}
.point {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  align-content: start;
}
.point .icon {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.15rem;
  color: var(--accent-edge);
}
.point h3 {
  font-size: 1.0625rem;
}
.point p {
  grid-column: 2;
  color: var(--muted);
}

/* faq */
.faq {
  display: grid;
  max-width: 46rem;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding-block: 0.9rem;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  padding-bottom: 1.25rem;
  color: var(--muted);
  max-width: var(--measure);
}

/* closing call */
.closing {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}
.closing .lead {
  font-size: var(--t-body);
}
.closing .waitlist {
  width: 100%;
}

/* footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--t-sm);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* legal pages */
.doc {
  display: grid;
  gap: 1.25rem;
  max-width: 42rem;
  padding-block: 2rem 5rem;
}
.doc h1 {
  font-family: var(--font-hand);
  font-variation-settings: "CASL" 1;
  font-weight: 800;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
  line-height: 1.05;
}
.doc h2 {
  margin-top: 1rem;
  font-size: 1.3125rem;
}
.doc p,
.doc li {
  color: var(--muted);
}
.doc ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.25rem;
}
.doc strong {
  color: var(--fg);
}
.doc .updated {
  font-size: var(--t-sm);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card-in {
    animation: none;
  }
}
