:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --panel: #131318;
  --line: #23232a;
  --ink: #f2f2f5;
  --muted: #a8a8b3;
  --dim: #6f6f7a;
  --accent: #f08a24;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* padding-inline, not the shorthand: a <section class="wrap"> would otherwise
   have its vertical section padding reset by this rule's higher specificity. */
.wrap { max-width: 68rem; margin: 0 auto; padding-inline: 1.5rem; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
p { margin: 0 0 1rem; color: var(--muted); }

a { color: var(--accent); }

/* ---------- hero ---------- */

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60rem 30rem at 15% -10%, rgba(240, 138, 36, 0.14), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  margin: 1.25rem 0 2rem;
  max-width: 34rem;
}

.hero-shot img {
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.7);
}

/* ---------- call to action ---------- */

.cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-center { justify-content: center; }

.appstore {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 0.85rem;
  background: var(--ink);
  color: #000;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.15s ease;
}
.appstore:hover { transform: translateY(-2px); }
.appstore-small { font-size: 0.7rem; letter-spacing: 0.02em; }
.appstore-big { font-size: 1.35rem; font-weight: 600; }

.qr {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--dim);
  font-size: 0.8rem;
  line-height: 1.35;
}
/* Dark modules on white. An inverted QR is not reliably scannable, so the
   card stays light even though the page around it is dark. */
.qr img {
  background: #fff;
  border-radius: 0.6rem;
  padding: 0.5rem;
}

.fine { color: var(--dim); font-size: 0.85rem; margin-top: 1.25rem; }

/* ---------- sections ---------- */

section { padding: clamp(3rem, 7vw, 5rem) 0; }

.band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wide { max-width: 46rem; font-size: 1.05rem; }

.step-grid, .feature-grid {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.step-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }

.step-grid li, .feature-grid div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
}
.band .step-grid li { background: var(--bg); }

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

/* ---------- gallery ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  display: block;
}
.shots figcaption {
  color: var(--dim);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* ---------- pricing ---------- */

.prices { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.price {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  min-width: 13rem;
}
.amount { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; }
.per { color: var(--muted); margin-left: 0.5rem; }
.note { display: block; color: var(--dim); font-size: 0.85rem; margin-top: 0.35rem; }

.download { text-align: center; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3.5rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 0.75rem; }
.brand { font-weight: 600; color: var(--accent); }
footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
footer nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
footer nav a:hover { color: var(--ink); }

/* ---------- legal pages ---------- */

.doc { max-width: 44rem; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.doc h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.doc h2 { font-size: 1.15rem; margin: 2.5rem 0 0.75rem; }
.doc h3 { font-size: 1rem; margin: 1.75rem 0 0.5rem; }
.doc li { color: var(--muted); margin: 0.4rem 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
.doc th, .doc td {
  text-align: left; padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted);
}
.doc th { color: var(--dim); font-weight: 600; }
.updated { color: var(--dim); font-size: 0.9rem; }

/* ---------- narrow screens ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shot { max-width: 20rem; margin: 0 auto; }
  .step-grid, .feature-grid, .shots { grid-template-columns: 1fr; }
  .shots figure { max-width: 20rem; margin: 0 auto; }
}

/* On a phone you are already holding the thing that would scan the code. */
@media (max-width: 640px) {
  .qr { display: none; }
}
