:root {
  --paper: #f3efe6;
  --card: #fffdf8;
  --ink: #1c1916;
  --muted: #5c574f;
  --line: #d9d1c3;
  --accent: #0b5d4a;
  --accent-ink: #f6f3ec;
  --accent-soft: #e4f1ec;
  --focus: #0b5d4a;
  --error: #8a241c;
  --radius: 1.1rem;
  --shadow: 0 1px 2px rgba(28, 25, 22, 0.06), 0 10px 28px rgba(28, 25, 22, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 400px at 10% -10%, #e7efe9 0%, transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  z-index: 10;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 4rem;
}

.hero { margin-bottom: 1.5rem; }

.eyebrow {
  margin: 0 0 0.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

h1, h2, .step h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
}

.lede {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
}

.card, .plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.4rem;
}

.field { margin: 0 0 1.25rem; }
.field:last-of-type { margin-bottom: 1rem; }

label, legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.hint {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 1rem;
}

input[type="tel"] {
  width: 100%;
  font: inherit;
  font-size: 1.25rem;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 0.8rem;
  background: #fff;
  color: var(--ink);
}

input[type="tel"]:focus,
.choice:has(input:focus-visible),
.go:focus-visible,
.text-btn:focus-visible,
.action:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.choices.carriers {
  grid-template-columns: 1fr 1fr;
}

.choice {
  margin: 0;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.6rem 0.7rem;
  border: 1.5px solid var(--line);
  border-radius: 0.8rem;
  background: #fff;
  font-weight: 700;
  text-align: center;
}

.choice:has(input:checked) span {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.error {
  color: var(--error);
  font-weight: 700;
  margin: 0 0 0.8rem;
}

.go {
  display: block;
  width: 100%;
  margin: 0.4rem 0 0.85rem;
  padding: 1rem 1.2rem;
  border: 0;
  border-radius: 0.95rem;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.go:hover { filter: brightness(1.08); }
.go:active { transform: translateY(1px); }

.privacy, .foot p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.plan { margin-top: 1.25rem; }

.plan-head { margin-bottom: 1.1rem; }

.text-btn {
  margin: 0.7rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.95rem;
  font-weight: 700;
  vertical-align: middle;
}

.step h3 {
  display: inline;
  font-size: 1.25rem;
  margin: 0;
}

.step .body { margin: 0.7rem 0 0; }
.step .body p { margin: 0 0 0.65rem; }
.step .body p:last-child { margin-bottom: 0; }
.step ul {
  margin: 0.35rem 0 0.7rem;
  padding-left: 1.2rem;
}
.step li { margin: 0.25rem 0; }

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.8rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.action.secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.sources {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.sources a { color: var(--accent); }

.foot {
  width: min(40rem, calc(100% - 2rem));
  margin: 1.25rem auto 2rem;
}

@media (min-width: 640px) {
  .card, .plan { padding: 1.6rem 1.7rem 1.75rem; }
  .choices.carriers { grid-template-columns: repeat(4, 1fr); }
}
