/* Moonfable — night-sky brand, matching the app. */
:root {
  --cream: #FAF3E7;
  --deep: #1B2440;
  --deep-top: #2B355E;
  --deep-bot: #131A31;
  --honey: #E8B04B;
  --honey-lt: #F3D28C;
  --soft: #B9BDD0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--deep-bot); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, var(--deep-top) 0%, var(--deep) 45%, var(--deep-bot) 100%);
  background-attachment: fixed;
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--honey); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* header */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
.brand span {
  font-size: 24px; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(180deg, var(--cream), var(--honey-lt) 55%, var(--honey));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
nav a { margin-left: 22px; color: var(--soft); font-size: 15px; }
nav a:hover { color: var(--cream); text-decoration: none; }

/* hero */
.hero { display: flex; align-items: center; gap: 48px; padding: 56px 0 72px; }
.hero-copy { flex: 1.2; }
.hero h1 {
  font-size: clamp(34px, 5vw, 52px); font-weight: 800; line-height: 1.15;
  letter-spacing: -1px; margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--cream), var(--honey-lt) 55%, var(--honey));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { color: var(--soft); font-size: 19px; margin-bottom: 28px; max-width: 46ch; }
.badge-soon {
  display: inline-block; background: var(--honey); color: var(--deep);
  font-weight: 700; font-size: 17px; padding: 14px 28px; border-radius: 30px;
}
.badge-note { display: block; margin-top: 12px; color: var(--soft); font-size: 13px; }
.hero-shot { flex: 1; text-align: center; }
.hero-shot img {
  width: min(320px, 80vw); border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 3px rgba(232,176,75,.35);
}

/* features */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; padding-bottom: 72px;
}
.card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px; padding: 24px;
}
.card .ico { font-size: 26px; }
.card h3 { font-size: 17px; margin: 10px 0 6px; color: var(--cream); }
.card p { color: var(--soft); font-size: 14.5px; }

/* gallery */
.gallery { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; padding-bottom: 72px; }
.gallery img {
  width: min(230px, 42vw); border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 2px rgba(232,176,75,.25);
}

/* free banner */
.free {
  text-align: center; padding: 0 0 80px;
}
.free h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.free p { color: var(--soft); max-width: 60ch; margin: 0 auto; }
.free .price { color: var(--honey); font-weight: 700; }

/* prose pages (support / privacy / terms) */
.prose { max-width: 720px; margin: 0 auto; padding: 24px 0 80px; }
.prose h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.prose .updated { color: var(--soft); font-size: 13px; margin-bottom: 32px; }
.prose h2 { font-size: 20px; margin: 32px 0 10px; color: var(--honey-lt); }
.prose p, .prose li { color: var(--soft); font-size: 15.5px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose strong { color: var(--cream); }

footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 28px 0 44px; color: var(--soft); font-size: 13.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
footer .links a { color: var(--soft); margin-right: 18px; }

@media (max-width: 760px) {
  .hero { flex-direction: column; text-align: center; padding-top: 28px; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  nav a { margin-left: 14px; }
}
