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

:root {
  --green: #5aaa6a;
  --green-light: #7cc98a;
  --bg: #fafcfa;
  --text: #1a1a1a;
  --text-muted: #555;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 6rem 0 4rem;
}

.logo {
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.5px;
}

.tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.description {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon {
  margin-top: 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
}

/* Early access */
.early-access {
  text-align: center;
  padding: 3rem 0;
}

.early-access h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.early-access > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

#early-access-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
}

#early-access-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s;
}

#early-access-form input:focus {
  border-color: var(--green);
}

#early-access-form button {
  padding: 0.65rem 1.25rem;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

#early-access-form button:hover {
  background: var(--green-light);
}

#early-access-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: #c0392b;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem 0 5rem;
}

.feature {
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.feature h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Legal pages */
.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--green);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.legal {
  padding: 0 0 4rem;
  max-width: 600px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

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

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

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.legal ul {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.legal li {
  margin-bottom: 0.25rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #e0e0e0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

footer a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 480px) {
  .hero {
    padding: 4rem 0 2.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .features {
    grid-template-columns: 1fr;
  }
}
