:root {
  color-scheme: light dark;
  --bg: #f7f4ee;
  --card: #ffffff;
  --border: #ede8df;
  --text: #2b2a33;
  --muted: #8e8b94;
  --accent: #ffa62b;
  --accent-dark: #e8890e;
  --accent-soft: #fff1db;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171c;
    --card: #20232a;
    --border: #30343d;
    --text: #f1f2f5;
    --muted: #9ea3ae;
    --accent-soft: #272b36;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.6;
}

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

.bar,
.foot {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  font-weight: 900;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
}

.foot {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding-bottom: 40px;
}

/* Landing page */
.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
  text-align: center;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
    text-align: left;
  }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 12px;
}

.hero p {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 24px;
}

.mascot {
  background: var(--accent-soft);
  border-radius: 32px;
  padding: 40px;
  display: flex;
  justify-content: center;
}

.mascot img {
  width: min(240px, 60vw);
  animation: bob 3.6s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  padding: 14px 22px;
  border-radius: 16px;
  border-bottom: 5px solid var(--accent-dark);
}

.features {
  max-width: 880px;
  margin: 24px auto;
  padding: 0 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 18px;
}

.feature h3 {
  margin: 0 0 4px;
  font-weight: 900;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

/* Privacy policy page */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 24px 24px;
}

.doc h1 {
  font-weight: 900;
  line-height: 1.15;
}

.doc h2 {
  font-weight: 900;
  margin-top: 32px;
}

.doc hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 40px 0;
}
