:root {
  --blue: #1e5bd8;
  --blue-light: #4a86f5;
  --blue-deep: #1546b5;
  --orange: #ff8a1f;
  --red: #e5484d;
  --green: #30a46c;
  --ink: #111827;
  --muted: #5b6475;
  --paper: #f5f6fa;
  --card: #ffffff;
  --line: #e4e7ef;
  --radius: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f4f8;
    --muted: #a3aabb;
    --paper: #0b1020;
    --card: #161c2e;
    --line: #262e44;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Top banner: App Store link on every page */
.store-banner {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(90deg, var(--blue-light), var(--blue-deep));
  color: #fff;
}
.store-banner .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.store-banner img { width: 40px; height: 40px; border-radius: 10px; }
.store-banner .text { flex: 1; font-size: 15px; }
.store-banner .text strong { display: block; font-size: 16px; }
.store-banner .btn-store {
  background: #fff;
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.store-banner .btn-store:hover { filter: brightness(0.95); }

/* Header and hero */
header.site {
  padding: 28px 0 0;
}
nav.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.site .links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 22px;
  font-size: 15px;
}
nav.site .links a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 56px;
}
.eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-deep));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(30, 91, 216, 0.3);
}
.btn-secondary {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 8px;
}
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Phone-like card with sample renewals */
.phone {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 22px;
  box-shadow: 0 30px 60px rgba(17, 24, 39, 0.15);
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.next-up {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-deep));
  color: #fff;
  border-radius: 24px;
  padding: 20px;
}
.next-up .tag { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; opacity: 0.85; }
.next-up .big {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  margin: 8px 0 4px;
}
.next-up .name { font-size: 18px; font-weight: 700; }
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 15px;
}
.dot { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.row .days { margin-left: auto; font-weight: 800; }
.days.soon { color: var(--orange); }
.days.late { color: var(--red); }
.days.later { color: var(--blue); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.01em; margin: 0 0 12px; }
.intro { color: var(--muted); font-size: 18px; max-width: 42em; margin-bottom: 36px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.steps li {
  list-style: none;
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.steps ul { padding: 0; margin: 0; }
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); }

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.plan.pro { border: 2px solid var(--blue); }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 10px 0 14px; }
.plan ul { padding-left: 20px; margin: 0; color: var(--muted); }
.plan li { margin-bottom: 6px; }

.audience { display: flex; flex-wrap: wrap; gap: 10px; }
.audience span {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.final-cta {
  text-align: center;
  padding: 72px 0;
}
.final-cta p { color: var(--muted); font-size: 18px; margin: 0 0 26px; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
footer.site a { color: var(--muted); margin-left: 16px; }

/* Privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
.doc h1 { font-size: 40px; margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc p, .doc li { font-size: 17px; color: var(--ink); }
.doc .updated { color: var(--muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  nav.site .links { display: none; }
  .store-banner .text span { display: none; }
}

/* Screenshot gallery */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}
.shots figure { margin: 0; text-align: center; }
.shots img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(17, 24, 39, 0.14);
  background: var(--card);
}
.shots figcaption {
  margin-top: 12px;
  font-weight: 600;
  color: var(--muted);
  font-size: 15px;
}
