:root {
  --bg: #FAF9F7;
  --surface: #F2F0EB;
  --text: #33312E;
  --muted: #726D64;
  --divider: rgba(51, 49, 46, 0.14);
  --accent: #D99A33;
  --accent-soft: #FFF6E3;
  --accent-text: #95601A;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A1917;
    --surface: #232120;
    --text: #F2F0EB;
    --muted: #B6B1A7;
    --divider: rgba(242, 240, 235, 0.16);
    --accent: #F2BA57;
    --accent-soft: #442B0D;
    --accent-text: #FFD68A;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 72px) 20px 40px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: min(78vh, 720px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 500;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.mark {
  margin: 20px 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(88px, 16vw, 168px);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* The two i's are spoons sitting on the baseline, as in the app. */
.spoon {
  display: inline-block;
  width: 0.30em;
  height: 0.74em;
  margin-left: 0.03em;
  fill: currentColor;
  vertical-align: baseline;
}
.spoon + .spoon { margin-right: 0.03em; }

.lede {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.16;
}

.sub {
  margin: 0;
  max-width: 34em;
  color: var(--muted);
}

.hero-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: clamp(48px, 8vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--divider);
}

.features h2 {
  margin: 6px 0 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.num {
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Footer */

.foot {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  color: var(--muted);
  font-size: 14px;
}

.foot p { margin: 0 0 4px; }
.credit { font-size: 13px; }

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-photo { aspect-ratio: 4 / 3; }
  .features { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}
