:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --text: #ececec;
  --muted: #9a9a9a;
  --accent: #d8a85e;
  --border: #26262b;
  --font-display: "Cinzel Decorative", "Fraunces", ui-serif, Georgia, serif;
  --font-serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfaf7;
    --surface: #ffffff;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --accent: #b4884a;
    --border: #e7e3dc;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 560px;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 8px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 12vw, 84px);
  margin: 0 0 18px;
  line-height: 1;
}

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 auto 36px;
  max-width: 440px;
}

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

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.btn:active {
  transform: scale(0.97);
}

/* Official "Download on the App Store" badge (Apple's black/white mark). */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 11px 24px 11px 20px;
  min-height: 62px;
  text-decoration: none;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.appstore-badge:active {
  transform: scale(0.97);
}

.appstore-badge .apple-logo {
  width: 33px;
  height: 33px;
  fill: currentColor;
  flex-shrink: 0;
}

.appstore-badge .badge-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.appstore-badge .badge-download {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.appstore-badge .badge-store {
  font-family: var(--font-ui);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

@media (prefers-color-scheme: light) {
  .appstore-badge {
    background: #000;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
  }
}

.primary {
  background: var(--accent);
  color: #0e0e10;
}

.ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border: none;
}

.whatsapp:hover {
  opacity: 0.92;
}

.wa-logo {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.group {
  margin-top: 40px;
  color: var(--muted);
}

.group p {
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 15px;
}

footer {
  margin-top: 56px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
}

.footlink {
  color: var(--muted);
  text-decoration: underline;
}

.footlink:hover {
  color: var(--text);
}

/* Legal pages (terms / privacy) — long-form, left-aligned reading. */
.legal {
  place-items: start center;
  padding-top: 8px;
}

.legal .wrap {
  max-width: 720px;
  text-align: left;
  padding: 40px 0 80px;
}

.legal h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 8vw, 56px);
  margin: 0 0 6px;
}

.legal .updated {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 32px;
}

.legal h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  margin: 36px 0 12px;
  line-height: 1.25;
}

.legal p,
.legal li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
}

.legal .muted {
  color: var(--muted);
}

.legal ul {
  margin: 12px 0;
  padding-left: 22px;
}

.legal li {
  margin: 8px 0;
}

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

.legal .home {
  display: inline-block;
  margin-top: 48px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
}

.legal .home:hover {
  color: var(--text);
}
