/* =========================================================
   Defensive Pedal — Landing page styles
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --c-navy:        #1A1A2E;
  --c-navy-2:      #252542;
  --c-navy-3:      #2F2F4F;
  --c-yellow:      #F2C30F;
  --c-yellow-2:    #FFD83D;
  --c-yellow-soft: #FEF6D6;
  --c-white:       #FFFFFF;
  --c-off:         #FAFAF7;
  --c-line:        #E8E6DC;

  --c-ink:         #15151F;
  --c-ink-2:       #3C3C50;
  --c-ink-3:       #6B6B7B;
  --c-ink-4:       #9A9AA8;

  --c-success:     #1FA463;
  --c-danger:      #E14848;

  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(20,20,30,.04), 0 2px 8px rgba(20,20,30,.04);
  --shadow-2: 0 4px 12px rgba(20,20,30,.06), 0 8px 24px rgba(20,20,30,.06);
  --shadow-3: 0 10px 30px rgba(20,20,30,.10), 0 20px 60px rgba(20,20,30,.10);
  --shadow-yellow: 0 10px 30px rgba(242,195,15,.30);

  --container: 1200px;
  --pad: clamp(20px, 4vw, 32px);

  --t: 240ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 480ms cubic-bezier(.2,.7,.2,1);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4.5vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; }
p  { margin: 0 0 12px; }
a  { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--c-yellow); color: var(--c-navy);
  padding: 12px 16px; border-radius: var(--radius); font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Shared ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 16px;
}
.eyebrow--dark { color: #b1880e; }

.accent { color: var(--c-yellow); }
.accent-text {
  background: linear-gradient(180deg, transparent 60%, var(--c-yellow) 60%);
  padding: 0 4px;
  color: var(--c-ink);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head h2 { margin-bottom: 16px; }
.section-sub { color: var(--c-ink-3); font-size: 19px; line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 16px;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 3px; }

.btn--install {
  background: var(--c-yellow);
  color: var(--c-navy);
  box-shadow: var(--shadow-yellow);
  transition: transform 280ms cubic-bezier(.22,1,.36,1),
              box-shadow 280ms cubic-bezier(.22,1,.36,1),
              background 200ms ease;
}
.btn--install:hover {
  background: var(--c-yellow-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(242,195,15,.45);
}
.btn--sm  { padding: 10px 16px; font-size: 14px; }
.btn--lg  { padding: 16px 28px; font-size: 17px; }
.btn--xl  { padding: 22px 36px; font-size: 19px; }

.btn--accent {
  background: var(--c-navy);
  color: var(--c-white);
}
.btn--accent:hover { background: var(--c-navy-3); }

.btn__icon { width: 18px; height: 18px; color: currentColor; }
.btn__icon--lg { width: 24px; height: 24px; }

.btn__stack { display: flex; flex-direction: column; line-height: 1.1; align-items: flex-start; }
.btn__stack small { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.btn__stack strong { font-size: 17px; font-weight: 700; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,26,46,.0);
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.nav.is-scrolled {
  background: rgba(26,26,46,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__logo img { height: 32px; width: auto; }
.nav__links {
  display: flex; gap: 28px;
  font-weight: 600; font-size: 15px;
}
.nav__links a {
  color: rgba(255,255,255,.85);
  transition: color var(--t);
}
.nav__links a:hover { color: var(--c-yellow); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--c-white);
}
.nav__toggle svg { width: 24px; height: 24px; }

.nav__mobile {
  display: none;
  background: rgba(26,26,46,.98);
  backdrop-filter: blur(14px);
  padding: 16px var(--pad) 24px;
  flex-direction: column; gap: 4px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav.is-open .nav__mobile { display: flex; }
.nav__mobile a {
  color: var(--c-white);
  padding: 14px 8px;
  font-size: 17px; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 132px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -8%;
  background:
    radial-gradient(700px 500px at 85% 30%, rgba(242,195,15,.18), transparent 60%),
    radial-gradient(900px 600px at 10% 80%, rgba(242,195,15,.06), transparent 60%);
  pointer-events: none;
  animation: heroBgDrift 22s ease-in-out infinite;
  will-change: transform;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  margin-bottom: 24px;
  letter-spacing: -.035em;
}
.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero__sub strong { color: var(--c-white); font-weight: 700; }

.hero__cta {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__ios {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  border-bottom: 1px dashed rgba(255,255,255,.3);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.hero__ios:hover { color: var(--c-yellow); border-color: var(--c-yellow); }
.hero__ios span { color: var(--c-yellow); }

.hero__trust {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.hero__trust p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.hero__trust strong { color: var(--c-white); font-weight: 700; }
.trust-stars { display: inline-flex; gap: 2px; color: var(--c-yellow); }
.trust-stars svg { width: 18px; height: 18px; }

.hero__visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 540px;
}
.hero__phone {
  position: relative;
  z-index: 2;
  width: clamp(260px, 26vw, 340px);
  height: auto;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 8px 24px rgba(0,0,0,.30);
  animation: phoneFloat 5.5s ease-in-out infinite;
  will-change: transform;
}
.hero__glow {
  position: absolute;
  inset: 10% 10%;
  background: radial-gradient(closest-side, rgba(242,195,15,.25), transparent);
  filter: blur(20px);
  z-index: 1;
  animation: glowPulse 6s ease-in-out infinite;
  will-change: opacity, transform;
}

/* =========================================================
   PROBLEM
   ========================================================= */
.problem {
  position: relative;
  background: var(--c-off);
  padding: 100px 0;
  overflow: hidden;
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-1);
  transition: transform var(--t), box-shadow var(--t);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.stat-card__num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -.03em;
  margin-bottom: 16px;
  line-height: 1;
}
.stat-card h3 { margin-bottom: 12px; color: var(--c-ink); }
.stat-card p { color: var(--c-ink-3); margin: 0; }

.stat-card--accent {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}
.stat-card--accent .stat-card__num { color: var(--c-yellow); }
.stat-card--accent h3 { color: var(--c-white); }
.stat-card--accent p { color: rgba(255,255,255,.75); }

.problem__mascot {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 140px;
  opacity: .9;
  rotate: -8deg;
  pointer-events: none;
}

/* =========================================================
   REVEAL (110%)
   ========================================================= */
.reveal {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.reveal::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 80% 80%, rgba(242,195,15,.12), transparent 60%);
  pointer-events: none;
}
.reveal__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.reveal__copy { max-width: 580px; }
.reveal__copy h2 { margin-bottom: 20px; }
.reveal__copy p { color: rgba(255,255,255,.78); font-size: 18px; }
.reveal__copy strong { color: var(--c-white); }

.big-number {
  display: flex; align-items: baseline; gap: 16px;
  margin: 16px 0 20px;
}
.big-number__value {
  font-size: clamp(96px, 14vw, 160px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--c-yellow);
  text-shadow: 0 4px 30px rgba(242,195,15,.30);
}
.big-number__label {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -.02em;
}
.reveal__caption { font-size: 14px; color: rgba(255,255,255,.55); }

.reveal__viz {
  position: relative;
  background: var(--c-navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-3);
}
.risk-bar {
  margin-bottom: 28px;
}
.risk-bar:last-of-type { margin-bottom: 0; }
.risk-bar__label {
  display: block;
  font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
}
.risk-bar__track {
  position: relative;
  height: 18px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.risk-bar__fill {
  height: 100%;
  border-radius: var(--radius-pill);
  width: 0;
  transition: width 1.6s cubic-bezier(.22,1,.36,1);
}
.risk-bar__fill--high { background: linear-gradient(90deg, #FFB74D, var(--c-danger)); --fill-w: 90%; }
.risk-bar__fill--low  { background: linear-gradient(90deg, var(--c-yellow), #76E0A8); --fill-w: 28%; transition-delay: 220ms; }
.reveal__viz.is-visible .risk-bar__fill { width: var(--fill-w); }

.risk-bar__value {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.risk-bar--default .risk-bar__value::before { content: "● "; color: var(--c-danger); }
.risk-bar--safe .risk-bar__value::before    { content: "● "; color: var(--c-yellow); }

.reveal__mascot {
  position: absolute;
  right: -24px; bottom: -24px;
  width: 110px;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.40));
  rotate: 6deg;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how {
  background: var(--c-off);
  padding: 120px 0;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: transform var(--t), box-shadow var(--t);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.step__num {
  position: absolute;
  top: 24px; left: 28px;
  font-size: 14px; font-weight: 800; letter-spacing: .14em;
  color: var(--c-yellow);
  background: var(--c-yellow-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.step__img {
  width: 220px;
  height: auto;
  margin: 24px auto 16px;
  border-radius: 20px;
  box-shadow: var(--shadow-2);
}
.step__mascot {
  position: absolute;
  top: 16px; right: 16px;
  width: 64px;
  height: auto;
  aspect-ratio: 4 / 5;
  rotate: -6deg;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.10));
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--c-ink-3); margin: 0; }

/* =========================================================
   COMPARISON
   ========================================================= */
.compare {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 120px 0;
}
.compare .section-sub { color: rgba(255,255,255,.7); }

.compare__table {
  background: var(--c-navy-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-3);
}
.compare__row {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.compare__row:last-child { border-bottom: 0; }
.compare__cell {
  padding: 22px 16px;
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
}
.compare__cell--label {
  text-align: left;
  justify-content: flex-start;
  font-weight: 600;
  color: var(--c-white);
  padding-left: 28px;
}
.compare__row--head .compare__cell {
  font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding: 28px 16px 16px;
}
.compare__row--head .compare__cell--label { color: rgba(255,255,255,.55); }
.compare__cell--us {
  background: rgba(242,195,15,.08);
  border-left: 1px solid rgba(242,195,15,.20);
  border-right: 1px solid rgba(242,195,15,.20);
  color: var(--c-yellow);
  font-weight: 700;
}
.compare__row--head .compare__cell--us { color: var(--c-yellow); }

.check {
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-navy);
  font-weight: 800;
  font-size: 16px;
}
.x {
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,.30);
  font-size: 22px; font-weight: 600;
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  background: var(--c-off);
  padding: 120px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--c-yellow);
}
.feature__mascot {
  width: 88px;
  height: auto;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  rotate: -6deg;
  transition: rotate var(--t), scale var(--t);
}
.feature:hover .feature__mascot { rotate: 0deg; scale: 1.05; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--c-ink-3); margin: 0; font-size: 16px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 120px 0;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 28px;
  align-items: stretch;
}
.testimonial {
  position: relative;
  background: var(--c-navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  margin: 0;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-3);
}
.testimonial--lead {
  background: linear-gradient(160deg, rgba(242,195,15,.16), rgba(242,195,15,.04));
  border-color: rgba(242,195,15,.25);
}
.testimonial__mark {
  position: absolute;
  top: 12px; left: 28px;
  font-size: 100px; line-height: 1;
  color: var(--c-yellow);
  opacity: .45;
  font-family: Georgia, serif;
}
.testimonial blockquote {
  font-size: 20px;
  line-height: 1.55;
  margin: 36px 0 24px;
  color: var(--c-white);
  font-weight: 500;
  flex: 1;
}
.testimonial--lead blockquote {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -.01em;
}
.testimonial figcaption {
  display: flex; align-items: center; gap: 14px;
  margin-top: auto;
}
.testimonial figcaption strong { display: block; font-size: 15px; }
.testimonial figcaption small { color: rgba(255,255,255,.55); font-size: 13px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  color: var(--c-navy);
}
.avatar--a { background: var(--c-yellow); }
.avatar--b { background: linear-gradient(135deg, #FFD83D, #FF9D2E); }

/* =========================================================
   ENDORSEMENTS
   ========================================================= */
.endorsements {
  background: var(--c-off);
  padding: 80px 0;
}
.endorsement-block {
  text-align: center;
  margin-bottom: 56px;
}
.endorsement-block:last-child { margin-bottom: 0; }
.endorsement-block__label {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-ink-4);
  margin-bottom: 22px;
}
.logo-strip {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px;
}
.logo-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 28px;
  font-weight: 700;
  font-size: 16px;
  color: var(--c-ink-2);
  min-width: 180px;
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: transform var(--t), box-shadow var(--t);
}
.logo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.logo-card--media {
  background: transparent;
  border-color: var(--c-line);
  color: var(--c-ink-3);
  font-weight: 600;
  font-style: italic;
}

/* =========================================================
   TEAM
   ========================================================= */
.team {
  background: var(--c-off);
  padding: 100px 0 120px;
}
.team__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: center;
}
.team__copy h2 { margin-bottom: 20px; }
.team__copy p { color: var(--c-ink-3); font-size: 17px; }
.team__copy strong { color: var(--c-ink); font-weight: 700; }

.team__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--c-line);
}
.team__stats > div { display: flex; flex-direction: column; gap: 4px; }
.team__stats strong {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -.02em;
  line-height: 1;
}
.team__stats span { font-size: 13px; color: var(--c-ink-3); }

.team__mascot {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.10));
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 120px 0;
}
.faq .section-sub { color: rgba(255,255,255,.7); }

.faq__list {
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  background: var(--c-navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color var(--t), background var(--t);
}
.faq__item:hover { border-color: rgba(242,195,15,.30); }
.faq__item[open] {
  border-color: rgba(242,195,15,.40);
  background: var(--c-navy-3);
}
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px;
  font-size: 17px; font-weight: 600;
  color: var(--c-white);
}
.faq__chevron {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--c-yellow);
  transition: transform var(--t);
}
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__item p {
  padding: 0 24px 22px;
  color: rgba(255,255,255,.75);
  font-size: 16px;
  margin: 0;
}

.ios-form {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 0 24px 22px;
}
.ios-form input[type="email"] {
  flex: 1; min-width: 220px;
  padding: 14px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  color: var(--c-white);
  font: inherit; font-size: 15px;
}
.ios-form input[type="email"]::placeholder { color: rgba(255,255,255,.45); }
.ios-form input[type="email"]:focus {
  outline: none;
  border-color: var(--c-yellow);
  background: rgba(255,255,255,.12);
}
.ios-form .btn {
  background: var(--c-yellow);
  color: var(--c-navy);
}
.ios-form__note {
  padding: 0 24px 22px;
  color: var(--c-yellow);
  font-weight: 600;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  background: var(--c-yellow);
  color: var(--c-navy);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta__inner { position: relative; z-index: 2; }
.final-cta__mascot {
  width: 140px; height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.10));
}
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { color: rgba(26,26,46,.78); font-size: 19px; margin-bottom: 32px; }
.final-cta .btn--install {
  background: var(--c-navy);
  color: var(--c-yellow);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.final-cta .btn--install:hover { background: #0E0E1A; }
.final-cta__small {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(26,26,46,.6);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #0F0F1A;
  color: rgba(255,255,255,.65);
  padding: 64px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand img { height: 36px; width: auto; margin-bottom: 12px; }
.footer__brand p { color: rgba(255,255,255,.6); font-size: 15px; max-width: 240px; }
.footer__links {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  font-size: 15px; font-weight: 500;
}
.footer__links a { color: rgba(255,255,255,.7); transition: color var(--t); }
.footer__links a:hover { color: var(--c-yellow); }

.footer__social { display: flex; gap: 12px; justify-content: flex-end; }
.footer__social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
  transition: background var(--t), color var(--t);
}
.footer__social a:hover { background: var(--c-yellow); color: var(--c-navy); }
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer__bottom p { margin: 0; }
.footer__credit strong { color: rgba(255,255,255,.7); font-weight: 700; }

/* =========================================================
   STICKY MOBILE CTA
   ========================================================= */
.mobile-cta {
  position: fixed;
  bottom: 16px;
  left: 16px; right: 16px;
  z-index: 90;
  background: var(--c-yellow);
  color: var(--c-navy);
  display: none;
  align-items: center; justify-content: center; gap: 10px;
  padding: 16px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  animation: slideUp 280ms cubic-bezier(.2,.7,.2,1);
}
.mobile-cta svg { width: 20px; height: 20px; }
@keyframes slideUp { from { transform: translateY(120%); } to { transform: translateY(0); } }

/* =========================================================
   REVEAL ON SCROLL (animation)
   ========================================================= */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px) scale(.985);
  transition: opacity 700ms cubic-bezier(.22,1,.36,1),
              transform 700ms cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   MOTION — keyframes + ambient + entrance
   ========================================================= */

/* Scroll-progress indicator (top of viewport, above nav) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-yellow);
  z-index: 200;
  transform-origin: 0 0;
  transform: scaleX(0);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(242,195,15,.45);
  will-change: transform;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes starPop {
  from { opacity: 0; transform: scale(.55) rotate(-12deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes heroBgDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(-2.5%, -1.5%, 0); }
}
@keyframes glowPulse {
  0%, 100% { opacity: .65; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
@keyframes mascotBob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}
@keyframes attentionPulse {
  0%, 100% { box-shadow: var(--shadow-yellow); }
  50%      { box-shadow: 0 18px 44px rgba(242,195,15,.60); }
}

/* Hero entrance choreography (CSS only — runs on page load) */
.hero .eyebrow,
.hero__title,
.hero__sub,
.hero__cta,
.hero__trust { animation: fadeUp 820ms cubic-bezier(.22,1,.36,1) both; }
.hero .eyebrow { animation-delay: 80ms; }
.hero__title  { animation-delay: 180ms; }
.hero__sub    { animation-delay: 320ms; }
.hero__cta    { animation-delay: 460ms; }
.hero__trust  { animation-delay: 580ms; }
.hero__visual { animation: fadeIn 1000ms cubic-bezier(.22,1,.36,1) both; animation-delay: 220ms; }

/* Stars pop in with stagger */
.trust-stars svg { opacity: 0; animation: starPop 420ms cubic-bezier(.22,1,.36,1) both; }
.trust-stars svg:nth-child(1) { animation-delay: 760ms; }
.trust-stars svg:nth-child(2) { animation-delay: 820ms; }
.trust-stars svg:nth-child(3) { animation-delay: 880ms; }
.trust-stars svg:nth-child(4) { animation-delay: 940ms; }
.trust-stars svg:nth-child(5) { animation-delay: 1000ms; }

/* Single, soft attention nudge on hero install CTA */
.hero .btn--install { animation: attentionPulse 2.4s cubic-bezier(.22,1,.36,1) 1.8s 1; }

/* Mascot idle bob — slightly desynced per element for natural feel */
.problem__mascot,
.reveal__mascot,
.team__mascot,
.final-cta__mascot,
.step__mascot,
.feature__mascot {
  animation: mascotBob 5.5s ease-in-out infinite;
}
.problem__mascot     { animation-delay: -.4s; }
.reveal__mascot      { animation-delay: -2.1s; animation-duration: 6s; }
.team__mascot        { animation-delay: -1.3s; animation-duration: 6.5s; }
.final-cta__mascot   { animation-delay: -2.7s; animation-duration: 5.8s; }
.step:nth-child(1) .step__mascot { animation-delay:  -.3s; }
.step:nth-child(2) .step__mascot { animation-delay: -1.8s; animation-duration: 5.8s; }
.step:nth-child(3) .step__mascot { animation-delay: -3.4s; animation-duration: 6.2s; }
.feature:nth-child(1) .feature__mascot { animation-delay:  -.2s; }
.feature:nth-child(2) .feature__mascot { animation-delay: -1.0s; animation-duration: 5.8s; }
.feature:nth-child(3) .feature__mascot { animation-delay: -2.2s; animation-duration: 6.2s; }
.feature:nth-child(4) .feature__mascot { animation-delay:  -.6s; animation-duration: 5.5s; }
.feature:nth-child(5) .feature__mascot { animation-delay: -3.0s; animation-duration: 6.0s; }
.feature:nth-child(6) .feature__mascot { animation-delay: -1.6s; animation-duration: 5.7s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { min-height: 420px; }
  .hero__phone { width: 260px; }

  .reveal__inner { grid-template-columns: 1fr; gap: 40px; }

  .team__inner { grid-template-columns: 1fr; gap: 40px; }
  .team__mascot { max-width: 240px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__social { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }

  .hero { padding-top: 110px; padding-bottom: 60px; }
  .problem__grid { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .team__stats { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Comparison table → stacked cards on small screens */
  .compare__table { background: transparent; border: 0; box-shadow: none; }
  .compare__row { display: block; background: var(--c-navy-2); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; padding: 8px 0; }
  .compare__row--head { display: none; }
  .compare__cell { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.06); justify-content: space-between; }
  .compare__cell:last-child { border-bottom: 0; }
  .compare__cell--label {
    background: rgba(242,195,15,.08);
    color: var(--c-yellow);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .08em;
    padding: 14px 20px;
  }
  .compare__cell[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: rgba(255,255,255,.7);
    margin-right: auto;
  }
  .compare__cell--us[data-label]::before { color: var(--c-yellow); }

  .footer__inner { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__cta .btn { justify-content: center; }
  .hero__ios { text-align: center; }
  .features__grid { grid-template-columns: 1fr; }
  .reveal__viz { padding: 28px; }
  .big-number { gap: 10px; }
  .endorsement-block { margin-bottom: 40px; }
  .logo-card { min-width: 0; padding: 14px 20px; flex: 1; font-size: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .risk-bar__fill { width: var(--fill-w); }
  .reveal-on-scroll { opacity: 1; transform: none; }
}
