/* Colours follow the app's Theme.swift: accent #3ddc97 on #0b0f14 (dark), #13a06a (light). */
:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #11161c;
  --muted: #5b6878;
  --accent: #13a06a;
  --rule: #e2e6ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14;
    --surface: #151b23;
    --text: #e8edf2;
    --muted: #9aa7b6;
    --accent: #3ddc97;
    --rule: #222b36;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

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

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

header.site {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

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

.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.1rem;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 0.95rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

main { padding: 40px 0 64px; }

h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 1.25rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 4px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }

.hero { text-align: center; padding: 48px 0 24px; }
.hero img { width: 128px; height: 128px; border-radius: 28px; }
.hero h1 { font-size: 2.6rem; margin-top: 24px; }
.hero p.lede { font-size: 1.2rem; color: var(--muted); margin: 8px auto 0; max-width: 520px; }
.hero .soon {
  display: inline-block; margin-top: 28px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent); font-weight: 600;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.price { text-align: center; margin-top: 48px; }
.price p { margin: 4px 0; }

footer.site { border-top: 1px solid var(--rule); padding: 24px 0 40px; font-size: 0.85rem; color: var(--muted); }
footer.site a { color: var(--muted); margin-right: 16px; }
footer.site p { color: var(--muted); }
