:root {
  --red: #ed1b2e;
  --red-dark: #c8101f;
  --red-soft: #fdecee;
  --ink: #1d1f23;
  --muted: #5b6068;
  --line: #e3e3e6;
  --bg: #f6f6f7;
  --card: #ffffff;
  --ok: #1f9d55;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.45; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.test-banner { background: #111; color: #fff; text-align: center; font-size: 13px; padding: 6px 12px; }

.top { background: #fff; border-bottom: 1px solid var(--line); display: flex; justify-content: center; padding: 12px 16px; }
.top img { height: 44px; width: auto; }

.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px 32px; }
.hero { text-align: center; padding: 28px 0 12px; }
.hero h1 { font-size: clamp(24px, 6vw, 34px); line-height: 1.15; margin: 0; text-transform: uppercase; font-weight: 800; letter-spacing: 0.2px; text-wrap: balance; }
.hero h1 span { color: var(--red); }
.hero .lead { color: var(--muted); font-size: 17px; margin: 10px auto 0; max-width: 520px; }

.progress { margin: 16px 0; position: relative; }
.progress .bar { height: 28px; border-radius: 14px; background: #ececee; overflow: hidden; }
.progress .fill { height: 100%; width: 0; background: #5dc56f; transition: width .3s ease; }
.progress .ptext { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; }

.card { background: var(--card); border-radius: 12px; box-shadow: 0 2px 14px rgba(20, 20, 30, .06); padding: 22px 18px; }

.bubble { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.bubble img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 64px; }
.bubble > div { background: var(--red-soft); border-radius: 10px; padding: 12px 16px; flex: 1; }
.bubble b { display: block; font-size: 16px; }
.bubble label, .bubble span { display: block; font-size: clamp(19px, 4.6vw, 24px); line-height: 1.2; }

.field { width: 100%; font: inherit; font-size: 18px; padding: 14px 16px; border: 2px solid #c9c9ce; border-radius: 10px; background: #fff; color: var(--ink); }
.field:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(237, 27, 46, .15); }
.field[aria-invalid="true"] { border-color: var(--red); }
.field.big { text-align: center; font-size: 22px; }
.flabel { display: block; font-weight: 700; text-transform: uppercase; font-size: 15px; margin: 16px 0 6px; }
.err { color: var(--red); font-size: 15px; margin-top: 6px; }

.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.actions .btn { margin-left: auto; }
.btn { background: var(--red); color: #fff; border: 0; border-radius: 10px; padding: 15px 34px; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; min-width: 150px; }
.btn:hover { background: var(--red-dark); }
.btn:disabled { opacity: .75; cursor: progress; }
.btn.wide { width: 100%; margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.back { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 8px 0; }

.pill { margin: 6px auto 18px; width: fit-content; min-width: 70%; text-align: center; font-size: clamp(30px, 9vw, 44px); font-weight: 800; color: var(--red); background: var(--red-soft); border: 3px solid var(--red); border-radius: 40px; padding: 4px 26px; }
.slider { --fill: 0%; width: 100%; height: 28px; -webkit-appearance: none; appearance: none; background: transparent; }
.slider::-webkit-slider-runnable-track { height: 10px; border-radius: 5px; background: linear-gradient(to right, var(--red) var(--fill), #cfcfd4 var(--fill)); }
.slider::-moz-range-track { height: 10px; border-radius: 5px; background: linear-gradient(to right, var(--red) var(--fill), #cfcfd4 var(--fill)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: #fff; border: 4px solid var(--red); }
.slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--red); }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; margin-top: 4px; font-variant-numeric: tabular-nums; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: #fff; border: 2px solid #d6d6db; border-radius: 10px; padding: 16px 10px; font-size: 17px; font-weight: 600; color: var(--ink); }
.tile:hover, .tile:focus-visible { border-color: var(--red); color: var(--red); outline: none; }

.consent { font-size: 13px; color: var(--muted); text-align: center; margin: 16px 0 0; }
.spin { width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.why { margin: 30px 0 0; }
.why h2 { text-align: center; font-size: 24px; margin: 0 0 18px; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.why li { display: flex; gap: 14px; align-items: flex-start; }
.why .tick { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--red-soft); position: relative; margin-top: 2px; }
.why .tick::after { content: ""; position: absolute; left: 11px; top: 7px; width: 7px; height: 13px; border: solid var(--red); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.why b { font-size: 17px; }
.why p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

.toast { position: fixed; left: 16px; right: 16px; top: calc(env(safe-area-inset-top, 0px) + 12px); margin: 0 auto; max-width: 480px; background: #2b2d31; color: #fff; padding: 12px 16px; border-radius: 10px; text-align: center; z-index: 10; }

.foot { background: #f0f0f2; color: #6b6f76; font-size: 13px; margin-top: 36px; padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
.foot .foot-top { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid #dcdce0; padding-bottom: 14px; }
.foot .foot-top img { height: 36px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: #4a4f57; }
.foot .foot-legal { max-width: 1100px; margin: 0 auto; }
.foot .foot-legal p { margin: 12px 0 0; }

/* Thank-you and DNQ pages */
.page h1 { font-size: clamp(24px, 6vw, 32px); line-height: 1.2; margin: 28px 0 10px; text-wrap: balance; }
.page .sub { color: var(--muted); font-size: 17px; margin: 0 0 20px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { background: #fff; border-radius: 12px; padding: 16px 18px; border-left: 5px solid var(--ok); }
.steps li.pending { border-left-color: var(--red); }
.steps small { display: block; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; color: var(--muted); font-size: 12px; }
.offers { background: #fff; border-radius: 12px; padding: 20px 18px; }
.offers h2 { font-size: 20px; margin: 0 0 14px; }
.offer { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 12px; display: grid; gap: 12px; }
.offer p { margin: 0; font-size: 15px; }
.offer a { display: block; text-align: center; background: var(--red); color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 700; letter-spacing: .6px; padding: 12px; border-radius: 8px; }
.small { font-size: 12px; color: var(--muted); }
@media (min-width: 640px) {
  .tiles:not(.two) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer { grid-template-columns: 1fr auto; align-items: center; }
  .offer a { padding: 12px 18px; }
}
