:root {
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
}

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Header */
header {
  padding: 1.5rem 2rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.subheadline {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

/* Signup form */
.signup {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  width: 100%;
}

.signup input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}

.signup input:focus {
  outline: none;
  border-color: var(--accent);
}

.signup button {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
}

.signup button:hover {
  background: var(--accent-hover);
}

/* How it works */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  text-align: center;
  padding: 2rem;
}

.card .icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.card p {
  color: var(--text-light);
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-alt);
}

footer .status {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

footer nav {
  margin-bottom: 1rem;
}

footer nav a {
  color: var(--text-light);
  text-decoration: none;
  margin: 0 0.75rem;
  font-size: 0.875rem;
}

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

footer .contact {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

footer .copyright {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .signup {
    flex-direction: column;
  }

  .signup button {
    width: 100%;
  }
}

/* Legal pages */
.legal {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.legal h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal .updated {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal section {
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.legal p {
  color: var(--text-light);
}

.legal .back {
  display: inline-block;
  margin-top: 2rem;
  color: var(--accent);
  text-decoration: none;
}

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