/* Little Loop website. The app's own system (DESIGN.md at the project root):
   warm linen neutrals, ink text, one sage accent, serif headlines, and the
   side mark as the one signature. Color means an entry type, as in the app.
   The night section is drawn in the app's night palette. Spacing sits on a
   4px grid. Light only, like the app by day. */

:root {
  color-scheme: light;

  /* One warm neutral ramp */
  --linen: #F7F3EC;
  --card: #FEFDFB;
  --cream: #EFE8DD;
  --oat: #E4DACB;
  --stone: #CBBFAE;
  --taupe: #9C8E7F;

  /* Three text roles */
  --ink: #2F2A25;
  --ink-soft: #675E57;
  --muted: #746B60;

  /* One accent, with a darker shade for text */
  --sage-deep: #66765B;
  --accent-ink: #535B48;
  --moss: #4F5D46;
  --ink-hover: #48423C;

  /* Entry types: a pale badge fill and a deepened glyph, as in the app */
  --nurse-fill: #D1D6CE;  --nurse-ink: #535B48;
  --bottle-fill: #EDE3D2; --bottle-ink: #90784F;
  --diaper-fill: #D8DCDC; --diaper-ink: #626868;
  --sleep-fill: #DAD8E2;  --sleep-ink: #676174;
  --pump-fill: #EADCD3;   --pump-ink: #896853;
  --meds-fill: #E9D9D7;   --meds-ink: #866260;

  /* The app's night theme */
  --night-page: #0E0908;
  --night-card: #181010;
  --night-field: #221614;
  --night-line: #4A2E27;
  --night-ink: #D0957F;
  --night-ink-soft: #B07663;
  --night-accent: #C98068;

  --hairline: rgb(47 42 37 / 0.1);
  --shadow-sm: 0 1px 2px rgb(47 42 37 / 0.06);
  --shadow-md: 0 8px 24px rgb(47 42 37 / 0.08);

  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 40px);
  --measure: 1120px;
  --section: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
h1, h2 { font-family: var(--serif); }
p { margin: 0; }
strong { font-weight: 500; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.15s var(--ease); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  background: var(--ink); color: var(--linen); padding: 8px 16px; border-radius: 8px;
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--linen); }

/* The small label above a heading */
.eyebrow { font: 500 14px/20px var(--sans); color: var(--ink-soft); }

.icon { flex: none; width: 18px; height: 18px; }
/* The side mark: a circle split down the middle, one half filled */
.mark { flex: none; width: 18px; height: 18px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border: 0; border-radius: 999px;
  font: 500 16px/24px var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--ink); color: var(--linen); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ink-hover); color: var(--linen); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; line-height: 20px; }

.more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 500; text-decoration: none; color: var(--accent-ink);
}
.more:hover { text-decoration: underline; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--linen);
  border-bottom: 1px solid var(--hairline);
}
.site-header__in { display: flex; align-items: center; gap: 8px; min-height: 64px; }
/* Nothing in the row shrinks or wraps, so the script can measure whether it fits */
.site-header__in > * { flex-shrink: 0; white-space: nowrap; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 18px/1 var(--serif); color: var(--ink); text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-header .brand { margin-inline-end: auto; }

.site-nav { display: flex; align-items: center; }
.menu-button {
  anchor-name: --menu-button;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--hairline); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 500 14px/20px var(--sans); cursor: pointer;
  transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.menu-button:hover { background: var(--cream); }
.menu-button:active { transform: scale(0.97); }
.menu-button .icon--close { display: none; }
.site-nav:has(.site-menu:popover-open) .icon--menu { display: none; }
.site-nav:has(.site-menu:popover-open) .icon--close { display: block; }
@media (max-width: 419px) {
  /* Too narrow for the word: it stays as the button's name for screen readers */
  .menu-button { padding: 0; }
  .menu-button span {
    position: absolute; width: 1px; height: 1px; margin: -1px;
    overflow: hidden; clip-path: inset(50%);
  }
}

.site-menu { list-style: none; margin: 0; padding: 0; }
.site-menu a { text-decoration: none; }
.site-menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* Collapsed, the default: the links are a popover that opens under the header */
.site-header:not(.is-wide) .site-menu {
  position: fixed; inset: auto;
  inset-block-start: 52px; /* roughly the button's lower edge, where anchor() is missing */
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: var(--gutter);
  inline-size: min(80dvw, 20rem);
  max-inline-size: calc(100dvw - 2 * var(--gutter));
  block-size: fit-content;
  max-block-size: calc(100dvh - 96px);
  margin: 20px 0 0;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--hairline); border-radius: 16px;
  background: var(--card); color: var(--ink);
  box-shadow: var(--shadow-md);
}
.site-header:not(.is-wide) .site-menu a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: 8px; color: var(--ink);
  font: 500 16px/24px var(--sans);
  transition: background-color 0.15s var(--ease);
}
.site-header:not(.is-wide) .site-menu a:hover { background: var(--cream); }

@supports selector(:popover-open) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header:not(.is-wide) .site-menu {
      opacity: 0; translate: 0 -4px;
      transition: opacity 0.18s var(--ease), translate 0.18s var(--ease), display 0.18s, overlay 0.18s;
      transition-behavior: allow-discrete;
    }
    .site-header:not(.is-wide) .site-menu:popover-open { opacity: 1; translate: 0 0; }
    @starting-style {
      .site-header:not(.is-wide) .site-menu:popover-open { opacity: 0; translate: 0 -4px; }
    }
  }
}

/* Browsers without popover: no button, the links wrap onto a second row */
@supports not selector(:popover-open) {
  .menu-button { display: none; }
  .site-header:not(.is-wide) .site-header__in { flex-wrap: wrap; padding-block: 8px; }
  .site-header:not(.is-wide) .site-nav { order: 3; flex-basis: 100%; }
  .site-header:not(.is-wide) .site-menu {
    position: static; display: flex; flex-wrap: wrap; gap: 0 16px;
    inline-size: auto; max-inline-size: none; max-block-size: none;
    margin: 0; padding: 0; border: 0; background: none; box-shadow: none;
  }
  .site-header:not(.is-wide) .site-menu a { min-height: 40px; padding: 0; font-size: 14px; }
}

/* Wide: the script adds .is-wide when the whole row fits, and the same list sits inline */
.site-header.is-wide .site-header__in { justify-content: space-between; gap: 16px; }
.site-header.is-wide .brand { margin-inline-end: 0; }
.site-header.is-wide .menu-button { display: none; }
.site-header.is-wide .site-menu {
  position: static; display: flex; align-items: center; gap: 24px;
  inline-size: auto; max-inline-size: none; block-size: auto; max-block-size: none;
  overflow: visible; margin: 0; padding: 0; border: 0;
  background: transparent; box-shadow: none;
}
.site-header.is-wide .site-menu a {
  display: block; padding-block: 12px;
  color: var(--ink-soft); font: 500 14px/20px var(--sans);
}
.site-header.is-wide .site-menu a:hover,
.site-header.is-wide .site-menu a[aria-current="page"] { color: var(--ink); }
.site-header.is-measuring * { transition: none !important; }

/* ---------- Device frames ---------- */

.phone { container-type: inline-size; width: 100%; margin: 0; }
.phone__body {
  position: relative;
  padding: 2.7cqi;
  border-radius: 16.4cqi;
  background: linear-gradient(145deg, #4a443e, #26221e 40%, #1d1a17);
  box-shadow:
    0 0 0 1px rgb(47 42 37 / 0.5),
    0 6cqi 12cqi -4cqi rgb(47 42 37 / 0.24);
}
.phone__body::before {
  /* the Dynamic Island, which simulator screenshots leave out */
  content: "";
  position: absolute; z-index: 1;
  top: 5.4cqi; left: 50%; translate: -50% 0;
  width: 21cqi; height: 6.6cqi;
  border-radius: 999px; background: #0b0a09;
}
.phone--bare .phone__body::before { display: none; }
.phone img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1320 / 2868;
  border-radius: 13.8cqi;
  background: var(--linen);
}
.phone--night img { background: var(--night-page); }

.watch { container-type: inline-size; width: 100%; margin: 0; }
.watch__body {
  padding: 7cqi;
  border-radius: 30cqi;
  background: linear-gradient(145deg, #4a443e, #26221e 40%, #1d1a17);
  box-shadow:
    0 0 0 1px rgb(47 42 37 / 0.5),
    0 6cqi 14cqi -4cqi rgb(47 42 37 / 0.3);
}
.watch img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 416 / 496;
  border-radius: 22cqi;
  background: #000;
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); overflow: clip; }
.hero__grid { display: grid; align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero__title {
  font-family: var(--serif); font-weight: 500; text-wrap: balance;
  font-size: clamp(2.5rem, 1.1rem + 5.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.lede {
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 36rem;
  margin-top: 24px;
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 32px; }
.hero__device { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.hero__device .phone { width: min(72vw, 300px); }
.hero__device .watch {
  position: absolute; z-index: 1;
  width: min(30vw, 128px);
  left: max(0px, calc(50% - min(36vw, 150px) - min(10vw, 48px)));
  bottom: 8%;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .hero__device { justify-content: flex-end; padding-inline-end: 8px; }
  .hero__device .phone { width: clamp(240px, 26vw, 300px); }
  .hero__device .watch { width: clamp(112px, 12vw, 140px); left: auto; right: calc(clamp(240px, 26vw, 300px) - 40px); bottom: 10%; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--tint {
  background: linear-gradient(var(--linen), var(--cream) 16%, var(--cream) 84%, var(--linen));
}
.section h2, .band h2 {
  font-size: clamp(1.875rem, 1.1rem + 2.7vw, 3rem);
  line-height: 1.1; letter-spacing: -0.015em;
}
.section__intro { max-width: 40rem; }
.section__intro > p, .split__copy > .sub {
  font-size: 1.125rem; line-height: 1.55; color: var(--ink-soft); margin-top: 16px;
}

.split { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--flip > :first-child { order: 2; }
}

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 20px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage-deep);
}
.hint {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; font: 500 14px/20px var(--sans); color: var(--accent-ink);
}
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

/* ---------- The feed timer: the one place with the app's deep sage ---------- */

.feed {
  position: relative; overflow: hidden;
  width: 100%; max-width: 440px; justify-self: center;
  padding: clamp(20px, 4vw, 28px);
  border-radius: 20px;
  background: var(--moss);
  color: #fff;
  box-shadow: 0 12px 32px rgb(47 42 37 / 0.16);
}
/* The app's two quiet circles on its feature card */
.feed::before, .feed::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: rgb(255 255 255 / 0.05);
}
.feed::before { width: 240px; height: 240px; top: -80px; right: -72px; }
.feed::after { width: 176px; height: 176px; bottom: -88px; left: -64px; }
.feed > * { position: relative; }
.feed__eyebrow { font: 500 14px/20px var(--sans); color: rgb(255 255 255 / 0.85); }
.feed__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #866260; color: #fff; /* the app's rose, deepened so the initial reads at 5.3:1 */
  font: 500 18px/1 var(--serif);
}
.feed__name { font: 500 16px/24px var(--sans); }
.feed__status { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / 0.85); }
.feed__status .mark { width: 16px; height: 16px; }
.feed__clock {
  margin-top: 20px;
  font: 500 clamp(56px, 15vw, 72px)/1 var(--serif);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.feed__split { margin-top: 8px; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / 0.85); font-variant-numeric: tabular-nums; }
.feed.is-idle .feed__clock { color: rgb(255 255 255 / 0.55); }

.feed__sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.side {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 72px; padding: 12px 16px;
  border-radius: 16px; border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.1); color: #fff;
  font: 500 16px/20px var(--sans); cursor: pointer;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.side .mark { width: 28px; height: 28px; }
.side__letter { font: 500 32px/1 var(--serif); }
.side:hover { background: rgb(255 255 255 / 0.16); }
.side:active { transform: scale(0.97); }
.side[aria-pressed="true"] { background: var(--card); border-color: var(--card); color: var(--moss); }
.side.is-next { border-style: dashed; border-color: rgb(255 255 255 / 0.7); }

.feed__controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ctl {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 16px; border-radius: 999px; border: 0;
  background: rgb(0 0 0 / 0.18); color: #fff;
  font: 500 15px/20px var(--sans); cursor: pointer;
  transition: background-color 0.15s var(--ease), transform 0.15s var(--ease), opacity 0.15s var(--ease);
}
.ctl:hover { background: rgb(0 0 0 / 0.26); }
.ctl:active { transform: scale(0.97); }
.ctl:disabled { opacity: 0.4; cursor: default; transform: none; background: rgb(0 0 0 / 0.18); }
.feed :focus-visible { outline-color: #fff; }

.feed__done {
  margin-top: 16px; padding: 12px 16px; border-radius: 12px;
  background: rgb(255 255 255 / 0.12);
  font: 500 1rem/1.5 var(--serif);
  min-height: 48px;
}

/* ---------- Phone groups ---------- */

.duo { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 3vw, 24px); }
.duo .phone { width: min(42vw, 248px); }
.duo .phone:nth-child(2) { margin-top: clamp(24px, 6vw, 64px); }
.single { display: flex; justify-content: center; }
.single .phone { width: min(72vw, 288px); }

/* ---------- The six logs: a list with the app's type badges ---------- */

.logs__grid { display: grid; gap: clamp(40px, 5vw, 64px); margin-top: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) {
  .logs__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}
.logs { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 32px; }
@media (min-width: 620px) and (max-width: 979px) {
  .logs { grid-template-columns: 1fr 1fr; }
}
.logs li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px;
  padding-block: 20px; border-top: 1px solid var(--hairline);
}
.badge {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fill); color: var(--glyph);
  box-shadow: inset 0 0 0 1px rgb(47 42 37 / 0.06);
}
.badge svg { width: 18px; height: 18px; }
.badge--nurse { --fill: var(--nurse-fill); --glyph: var(--nurse-ink); }
.badge--bottle { --fill: var(--bottle-fill); --glyph: var(--bottle-ink); }
.badge--diaper { --fill: var(--diaper-fill); --glyph: var(--diaper-ink); }
.badge--sleep { --fill: var(--sleep-fill); --glyph: var(--sleep-ink); }
.badge--pump { --fill: var(--pump-fill); --glyph: var(--pump-ink); }
.badge--meds { --fill: var(--meds-fill); --glyph: var(--meds-ink); }
.logs h3, .promises h3, .info h3 { font: 500 16px/24px var(--sans); }
.logs h3 { margin-top: 8px; }
.logs p, .promises p, .info p, .info li { color: var(--ink-soft); margin-top: 4px; }

/* ---------- Without opening the app ---------- */

.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(66vw, 280px);
  gap: 20px;
  margin: clamp(32px, 5vw, 56px) calc(var(--gutter) * -1) 0;
  padding: 8px var(--gutter) 32px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip > * { scroll-snap-align: start; }
.shot { margin: 0; }
.shot figcaption { margin-top: 24px; }
.shot h3 { font: 500 18px/24px var(--sans); }
.shot p { color: var(--ink-soft); margin-top: 4px; }
.shot .watch { width: 72%; margin: 32px auto 0; }
@media (min-width: 700px) {
  .strip {
    grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 64px);
    margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .shot .phone { max-width: 272px; margin-inline: auto; }
  .shot .watch { max-width: 200px; }
  .shot figcaption { max-width: 304px; margin-inline: auto; }
}
@media (min-width: 1040px) {
  .strip--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
}
@media (min-width: 700px) and (max-width: 1039px) {
  .strip--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.siri {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; gap: 24px; align-items: start;
  padding-top: 32px; border-top: 1px solid var(--hairline);
}
@media (min-width: 900px) {
  .siri { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; }
}
.siri h3 { font: 500 clamp(1.5rem, 1.2rem + 1vw, 1.875rem)/1.2 var(--serif); }
.siri__lede { color: var(--ink-soft); margin-top: 12px; max-width: 30rem; }
.phrases { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.phrases li {
  padding: 12px 16px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--hairline);
  font: 500 1.0625rem/1.4 var(--serif);
}
.phrases li span { display: block; font: 400 14px/20px var(--sans); color: var(--ink-soft); margin-top: 2px; }

/* ---------- Night: drawn in the app's night theme ---------- */

.band { padding-block: var(--section); }
.band--night { background: var(--night-page); color: var(--night-ink); }
.band--night .sub, .band--night .ticks li { color: var(--night-ink-soft); }
.band--night .ticks li strong { color: var(--night-ink); }
.band--night .ticks li::before { background: var(--night-accent); }
.band--night .eyebrow { color: var(--night-ink-soft); }
.band--night a { color: var(--night-accent); }
.band--night :focus-visible { outline-color: var(--night-ink); }
.band--night .phone__body {
  background: linear-gradient(145deg, #2a1f1b, #140e0c 40%, #0b0807);
  box-shadow: 0 0 0 1px var(--night-line), 0 6cqi 16cqi -4cqi rgb(0 0 0 / 0.6);
}
.night__note {
  margin-top: 32px; padding: 16px 20px; border-radius: 12px;
  background: var(--night-card); border: 1px solid var(--night-line);
  font-size: 14px; line-height: 20px; color: var(--night-ink-soft);
}

/* ---------- Also inside ---------- */

.sources { margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--ink-soft); max-width: 48rem; }

/* ---------- Privacy ---------- */

.private__grid { display: grid; gap: 40px; margin-top: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 960px) {
  .private__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; }
}
.promises { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 32px; }
@media (min-width: 700px) {
  .promises { grid-template-columns: 1fr 1fr; }
}
.promises li { padding-block: 20px; border-top: 1px solid var(--hairline); }
.label-card { padding: 24px; }
.label-card strong { display: block; font: 500 clamp(1.75rem, 1.4rem + 1vw, 2rem)/1.15 var(--serif); margin-top: 8px; }
.label-card p { color: var(--ink-soft); margin-top: 8px; font-size: 14px; line-height: 20px; }
.label-card .more { margin-top: 8px; }

/* ---------- Get it ---------- */

.get { text-align: center; }
.get__icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow-md); }
.get h2 { font-size: clamp(2.5rem, 1.1rem + 5.4vw, 4.5rem); letter-spacing: -0.02em; margin-top: 24px; }
.get__sub { font-size: 1.125rem; line-height: 1.55; color: var(--ink-soft); margin: 16px auto 0; max-width: 30rem; }
.get .btn { margin-top: 32px; }
.fine { font-size: 14px; line-height: 20px; color: var(--ink-soft); margin: 16px auto 0; max-width: 40rem; }

/* ---------- Good to know ---------- */

.faq { max-width: 760px; margin-inline: auto; }
.faq h2 { text-align: center; }
.faq__list { margin-top: clamp(32px, 4vw, 48px); }

details {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  margin: 0 0 8px;
}
summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 16px 48px 16px 20px;
  font: 500 16px/24px var(--sans);
  border-radius: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  font: 400 20px/1 var(--sans); color: var(--muted);
}
details[open] > summary::after { content: "\2212"; }
details[open] > summary { border-bottom: 1px solid var(--hairline); border-radius: 12px 12px 0 0; }
.answer { padding: 16px 20px 4px; color: var(--ink-soft); }
.answer p, .answer ul, .answer ol { margin: 0 0 12px; }
.answer ul, .answer ol { padding-left: 20px; }
.answer li { margin-bottom: 4px; }
.answer strong, .answer .path { color: var(--ink); }

.disclaimer { margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--ink-soft); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--hairline); color: var(--ink-soft); font-size: 14px; line-height: 20px; }
.site-footer__in { display: grid; gap: 24px; padding-block: 40px 48px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer nav a { color: var(--ink-soft); display: inline-block; padding-block: 8px; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer small { font-size: 12px; line-height: 16px; color: var(--muted); display: block; max-width: 60em; }
@media (min-width: 760px) {
  .site-footer__in { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer nav { justify-content: flex-end; }
  .site-footer small { grid-column: 1 / -1; }
}

/* ---------- Document pages: privacy, support, 404 ---------- */

.doc { padding-block: clamp(40px, 6vw, 64px) clamp(56px, 8vw, 96px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 8px; }
.doc h2 { font-size: 24px; line-height: 32px; margin: 48px 0 12px; }
.doc h3 { font: 500 18px/24px var(--sans); margin: 24px 0 8px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 14px; line-height: 20px; margin: 0 0 32px; }
.doc .intro { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.55; margin: 0 0 32px; }
.doc .summary, .doc .contact {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--sage-deep);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 20px 24px 4px;
  margin: 0 0 8px;
}
.doc .summary h2, .doc .contact h2 { margin-top: 0; font-size: 20px; line-height: 28px; }
.doc .path { font-weight: 500; }
.doc .button {
  display: inline-block; padding: 12px 24px; border-radius: 999px; margin: 4px 0 16px;
  font: 500 16px/24px var(--sans); text-decoration: none;
  background: var(--ink); color: var(--linen);
  transition: background-color 0.15s var(--ease);
}
.doc .button:hover { background: var(--ink-hover); color: var(--linen); }
.doc .answer { color: var(--ink); }
.doc details { margin-bottom: 8px; }

.lost { text-align: center; padding-block: clamp(64px, 12vw, 144px); }
.lost__mark { width: 72px; height: 72px; color: var(--sage-deep); margin: 0 auto 32px; display: block; }
.lost p { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.55; margin: 16px auto 32px; max-width: 28rem; }

@media print {
  .site-header { position: static; }
}
