/* Camera Red — the app's own palette: a darkroom under a safelight.
   One stylesheet for every page; there are only three. */
: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%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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: 1020px; margin: 0 auto; padding: 0 22px; }

/* ---------- Sticky glass bar ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 9, 11, .72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(42, 46, 54, .8);
}
.bar .inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.bar .home {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.bar .home:hover { text-decoration: none; }
.bar .home img { border-radius: 7px; display: block; }
.bar .links { display: flex; gap: 18px; margin-left: auto; }
.bar .links a { color: var(--text-2); font-size: 14px; }
.bar .links a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 10px;
  background: linear-gradient(120deg, #D2352F 0%, #97281F 60%, #6B241A 100%);
  color: #FFE8DC;
  font-weight: 600;
  font-size: 14px;
  transition: filter .2s ease, transform .2s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.12); transform: translateY(-1px); }
@media (max-width: 640px) { .bar .links { display: none; } .bar .home { margin-right: auto; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 72px 22px 64px;
}
/* Two glows: the brand red bleeding from above, a faint copper answering
   from below — the safelight, not a light show. */
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 520px;
  background: radial-gradient(52% 100% at 72% 0%, rgba(210, 53, 47, .34) 0%, rgba(210, 53, 47, 0) 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% 40%;
  height: 480px;
  background: radial-gradient(50% 100% at 30% 100%, rgba(226, 101, 60, .14) 0%, rgba(226, 101, 60, 0) 70%);
  pointer-events: none;
}
.hero .inner {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin: 0 0 18px;
  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; }

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 28px 0 0;
  max-width: none;
}
.cta .store img, .pricing-card .store img { display: block; }
.cta .store, .pricing-card .store { transition: transform .2s ease, filter .2s ease; display: inline-block; }
.cta .store:hover, .pricing-card .store:hover { transform: translateY(-2px); filter: brightness(1.15); }
.cta .ghost {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  padding: 10px 2px;
}
.cta .ghost:hover { color: var(--text); text-decoration: none; }
.terms { font-size: 14px; color: var(--text-3); margin: 12px 0 0; }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 26px 0 0;
}
.chips li {
  font-size: 12.5px;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
  background: rgba(22, 24, 28, .6);
}

/* The phone: a frame drawn in CSS around a real screenshot. */
.phone {
  justify-self: center;
  width: min(300px, 78vw);
  padding: 11px;
  border-radius: 46px;
  background: #101216;
  border: 1px solid #2E323B;
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, .8),
    0 12px 34px -16px rgba(210, 53, 47, .25),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}
.phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 36px;
}
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: settle 7s ease-in-out infinite alternate; }
  @keyframes settle { from { transform: translateY(0); } to { transform: translateY(-10px); } }
}
@media (max-width: 800px) {
  .hero .inner { grid-template-columns: 1fr; gap: 40px; }
  .phone { order: 2; }
}

/* ---------- Sections ---------- */
/* One notch more specific than .wrap, whose margin:0 auto was quietly
   zeroing every section's top margin. */
section.wrap { margin: 84px auto 0; }
.kicker {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-size: clamp(23px, 3.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 26px;
  border: 0;
  padding: 0;
  text-transform: none;
  color: var(--text);
  text-wrap: balance;
}

/* Legacy heading style — the privacy page still reads like a document. */
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);
}
h2.section-title {
  font-size: clamp(23px, 3.6vw, 32px);
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
  border-bottom: 0;
  padding-bottom: 0;
  margin: 0 0 26px;
}

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); }

/* Scroll reveal — a drift, not an entrance. */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: #3A4049; }
.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(226, 101, 60, .1);
  border: 1px solid rgba(226, 101, 60, .22);
  margin-bottom: 14px;
}
.card p { font-size: 14.5px; color: var(--text-2); margin: 0; }
@media (max-width: 800px) {
  .bento { grid-template-columns: 1fr; }
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}
.steps .num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E2653C, #B03A24);
  color: #FFF1E8;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.steps p { font-size: 14.5px; color: var(--text-2); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Screenshots ---------- */
.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: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease;
}
.shots figure:hover img { transform: translateY(-4px); border-color: #3A4049; }
.shots figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}
/* Many screens, grouped: four across on a desk; on a phone each group is
   a strip to swipe — stacked, they would make the section a scroll of
   its own, and two across are too small to read. */
.shots.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 34px; }
.shots-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 14px;
}
@media (max-width: 800px) { .shots.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 560px) {
  .shots.grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 66%;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 22px;
    /* Bleed to the screen edges, so the next shot peeks in. */
    margin: 0 -22px 30px;
    padding: 0 22px 6px;
    scrollbar-width: none;
  }
  .shots.grid::-webkit-scrollbar { display: none; }
  .shots.grid figure { scroll-snap-align: start; }
  .shots.grid figure:hover img { transform: none; }
}

/* ---------- The full feature list ---------- */
.everything {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}
.everything .group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px 22px;
}
.everything h3 { margin-bottom: 10px; }
.everything ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.everything li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.everything li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.everything li b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .everything { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .everything { grid-template-columns: 1fr; } }

.more { margin: 20px 0 0; font-size: 15px; font-weight: 600; }

/* ---------- Connection guide ---------- */
/* A menu path as the camera spells it — set apart so it can be read off
   the page with the camera in the other hand. */
.path {
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.ways {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ways a {
  display: block;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px;
  color: var(--text);
  transition: transform .25s ease, border-color .25s ease;
}
.ways a:hover { text-decoration: none; transform: translateY(-3px); border-color: #3A4049; }
.ways .via { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.ways b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.ways span:last-child { font-size: 14.5px; color: var(--text-2); }
@media (max-width: 800px) { .ways { grid-template-columns: 1fr; } }

.guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
}
.guide-shots { display: flex; flex-direction: column; gap: 18px; }
.guide-shots figure { margin: 0; }
.guide-shots img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.guide-shots figcaption { margin-top: 8px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 800px) {
  .guide { grid-template-columns: 1fr; gap: 26px; }
  .guide-shots { flex-direction: row; justify-content: center; gap: 14px; }
  .guide-shots figure { flex: 0 1 240px; min-width: 0; }
}

.howto {
  list-style: none;
  counter-reset: howto;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.howto > li {
  counter-increment: howto;
  position: relative;
  padding-left: 48px;
}
.howto > li::before {
  content: counter(howto);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E2653C, #B03A24);
  color: #FFF1E8;
  font-weight: 800;
  font-size: 14px;
}
.howto p { margin: 0; font-size: 15.5px; color: var(--text-2); }
.howto p + p { margin-top: 8px; }
.howto b { color: var(--text); font-weight: 600; }

.values { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; max-width: 560px; }
.values > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 2px 14px;
  align-items: baseline;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
}
.values dt { font-size: 13px; color: var(--text-3); }
.values dd { margin: 0; }
.values code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}
.values .where { grid-column: 2; font-size: 13px; color: var(--text-2); line-height: 1.45; }

.fixes { max-width: 760px; }
.fixes dt { font-weight: 600; margin-top: 18px; }
.fixes dt:first-child { margin-top: 0; }
.fixes dd { margin: 4px 0 0; color: var(--text-2); font-size: 15.5px; max-width: var(--measure); }

.models { display: flex; flex-direction: column; gap: 16px; margin: 6px 0 0; }
.models h3 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 0 0 8px; }
.models .chips { margin: 0; }

/* ---------- Pricing ---------- */
.pricing-card {
  position: relative;
  max-width: 560px;
  background:
    radial-gradient(120% 140% at 85% -20%, rgba(210, 53, 47, .16) 0%, rgba(210, 53, 47, 0) 55%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px 28px;
}
.pricing-card .amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-card .currency { font-size: 26px; vertical-align: 12px; color: var(--text-2); }
.pricing-card .once { font-size: 17px; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text-2);
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ---------- Requirements / notes ---------- */
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; }
.note {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 16px;
  color: var(--text-2);
  font-size: 15.5px;
  max-width: var(--measure);
  margin-top: 20px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 34px 16px 2px;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 20px;
  font-weight: 500;
  transition: transform .25s ease, color .25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.faq details p { margin: 0 0 18px; padding-right: 20px; font-size: 15px; color: var(--text-2); }

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

/* ---------- Privacy page (document layout, unchanged voice) ---------- */
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; }
header.top ~ main.wrap, header.top + main.wrap { max-width: 760px; }

.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; }

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); }

/* ---------- Free unlock codes ---------- */
.promo {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.promo-title { margin: 0 0 4px; font-weight: 700; font-size: 16px; }
.promo-text { margin: 0 0 14px; font-size: 14.5px; color: var(--text-2); }
.promo .btn { border: 0; cursor: pointer; font-family: inherit; }
.promo-result {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 15px;
}
.promo-result code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  letter-spacing: .06em;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  word-break: break-all;
}
.promo-again {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13.5px;
  color: var(--text-3);
  text-decoration: underline;
  cursor: pointer;
}
.promo-again:hover { color: var(--text-2); }
