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

:root {
  --blue:      #003580;
  --blue-light:#e8f0fb;
  --text:      #1a1a1a;
  --muted:     #555;
  --border:    #e0e0e0;
  --white:     #ffffff;
  --success:   #1a7a3c;
  --error:     #b91c1c;
  --info:      #1d4ed8;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #f8f9fc;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO ── */
.hero {
  background: var(--blue);
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}

.hero .eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a8c4e8;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  max-width: 600px;
  margin: 0 auto 16px;
}

.hero .subhead {
  font-size: 16px;
  color: #a8c4e8;
  margin-bottom: 40px;
}

/* ── FORM ── */
.form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
}

.form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(168, 196, 232, 0.5);
}

.form button {
  padding: 12px 24px;
  background: #f59e0b;
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.form button:hover  { background: #d97706; }
.form button:disabled { opacity: 0.6; cursor: not-allowed; }

.form-feedback {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
  width: 100%;
  text-align: center;
}

.form-feedback.success { color: #6ee7b7; }
.form-feedback.error   { color: #fca5a5; }
.form-feedback.info    { color: #93c5fd; }

/* ── FEATURES ── */
.features {
  padding: 72px 0;
  background: var(--white);
}

.features h2,
.preview h2,
.cta h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--blue);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.card {
  background: var(--blue-light);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
}

.card .icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 16px;
  color: var(--blue);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
}

/* ── EMAIL PREVIEW ── */
.preview {
  padding: 72px 0;
  background: #f8f9fc;
}

.email-mockup {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
}

.email-header {
  background: var(--blue);
  padding: 24px 28px;
  color: var(--white);
}

.email-eyebrow {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a8c4e8;
  margin-bottom: 6px;
}

.email-header h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.email-period {
  font-size: 13px;
  color: #a8c4e8;
}

.email-bar {
  background: var(--blue-light);
  padding: 8px 28px;
  font-size: 13px;
  color: var(--blue);
}

.email-body {
  padding: 16px 28px;
}

.email-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.email-item:last-child { border-bottom: none; }

.email-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.email-date {
  display: block;
  font-size: 12px;
  color: #888;
  margin: 4px 0 6px;
}

.email-summary {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.email-item--faded a {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}

/* ── CTA ── */
.cta {
  background: var(--blue);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.cta h2 { color: var(--white); margin-bottom: 8px; }

.cta p { color: #a8c4e8; margin-bottom: 32px; font-size: 15px; }

.cta .form-feedback.success { color: #6ee7b7; }
.cta .form-feedback.error   { color: #fca5a5; }
.cta .form-feedback.info    { color: #93c5fd; }

/* ── FOOTER ── */
.footer {
  background: #f0f0f0;
  padding: 32px 0;
  text-align: center;
  font-size: 12px;
  color: #888;
  line-height: 2;
}

.footer a { color: var(--blue); }

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .form { flex-direction: column; align-items: stretch; }
  .form input[type="email"] { min-width: unset; }
}
