:root {
  --color-bg-start: #f7efde;
  --color-bg-end: #faf8f1;
  --color-text: #1b3a5c;
  --color-muted: #4a6fa5;
  --color-muted-2: #6b7280;
  --color-primary: #1b3a5c;
  --color-primary-soft: #354a66;
  --color-gold: #c4a55a;
  --color-gold-dark: #b39550;
  --color-teal: #2d7f8f;
  --color-red: #dc2626;
  --color-border: rgba(27, 58, 92, 0.12);
  --color-card: #ffffff;
  --max-width: 1080px;
  --shadow: 0 12px 28px rgba(27, 58, 92, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-start: #141c26;
    --color-bg-end: #0f151d;
    --color-text: #f2ede0;
    --color-muted: #9db2d6;
    --color-muted-2: #a7aeb4;
    --color-primary: #eef3fa;
    --color-primary-soft: #cdd9ea;
    --color-gold: #d9bd7c;
    --color-gold-dark: #e8cf95;
    --color-teal: #5fb9c8;
    --color-border: rgba(242, 237, 224, 0.14);
    --color-card: #1b2430;
    --shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

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

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.01em;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
  background: var(--color-bg-end);
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  color: var(--color-text);
  font-family: "Playfair Display", Georgia, serif;
}

.logo img {
  width: 34px;
  height: 34px;
  display: block;
}

nav.site a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 15px;
}

nav.site a:hover { color: var(--color-gold-dark); }

main { padding: 0 0 88px; }

/* ─── Hero ─────────────────────────────────────────────── */

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 90% 15%, rgba(27, 58, 92, 0.16) 0%, rgba(27, 58, 92, 0) 70%),
    radial-gradient(45% 50% at 5% 85%, rgba(27, 58, 92, 0.20) 0%, rgba(27, 58, 92, 0) 70%),
    radial-gradient(55% 60% at 85% 70%, rgba(196, 165, 90, 0.22) 0%, rgba(196, 165, 90, 0) 70%),
    linear-gradient(180deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  padding: 64px 0 60px;
}

.hero {
  text-align: center;
  position: relative;
}

.hero-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: block;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  margin: 0 0 14px;
  color: var(--color-primary);
  line-height: 1.1;
}

.hero p.tagline {
  font-size: 19px;
  font-weight: 500;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.store-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
  background: var(--color-card);
  box-shadow: var(--shadow);
}

.store-badge svg { flex-shrink: 0; }

/* ─── Screenshots ──────────────────────────────────────── */

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 56px auto 0;
}

.screenshot {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  display: block;
}

/* ─── Features ─────────────────────────────────────────── */

section.features {
  margin-top: 80px;
}

.wrap.features-wrap { text-align: center; }

section.features h2 {
  font-size: 30px;
  color: var(--color-primary);
  margin: 0;
}

section.features .section-sub {
  color: var(--color-muted-2);
  font-size: 16px;
  margin: 8px 0 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
  text-align: left;
}

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.feature-card:hover { transform: translateY(-3px); }

.feature-card.urgent {
  border-color: rgba(220, 38, 38, 0.25);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 3px 8px rgba(27, 58, 92, 0.25);
}

.feature-card.urgent .feature-icon {
  background: var(--color-red);
  box-shadow: 0 3px 8px rgba(220, 38, 38, 0.3);
}

.feature-card h3 { margin: 0 0 6px; font-size: 18px; color: var(--color-primary); font-family: "Inter", sans-serif; font-weight: 700; }
.feature-card.urgent h3 { color: var(--color-red); }
.feature-card p { margin: 0; color: var(--color-muted-2); font-size: 15px; }

/* ─── How it works ─────────────────────────────────────── */

section.how {
  margin-top: 80px;
  text-align: center;
}

section.how h2 {
  font-size: 30px;
  color: var(--color-primary);
  margin: 0 0 36px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: left;
}

.step {
  padding: 4px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--color-gold);
  color: var(--color-primary);
  font-weight: 700;
  font-family: "Playfair Display", serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step h3 { margin: 0 0 6px; font-size: 16px; color: var(--color-primary); font-family: "Inter", sans-serif; font-weight: 700; }
.step p { margin: 0; color: var(--color-muted-2); font-size: 14px; }

/* ─── CTA ──────────────────────────────────────────────── */

section.cta {
  margin-top: 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  border-radius: 24px;
  padding: 48px 32px;
  color: #fdfcfa;
}

@media (prefers-color-scheme: dark) {
  section.cta {
    background: linear-gradient(135deg, #0f151d 0%, #1b2430 100%);
    border: 1px solid var(--color-border);
  }
}

section.cta h2 {
  color: #fdfcfa;
  margin: 0 0 10px;
  font-size: 28px;
}

section.cta p {
  color: rgba(253, 252, 250, 0.75);
  margin: 0 0 24px;
}

section.cta .store-badges .store-badge {
  background: rgba(253, 252, 250, 0.08);
  border-color: rgba(253, 252, 250, 0.25);
  color: #fdfcfa;
}

/* ─── Legal pages ──────────────────────────────────────── */

.legal h1 { font-size: 32px; margin-bottom: 4px; color: var(--color-primary); padding-top: 48px; }
.legal .updated { color: var(--color-muted-2); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin-top: 36px; color: var(--color-primary); font-family: "Inter", sans-serif; }
.legal p, .legal li { color: var(--color-text); }
.legal ul { padding-left: 20px; }

footer.site {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  color: var(--color-muted-2);
  font-size: 14px;
  text-align: center;
  background: var(--color-bg-end);
}

footer.site a { color: var(--color-muted-2); text-decoration: underline; }

footer.site .credit {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.8;
}
