:root {
  --navy: #0A1740;
  --navy-deep: #060F2A;
  --navy-soft: #1A2960;
  --navy-tint: #EEF1F8;
  --orange: #D08643;
  --orange-h: #DD7B2C;
  --orange-tint: #FCEAD7;
  --cream: #FBF9F4;
  --warm: #FEFAF6;
  --paper: #FDFCF9;
  --line: #E8E6DF;
  --ink: #0A0F25;
  --muted: #4F5568;
  --faint: #8C92A4;
  --green: #16A36C;
  --display: "Inter Tight", -apple-system, sans-serif;
  --sans:  "Inter Tight", -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
html {
  overscroll-behavior-y: none;
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 480px) { .wrap { padding: 0 1.5rem; } }
@media (min-width: 768px) { .wrap { padding: 0 2rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 2.5rem; } }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--orange-h); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(208,134,67,0.35); }
.btn-primary svg { transition: transform 0.25s var(--ease); }
.btn-primary:hover svg { transform: translateX(2px); }

.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 1rem 1.75rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn-orange:hover { background: var(--orange-h); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(208,134,67,0.32); }
.btn-orange svg { transition: transform 0.25s var(--ease); }
.btn-orange:hover svg { transform: translateX(2px); }

.btn-orange-lg {
  font-size: 1rem;
  padding: 1.1rem 2rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.btn-ghost:hover { color: var(--navy); background: var(--navy-tint); }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(1,8,32,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 14px rgba(10,23,64,0.4);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) { .nav-inner { padding: 0.85rem 2.5rem; } }
.nav-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.95rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.nav-phone:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-phone svg { color: var(--orange); }

@media (min-width: 640px) { .nav-phone { display: inline-flex; } }

/* ===== HERO — punchy, single CTA focus ===== */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) { .hero { padding: 6rem 0 6.5rem; } }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(208,134,67,0.04), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10,23,64,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,0,0,0.4), transparent 80%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,0,0,0.4), transparent 80%);
  pointer-events: none;
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(10,23,64,0.1);
}
.tag-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 auto 1.75rem;
  max-width: 880px;
  text-wrap: balance;
}
.hero-h1 .acc {
  font-weight: 700;
  color: var(--orange);
}

.hero-sub {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 480px) {
  .hero-ctas { flex-direction: row; }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta-item svg { color: var(--green); flex-shrink: 0; }

/* ===== SELECTOR ===== */
.selector {
  padding: 4.5rem 0;
  background: var(--navy-tint);
}
@media (min-width: 768px) { .selector { padding: 6rem 0; } }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: var(--orange);
}
.section-h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-h2 .acc { color: var(--orange); font-weight: 700; }
.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.85rem;
  max-width: 580px;
}

.selector-head { text-align: center; margin: 0 auto 2.75rem; max-width: 700px; }
.selector-head .section-eyebrow { justify-content: center; }
.selector-head .section-eyebrow::before { display: none; }
.selector-head .section-lead { margin-inline: auto; }

.path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .path-grid { grid-template-columns: repeat(3, 1fr); } }

.path {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.25rem 1.85rem 1.85rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.path:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -16px rgba(10,23,64,0.22);
  border-color: rgba(208,134,67,0.45);
}
.path-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--orange);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  transition: background 0.2s, transform 0.3s var(--ease);
}
.path-icon svg { width: 26px; height: 26px; }
.path:hover .path-icon { background: var(--navy-deep); color: var(--orange); transform: scale(1.06) rotate(-3deg); }
.path-num {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--navy-tint);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.path-title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.path-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex: 1;
}
.path-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  width: 100%;
  transition: color 0.2s;
}
.path-cta-text {
  letter-spacing: -0.005em;
}
.path-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), transform 0.3s var(--ease);
}
.path-cta-arrow svg {
  transition: transform 0.3s var(--ease);
}
.path:hover .path-cta {
  color: var(--orange-h);
}
.path:hover .path-cta-arrow {
  background: var(--orange);
  transform: scale(1.08);
}
.path:hover .path-cta-arrow svg {
  transform: translateX(2px);
}

.path:hover .path-cta { gap: 0.6rem; }

/* ===== TESTIMONIALS ===== */

@media (min-width: 768px) {  }








@media (min-width: 900px) {
  
}






@media (min-width: 768px) {
  
}



@media (min-width: 768px) {
  
}







































/* ===== MID CTA BANNER — full-width call to action ===== */
.cta-banner {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 4rem 0;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) { .cta-banner { padding: 5rem 0; } }

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(208,134,67,0.08), transparent 70%);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.85rem;
}
.cta-banner h2 .acc { color: var(--orange); font-weight: 700; }
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-inline: auto;
}
.cta-banner-trust {
  color: rgba(255,255,255,0.92) !important;
  margin-bottom: 2rem !important;
}
.cta-banner-trust strong { font-weight: 600; }
.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 480px) { .cta-banner-actions { flex-direction: row; } }
.cta-banner-actions .btn-ghost { color: rgba(255,255,255,0.75); }
.cta-banner-actions .btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* ===== ONE-LINE PRODUCTS ===== */
.products-line {
  padding: 4rem 0;
  text-align: center;
  background: var(--paper);
}
@media (min-width: 768px) { .products-line { padding: 5rem 0; } }

.products-strip {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.ps-eyebrow {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
  line-height: 1.3;
}
.ps-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}
.ps-list li {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.55rem 1rem;
  border-radius: 6px;
  letter-spacing: -0.005em;
  transition: border-color 0.2s, background 0.2s;
}
.ps-list li:hover {
  border-color: rgba(208,134,67,0.4);
  background: #fff;
}


/* ===== FOUNDER STRIP — small, single line ===== */
.founder {
  padding: 2.5rem 0;
  background: var(--navy-tint);
  border-top: 1px solid rgba(10,23,64,0.08);
  border-bottom: 1px solid rgba(10,23,64,0.08);
}
.founder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .founder-inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
    gap: 1.1rem;
  }
}

.founder-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--orange);
  padding: 2px;
  background: #fff;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}
.founder-label { display: none; }
.founder-text {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  max-width: 720px;
  letter-spacing: -0.005em;
}
.founder-text em { color: var(--orange); font-weight: 600; font-style: normal; }

/* ===== FINAL CTA ===== */
.final {
  padding: 4.5rem 0;
  background: var(--paper);
  text-align: center;
}
@media (min-width: 768px) { .final { padding: 6rem 0; } }
.final-inner {
  max-width: 720px;
  margin: 0 auto;
}
.final h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.final h2 .acc { color: var(--orange); font-weight: 700; }
.final p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-inline: auto;
}
.final-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 480px) { .final-actions { flex-direction: row; } }
.final-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.final-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.final-trust svg { color: var(--green); }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 0 2rem;
  font-size: 0.82rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-logo img { height: 60px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
@media (min-width: 480px) { .footer-contact { flex-direction: row; gap: 1.25rem; } }
.footer-contact a {
  color: rgba(255,255,255,0.7);
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--orange); }
.footer-legal {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  text-align: center;
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(253,252,249,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 0.85rem 1.25rem;
  z-index: 80;
  display: none;
  box-shadow: 0 -4px 20px rgba(10,23,64,0.06);
}
@media (max-width: 767px) { .sticky-cta { display: block; } }
.sticky-cta-inner {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.sticky-cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
  flex-shrink: 0;
}
.sticky-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

/* ===== QUIZ MODAL ===== */
.quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,23,64,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.quiz-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.quiz {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  position: relative;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.quiz-overlay.open .quiz { transform: scale(1) translateY(0); }

.quiz-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s;
}
.quiz-close:hover { background: var(--line); }

.quiz-progress {
  height: 3px;
  background: var(--line);
  position: sticky;
  top: 0;
  z-index: 1;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--orange);
  width: 33.33%;
  transition: width 0.4s var(--ease);
}

.quiz-body {
  padding: 2rem 1.75rem 1.75rem;
}
@media (min-width: 480px) { .quiz-body { padding: 2.5rem 2.25rem 2rem; } }

.quiz-step {
  display: none;
}
.quiz-step.active {
  display: block;
  animation: stepIn 0.4s var(--ease);
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.quiz-h {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.quiz-p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.quiz-opt:hover { border-color: var(--orange); background: var(--orange-tint); }
.quiz-opt.selected { border-color: var(--orange); background: var(--orange-tint); }
.quiz-opt-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}
.quiz-opt.selected .quiz-opt-radio {
  border-color: var(--orange);
}
.quiz-opt.selected .quiz-opt-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--orange);
  border-radius: 50%;
}

.quiz-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 480px) { .quiz-fields.cols-2 { grid-template-columns: 1fr 1fr; } }
.quiz-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: -0.005em;
}
.quiz-field input,
.quiz-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
@media (min-width: 640px) {
  .quiz-field input,
  .quiz-field select { font-size: 0.95rem; }
}
.quiz-field input:focus,
.quiz-field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(208,134,67,0.15);
}

.quiz-consent {
  margin-top: 1.25rem;
  padding: 0.7rem 0.85rem;
  background: var(--navy-tint);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.quiz-back {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.quiz-back:hover { color: var(--navy); background: var(--navy-tint); }
.quiz-back.hidden { visibility: hidden; }

.quiz-next {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.quiz-next:hover:not(:disabled) { background: var(--navy-deep); transform: translateY(-1px); }
.quiz-next:disabled { background: var(--faint); cursor: not-allowed; }

.quiz-submit {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  padding: 1rem 1.85rem;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(208,134,67,0.28);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.quiz-submit:hover:not(:disabled) {
  background: var(--orange-h);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(208,134,67,0.4);
}
.quiz-submit:disabled { background: var(--faint); box-shadow: none; cursor: not-allowed; }
.quiz-submit svg { transition: transform 0.2s var(--ease); }
.quiz-submit:hover:not(:disabled) svg { transform: translateX(3px); }

.quiz-field-error {
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 0.35rem;
  min-height: 1em;
  line-height: 1.3;
}
.quiz-field input.invalid,
.quiz-field select.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.quiz-field input.invalid:focus,
.quiz-field select.invalid:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.18);
}

.quiz-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  font-size: 0.74rem;
  color: var(--faint);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.quiz-trust span { display: inline-flex; align-items: center; gap: 0.35rem; }
.quiz-trust svg { color: var(--green); }

.quiz-success {
  text-align: center;
  padding: 1rem 0;
}
.quiz-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(22,163,108,0.12);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.quiz-success h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}
.quiz-success p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 1.75rem;
}

/* ===== REVEAL ===== */
.js-ready .up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.up.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.18s; }
.d4 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js-ready .up { opacity: 1; transform: none; transition: none; }
}

.hero-anim-1 { opacity: 0; animation: heroIn 0.8s 0.1s var(--ease) forwards; }
.hero-anim-2 { opacity: 0; animation: heroIn 0.8s 0.2s var(--ease) forwards; }
.hero-anim-3 { opacity: 0; animation: heroIn 0.8s 0.3s var(--ease) forwards; }
.hero-anim-4 { opacity: 0; animation: heroIn 0.8s 0.4s var(--ease) forwards; }
.hero-anim-5 { opacity: 0; animation: heroIn 0.9s 0.5s var(--ease) forwards; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bottom padding so sticky CTA doesn't cover content on mobile (accounts for safe-area inset on notched phones) */
@media (max-width: 767px) {
  .footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

.path-category {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.65rem;
}
.path-headline {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}
.path-context {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.6rem;
  flex: 1;
}




/* Footer additions */
.footer { position: relative; }
.footer-decor {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208,134,67,0.4), transparent);
}

.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) {
  .footer-brand { align-items: flex-start; }
}
.footer-meta {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
}


/* ===== HOW IT WORKS ===== */
.how {
  padding: 4.5rem 0 3rem;
  background: var(--paper);
}
@media (min-width: 768px) { .how { padding: 6rem 0 4rem; } }
.how-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.how-head .section-eyebrow::before { display: none; }
.how-head .section-lead { margin-inline: auto; }

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.how-step {
  position: relative;
  text-align: left;
  padding: 0 0.5rem;
}
@media (min-width: 768px) {
  .how-step { padding: 0 1.25rem; }
}

.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--orange);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* Subtle connecting line on desktop */
.how-step-line {
  display: none;
}
@media (min-width: 768px) {
  .how-step-line {
    display: block;
    position: absolute;
    top: 22px;
    left: calc(44px + 1.25rem + 0.75rem);
    right: -0.75rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(208,134,67,0.35), rgba(208,134,67,0.05));
    z-index: 0;
  }
}

.how-step-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 0.55rem;
}
.how-step-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}

.how-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}


@media (min-width: 900px) {
  
}



/* Hero stats row */
.hero-stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.hero-stat {
  text-align: center;
  position: relative;
}
@media (min-width: 640px) {
  .hero-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    bottom: 20%;
    right: -0.5rem;
    width: 1px;
    background: var(--line);
  }
}
.hero-stat-num {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.hero-stat-plus {
  color: var(--orange);
  font-weight: 700;
}
.hero-stat-lbl {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.005em;
}


.ps-more {
  background: var(--orange-tint) !important;
  border-color: rgba(208,134,67,0.3) !important;
  color: var(--orange-h) !important;
}






/* "We work with everyone" line below persona cards */
.path-other {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
  text-align: center;
}
@media (min-width: 640px) {
  .path-other {
    flex-direction: row;
    gap: 1.25rem;
  }
}
.path-other-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.path-other-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--orange);
  background: none;
  border: none;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: gap 0.2s var(--ease), color 0.2s;
  position: relative;
}
.path-other-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.25rem;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0.85);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.path-other-btn:hover {
  color: var(--orange-h);
  gap: 0.6rem;
}
.path-other-btn:hover::after {
  transform: scaleX(1);
}






.tag-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: var(--orange);
  margin-right: 0.15rem;
}


/* ============================================
   TESTIMONIALS — clean grid
   ============================================ */
.tm {
  padding: 3rem 0 4.5rem;
  background: var(--paper);
}
@media (min-width: 768px) {
  .tm { padding: 4rem 0 6rem; }
}

.tm-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.tm-head .section-h2 {
  margin: 0;
}

.tm-cred {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  background: rgba(208,134,67,0.08);
  border: 1px solid rgba(208,134,67,0.2);
  border-radius: 6px;
  margin-bottom: 1.25rem;
}
.tm-cred-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--orange);
}
.tm-cred-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}

.tm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .tm-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.tm-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(10,23,64,0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.tm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -16px rgba(10,23,64,0.18);
  border-color: rgba(208,134,67,0.3);
}

.tm-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--orange);
  margin-bottom: 0.95rem;
}

.tm-text {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.65;
  letter-spacing: -0.005em;
  margin: 0 0 1.4rem;
  flex: 1;
}

.tm-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.tm-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.tm-person { line-height: 1.3; }
.tm-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.tm-role {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 0.15rem;
}


/* ============================================
   SMALL SCREEN POLISH
   Tighten on phones, scale up gracefully
   ============================================ */

/* Very small phones (under 380px) */
@media (max-width: 379px) {
  .hero { padding: 3rem 0 3.5rem; }
  .hero-h1 { font-size: 2.1rem !important; line-height: 1.08 !important; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.75rem; }
  .btn-orange-lg { font-size: 0.9rem; padding: 0.95rem 1.4rem; width: 100%; }
  .btn-orange { width: 100%; }
  .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
  .hero-meta { gap: 0.4rem 1rem; font-size: 0.78rem; }
  .hero-stats { padding-top: 2rem; gap: 1.25rem 0.85rem; margin-top: 2.5rem; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-stat-lbl { font-size: 0.7rem; }
  .section-h2 { font-size: 1.55rem !important; }
  .nav-logo img { height: 52px; }
  .footer-logo img { height: 50px; }
  .path { padding: 1.6rem 1.4rem 1.3rem; }
  .path-headline { font-size: 1.35rem; }
  .path-context { font-size: 0.88rem; }
  .quiz-body { padding: 1.5rem 1.25rem 1.5rem; }
  .quiz-h { font-size: 1.25rem; }
  .tm-card { padding: 1.4rem 1.25rem 1.2rem; }
  .tm-text { font-size: 0.92rem; }
  .ps-list li { font-size: 0.78rem; padding: 0.5rem 0.85rem; }
}

/* Medium phones (380-640) */
@media (min-width: 380px) and (max-width: 639px) {
  .btn-orange-lg, .btn-orange { width: 100%; }
  .btn-orange-lg + .btn-ghost,
  .btn-orange + .btn-ghost { width: 100%; justify-content: center; }
}

/* Cap on very wide screens to prevent sprawl */
@media (min-width: 1440px) {
  .hero-inner { max-width: 940px; }
  .selector-head, .testimonials-head, .cta-banner-inner, .final-inner, .how-head, .tm-head {
    max-width: 720px;
  }
}

/* Make the sticky mobile CTA sit higher above iOS Safari toolbar */
@supports (padding: max(0px)) {
  .sticky-cta {
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
  }
}

/* Tablet — better grid balance */
@media (min-width: 640px) and (max-width: 899px) {
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .path:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }
}

/* Improve quiz modal on landscape mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .quiz {
    max-height: calc(100vh - 1rem);
  }
  .quiz-body { padding: 1.5rem 1.5rem 1.25rem; }
}

/* Larger tap targets on touch devices */
@media (hover: none) and (pointer: coarse) {
  .path { -webkit-tap-highlight-color: transparent; }
  .path:active { transform: translateY(-2px); }
  .btn-orange:active, .btn-primary:active { transform: scale(0.98); }
}


/* ============================================
   PERSONA CARDS — mobile-optimized
   ============================================ */
@media (max-width: 639px) {
  .path-grid { gap: 0.85rem; }
  .path {
    padding: 1.4rem 1.3rem 1.2rem;
  }
  .path-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.85rem;
    border-radius: 8px;
  }
  .path-icon svg {
    width: 18px;
    height: 18px;
  }
  .path-category {
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
  }
  .path-headline {
    font-size: 1.2rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }
  .path-context {
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
  }
  .path-cta {
    font-size: 0.86rem;
    padding-top: 0.85rem;
  }
  .path-cta-arrow {
    width: 28px;
    height: 28px;
  }
  .path-cta-arrow svg {
    width: 12px;
    height: 12px;
  }
}

/* Tablet — slight bump up but still tight */
@media (min-width: 640px) and (max-width: 899px) {
  .path {
    padding: 1.7rem 1.55rem 1.45rem;
  }
  .path-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }
  .path-headline {
    font-size: 1.35rem;
  }
  .path-context {
    font-size: 0.9rem;
  }
}

/* Make the "Different situation?" CTA tighter on mobile */
@media (max-width: 639px) {
  .path-other {
    margin-top: 1.5rem;
    gap: 0.5rem;
    padding: 1rem 0;
  }
  .path-other-text {
    font-size: 0.88rem;
  }
  .path-other-btn {
    font-size: 0.86rem;
  }
}


/* ============================================
   MOBILE POLISH — audit & tighten
   ============================================ */
@media (max-width: 639px) {
  /* Hero — tighten spacing on phones */
  .hero {
    padding: 3rem 0 3.5rem;
  }
  .hero-h1 {
    font-size: clamp(2.65rem, 10vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
  }
  .hero-sub {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
  }
  .hero-meta {
    margin-top: 1.25rem;
    font-size: 0.78rem;
    gap: 0.4rem 1rem;
  }
  .hero-stats {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    gap: 1.25rem 0.85rem;
  }
  .hero-stat-num {
    font-size: 1.45rem;
  }
  .hero-stat-lbl {
    font-size: 0.7rem;
  }

  /* Selector heading tighter */
  .selector {
    padding: 3rem 0;
  }
  .selector-head {
    margin-bottom: 1.75rem;
  }

  /* How it works — stacked steps */
  .how {
    padding: 3rem 0 2rem;
  }
  .how-head {
    margin-bottom: 2rem;
  }
  .how-grid {
    gap: 1.75rem;
  }
  .how-step-num {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  .how-step-title {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }
  .how-step-desc {
    font-size: 0.88rem;
  }

  /* Testimonials — keep all 4 but tighter */
  .tm {
    padding: 2.25rem 0 3.5rem;
  }
  .tm-head {
    margin-bottom: 1.75rem;
  }
  .tm-grid {
    gap: 0.85rem;
  }
  .tm-card {
    padding: 1.4rem 1.3rem 1.2rem;
  }
  .tm-text {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
  }
  .tm-stars {
    margin-bottom: 0.75rem;
  }
  .tm-stars svg {
    width: 12px;
    height: 12px;
  }
  .tm-meta {
    padding-top: 0.85rem;
  }
  .tm-avatar {
    width: 34px;
    height: 34px;
    font-size: 0.74rem;
  }
  .tm-name {
    font-size: 0.82rem;
  }
  .tm-role {
    font-size: 0.7rem;
  }
  .tm-cred {
    padding: 0.4rem 0.85rem;
    margin-bottom: 1rem;
  }
  .tm-cred-text {
    font-size: 0.74rem;
  }

  /* CTA banner — tighten */
  .cta-banner {
    padding: 3rem 0;
  }

  /* Products line tighter */
  .products-line {
    padding: 3rem 0;
  }
  .ps-eyebrow {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }
  .ps-list {
    gap: 0.4rem;
  }
  .ps-list li {
    font-size: 0.78rem;
    padding: 0.5rem 0.85rem;
  }

  /* Founder strip — compact */
  .founder {
    padding: 2rem 0;
  }
  .founder-photo {
    width: 48px;
    height: 48px;
  }
  .founder-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Final CTA tighter */
  .final {
    padding: 3rem 0;
  }

  /* Section headings */
  .section-h2 {
    font-size: 1.65rem;
    line-height: 1.15;
  }

  /* Eyebrows tighter */
  .section-eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.85rem;
  }

  /* Footer compact */
  .footer {
    padding: 2rem 0 4.75rem;  /* extra bottom for sticky CTA */
  }
  .footer-meta {
    font-size: 0.72rem;
  }
  .footer-legal {
    font-size: 0.68rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }
}

/* Extra-small (under 380px): even tighter */
@media (max-width: 379px) {
  .hero { padding: 2.5rem 0 3rem; }
  .hero-h1 { font-size: 2.35rem !important; line-height: 1.06 !important; }
  .hero-sub { font-size: 0.82rem; }
  .hero-stats { gap: 1rem 0.5rem; padding-top: 1.5rem; }
  .hero-stat-num { font-size: 1.3rem; }
  .hero-stat-lbl { font-size: 0.65rem; }
  .path { padding: 1.25rem 1.15rem 1.1rem; }
  .path-headline { font-size: 1.1rem; }
  .path-context { font-size: 0.82rem; }
  .tm-card { padding: 1.25rem 1.15rem 1.1rem; }
  .tm-text { font-size: 0.84rem; }
  .section-h2 { font-size: 1.5rem !important; }
  .ps-eyebrow { font-size: 1rem; }
  .ps-list li { font-size: 0.74rem; padding: 0.45rem 0.75rem; }
  .nav-logo img { height: 48px !important; }
  .nav-inner { padding: 0.6rem 1rem; gap: 0.5rem; }
  .btn-primary { font-size: 0.78rem; padding: 0.6rem 0.95rem; gap: 0.35rem; }
}


/* ============================================
   MOBILE FINAL POLISH
   ============================================ */

/* Quiz modal — make it feel native on mobile */
@media (max-width: 639px) {
  .quiz-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .quiz {
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
    width: 100%;
    margin: 0;
  }
  .quiz-close { width: 44px; height: 44px; top: 0.6rem; right: 0.6rem; }
  .quiz-body {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .quiz-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.85rem;
  }
  .quiz-h {
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }
  .quiz-p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .quiz-options {
    gap: 0.5rem;
  }
  .quiz-opt {
    padding: 0.95rem 1rem;
    font-size: 0.93rem;
  }
  .quiz-fields {
    gap: 0.85rem;
  }
  .quiz-fields.cols-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .quiz-field input,
  .quiz-field select {
    padding: 0.85rem 0.95rem;
    font-size: 16px; /* prevents iOS zoom */
  }
  .quiz-field label {
    font-size: 0.82rem;
  }
  .quiz-actions {
    margin-top: 1.5rem;
    flex-direction: column-reverse;
    gap: 0.6rem;
  }
  .quiz-actions .quiz-back,
  .quiz-actions .quiz-next,
  .quiz-actions .quiz-submit {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
  }
  .quiz-actions .quiz-back.hidden {
    display: none;
  }
}

/* Make sure inputs use minimum 16px font on iOS to prevent auto-zoom on focus */
input, select, textarea {
  font-size: 16px;
}
@media (min-width: 640px) {
  .quiz-field input,
  .quiz-field select {
    font-size: 0.95rem;
  }
}

/* Mobile path-other (escape hatch) — better stacking */
@media (max-width: 639px) {
  .path-other {
    flex-direction: column;
    text-align: center;
    margin-top: 1.5rem;
  }
}

/* Final CTA on mobile — buttons stack and full-width */
@media (max-width: 639px) {
  .final .btn-orange-lg,
  .cta-banner .btn-orange-lg {
    width: 100%;
  }
}

/* Sticky CTA bar — make sure it doesn't overlap with the form modal */
@media (max-width: 639px) {
  .sticky-cta {
    z-index: 80; /* below quiz overlay (90+) */
  }
  .quiz-overlay.open ~ .sticky-cta,
  body:has(.quiz-overlay.open) .sticky-cta,
  .booking-overlay.open ~ .sticky-cta,
  body:has(.booking-overlay.open) .sticky-cta {
    display: none;
  }
}

/* ===== BOOKING MODAL ===== */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,23,64,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.booking-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.booking {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 920px;
  height: min(820px, calc(100vh - 2rem));
  height: min(820px, calc(100dvh - 2rem));
  display: flex;
  flex-direction: column;
  position: relative;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  overflow: hidden;
}
.booking-overlay.open .booking { transform: scale(1) translateY(0); }
.booking-close {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.booking-close:hover { background: var(--line); }
.booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 3.5rem 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.booking-head h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--navy);
}
.booking-newtab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--navy);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.2s;
}
.booking-newtab:hover { opacity: 1; }
.booking-frame-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #f7f8fa;
}
.booking-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  opacity: 0.6;
  font-size: 0.9rem;
  pointer-events: none;
}
.booking-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 639px) {
  .booking-overlay { padding: 0; }
  .booking {
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    border-radius: 0;
  }
  .booking-head { padding: 0.85rem 3.25rem 0.7rem 1rem; }
  .booking-head h3 { font-size: 0.95rem; }
  .booking-newtab { font-size: 0.75rem; }
}

/* Landscape phones — keep full bleed and shrink header so calendar has room. */
@media (max-height: 600px) and (orientation: landscape) {
  .booking-overlay { padding: 0; }
  .booking {
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    border-radius: 0;
  }
  .booking-head { padding: 0.55rem 3rem 0.5rem 0.85rem; }
  .booking-head h3 { font-size: 0.9rem; }
  .booking-close { top: 0.3rem; right: 0.3rem; width: 40px; height: 40px; }
}

/* Footer mobile breathing room above sticky CTA */
@media (max-width: 639px) {
  .footer {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Headings: keep them readable but not oversized on small screens */
@media (max-width: 639px) {
  .selector-head .section-h2,
  .how-head .section-h2,
  .tm-head .section-h2,
  .final h2,
  .cta-banner h2 {
    font-size: 1.7rem;
    line-height: 1.2;
  }
}

/* Loan types pill list on mobile — tighter, scrollable if needed */
@media (max-width: 380px) {
  .ps-list {
    gap: 0.35rem;
  }
  .ps-list li {
    font-size: 0.74rem;
    padding: 0.45rem 0.7rem;
  }
}

