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

:root {
  --brand: #7C0236;
  --brand-dark: #5a011f;
  --fg: #111;
  --fg-muted: #555;
  --bg: #fff;
  --bg-surface: #f8f8f6;
  --radius: 12px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Manrope", system-ui, sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */

.site-header {
  padding: 24px 24px 0;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

/* Hero */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 72px;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.strapline {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.cta-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.15s;
}

.cta-btn:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 0 24px 72px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.feature-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-card h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Signup section */

.signup-section {
  background: var(--brand);
  padding: 72px 24px;
}

.signup-inner {
  max-width: 600px;
  margin: 0 auto;
  color: #fff;
}

.signup-section .eyebrow {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.signup-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #fff;
}

.signup-body {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

.signup-fields {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.signup-fields input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--fg);
  outline: none;
  min-width: 0;
}

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

.signup-fields input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.signup-btn {
  background: var(--fg);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 24px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.signup-btn:hover {
  opacity: 0.85;
}

.signup-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.signup-consent {
  margin-bottom: 12px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #fff;
  cursor: pointer;
}

.signup-message {
  font-size: 0.9375rem;
  min-height: 1.5em;
  margin-top: 8px;
}

.signup-message--success {
  color: #a8f0c6;
  font-weight: 600;
}

.signup-message--error {
  color: #fca5a5;
}

/* Screen-reader only utility */

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

/* Powered by */

.powered-by {
  text-align: center;
  padding: 0 24px 48px;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid #eee;
  padding: 24px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* Mobile */

@media (max-width: 540px) {
  .hero {
    padding: 56px 24px 56px;
  }

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

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

  .signup-btn {
    width: 100%;
    text-align: center;
  }
}
