.funnel-page {
  --bg: #eef4fb;
  --text: #0f172a;
  --muted: #475569;
  --accent: #1d4ed8;
  --accent2: #2563eb;
  --glow: #60a5fa;
  --head: #0b2a4a;
  --radius: 16px;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  background:
    radial-gradient(ellipse 120% 80% at 0% -20%, color-mix(in srgb, var(--glow) 38%, transparent), transparent 55%),
    linear-gradient(180deg, #dbeafe 0%, var(--bg) 42%);
}
.funnel-page .topbar,
.funnel-page header.site { display: none; }

.funnel-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  padding-top: env(safe-area-inset-top);
}
.funnel-top-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.funnel-logo img {
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}
.funnel-hero {
  background: linear-gradient(135deg, #0b2a4a 0%, #123a66 46%, #0f172a 100%);
  color: #fff;
  padding: 2rem 1.25rem 2.6rem;
  text-align: center;
}
.funnel-hero h1 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  letter-spacing: -0.03em;
}
.funnel-hero p {
  margin: 0 0 1rem;
  color: #dbeafe;
  font-size: 0.98rem;
}
.funnel-kicker {
  margin: 0 0 0.65rem;
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.funnel-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.funnel-chips span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
}

.funnel-main {
  max-width: 680px;
  margin: -1.45rem auto 0;
  padding: 0 1.25rem 2.5rem;
  position: relative;
  text-align: center;
  background: transparent;
}
.funnel-wrap {
  width: auto;
  margin: 0;
}
.funnel-progress {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.funnel-bar {
  width: min(280px, 70%);
  height: 6px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, #fff);
  overflow: hidden;
}
.funnel-bar > span {
  display: block;
  height: 100%;
  width: 14%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent2), var(--head));
  transition: width 0.25s ease;
}

.funnel-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  padding: clamp(1.25rem, 3.5vw, 1.85rem);
  text-align: left;
}
.funnel-card h2 {
  margin: 0 0 1rem;
  color: var(--head);
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}
.funnel-lead {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.funnel-choices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.funnel-choice {
  width: 100%;
  min-height: 48px;
  text-align: left;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  background: #fff;
  color: var(--head);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.funnel-choice:hover,
.funnel-choice:focus-visible {
  border-color: var(--accent);
  background: #dbeafe;
  outline: none;
}

.funnel-form label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--head);
}
.funnel-form input[type="text"],
.funnel-form input[type="tel"],
.funnel-form input[type="email"] {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  background: #fff;
}
.funnel-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--glow) 35%, transparent);
}
.funnel-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.4rem 0 1.1rem;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
}
.funnel-check input { width: auto; margin-top: 0.25rem; }
.funnel-check a { color: var(--head); font-weight: 700; }
.funnel-cta {
  display: flex;
  width: 100%;
  min-height: 50px;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent2), var(--head));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--head) 32%, transparent);
}
.funnel-cta:disabled { opacity: 0.65; cursor: not-allowed; }
.funnel-result { margin: 12px 0 0; font-weight: 700; }
.funnel-result.err { color: #b91c1c; }
.funnel-screen[hidden] { display: none !important; }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.funnel-page .btn {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent2), var(--head));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--head) 28%, transparent);
}
.funnel-thanks {
  max-width: 460px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.25rem;
}
.funnel-thanks .funnel-card { text-align: center; }
.funnel-thanks h1 {
  color: var(--head);
  font-size: 1.4rem;
}

.funnel-foot {
  text-align: center;
  padding: 1.2rem 1rem calc(2rem + env(safe-area-inset-bottom));
  font-size: 13px;
  color: var(--muted);
}
.funnel-foot a { color: var(--head); }

@media (max-width: 640px) {
  .funnel-logo img { height: 34px; max-width: 118px; }
  .funnel-hero { padding: 1.35rem 0.9rem 2rem; }
  .funnel-hero h1 { font-size: 1.28rem; line-height: 1.2; }
  .funnel-main { margin-top: -1.15rem; padding: 0 0.75rem calc(2rem + env(safe-area-inset-bottom)); }
  .funnel-card { padding: 1.15rem 0.95rem; }
}
