:root {
  --bg: #FAF8F5;
  --primary: #2A7B6F;
  --text: #3D3833;
  --accent: #E8B86D;
  --text-light: #6B6560;
}

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

html {
  font-size: 18px;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.coming-soon {
  font-size: 0.875rem;
  color: var(--text-light);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

.hero {
  margin-bottom: 4rem;
}

h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

.subhead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.signup-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 32rem;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 16rem;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #E0DCD7;
  border-radius: 0.5rem;
  background: white;
  color: var(--text);
  transition: border-color 0.2s;
}

.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
}

.signup-form input[type="email"]::placeholder {
  color: #A09A94;
}

.signup-form button {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  background: var(--accent);
  color: var(--text);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.signup-form button:hover {
  background: #D4A55D;
}

.signup-form button:active {
  transform: scale(0.98);
}

.value-props ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.value-props li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-light);
}

.value-props li::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

footer {
  border-top: 1px solid #E0DCD7;
  padding: 1.5rem 2rem;
}

.footer-content {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-light);
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
}

.form-message.error {
  background: #FFEBEE;
  color: #C62828;
}

.success-message {
  text-align: center;
  padding: 2rem;
  max-width: 24rem;
}

.success-message svg {
  color: var(--primary);
  margin-bottom: 1rem;
}

.success-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.success-subtitle {
  color: var(--text-light);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  main {
    padding: 1.5rem 1rem;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-form input[type="email"] {
    min-width: 100%;
  }

  .signup-form button {
    width: 100%;
  }

  footer {
    padding: 1rem;
  }

  .footer-content {
    gap: 1rem;
  }
}
