:root {
  --paper: #f3efe7;
  --navy: #233f56;
  --navy-soft: #3a5670;
  --terracotta: #c97d52;
  --terracotta-dark: #b56a41;
  --max-width: 640px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--paper);
  color: var(--navy);
  font-family: "Poppins", "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  text-align: center;
}

/* Logo */
.logo-wrap {
  display: flex;
  justify-content: center;
}

.logo {
  width: min(280px, 70vw);
  height: auto;
  /* multiply blends the baked-in paper background into the page background */
  mix-blend-mode: multiply;
}

/* Hero */
.hero {
  margin-top: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--navy-soft);
}

.launch-note {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Illustration */
.illustration-wrap {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.illustration {
  width: min(480px, 100%);
  height: auto;
  mix-blend-mode: multiply;
}

/* Signup */
.signup h2 {
  font-size: 1.15rem;
  font-weight: 700;
}

.form-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

#email {
  flex: 1 1 240px;
  max-width: 320px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--navy);
  background: #fffdf9;
  border: 1px solid #cfc8ba;
  border-radius: 8px;
}

#email::placeholder {
  color: #9a948a;
}

#email:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
  border-color: var(--terracotta);
}

button[type="submit"] {
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  color: #fffdf9;
  background: var(--terracotta);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

button[type="submit"]:hover,
button[type="submit"]:focus-visible {
  background: var(--terracotta-dark);
}

.form-error {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #a4442c;
}

.microcopy {
  margin: 0.9rem auto 0;
  max-width: 440px;
  font-size: 0.82rem;
  color: var(--navy-soft);
}

.thanks {
  margin: 1.25rem auto 0;
  max-width: 440px;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Value points */
.values {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
  text-align: center;
}

.value h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.value p {
  font-size: 0.95rem;
  color: var(--navy-soft);
  max-width: 480px;
  margin: 0 auto;
}

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