:root {
  --bg: #e7d7b1;
  --text: #2a3020;
  --muted: #48503f;
  --subtle: #c8bc96;
  --accent: #00c2e0;
  --accent-hover: #00a8c4;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.signin {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* ── Hero ── */

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
}

.hero {
  text-align: center;
  max-width: 680px;
  width: 100%;
}

.tagline-wrap {
  position: relative;
  min-height: 9rem;
  margin-bottom: 2rem;
}

.tagline {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}

.tagline.active {
  opacity: 1;
}

.sub {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  padding: 0.9rem 2.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}

.cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.cta:active {
  transform: translateY(0);
}

/* ── Features ── */

.features {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2.5rem 4rem;
  border-top: 1px solid var(--subtle);
}

.features-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 3rem;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.feature-list li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.feature-list li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* ── Footer ── */

footer {
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--subtle);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--text);
}

/* ── Legal pages ── */

.legal {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.legal .effective {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal ul {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.legal ul li {
  margin-bottom: 0.4rem;
}

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

.legal a:hover {
  text-decoration: underline;
}

/* ── Inline code ── */

.legal code {
  font-family: 'SF Mono', 'Fira Code', Consolas, 'Courier New', monospace;
  font-size: 0.875em;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  white-space: nowrap;
}

/* ── Responsive ── */

@media (max-width: 480px) {
  header {
    padding: 1.25rem 1.5rem;
  }

  main {
    padding: 1.5rem;
  }

  .tagline-wrap {
    min-height: 11rem;
  }

  footer {
    padding: 1.25rem 1.5rem;
    gap: 1.5rem;
  }

  .legal {
    padding: 2rem 1.5rem;
  }
}
