/* ============================================================
   PENNY PINCHER · $500 Gas Giveaway
   Single-question-per-step quiz. Inputs ALWAYS above the fold.
   Form styling modeled on pennypincher.com/insurance/auto/quote.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; height: 100%; }

:root {
  /* Penny Pincher emerald system — from pennypincher.com */
  --bg:           #ffffff;
  --surface:      #ffffff;
  --surface-soft: #f7faf8;
  --ink:          #0b1f1a;
  --text:         #0f2a23;
  --text-muted:   #4b5e57;
  --text-subtle:  #8a9c93;
  --border:       rgba(11, 31, 26, 0.10);
  --border-2:     rgba(11, 31, 26, 0.16);

  --primary:      #047857;     /* emerald-700 */
  --primary-2:    #059669;     /* emerald-600 */
  --primary-3:    #10b981;     /* emerald-500 */
  --primary-deep: #064e3b;     /* emerald-800 */
  --primary-ink:  #022c1f;     /* emerald-950 */
  --primary-fg:   #ffffff;
  --primary-50:   #ecfdf5;
  --primary-100:  #d1fae5;
  --primary-200:  #a7f3d0;
  --teal:         #0d9488;
  --gold:         #f59e0b;
  --gold-deep:    #b45309;
  --gold-ink:     #78350f;

  --r-sm: 8px;
  --r:    10px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11,31,26,.05);
  --shadow:    0 1px 2px rgba(11,31,26,.04), 0 6px 22px rgba(11,31,26,.07);
  --shadow-lg: 0 24px 60px -16px rgba(2, 44, 31, .22), 0 6px 18px -6px rgba(2,44,31,.10);
  --ring:      0 0 0 4px rgba(4, 120, 87, .22);

  --ease: cubic-bezier(.32,.72,0,1);
  --ease-out: cubic-bezier(.22,1,.36,1);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', ui-serif, Georgia, 'Times New Roman', serif;
}

body {
  font: 16px/1.55 var(--font-sans);
  color: var(--text);
  background: var(--bg);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.text-primary { color: var(--primary); }

/* ============================================================
   HEADER — minimal, mirrors pennypincher.com auto-quote header
   ============================================================ */
.site-header {
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
  transition: transform .2s var(--ease);
}
.brand:hover { text-decoration: none; transform: scale(1.02); }
.brand-mark {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-2) 0%, var(--primary) 100%);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(4,120,87,.45);
  flex-shrink: 0;
}
.brand-mark > svg { width: 22px; height: 22px; }
.brand-spark {
  position: absolute; bottom: -3px; right: -3px;
  width: 16px; height: 16px;
  background: var(--primary-3);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  color: #fff;
}
.brand-spark svg { width: 10px; height: 10px; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.025em;
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary-2) 0%, var(--primary) 50%, var(--teal) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-sub {
  font-size: 11px;
  font-weight: 900;
  color: var(--ink);
  margin-top: 3px;
  letter-spacing: 0;
  opacity: .8;
}

/* ============================================================
   GEO RIBBON — emerald band that sits between header and form
   Mirrors the “Drivers in {city} can save up to $X per year!” band
   ============================================================ */
.geo-ribbon {
  background: linear-gradient(135deg, var(--primary-2) 0%, var(--primary) 50%, var(--primary-deep) 100%);
  color: #fff;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}
.geo-ribbon::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.geo-ribbon-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(14px, 3.4vw, 18px);
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.geo-ribbon-inner b { font-weight: 900; color: #fef3c7; }
.geo-ribbon-icon {
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center; justify-content: center;
  color: #d1fae5;
}
.geo-ribbon-icon svg { width: 100%; height: 100%; }
.geo-city { color: #fef3c7; font-weight: 900; }

/* ============================================================
   COMPLIANCE BAND — sweeps disclosures, always visible
   ============================================================ */
.compliance-band {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
}
.compliance-band-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-muted);
  letter-spacing: 0;
}
.compliance-band-inner span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
.compliance-band-inner b {
  color: var(--ink);
  font-weight: 700;
}
.compliance-band-inner a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (min-width: 640px) {
  .compliance-band-inner { font-size: 12.5px; gap: 4px 18px; }
}

/* ============================================================
   PROGRESS BAR — thin bar + percent, mirrors auto-quote
   ============================================================ */
.progress-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px 0;
}
.progress-bar {
  height: 8px;
  background: var(--primary-100);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-2) 0%, var(--primary-3) 100%);
  border-radius: 999px;
  transition: width .5s var(--ease-out);
}
.progress-text {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}
.progress-text b { color: var(--primary); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ============================================================
   APP STAGE / QUIZ FORM
   Inputs always above the fold:
   - Form max-width 640px, centered
   - Padding minimized on mobile
   - One question visible at a time (others hidden)
   ============================================================ */
.app-stage {
  background:
    radial-gradient(900px 360px at 50% -120px, rgba(4,120,87,.08), transparent 70%),
    var(--surface-soft);
  padding: 20px clamp(12px, 3vw, 20px) 32px;
  min-height: calc(100dvh - 200px);
}
@media (min-width: 768px) {
  .app-stage { padding: 32px 24px 48px; }
}
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(11,31,26,.04),
    0 12px 32px -12px rgba(2,44,31,.18);
  padding: 24px clamp(16px, 4vw, 28px) 24px;
}
@media (min-width: 768px) {
  .form-container { padding: 36px 36px 32px; }
}
body[data-mode="confirm"] .form-container {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: 720px;
}

.step {
  animation: stepIn .32s var(--ease-out) both;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.q-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  font-weight: 800;
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 9px;
  background: var(--primary-50);
  border-radius: 999px;
  border: 1px solid rgba(4,120,87,.18);
  width: fit-content;
  max-width: 100%;
}
.q-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-3);
  box-shadow: 0 0 0 4px rgba(16,185,129,.2);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot { 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); } }

/* THE BIG QUESTION — modeled directly on auto-quote .question-label */
.question-label {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(1.5rem, 6.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}
@media (min-width: 768px) {
  .question-label {
    text-align: left;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 28px;
  }
}
.question-sub {
  margin: -16px 0 24px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .question-sub { text-align: left; }
}

/* ============================================================
   FORM INPUTS — modeled on .form-input from auto-quote.
   2px primary border, large height, tabular spacing, inset shadow.
   ============================================================ */
.input-block { display: block; margin-bottom: 8px; }
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.input-block-half { margin-bottom: 0; }

/* DOB row — Month / Day / Year, 3 cols on desktop, 2+1 stacked on mobile */
.dob-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 10px;
  margin-bottom: 8px;
}
.dob-row .input-block { margin-bottom: 0; }
@media (max-width: 420px) {
  .dob-row { grid-template-columns: 1fr 1fr; }
  .dob-row .dob-month { grid-column: 1 / -1; }
}

.micro-label-hint {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-subtle);
  margin-left: 6px;
}

.micro-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 8px;
  outline: none;
  box-shadow: 0 1px 0 var(--primary) inset;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  -webkit-appearance: none;
  appearance: none;
  letter-spacing: -0.005em;
}
@media (min-width: 768px) {
  .form-input { height: 64px; font-size: 1.25rem; padding: 0 22px; }
}
.form-input::placeholder {
  color: var(--text-subtle);
  font-weight: 400;
  letter-spacing: 0;
}
.form-input:focus,
.form-input:focus-within {
  border-color: var(--primary);
  box-shadow: var(--ring), 0 1px 0 var(--primary) inset;
}
.input-block.is-error .form-input {
  border-color: #dc2626;
  background: #fef2f2;
  box-shadow: 0 1px 0 #dc2626 inset, 0 0 0 4px rgba(220,38,38,.12);
}
.form-error-label {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #dc2626;
}
.input-helper {
  margin: 8px 2px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
.input-helper b { color: var(--ink); font-weight: 700; }

/* Phone with +1 prefix */
.phone-wrap { position: relative; }
.phone-prefix {
  position: absolute;
  left: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .phone-prefix { font-size: 1.25rem; }
}
.form-input-phone {
  padding-left: 52px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
@media (min-width: 768px) { .form-input-phone { padding-left: 58px; } }

/* Select (birthday month) */
.select-wrap {
  position: relative;
}
.form-select {
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary) 50%),
    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* ============================================================
   ELIGIBILITY ROW — 18+ checkbox
   ============================================================ */
.eligible-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 8px;
  padding: 16px 18px;
  border: 2px solid var(--border-2);
  border-radius: 10px;
  background: var(--surface-soft);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.eligible-row:hover { border-color: var(--primary); }
.eligible-row:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-50);
}
.eligible-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.eligible-row b { color: var(--ink); font-weight: 800; display: block; margin-bottom: 2px; }

/* ============================================================
   CONTINUE / PRIMARY BUTTON
   ============================================================ */
.continue-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.continue-row-stack { margin-top: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 1.5rem;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .12s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), opacity .2s;
  text-decoration: none;
  -webkit-user-select: none; user-select: none;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 20px; height: 20px; }
.btn-xl { height: 60px; font-size: 1.25rem; padding: 0 1.75rem; }
@media (min-width: 768px) { .btn-xl { height: 64px; font-size: 1.375rem; } }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
  border-color: var(--primary);
  color: var(--primary-fg);
  box-shadow:
    0 1px 0 rgba(255,255,255,.20) inset,
    0 1px 2px rgba(2,44,31,.25),
    0 12px 28px -10px rgba(4,120,87,.6);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.20) inset,
    0 2px 4px rgba(2,44,31,.25),
    0 18px 36px -10px rgba(4,120,87,.65);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: none; box-shadow: var(--ring), 0 12px 28px -10px rgba(4,120,87,.6); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.press-enter {
  display: none;
  align-self: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-subtle);
}
.press-enter kbd {
  font-family: ui-monospace, monospace;
  background: #fff;
  border: 1px solid var(--border-2);
  border-bottom-width: 2px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--ink);
}
@media (min-width: 768px) {
  .press-enter { display: inline-flex; align-items: center; gap: 6px; margin-top: -2px; }
}

/* Skip link — small ghost-style "opt out" */
.step-skip {
  background: transparent;
  border: 0;
  padding: 10px 8px;
  width: 100%;
  color: var(--text-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(11,31,26,0.25);
  cursor: pointer;
  border-radius: 8px;
  transition: color .15s var(--ease), text-decoration-color .15s var(--ease);
}
.step-skip:hover { color: var(--ink); text-decoration-color: var(--ink); }
.step-skip:focus-visible { outline: none; box-shadow: var(--ring); }

/* Success pill (above step 4 to celebrate the entry) */
.success-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin: 0 0 18px;
  background: var(--primary-50);
  border: 1px solid rgba(4,120,87,.22);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.4;
}
.success-pill b { color: var(--primary); font-weight: 800; }
.success-pill-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -3px rgba(4,120,87,.45);
}
.success-pill-icon svg { width: 18px; height: 18px; }

/* TCPA disclosure under phone button */
.tcpa-text {
  margin: 4px 0 0;
  padding: 12px 14px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.tcpa-text b { color: var(--ink); font-weight: 700; }
.tcpa-text a { color: var(--text-muted); text-decoration: underline; font-weight: 600; }

.micro {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-subtle);
}
.micro a { color: var(--text-muted); text-decoration: underline; font-weight: 600; }
.micro-center { text-align: center; }

/* ============================================================
   TRUST STRIP (below the form, still visible high)
   ============================================================ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.trust-strip b { color: var(--ink); font-weight: 700; }
@media (min-width: 768px) { .trust-strip { font-size: 13.5px; gap: 8px 28px; } }

body[data-mode="confirm"] [data-mode-show="quiz"] { display: none !important; }

/* ============================================================
   INFO BAND (below-the-fold content: about + prize + FAQ)
   ============================================================ */
.info-band {
  margin-top: 32px;
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  padding: 40px 16px 24px;
}
.info-band-inner {
  max-width: 760px;
  margin: 0 auto;
}
.info-h {
  margin: 32px 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.info-h:first-child { margin-top: 0; }
.info-p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.info-p b { color: var(--ink); font-weight: 700; }
.info-p a { color: var(--primary); font-weight: 700; text-decoration: underline; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 12px;
}
@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
.info-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-3) 100%);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px -4px rgba(4,120,87,.4);
  margin-bottom: 4px;
}
.info-icon svg { width: 20px; height: 20px; }
.info-card b {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
}
.info-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
.info-card p b { font-size: inherit; color: var(--ink); font-weight: 700; }

/* FAQ */
.faq-list { display: grid; gap: 8px; margin-bottom: 24px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  transition: border-color .15s var(--ease);
}
.faq-item:hover { border-color: var(--border-2); }
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  position: relative;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.35;
  -webkit-user-select: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--primary);
}
.faq-item p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.faq-item p b { color: var(--ink); font-weight: 700; }
.faq-item p a { color: var(--primary); font-weight: 600; text-decoration: underline; }

.giveaway-fine {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 12px 0 0;
}
.giveaway-fine b { color: var(--ink); font-weight: 700; }
.giveaway-fine a { color: var(--primary); font-weight: 700; text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  background: #0a0f0d;
  color: #cbd5cf;
  padding: 24px 16px;
  text-align: center;
}
.foot-fine {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}
.foot-fine a { color: rgba(255,255,255,.75); text-decoration: underline; }
.foot-fine a:hover { color: #6ee7b7; }

/* ============================================================
   CONFIRMATION SCREEN (reuses gold/gas referral hero)
   ============================================================ */
.step-confirm { padding-top: 12px; }

.gw-confirm-hero {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(155deg, var(--gold) 0%, var(--gold-deep) 50%, var(--gold-ink) 100%);
  color: #fff;
  isolation: isolate;
  margin-bottom: 20px;
}
.gw-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 320px at 100% -10%, rgba(254, 240, 138, 0.45), transparent 60%),
    radial-gradient(500px 280px at 0% 110%, rgba(120, 53, 15, 0.55), transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.gw-hero-content { position: relative; padding: 24px 22px 26px; }
@media (min-width: 640px) { .gw-hero-content { padding: 32px 36px 36px; } }
.gw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gw-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.25);
  animation: pulseDotWhite 1.8s ease-in-out infinite;
}
@keyframes pulseDotWhite { 50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } }
.gw-prize {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 6px;
  line-height: 1;
  flex-wrap: wrap;
}
.gw-amount {
  font-size: clamp(56px, 14vw, 88px);
  font-weight: 900;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 0%, #fef3c7 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 2px 18px rgba(120,53,15,.25);
}
.gw-prize-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 5vw, 30px);
  font-weight: 400;
  color: #fef3c7;
}
.gw-deadline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}
.gw-deadline svg { width: 14px; height: 14px; }
.gw-deadline b { color: #fff; font-weight: 800; }

.gw-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.gw-stats > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 10px;
}
.gw-stats b {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.gw-stats span {
  font-size: 11.5px;
  color: rgba(255,255,255,.8);
}

.gw-cta-label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.94);
  line-height: 1.4;
}
.gw-cta-label b { color: #fef3c7; font-weight: 800; }

.gw-link-row {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,.96);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 10px;
  box-shadow: 0 8px 22px -8px rgba(120,53,15,.4);
}
.gw-link-row input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  padding: 0 14px;
  height: 52px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', monospace;
}
.gw-link-row input:focus { outline: none; }
.gw-link-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 52px;
  padding: 0 18px;
  background: var(--ink);
  border: 0;
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  transition: background-color .15s var(--ease);
  flex-shrink: 0;
}
.gw-link-copy:hover { background: #000; }
.gw-link-copy .icon-copy { display: block; width: 16px; height: 16px; }
.gw-link-copy .icon-check { display: none; width: 16px; height: 16px; }
.gw-link-copy.copied { background: #15803d; }
.gw-link-copy.copied .icon-copy { display: none; }
.gw-link-copy.copied .icon-check { display: block; }

.gw-link-pending {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 600;
}
.gw-link-pending[hidden],
.gw-link-row[hidden],
.gw-share-row[hidden] { display: none !important; }
.gw-link-pending svg {
  width: 18px; height: 18px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.gw-share-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gw-share-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 10px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all .15s var(--ease);
}
.gw-share-btn:hover {
  background: rgba(255,255,255,.24);
  text-decoration: none;
  transform: translateY(-1px);
}
.gw-share-btn svg { width: 18px; height: 18px; }

.confirm-copy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 16px;
}
.confirm-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  color: var(--primary);
  background: var(--primary-100);
  border-radius: 50%;
  display: grid; place-items: center;
}
.confirm-icon svg { width: 32px; height: 32px; }
.confirm-title {
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 10px;
}
.confirm-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--gold-deep); }
.confirm-body {
  margin: 0 auto 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52ch;
}
.confirm-body b { color: var(--ink); font-weight: 700; }
.confirm-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-subtle);
}
.confirm-meta b { color: var(--ink); font-weight: 700; }

/* ============================================================
   RULES MODAL
   ============================================================ */
.rules-modal {
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  max-width: 720px;
  width: calc(100% - 32px);
  max-height: 88vh;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.rules-modal::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.rules-modal-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}
.rules-head {
  padding: 28px 28px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--primary-50) 0%, #fff 100%);
  text-align: center;
}
.rules-head h2 {
  margin: 4px 0 8px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.rules-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
}
.rules-body { overflow-y: auto; padding: 22px 28px 32px; }
.rules-body h3 {
  margin: 18px 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}
.rules-body h3:first-child { margin-top: 0; }
.rules-body p {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.rules-body p b { color: var(--ink); font-weight: 700; }
.rules-body a { color: var(--primary); text-decoration: underline; font-weight: 600; }
.rules-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .15s var(--ease);
  z-index: 2;
}
.rules-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rules-close svg { width: 18px; height: 18px; }

/* ============================================================
   SHORT VIEWPORT TUNING — ensures input above fold even on iPhone SE
   ============================================================ */
@media (max-height: 700px) {
  .geo-ribbon { padding: 10px 16px; }
  .geo-ribbon-inner { font-size: 13px; }
  .progress-wrap { padding-top: 10px; }
  .form-container { padding-top: 14px; }
  .question-label { font-size: clamp(1.25rem, 5.5vw, 1.75rem); margin-bottom: 16px; }
  .question-sub { margin-bottom: 16px; font-size: 14px; }
  .form-input { height: 50px; font-size: 1rem; }
  .btn { height: 50px; font-size: 1rem; }
  .btn-xl { height: 54px; font-size: 1.0625rem; }
  .trust-strip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
