/* warm.camera: one stylesheet for the landing page and the privacy, terms and support pages.
   The design language is written up in ../README.md under "Design language". */
:root {
  --bg: #000;
  --fg: #fff;
  --dim: #8e8e93;
  --hair: #1c1c1e;
  --accent: #ff8d28;
  --gutter: 24px;
  /* SF on Apple devices, Inter Tight everywhere else. */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Tight", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg); font: 400 17px/1.45 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { max-width: 560px; margin: 0 auto; }

/* Wordmark: Warm huge and thin, Camera tucked under its right edge. Subpages use the small one. */
.hero { display: block; padding: max(28px, env(safe-area-inset-top)) var(--gutter) 0; color: var(--accent); }
.hero h1, .hero .mark { font-weight: 100; line-height: .8; letter-spacing: -.045em; }
.hero .warm { display: block; font-size: min(38.5vw, 214px); margin-left: -.06em; }
.hero .camera { display: block; text-align: right; font-size: min(13.5vw, 75px); letter-spacing: -.02em; font-weight: 200; margin-top: .12em; }
.hero.small { text-align: center; }
.hero.small .mark { display: inline-block; text-align: left; }
.hero.small .warm { font-size: 72px; }
.hero.small .camera { font-size: 25px; }

.lede { text-align: center; padding: 28px var(--gutter) 0; font-size: 20px; line-height: 1.35; color: var(--dim); letter-spacing: -.01em; }
.lede b { color: var(--fg); font-weight: 400; }

/* Photo reel: native scroll snap, nudged along by a timer. About one and a half photos per view. */
.reel { margin-top: 36px; }
.track {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track img {
  flex: none; width: 62%; min-width: 0; aspect-ratio: 3 / 4; object-fit: cover;
  scroll-snap-align: start; border-radius: 4px; background: #111;
}
.reel-meta {
  display: flex; justify-content: center; gap: 16px; padding: 14px var(--gutter) 0;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
  font-variant-numeric: tabular-nums;
}

/* Headlines: thin and large. Body copy: system grey. */
h2 { font-size: 36px; line-height: 1.05; font-weight: 200; letter-spacing: -.03em; margin-bottom: 16px; }
.feature, .more { text-align: center; }
.feature { padding: 96px var(--gutter) 0; }
.feature p { color: var(--dim); max-width: 34em; margin: 0 auto; }
.screen {
  width: 56%; margin: 36px auto 0; border-radius: 26px; overflow: hidden;
  box-shadow: 0 0 0 1px #2c2c2e;
}
.screen img { width: 100%; aspect-ratio: 1320 / 2868; }

/* Hairline list: white title, grey line under it. */
.more { padding: 96px var(--gutter) 0; }
.list { list-style: none; margin-top: 28px; }
.list > * { padding: 20px 0; border-top: 1px solid var(--hair); color: var(--dim); }
.list h3, .list span { display: block; color: var(--fg); font-size: 17px; font-weight: 400; margin-bottom: 4px; }
.list p + p { margin-top: 10px; }
.doc a { color: var(--fg); text-decoration: underline; text-decoration-color: #48484a; text-underline-offset: 3px; }

/* Subpages: privacy, terms, support. */
.doc { padding: 72px var(--gutter) 0; }
.doc { text-align: center; }
.doc .intro { overflow-wrap: anywhere; }
.doc h1 { font-size: 44px; line-height: 1; font-weight: 200; letter-spacing: -.035em; margin-bottom: 14px; }
.doc .meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.doc .intro { margin-top: 28px; font-size: 20px; line-height: 1.35; letter-spacing: -.01em; color: var(--dim); }

footer {
  padding: 120px var(--gutter) calc(150px + env(safe-area-inset-bottom));
  font-size: 13px; color: var(--dim); text-align: center;
}
footer nav { display: flex; justify-content: center; gap: 22px; margin-bottom: 14px; }
footer nav a { color: var(--fg); }
footer nav a[aria-current] { color: var(--dim); }

/* The sticky App Store link wears the app's shutter: white pill, black gap, orange ring. */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 36px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.85) 45%, #000);
  display: flex; justify-content: center; pointer-events: none;
}
.shutter {
  pointer-events: auto; display: flex; align-items: center; gap: 12px;
  background: #fff; color: #000; border-radius: 999px; padding: 7px 26px 7px 7px;
  box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--accent);
  transition: transform .15s ease;
}
.shutter:active { transform: scale(.96); }
.shutter img { width: 42px; height: 42px; border-radius: 50%; }
.shutter b { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.shutter small { display: block; font-size: 12px; color: #6e6e73; }

@media (min-width: 700px) {
  :root { --gutter: 40px; }
  .track img { width: 300px; }
  .screen { width: 300px; }
}
