@font-face {
  font-family: 'Instrument Sans';
  src: url('InstrumentSans-Variable-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --text: #441910; --text-2: #795F59; --text-3: #AB9D9A;
  --bg: #FFFFFF;
  --border: rgba(121, 95, 89, 0.16);
  --orange: #FF803B; --pink: #FF8FBE; --peach: #FFD39D;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #F5ECE9; --text-2: #C7B3AE; --text-3: #8C7873;
    --bg: #1F1513;
    --border: rgba(241, 233, 230, 0.14);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font: 17px/1.55 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text);
}
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex-shrink: 0; }
header nav a { color: var(--text-2); font-size: 15px; text-decoration: none; }
header nav a:hover { color: var(--text); text-decoration: underline; }

.intro { padding: 96px 0 64px; }
.status { font-size: 15px; font-weight: 500; color: var(--text-2); margin-bottom: 16px; }
h1 {
  font-size: clamp(44px, 7.4vw, 88px); line-height: 1.02; font-weight: 600;
  letter-spacing: -0.04em; max-width: 13ch;
}
.lede { font-size: 20px; line-height: 1.5; color: var(--text-2); max-width: 46ch; margin-top: 24px; }
.notify { display: inline-block; margin-top: 24px; font-weight: 600; text-decoration-color: var(--orange); }
.notify:hover { text-decoration-thickness: 2px; }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.shots img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }

.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; padding: 112px 0 0; }
.why h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; max-width: 12ch; }
.why p { font-size: 18px; color: var(--text-2); max-width: 56ch; }
.why p + p { margin-top: 16px; }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 80px 0 96px; }
.how li { position: relative; padding-top: 16px; color: var(--text-2); font-size: 16px; view-timeline: --step; }
.how li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--text); transform-origin: left; }
.how .step { display: block; }
.how b { display: block; color: var(--text); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.how small { display: block; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; margin-bottom: 24px; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 0 40px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-3); }
footer nav { display: flex; gap: 24px; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 760px) {
  .intro { padding: 56px 0 40px; }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .why { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 72px; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 56px 0 64px; }
  .how small { margin-bottom: 8px; }
}
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* ─── Motion ───────────────────────────────────────────────────────────────
   CSS only, and content is visible by default: the intro rises in on load, and
   lower sections rise in as they scroll into view where the browser supports
   scroll-driven animation. Elsewhere they simply show. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.intro .reveal { animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--delay, 0ms); }

@supports (animation-timeline: view()) {
  main > :not(.intro) .reveal, .policy .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }

  /* The three steps: each line draws left to right, one after the other, then
     its step rises in underneath */
  @keyframes draw { from { transform: scaleX(0); } }
  .how li::before { animation: draw linear both; animation-timeline: --step; }
  .how .step { animation: rise linear both; animation-timeline: --step; }
  /* Measured in scroll distance from when a step enters, and all done within
     280px: the steps sit near the end of the page, so the scroll runs out soon after */
  .how li:nth-child(1)::before { animation-range: cover 0px cover 120px; }
  .how li:nth-child(2)::before { animation-range: cover 40px cover 160px; }
  .how li:nth-child(3)::before { animation-range: cover 80px cover 200px; }
  .how li:nth-child(1) .step { animation-range: cover 100px cover 200px; }
  .how li:nth-child(2) .step { animation-range: cover 140px cover 240px; }
  .how li:nth-child(3) .step { animation-range: cover 180px cover 280px; }
  /* Stacked on phones: each step is its own row, so no stagger */
  @media (max-width: 760px) {
    .how li:nth-child(n)::before { animation-range: cover 0px cover 120px; }
    .how li:nth-child(n) .step { animation-range: cover 60px cover 180px; }
  }
}
}

.shots img { transition: transform 250ms ease-out, box-shadow 250ms ease-out; }
.shots img:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(68, 25, 16, 0.22); }
.notify, header nav a, footer a { transition: color 150ms ease-out, text-decoration-color 150ms ease-out; }
.notify { text-decoration-color: rgba(255, 128, 59, 0.5); }
.notify:hover { text-decoration-color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .how li::before, .how .step { animation: none !important; }
  .shots img, .shots img:hover { transition: none; transform: none; }
}

/* ─── Privacy policy ───────────────────────────────────────────────────── */
.policy-intro h1 { font-size: clamp(44px, 6.4vw, 76px); }
.policy-intro .lede b { color: var(--text); font-weight: 600; }
.policy { padding-bottom: 96px; }
.policy section {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 48px;
  padding: 32px 0; border-top: 1px solid var(--border);
}
.policy h2 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.policy p, .policy li { color: var(--text-2); max-width: 62ch; }
.policy p + p, .policy ul + p { margin-top: 16px; }
.policy ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.policy li b { display: block; color: var(--text); font-weight: 600; }

@media (max-width: 760px) {
  .policy section { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .policy { padding-bottom: 64px; }
}
