:root {
  --ink: #0b0d10;
  --muted: #60636a;
  --line: #d8ddd8;
  --accent: #e84524;
  --accent-dark: #bd3015;
  --card-shadow: 0 22px 60px rgba(23, 31, 25, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }

.hero {
  min-height: 100vh;
  padding: 58px 20px 76px;
  background: radial-gradient(circle at 12% 16%, rgba(232, 69, 36, 0.045), transparent 24rem), #fff;
}
.hero__inner, .footer__inner { width: min(100%, 960px); margin: 0 auto; }
.eyebrow {
  margin: 0;
  color: var(--accent);
  font-family: "Caveat", cursive;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
h1 {
  max-width: 920px;
  margin: 18px auto 0;
  font-size: clamp(2.05rem, 5.2vw, 3.55rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
}
h1 span { display: block; color: var(--accent); }
.subhead {
  max-width: 760px;
  margin: 25px auto 0;
  font-size: clamp(1.05rem, 2.3vw, 1.4rem);
  font-style: italic;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}
.optin-card {
  width: min(100%, 520px);
  margin: 42px auto 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}
.optin-card__topline { height: 7px; background: linear-gradient(90deg, var(--ink) 0 36%, var(--accent) 36% 100%); }
.optin-card__body { padding: 34px 38px 32px; }
.brand-mark {
  margin: 0 0 17px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-align: center;
}
.brand-mark span { color: var(--accent); }
h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
}
h2 strong { color: var(--accent); }
.helper {
  max-width: 410px;
  margin: 18px auto 25px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
  text-align: center;
}
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 0.88rem; font-weight: 700; }
.field label span { color: var(--accent); }
.field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #fbfbfa;
  border: 1px solid #cfd3cf;
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.field input::placeholder { color: #92958f; }
.field input:focus { background: #fff; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 13, 16, 0.1); }
.field input[aria-invalid="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 69, 36, 0.12); }
.field--hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button {
  width: 100%;
  min-height: 64px;
  margin-top: 5px;
  padding: 11px 18px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 0 var(--accent-dark), 0 15px 24px rgba(232, 69, 36, 0.23);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
button:hover { background: #f04c29; transform: translateY(-1px); box-shadow: 0 9px 0 var(--accent-dark), 0 17px 26px rgba(232, 69, 36, 0.26); }
button:active { transform: translateY(5px); box-shadow: 0 3px 0 var(--accent-dark), 0 8px 18px rgba(232, 69, 36, 0.22); }
button:focus-visible { outline: 3px solid rgba(11, 13, 16, 0.65); outline-offset: 4px; }
button:disabled { cursor: wait; opacity: 0.72; }
button span, button small { display: block; }
button span { font-size: 1.08rem; font-weight: 850; letter-spacing: 0.01em; text-transform: uppercase; }
button small { margin-top: 3px; font-size: 0.75rem; font-weight: 600; opacity: 0.85; }
.form-status {
  display: none;
  margin: 20px 0 0;
  padding: 13px 14px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}
.form-status.is-visible { display: block; }
.form-status.is-success { color: #174c2a; background: #eaf8ef; border: 1px solid #b6dfc3; }
.form-status.is-error { color: #7e2515; background: #fff0ec; border: 1px solid #f0c1b7; }
.consent { margin: 21px 3px 0; color: #777a7f; font-size: 0.72rem; line-height: 1.5; text-align: center; }
footer { padding: 46px 20px 42px; background: #f7f7f5; border-top: 1px solid #ecece8; }
.footer__inner { color: #7c7f84; font-size: 0.75rem; line-height: 1.65; }
.footer__inner p { margin: 0 0 13px; }
.footer__inner nav { display: flex; gap: 9px; justify-content: center; margin-top: 25px; }
.footer__inner a { color: #55595f; text-underline-offset: 3px; }
.legal-page { min-height: 100vh; padding: 64px 20px; background: #fff; }
.legal-page article { width: min(100%, 720px); margin: 0 auto; }
.legal-page h1 { margin: 24px 0 28px; font-size: clamp(2.35rem, 7vw, 4rem); text-align: left; }
.legal-page p { color: #4e5156; font-size: 1rem; line-height: 1.75; }
.legal-page a { color: var(--accent-dark); font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 600px) {
  .hero { padding: 38px 15px 55px; }
  h1 { margin-top: 13px; font-size: 2.05rem; }
  .subhead { margin-top: 19px; font-size: 1.03rem; }
  .optin-card { margin-top: 31px; border-radius: 16px; }
  .optin-card__body { padding: 27px 20px 27px; }
  .helper { font-size: 0.89rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
