:root {
  --brand-red: #E82C30;
  --brand-red-hover: #C9242A;
  --brand-red-soft: rgba(232, 44, 48, 0.14);
  --flow-border: #494b50;
  --flow-text: #ddd;
  --flow-track: #34363a;
  --flow-hero-text: #e5e5e8;
}

.editorial-accent, .inner-intro h1 .editorial-accent,
.original-closing-title em, .trust-strip strong { color: var(--brand-red); }
.original-closing-title em { -webkit-text-fill-color: var(--brand-red); -webkit-text-stroke-color: var(--brand-red); }
.entrance-title .editorial-accent { color: var(--flow-hero-text); }
.section-label::before, .eyebrow::before, .entrance-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  flex: 0 0 18px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--brand-red);
}
.nav-shell nav > a[aria-current=page]::after { display: block; background: var(--brand-red); }
.secondary-button:hover, .secondary-button:focus-visible {
  box-shadow: inset 0 -2px 0 var(--brand-red);
}
:is(.primary-button, .contact-button:not(.contact-button-outline), .nav-cta, .mobile-nav-cta):focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 4px;
}

.lead-form [hidden] { display: none !important; }
.flow-progress { margin-bottom: 28px; }
.lead-form .flow-progress p { margin: 0 0 12px; font-size: 13px; color: var(--flow-text); }
.flow-progress-track { height: 3px; background: var(--flow-track); overflow: hidden; }
.flow-progress-fill { height: 100%; background: var(--brand-red); transition: width .2s ease; }
.flow-progress-fill[data-step="1"] { width: 20%; }
.flow-progress-fill[data-step="2"] { width: 40%; }
.flow-progress-fill[data-step="3"] { width: 60%; }
.flow-progress-fill[data-step="4"] { width: 80%; }
.flow-progress-fill[data-step="5"] { width: 100%; }
.lead-form .flow-step h2 { margin: 0 0 24px; font-size: 26px; line-height: 1.3; }
.flow-step h2:focus { outline: none; }
.flow-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.lead-form .flow-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--flow-border);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}
.lead-form .flow-option input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--brand-red);
}
.lead-form .flow-option:has(input:checked) { border-color: var(--brand-red); background: var(--brand-red-soft); }
.flow-option:hover { border-color: var(--brand-red-hover); }
.flow-option:has(input:focus-visible) { outline: 2px solid var(--brand-red); outline-offset: 3px; }
.flow-option span { overflow-wrap: anywhere; }
.flow-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.lead-form .flow-controls button { min-width: 0; white-space: normal; height: auto; }
.lead-form .flow-controls .secondary-button { border: 1px solid var(--flow-border); }
.lead-form .flow-consent-title { font-size: 1rem; margin: 0; }
.lead-form .flow-consent { display: flex; align-items: flex-start; gap: 12px; line-height: 1.65; }
.lead-form .flow-consent input { width: 18px; height: 18px; min-height: 18px; flex-shrink: 0; margin-top: 5px; padding: 0; }
.next-steps { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; max-width: 760px; }
.next-steps li { display: flex; align-items: center; gap: 20px; padding: 22px; border: 1px solid var(--flow-border); border-radius: 8px; }
.next-step-number { color: var(--brand-red); font-size: 28px; font-weight: 600; flex: 0 0 28px; }
@media (max-width: 640px) {
  .flow-options { grid-template-columns: minmax(0, 1fr); }
  .lead-form .flow-option { min-height: 56px; padding: 14px; }
  .lead-form .flow-step h2 { font-size: 24px; }
  .flow-controls { flex-wrap: wrap; }
  .next-steps li { padding: 18px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-progress-fill { transition: none; }
}

/* Subtle red glows: homepage hero, How It Works preview, closing band only. */
.laptop-scene { isolation: isolate; }
.laptop-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 56% 50% at 18% 70%, color-mix(in srgb, var(--brand-red) 23%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 48% at 82% 28%, color-mix(in srgb, var(--brand-red) 21%, transparent), transparent 70%);
  filter: blur(56px);
  opacity: calc(0.72 + 0.16 * var(--lid-open, 0));
  clip-path: inset(0);
}
.laptop-scene[data-motion=static] .laptop-stage::before { opacity: 0.72; }
@media (prefers-reduced-motion: reduce) {
  .laptop-stage::before { opacity: 0.72; }
}
.home-plans { position: relative; overflow: hidden; isolation: isolate; }
.home-plans::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 44% 58% at 18% 30%, color-mix(in srgb, var(--brand-red) 18%, transparent), transparent 70%);
  filter: blur(56px);
}
.home-process { position: relative; overflow: hidden; isolation: isolate; }
.home-process::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 46% 60% at 84% 68%, color-mix(in srgb, var(--brand-red) 20%, transparent), transparent 70%);
  filter: blur(56px);
}
.funnel-band.original-closing { overflow: hidden; isolation: isolate; }
.funnel-band.original-closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 58% 52% at 50% 34%, color-mix(in srgb, var(--brand-red) 28%, transparent), transparent 72%);
  filter: blur(64px);
}
@media (width <= 767px) {
  .laptop-stage::before {
    background:
      radial-gradient(ellipse 86% 52% at 50% 30%, color-mix(in srgb, var(--brand-red) 32%, transparent), transparent 70%),
      radial-gradient(ellipse 88% 50% at 50% 69%, color-mix(in srgb, var(--brand-red) 30%, transparent), transparent 70%);
    filter: blur(44px);
  }
  .home-plans::before {
    background: radial-gradient(ellipse 54% 64% at 18% 30%, color-mix(in srgb, var(--brand-red) 26%, transparent), transparent 70%);
  }
  .home-process::before {
    background: radial-gradient(ellipse 56% 66% at 84% 68%, color-mix(in srgb, var(--brand-red) 26%, transparent), transparent 70%);
  }
  .funnel-band.original-closing::before {
    background: radial-gradient(ellipse 68% 60% at 50% 34%, color-mix(in srgb, var(--brand-red) 35%, transparent), transparent 72%);
  }
}

/* Mobile sticky button: one compact pill, replaces the old two-button slab. */
.mobile-contact-bar {
  display: none;
  position: fixed;
  inset: auto 0 calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  pointer-events: none;
}
@media (width <= 767px) {
  .mobile-contact-bar { display: flex; }
  body:has(.mobile-contact-bar) { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  /* Hide the decorative scroll hint on phones; the stage is taller than the screen. */
  .entrance-footer { display: none; }
}
html:has(.mobile-contact-bar) { scroll-padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
.mobile-contact-bar a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--brand-red);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f1f1f1;
  font-family: var(--font-geist-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.mobile-contact-bar a:first-child {
  background: rgba(8, 8, 8, 0.72);
  border-color: var(--brand-red);
}
.mobile-contact-bar a:hover {
  border-color: var(--brand-red-hover);
  background: rgba(8, 8, 8, 0.85);
}
.mobile-contact-bar a:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}
/* Text Now pill: white outline instead of red. First pill keeps its red. */
.mobile-contact-bar a:last-child {
  border-color: #fff;
}
.mobile-contact-bar a:last-child:hover {
  border-color: #fff;
}
.mobile-contact-bar a:last-child:focus-visible {
  outline-color: #fff;
}
/* Privacy page only */
.privacy-page .inner-intro > p.privacy-effective { color: var(--brand-red); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 18px; margin-bottom: 0; }
.privacy-page .privacy-cards { display: grid; gap: 18px; }
.privacy-page .privacy-card { border: 1px solid #363636; padding: 28px; margin: 0; background: #ffffff05; }
.privacy-page .privacy-card h2 { margin-top: 0; }
.privacy-page .privacy-card a { border-bottom: 1px solid var(--brand-red); }
.privacy-page .privacy-note { color: #8a8a8a; font-size: 14px; margin: 8px 0 0; }
.privacy-page .privacy-card ul { list-style: disc; padding-left: 22px; }
.privacy-page .privacy-card ul li::marker { color: var(--brand-red); font-size: .78em; }
@media (width <= 767px) { .privacy-page .privacy-card { padding: 20px; } }
