:root {
  --bg: #f3f4f6;
  --text: #171717;
  --muted: #5f5f5f;
  --line: #e5e7eb;
  --red: #c91818;
  --red-hover: #a90f0f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(201, 24, 24, 0.08), transparent 35%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.06), transparent 28%),
    linear-gradient(180deg, #f8f9fb 0%, #eef1f4 100%);
}

.modal-wrap {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.coming-soon-modal {
  position: relative;
  width: min(100%, 680px);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-inner {
  padding: 34px 30px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 26px 0 12px;
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
}

.newsletter-form input:focus {
  border-color: rgba(201, 24, 24, 0.5);
  box-shadow: 0 0 0 4px rgba(201, 24, 24, 0.12);
}

.newsletter-form button {
  border: 0;
  border-radius: 16px;
  padding: 0 22px;
  min-height: 52px;
  font: inherit;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.newsletter-form button:hover {
  background: var(--red-hover);
}

.newsletter-form button:active {
  transform: translateY(1px);
}

.form-status {
  min-height: 1.6em;
  margin-bottom: 12px;
  font-size: 0.96rem;
  color: var(--muted);
}

.form-status.is-success {
  color: #0a7a35;
}

.form-status.is-error {
  color: #b11212;
}

.subtext {
  margin-bottom: 0;
  color: var(--muted);
}

a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.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;
}

@media (max-width: 640px) {
  .modal-inner {
    padding: 26px 20px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

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

  p {
    font-size: 1rem;
  }
}
