/* Camera Red — the app's own palette: a darkroom under a safelight.
   One stylesheet for both pages; there are only two. */
:root {
  --bg: #08090B;
  --surface: #16181C;
  --surface-2: #1F2228;
  --border: #2A2E36;
  --text: #F2F3F5;
  --text-2: #9BA1AC;
  --text-3: #5F6672;
  --accent: #E2653C;
  --brand: #D2352F;
  --measure: 64ch;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* The glow the app opens with. */
header.top {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 64px 22px 52px;
}
header.top::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto -20%;
  height: 420px;
  background: radial-gradient(58% 100% at 80% 0%, rgba(210, 53, 47, .32) 0%, rgba(210, 53, 47, 0) 66%);
  pointer-events: none;
}
header.top .inner { position: relative; max-width: 760px; margin: 0 auto; }

.brand { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.brand img { width: 62px; height: 62px; border-radius: 14px; display: block; }
.brand .name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.brand .sub { font-size: 14px; color: var(--text-2); margin-top: 2px; }

h1 {
  font-size: clamp(30px, 6.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 16px;
  text-wrap: balance;
}
.lede { font-size: 18px; color: var(--text-2); max-width: var(--measure); margin: 0; }
.lede b { color: var(--text); font-weight: 600; }

h2 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 52px 0 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}

h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }

p { max-width: var(--measure); }
p.small { font-size: 14.5px; color: var(--text-2); }

.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}
.feature p { font-size: 14.5px; color: var(--text-2); margin: 0; }

.note {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 16px;
  color: var(--text-2);
  font-size: 15.5px;
  max-width: var(--measure);
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
}
.price .amount { font-size: 22px; font-weight: 700; }
.price .terms { font-size: 14px; color: var(--text-2); }

dl.policy { margin: 0; }
dl.policy dt { font-weight: 600; margin-top: 22px; }
dl.policy dd { margin: 4px 0 0; color: var(--text-2); max-width: var(--measure); }

footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding: 26px 22px 46px;
  color: var(--text-3);
  font-size: 14px;
}
footer .inner { max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--text-2); }

ul.plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
ul.plain li { color: var(--text-2); font-size: 15.5px; max-width: var(--measure); }
ul.plain b { color: var(--text); font-weight: 600; }

/* Where to get it. A plain badge until there is a real App Store link —
   Apple's own badge artwork comes with rules about how it may be shown, and
   inventing a lookalike would be worse than saying it plainly. */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 26px 0 0;
  max-width: none;
}
.cta .badge {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 12px;
  background: linear-gradient(120deg, #D2352F 0%, #97281F 55%, #5A2413 100%);
  color: #FFE8DC;
  font-weight: 600;
  font-size: 15px;
}
.cta .terms { font-size: 14px; color: var(--text-2); }

/* Screenshots. Phone-shaped, so three fit a desktop row and one fills a
   phone — and captions rather than callouts: the pictures are legible on
   their own, the words say why each is here. */
.shots {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: 14px;
}
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.shots figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}
