/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  --claret:        #670E36;
  --claret-deep:   #500A2A;
  --blue:          #D6E9F7;
  --blue-line:     #B9D8EE;
  --ink:           #111827;
  --ink-muted:     #5B6472;
  --bg:            #FFFFFF;
  --bg-alt:        #F8F9FA;
  --line:          #E7E9ED;

  --radius:        14px;
  --radius-sm:     10px;
  --shadow:        0 1px 2px rgba(17, 24, 39, .04),
                   0 12px 32px rgba(17, 24, 39, .07);

  --container:     1120px;
  --gutter:        24px;
}

/* ── Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding-block: clamp(64px, 11vw, 128px) clamp(40px, 6vw, 64px);
}

.hero__eyebrow {
  color: var(--ink-muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: 24px;
}

.hero__title {
  color: var(--claret);
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 8rem);
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}

.hero__sub {
  max-width: 40ch;
  margin-inline: auto;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

/* ── Action card ───────────────────────────────────────────────── */
.action { padding-bottom: clamp(56px, 8vw, 96px); }

.card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px);
  background: var(--blue);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card__col { display: flex; flex-direction: column; }

.card__divider { width: 1px; background: rgba(17, 24, 39, .12); }

.card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.card__price {
  color: var(--claret);
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.card__note {
  color: var(--ink);
  opacity: .7;
  font-size: .8125rem;
  margin-top: 8px;
  margin-bottom: auto;
  padding-bottom: 24px;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease,
              border-color .15s ease, transform .08s ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--claret);
  color: #FFFFFF;
  border: 1px solid var(--claret);
}

.btn--primary:hover {
  background: var(--claret-deep);
  border-color: var(--claret-deep);
}

.btn--secondary {
  background: var(--bg);
  color: var(--claret);
  border: 1.5px solid var(--claret);
}

.btn--secondary:hover { background: #FBF5F8; }

/* ── Offer form ────────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid rgba(17, 24, 39, .16);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: inherit;
  font-size: .9375rem;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.input::placeholder { color: #9AA1AC; }

.input:focus {
  outline: none;
  border-color: var(--claret);
  box-shadow: 0 0 0 3px rgba(103, 14, 54, .16);
}

.input[aria-invalid="true"] { border-color: var(--claret); }

.form__status {
  min-height: 1.2em;
  font-size: .8125rem;
  color: var(--ink);
  opacity: .75;
}

.form__status--ok { color: #0F5C34; opacity: 1; }
.form__status--err { color: var(--claret); opacity: 1; }

/* The attribute alone loses to any author display rule, so enforce it. */
[hidden] { display: none !important; }

/* ── Submission confirmation ───────────────────────────────────── */
.success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.success:focus { outline: none; }

.success__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #DCEEE3;
  color: #0F5C34;
  font-size: 1.375rem;
  line-height: 1;
}

.success__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

.success__body {
  font-size: .9375rem;
  color: var(--ink);
}

.success__body strong { font-weight: 700; }

.success__note {
  font-size: .8125rem;
  color: var(--ink);
  opacity: .75;
}

.success__again {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--claret);
  font: inherit;
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.success__again:hover { opacity: .75; }

.form__fineprint {
  font-size: .75rem;
  color: var(--ink-muted);
}

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn[aria-busy="true"],
.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.btn:disabled:active { transform: none; }

/* ── Value propositions ────────────────────────────────────────── */
.value {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
  padding-block: clamp(56px, 8vw, 88px);
}

.value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

.value__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.value__body {
  color: var(--ink-muted);
  font-size: .9375rem;
  max-width: 34ch;
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  padding-block: 40px;
  text-align: center;
  color: var(--ink-muted);
  font-size: .8125rem;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .card { grid-template-columns: 1fr; }
  .card__divider { width: auto; height: 1px; }
  .card__note { padding-bottom: 20px; }
  .value__grid { grid-template-columns: 1fr; }
  .value__body { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
