:root {
  --blue: #1f6feb;
  --blue-top: #2b7bff;
  --blue-bottom: #1450c4;
  --amber: #ffc145;
  --pale: #cfe0ff;
  --text: #1b2733;
  --muted: #5a6b7b;
  --background: #ffffff;
  --surface: #f4f6f8;
  --border: #d5dbe1;
  --link: #1f6feb;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e6edf3;
    --muted: #9aa8b6;
    --background: #0f1720;
    --surface: #18222d;
    --border: #2a3644;
    --link: #79a8ff;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
}

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

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding-inline: 20px;
}

/* Header and hero, on the app's blue */

.hero {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-top), var(--blue-bottom));
}

.hero a {
  color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding-block: 40px 64px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.15;
}

.hero .tagline {
  margin: 0 0 28px;
  font-size: 1.2rem;
  color: var(--pale);
}

.hero-logo {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 12px 28px rgb(0 0 0 / 0.25));
}

/* Placeholder until the Play Store link exists: replace the href and the text. */
.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #1b2733 !important;
  background: #ffffff;
}

.store-button .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
}

.store-note {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--pale);
}

/* Sections */

section {
  padding-block: 48px;
}

section h2 {
  margin: 0 0 20px;
  font-size: 1.6rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.feature h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: middle;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.plan {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.plan.unlock {
  border: 2px solid var(--blue);
}

.plan h3 {
  margin: 0 0 4px;
}

.plan .price {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 700;
}

.plan ul {
  margin: 0;
  padding-left: 1.2em;
}

.small {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Privacy policy */

.policy h1 {
  margin: 40px 0 4px;
}

.policy h2 {
  margin-top: 36px;
  font-size: 1.3rem;
}

.policy h3 {
  font-size: 1.1rem;
}

.summary {
  padding: 16px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--surface);
}

/* Footer */

footer {
  padding-block: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 640px) {
  .hero-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 16px 48px;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
    order: -1;
  }
}
