:root {
  --bg: #fffbf3;
  --text: #1f1611;
  --muted: #6b5d53;
  --accent: #e2725b;
  --line: #eadfce;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16120f;
    --text: #f6f0e7;
    --muted: #b3a597;
    --line: #2e2620;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

h1,
h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 20px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}

footer a {
  color: var(--muted);
}

/* Home */

.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .icon {
  width: 112px;
  height: 112px;
  border-radius: 25px;
  box-shadow: 0 12px 32px rgb(226 114 91 / 0.25);
}

.hero h1 {
  font-size: clamp(44px, 10vw, 64px);
  margin: 24px 0 8px;
}

.hero p {
  font-size: 20px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 36px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.badges img {
  height: 52px;
  width: auto;
  display: block;
}

/* Legal pages */

.legal header {
  margin-bottom: 32px;
}

.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

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

.legal h1 {
  font-size: 40px;
  margin: 32px 0 4px;
}

.legal .updated {
  color: var(--muted);
  margin: 0 0 32px;
}

.legal h2 {
  font-size: 24px;
  margin: 40px 0 8px;
}

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