/*-*/

.lp { color: var(--ix-navy); background: #fff; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.55; }
.lp :global(*) { box-sizing: border-box; }

.topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--ix-line); flex-wrap: wrap; gap: 8px; }
.logoLink { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { height: 34px; width: auto; display: block; }
.logoSub { font-size: 14px; font-weight: 600; color: var(--ix-navy); border-left: 1px solid var(--ix-line); padding-left: 12px; }
.phone { color: var(--ix-navy); font-weight: 700; text-decoration: none; font-size: 17px; white-space: nowrap; }
.phone:hover { color: var(--ix-blue); }
.phoneLabel { color: var(--ix-grey); font-weight: 500; font-size: 14px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #eaf3fb 0%, #d9ecfa 100%); padding: 60px 24px 110px; }
.heroInner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--ix-blue); margin: 0 0 14px; }
.h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -1px; margin: 0 0 16px; }
.sub { font-size: clamp(17px, 2.4vw, 20px); color: var(--ix-grey); margin: 0 auto 28px; max-width: 560px; }

.zip { max-width: 600px; margin: 0 auto; }
.zipLabel { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ix-grey); margin: 0 0 10px; }
.zipRow { display: flex; gap: 10px; }
.zipInput { width: 100%; min-width: 0; font-size: 18px; padding: 15px 18px; border: 2px solid var(--ix-line); border-radius: 10px; background: #fff; color: var(--ix-navy); box-sizing: border-box; }
.addressField { flex: 1; min-width: 0; text-align: left; position: relative; }
.addressMenu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--ix-line); border-radius: 10px; box-shadow: 0 12px 28px rgba(15,25,35,0.16); max-height: 280px; overflow-y: auto; }
.addressOption { padding: 11px 12px; border-radius: 7px; font-size: 15px; color: var(--ix-navy); cursor: pointer; }
.addressOption:hover { background: #eaf3fb; color: var(--ix-blue); }
.zipInput:focus { outline: none; border-color: var(--ix-blue); box-shadow: 0 0 0 3px rgba(34,135,215,0.15); }

.cta { display: inline-block; background: var(--ix-blue); color: #fff !important; font-weight: 800; font-size: 18px; text-decoration: none; padding: 16px 32px; border: none; border-radius: 10px; cursor: pointer; box-shadow: 0 6px 18px rgba(34,135,215,0.28); transition: transform .12s ease, background .12s ease; white-space: nowrap; }
.cta:hover { background: var(--ix-blue-dark); transform: translateY(-1px); }
.cta:focus-visible { outline: 3px solid var(--ix-navy); outline-offset: 3px; }
.ctaZip { padding: 15px 26px; }
.ctaNote { font-size: 14px; color: var(--ix-grey); margin: 14px 0 0; }

.trustpilot { margin-top: 26px; min-height: 24px; }

.section { /*max-width: 920px;*/ margin: 0 auto !important; padding: 56px 24px !important; background: unset !important; border-top: unset !important; }
.sectionAlt { max-width: none; background: var(--ix-cream) !important; padding-left: 0; padding-right: 0; }
.sectionAlt > * { max-width: 920px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 800; letter-spacing: -0.5px; text-align: center; margin-top: 0; margin-bottom: 36px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.stepNum { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--ix-blue); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.stepTitle { font-size: 19px; font-weight: 700; margin: 4px 0 6px; }
.stepDesc { color: var(--ix-grey); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--ix-line); border-radius: 12px; padding: 24px; }
.cardTitle { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--ix-blue); }
.cardDesc { color: var(--ix-grey); margin: 0; font-size: 15px; }

.prose { max-width: 640px; margin: 0 auto; text-align: center; color: var(--ix-grey); font-size: 17px; }

.final { background: var(--ix-navy); color: #fff; text-align: center; padding: 64px 24px; }
.finalH { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin: 0 0 10px; }
.finalSub { color: #b9c4d0; font-size: 18px; margin: 0 0 28px; }
.ctaFinal { background: var(--ix-blue); }
.finalPhone { margin: 22px 0 0; color: #b9c4d0; font-size: 15px; }
.finalPhone a { color: #fff; font-weight: 700; }

.footer { padding: 32px 24px; text-align: center; background: var(--ix-cream); border-top: 1px solid var(--ix-line); }
.footer p { max-width: 980px; margin: 0 auto 10px; font-size: 12px; line-height: 1.6; color: var(--ix-grey); }
.footer p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 20px 52px; }
  .zipRow { flex-direction: column; }
  .ctaZip { width: 100%; }
  .phone { display: none; }
  .topbar { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover { transform: none; }
}

/* ── Carrier logo carousel (auto-filtered) ───────────────────────── */
.carrierStrip { background: #fff; padding: 22px 0 26px; border-bottom: 1px solid var(--ix-line); overflow: hidden; }
.carrierEyebrow { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ix-grey); margin: 0 0 16px; }
.carrierViewport { position: relative; }
.carrierFadeLeft, .carrierFadeRight { position: absolute; top: 0; bottom: 0; width: 48px; z-index: 2; pointer-events: none; }
.carrierFadeLeft { left: 0; background: linear-gradient(to right, #fff, transparent); }
.carrierFadeRight { right: 0; background: linear-gradient(to left, #fff, transparent); }
.carrierTrack { display: flex; gap: 12px; width: max-content; animation: carrier-scroll 40s linear infinite; }
.carrierTrack:hover { animation-play-state: paused; }
.carrierCard { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 160px; height: 56px; background: #fff; border: 1px solid var(--ix-line); border-radius: 12px; padding: 10px 16px; }
.carrierLogo { max-height: 28px; max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: filter .3s ease, opacity .3s ease; }
.carrierCard:hover .carrierLogo { filter: grayscale(0); opacity: 1; }
.carrierName { font-size: 12px; font-weight: 600; color: var(--ix-grey); white-space: nowrap; text-align: center; line-height: 1.2; }

@keyframes carrier-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .carrierTrack { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* ── Roxy AI / dec-page prefill callout ──────────────────────────── */
.prefill { max-width: 720px; margin: -36px auto 0; padding: 0 24px; }
.prefillCard { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--ix-line); border-radius: 14px; padding: 16px 20px; box-shadow: 0 4px 16px rgba(15,25,35,0.05); }
.prefillIcon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: #eaf3fb; display: flex; align-items: center; justify-content: center; }
.prefillIcon svg { width: 24px; height: 24px; }
.prefillText { text-align: left; }
.prefillTitle { font-size: 16px; font-weight: 700; margin: 0 0 2px; color: var(--ix-navy); }
.prefillDesc { font-size: 14px; color: var(--ix-grey); margin: 0; }
.prefillDesc strong { color: var(--ix-blue); font-weight: 700; }

@media (max-width: 720px) {
  .prefill { margin-top: -24px; }
  .prefillCard { flex-direction: row; align-items: flex-start; padding: 14px 16px; }
}

/* ── Roxy AI section (animated) ──────────────────────────────────── */
.roxy { max-width: 980px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.roxyCopy { text-align: left; }
.roxyBadge { display: inline-flex; align-items: center; gap: 7px; background: #eaf3fb; color: var(--ix-blue); font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin: 0 0 14px; white-space: nowrap; }
.roxyBadge svg { width: 14px; height: 14px; }
.roxyH { font-size: clamp(20px, 2.5vw, 27px); font-weight: 800; letter-spacing: -0.5px; margin: 0 0 12px; color: var(--ix-navy); white-space: nowrap; }
.roxyLead { font-size: 17px; color: var(--ix-navy); margin: 0 0 12px; }
.roxyLead strong { color: var(--ix-blue); }
.roxyP { font-size: 15px; color: var(--ix-grey); margin: 0 0 22px; line-height: 1.6; }
.roxyChat { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ix-blue); border: 2px solid var(--ix-blue); font-weight: 700; font-size: 16px; text-decoration: none; padding: 11px 22px; border-radius: 10px; transition: background .12s ease, color .12s ease; }
.roxyChat:hover { background: var(--ix-blue); color: #fff; }
.roxyChat svg { width: 18px; height: 18px; }
.roxyArtWrap { display: flex; justify-content: center; }
.roxyArt { width: 100%; max-width: 360px; height: auto; }

/* animations */
.roxyOrb { transform-origin: 160px 92px; animation: roxy-bob 3.4s ease-in-out infinite; }
.roxyPulse { animation: roxy-pulse 2.6s ease-out infinite; transform-origin: 160px 92px; }
.roxyDoc { transform-origin: 59px 94px; animation: roxy-bob 3.4s ease-in-out infinite; animation-delay: .2s; }
.roxyForm { transform-origin: 261px 94px; animation: roxy-bob 3.4s ease-in-out infinite; animation-delay: .4s; }
.roxyCar { animation: roxy-car 5s ease-in-out infinite; }
.roxyFlow1 { animation: roxy-flow 2.4s linear infinite; }
.roxyFlow2 { animation: roxy-flow 2.4s linear infinite; animation-delay: .8s; }
.roxyFlow3 { animation: roxy-flow 2.4s linear infinite; animation-delay: 1.6s; }
.roxyFill1 { animation: roxy-fill 4s ease-in-out infinite; }
.roxyFill2 { animation: roxy-fill 4s ease-in-out infinite; animation-delay: .5s; }
.roxyFill3 { animation: roxy-fill 4s ease-in-out infinite; animation-delay: 1s; }
.roxySpark1 { transform-origin: 200px 65px; animation: roxy-spark 2.2s ease-in-out infinite; }
.roxySpark2 { transform-origin: 122px 60px; animation: roxy-spark 2.2s ease-in-out infinite; animation-delay: .7s; }
.roxySpark3 { transform-origin: 198px 123px; animation: roxy-spark 2.2s ease-in-out infinite; animation-delay: 1.3s; }

@keyframes roxy-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes roxy-pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes roxy-car { 0% { transform: translateX(-14px); opacity: 0; } 18%,82% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(14px); opacity: 0; } }
@keyframes roxy-flow { 0% { transform: translate(0,0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(52px,0); opacity: 0; } }
@keyframes roxy-fill { 0%,10% { width: 0; } 40%,90% { width: 52px; } 100% { width: 0; } }
@keyframes roxy-spark { 0%,100% { transform: scale(0.4); opacity: 0; } 50% { transform: scale(1); opacity: 1; } }

@media (max-width: 820px) {
  .roxy { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .roxyCopy { text-align: center; }
  .roxyArtWrap { order: -1; }
  .roxyH { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .roxyOrb, .roxyDoc, .roxyForm, .roxyCar, .roxyPulse,
  .roxyFlow1, .roxyFlow2, .roxyFlow3, .roxySpark1, .roxySpark2, .roxySpark3 { animation: none; }
  .roxyFill1, .roxyFill2, .roxyFill3 { animation: none; width: 52px; }
  .roxyCar { transform: translateX(0); opacity: 1; }
}

/* ── Hero scene: sky behind, full-width water band below with house ─ */
.heroSky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.heroSkySvg { width: 100%; height: 100%; display: block; }
.heroCloudA { animation: hero-drift 26s linear infinite; }
.heroCloudB { animation: hero-drift 34s linear infinite; }
.heroCloudC { animation: hero-drift 44s linear infinite; }
.heroRain { animation: hero-rain 0.9s linear infinite; }

/* water band pinned to the bottom of the hero */
.heroWater { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: 1; }
.heroWaterSvg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 110px; display: block; }

/* houses flank the centered hero content: one left, a larger one right */
.heroHouseLeft { position: absolute; left: 11%; bottom: 50px; width: 156px; height: auto; z-index: 2; }
.heroHouseRight { position: absolute; right: 11%; bottom: 50px; width: 190px; height: auto; z-index: 2; }

/* two waves slide horizontally; the path is 2x periods wide so the loop is seamless */
.waveBack { animation: wave-slide 9s linear infinite; }
.waveFront { animation: wave-slide 6s linear infinite reverse; }

@keyframes hero-drift { from { transform: translateX(0); } to { transform: translateX(-120px); } }
@keyframes hero-rain { from { transform: translateY(0); } to { transform: translateY(16px); } }
/* slide by one wave period (600 user units) for a seamless repeat */
@keyframes wave-slide { from { transform: translateX(0); } to { transform: translateX(-400px); } }

@media (max-width: 720px) {
  /* big bottom pad so headline, form, CTA, and Trustpilot all sit ABOVE the
     water scene with no overlap; on mobile the two properties sit next to
     each other, centered, rather than at the far edges */
  .hero { padding-bottom: 150px; }
  .heroWater, .heroWaterSvg { height: 88px; }
  .heroHouseLeft { width: 76px; bottom: 44px; left: 50%; transform: translateX(-104%); }
  .heroHouseRight { width: 92px; bottom: 42px; right: auto; left: 50%; transform: translateX(8%); }
}
@media (prefers-reduced-motion: reduce) {
  .heroCloudA, .heroCloudB, .heroCloudC, .heroRain, .waveBack, .waveFront { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   About page — specific styles
   ════════════════════════════════════════════════════════════════ */

/* Hero */
.aboutHero { position: relative; background: linear-gradient(160deg, #eaf3fb 0%, #f8f7f4 100%); padding: 84px 24px 72px; text-align: center; overflow: hidden; }
.aboutHeroInner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.aboutH1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; font-weight: 800; color: var(--ix-navy); margin: 12px 0 20px; letter-spacing: -0.02em; }
.accent { color: var(--ix-blue); position: relative; white-space: nowrap; }
.aboutLead { font-size: clamp(17px, 2.4vw, 21px); line-height: 1.55; color: var(--ix-grey); max-width: 680px; margin: 0 auto 30px; }
.aboutCtas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ghostCta { display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 10px; border: 2px solid var(--ix-blue); color: var(--ix-blue); font-weight: 700; font-size: 17px; text-decoration: none; transition: background 0.15s, color 0.15s; }
.ghostCta:hover { background: var(--ix-blue); color: #fff; }

/* Stats band */
.statsBand { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ix-line); border-top: 1px solid var(--ix-line); border-bottom: 1px solid var(--ix-line); }
.stat { background: #fff; padding: 34px 18px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.statValue { font-size: clamp(30px, 5vw, 46px); font-weight: 800; color: var(--ix-blue); line-height: 1; letter-spacing: -0.02em; }
.statLabel { font-size: 14px; color: var(--ix-grey); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* Story prose */
.storyProse { max-width: 760px; margin: 0 auto; }
.storyProse p { font-size: 18px; line-height: 1.7; color: var(--ix-navy); margin: 0 0 20px; }
.storyProse p:last-child { margin-bottom: 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
.pillar { background: #fff; border: 1px solid var(--ix-line); border-radius: 16px; padding: 30px 26px; position: relative; transition: transform 0.18s, box-shadow 0.18s; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,25,35,0.10); }
.pillarNum { display: inline-block; font-size: 15px; font-weight: 800; color: var(--ix-blue); background: #eaf3fb; padding: 6px 12px; border-radius: 8px; margin-bottom: 16px; letter-spacing: 0.04em; }
.pillarTitle { font-size: 21px; font-weight: 700; color: var(--ix-navy); margin: 0 0 12px; line-height: 1.25; }
.pillarDesc { font-size: 15.5px; line-height: 1.6; color: var(--ix-grey); margin: 0; }

/* Tech / Roxy callout */
.techCallout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; max-width: 1080px; margin: 0 auto; }
.techDesc { font-size: 17px; line-height: 1.65; color: var(--ix-grey); margin: 0 0 22px; }
.techArt { display: flex; justify-content: center; }
.techArt svg { width: 100%; max-width: 260px; height: auto; }

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; max-width: 520px; }
  .techCallout { grid-template-columns: 1fr; gap: 24px; }
  .techArt { order: -1; }
  .techArt svg { max-width: 200px; }
}
@media (max-width: 720px) {
  .statsBand { grid-template-columns: repeat(2, 1fr); }
  .aboutHero { padding: 60px 20px 52px; }
  .phone { display: none; }
  .topbar { justify-content: center; }
}

/* Capabilities grid */
.sectionLead { text-align: center; font-size: 17px; color: var(--ix-grey); max-width: 600px; margin: -6px auto 32px; line-height: 1.5fv; }
.capGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
.capCard { background: #fff; border: 1px solid var(--ix-line); border-radius: 16px; padding: 28px 24px; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.capCard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,25,35,0.10); border-color: #bfe0fb; }
.capIcon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: #eaf3fb; color: var(--ix-blue); margin-bottom: 16px; }
.capIcon svg { width: 26px; height: 26px; }
.capTitle { font-size: 18px; font-weight: 700; color: var(--ix-navy); margin: 0 0 10px; line-height: 1.3; }
.capDesc { font-size: 15px; line-height: 1.6; color: var(--ix-grey); margin: 0; }

/* Work with us band (partners + carriers) */
.workBand { background: var(--ix-navy); padding: 56px 24px; }
.workInner { max-width: 1080px; margin: 0 auto; }
.workIntro { text-align: center; margin-bottom: 32px; }
.workH { color: #fff; font-size: clamp(26px, 4vw, 34px); font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; }
.workLead { color: #b9c4cf; font-size: 17px; line-height: 1.55; margin: 0 auto; max-width: 560px; }
.workCards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.workCard { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column; }
.workCardTitle { color: #fff; font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.workCardDesc { color: #b9c4cf; font-size: 15.5px; line-height: 1.6; margin: 0 0 20px; flex: 1; }
.workCta { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: #fff !important; font-weight: 700; font-size: 15.5px; text-decoration: none; padding: 10px 18px; border: 2px solid var(--ix-blue); background: var(--ix-blue); border-radius: 10px; transition: background 0.15s, border-color 0.15s; }
.workCta:hover { background: var(--ix-blue-dark); border-color: var(--ix-blue-dark); }

@media (max-width: 920px) {
  .workCards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .workCards { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .capGrid { grid-template-columns: 1fr 1fr; }
  .partnerInner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .capGrid { grid-template-columns: 1fr; max-width: 420px; }
}

/* Spacer to clear the fixed top nav (h-16 = 64px) */
.navSpacer { height: 64px; }
