/* Launch page (index.html). The app's look: green #1B7A4E, iOS grouped
   surfaces, the system font. Privacy and terms keep style.css. */
:root {
  --bg: #fff;
  --alt: #f2f2f7;
  --card: #fff;
  --fg: #1c1c1e;
  --muted: #6c6c70;
  --line: #e5e5ea;
  --accent: #1b7a4e;
  --accent-ink: #fff;
  --soft: #e8f3ec;
  --bezel: #1c1c1e;
  --shadow: 0 24px 48px -24px rgb(0 0 0 / 0.35);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --alt: #111113;
    --card: #1c1c1e;
    --fg: #f2f2f7;
    --muted: #a1a1a6;
    --line: #2c2c2e;
    --accent: #4cc38a;
    --accent-ink: #00210f;
    --soft: #14301f;
    --bezel: #3a3a3c;
    --shadow: 0 24px 48px -24px rgb(0 0 0 / 0.9);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2 { letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 6vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
p { margin: 0 0 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.eyebrow, .split-copy > .eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons: one green primary per view, at least 44 pt tall. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
.btn:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-light { background: #fff; color: #1b7a4e; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; text-decoration: none; }
.mark { width: 26px; height: 26px; display: block; }
.top nav { display: flex; gap: 20px; margin-left: auto; }
.top nav a { color: var(--fg); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--accent); }
@media (max-width: 720px) { .top nav { display: none; } .top .btn-small { margin-left: auto; } }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lede { font-size: 20px; color: var(--muted); max-width: 34ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.note { font-size: 14px; color: var(--muted); }
.hero-phones { position: relative; height: 560px; }
.hero-phones .phone { position: absolute; width: 250px; }
.phone-front { right: 26%; top: 0; z-index: 1; }
.phone-back { right: 4%; top: 56px; transform: rotate(4deg); opacity: 0.95; }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-phones { height: 440px; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-phones .phone { width: 200px; }
  .phone-front { left: 4%; right: auto; }
  .phone-back { right: 4%; }
}

/* A phone: the screenshot in a rounded bezel. */
.phone { margin: 0; }
.phone img {
  border-radius: 34px; border: 8px solid var(--bezel);
  box-shadow: var(--shadow); background: var(--alt);
  aspect-ratio: 390 / 844;
}
.phone figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Facts band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.facts div { display: grid; gap: 4px; }
.facts b { font-size: 17px; }
.facts span { color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--alt); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy > p { color: var(--muted); font-size: 19px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); }
.ticks li b { color: var(--fg); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--soft);
}
.ticks li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shots .phone:nth-child(2) { margin-top: 48px; }
@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split-rev .split-copy { order: 0; }
  .shots { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* How it works */
.steps {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 6px; align-content: start; }
.section-alt .steps li { border-color: transparent; }
.steps .n {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--soft); color: var(--accent); font-weight: 700; margin-bottom: 6px;
}
.steps li > span:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Gallery: scrolls sideways, snaps to each phone. */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 32px 4px 16px;
  margin-top: 8px; overscroll-behavior-x: contain;
}
.gallery .phone { scroll-snap-align: center; }
@media (min-width: 1200px) { .gallery { justify-content: center; } }

/* Privacy */
.privacy { max-width: 760px; }
.privacy > div { background: var(--soft); border-radius: 24px; padding: 40px; }
.privacy p { color: var(--fg); }
@media (max-width: 520px) { .privacy > div { padding: 24px; } }

/* FAQ */
.faq { max-width: 760px; }
.faq h2 { margin-bottom: 24px; }
details { background: var(--card); border-radius: 16px; margin-bottom: 10px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Closing call to action */
.cta-band { background: #1b7a4e; color: #fff; text-align: center; padding: 72px 0; }
.cta-band p { color: rgb(255 255 255 / 0.85); font-size: 19px; margin-bottom: 24px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot a { color: var(--muted); }
