@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --cream: #FFF8F0;
  --coral: #E8845C;
  --coral-dark: #D4714A;
  --sage: #7CB5A0;
  --sage-dark: #5A9A82;
  --brown: #2D2016;
  --brown-light: #6B5744;
  --warm-gray: #A89585;
  --border: #F0E6DA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--coral); text-decoration: none; }
a:hover { color: var(--coral-dark); text-decoration: underline; }

/* ── Layout ─────────────────────────────── */

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

/* ── Nav ─────────────────────────────────── */

nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brown);
}

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

.nav-brand span {
  font-weight: 800;
  font-size: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav ul a {
  color: var(--brown-light);
  font-weight: 600;
  font-size: 14px;
}

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

.hero {
  text-align: center;
  padding: 80px 0 60px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 8px 30px rgba(45, 32, 22, 0.1);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--brown);
}

.hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.hero .tagline {
  font-size: 20px;
  color: var(--brown-light);
  font-weight: 600;
  margin-bottom: 40px;
}

.app-store-badge {
  display: inline-block;
  transition: opacity 0.2s;
}

.app-store-badge:hover { opacity: 0.85; }

.app-store-badge img {
  height: 54px;
}

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

.features {
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.feature-emoji {
  font-size: 36px;
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature p {
  font-size: 14px;
  color: var(--brown-light);
  line-height: 1.5;
}

/* ── Pitch ────────────────────────────────── */

.pitch {
  text-align: center;
  padding: 40px 0 80px;
}

.pitch p {
  font-size: 18px;
  color: var(--brown-light);
  max-width: 480px;
  margin: 0 auto 32px;
}

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

.legal {
  padding: 60px 0 80px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal .updated {
  font-size: 14px;
  color: var(--warm-gray);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--brown);
}

.legal p,
.legal li {
  font-size: 15px;
  color: var(--brown-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal li {
  margin-bottom: 6px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.legal th,
.legal td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--brown-light);
}

.legal th {
  background: white;
  font-weight: 700;
  color: var(--brown);
}

/* ── Footer ──────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}

footer p {
  font-size: 13px;
  color: var(--warm-gray);
}

footer a {
  color: var(--warm-gray);
  font-weight: 600;
}

footer .links {
  margin-top: 6px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ── Responsive ──────────────────────────── */

@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 30px; }
  .hero .tagline { font-size: 17px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature { padding: 24px 16px; }
  nav ul { gap: 16px; }
}
