:root {
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;
  --surface: #FFFFFF;
  --surface-2: #F1F4F8;
  --line: #E4E8EE;
  --line-2: #D0D6DF;
  --text: #0B1A2E;
  --muted: #4A5568;
  --faint: #718096;
  --brand: #1F4FD8;
  --brand-2: #1A42B5;
  --brand-soft: #EEF3FE;
  --brand-line: #CFDCFB;
  --navy: #0B1A2E;
  --navy-2: #13253F;
  --green: #12805C;
  --green-soft: #E6F4EE;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, 0.04), 0 24px 60px rgba(16, 24, 40, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --font-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 84px; /* room for mobile bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -0.015em; margin: 0; color: var(--text); }
h1 { font-size: clamp(2.6rem, 9vw, 4.4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); font-weight: 650; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.mono { font-size: 0.78rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.center { text-align: center; justify-content: center; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }

.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0 22px; border-radius: 10px;
  font: 600 1rem/1 var(--font-body); border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.1), inset 0 1px 0 rgba(255,255,255,.12); }
.btn--primary:hover { background: var(--brand-2); }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--text); box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.btn--ghost:hover { border-color: #A9B4C4; background: var(--bg-alt); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.8rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--brand); margin-bottom: 16px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); display: inline-block; }
.dot--live { background: #22A06B; box-shadow: 0 0 0 0 rgba(34,160,107,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,160,107,0); } 100% { box-shadow: 0 0 0 0 rgba(34,160,107,0); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  font: 700 0.9rem/1 var(--font-head); letter-spacing: 0.04em;
  background: var(--navy); color: #fff; padding: 8px 9px; border-radius: 8px;
}
.logo__text { font: 600 0.98rem/1 var(--font-head); color: var(--text); }
.nav__links { display: none; gap: 28px; font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
@media (max-width: 420px) { .logo__text { font-size: 0.9rem; } .nav .btn--sm { padding: 0 13px; } }

/* ---------- logo morph: "DFW Automation Labs" -> "Voice" ---------- */
.logo__mark { transition: transform .3s ease, box-shadow .3s ease; }
.logo__mark.pop { animation: markPop .7s cubic-bezier(.3,1.6,.5,1); }
@keyframes markPop {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(31,79,216,0); }
  35% { transform: scale(1.18) rotate(-4deg); box-shadow: 0 0 0 6px rgba(31,79,216,0.18), 0 0 24px rgba(31,79,216,0.55); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(31,79,216,0); }
}
.logo__word {
  display: inline-flex; white-space: nowrap; overflow: hidden;
  padding: 4px 0; margin: -4px 0; perspective: 400px;
  transition: width .75s cubic-bezier(.7,0,.2,1);
}
.logo__word .ch {
  display: inline-block; white-space: pre; transform-origin: 50% 50% -6px;
  transition: transform .55s cubic-bezier(.6,0,.2,1), opacity .45s ease, filter .45s ease, color .3s ease;
}
.logo__word .ch.pre { transform: translateY(110%) rotateX(-80deg); opacity: 0; filter: blur(5px); }
.logo__word .ch.out { transform: translateY(-110%) rotateX(80deg); opacity: 0; filter: blur(5px); }
.logo__word .ch.new { color: var(--brand); }
.logo__word .ch.scr { color: #0EA5E9; }
.logo__voice {
  font-weight: 700; letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--brand) 0%, #0EA5E9 30%, #6366F1 55%, var(--brand) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: voiceFlow 5s linear infinite;
}
@keyframes voiceFlow { to { background-position: -250% 0; } }
.logo__eq { display: inline-flex; align-items: center; gap: 2px; height: 16px; width: 0; opacity: 0; overflow: hidden; margin-left: -4px; transition: width .4s ease, opacity .4s ease, margin .4s ease; }
.logo__eq.on { width: 18px; opacity: 1; margin-left: -2px; }
.logo__eq i { width: 3px; height: 30%; border-radius: 2px; background: linear-gradient(var(--brand), #0EA5E9); animation: eq 1s ease-in-out infinite; }
.logo__eq i:nth-child(2) { animation-delay: -.3s; }
.logo__eq i:nth-child(3) { animation-delay: -.6s; }
.logo__eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.footer .logo__eq { display: none; }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 48px 0 64px; overflow: hidden; background: linear-gradient(180deg, #F4F7FC 0%, #fff 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 75% 30%, rgba(0,0,0,.55) 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 30%, rgba(0,0,0,.55) 0%, transparent 65%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.lead { font-size: 1.12rem; color: var(--muted); margin: 20px 0 28px; max-width: 34rem; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; }
.hero__ctas .btn { width: 100%; }
.hero__proof {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.hero__proof strong { display: block; font: 700 1.4rem/1.1 var(--font-head); color: var(--text); letter-spacing: -0.02em; }
.hero__proof span { font-size: 0.8rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }
.br-desk { display: none; }

@media (min-width: 560px) {
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .hero__ctas .btn { width: auto; }
}
@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .br-desk { display: inline; }
}

/* phone card (dark navy for contrast) */
.hero__visual { position: relative; display: flex; justify-content: center; }
.glow {
  position: absolute; width: 70%; height: 70%; top: 15%; left: 15%;
  background: radial-gradient(circle, rgba(31,79,216,0.22), transparent 65%);
  filter: blur(40px); z-index: 0;
}
.phone {
  position: relative; z-index: 1; width: 100%; max-width: 380px;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff; border-radius: 24px; padding: 22px;
  box-shadow: var(--shadow-lg);
}
.phone__top { display: flex; justify-content: space-between; align-items: center; color: #9FB0C8; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 600 0.72rem/1 var(--font-body); padding: 6px 10px; border-radius: 999px; }
.pill--live { background: rgba(34,160,107,0.16); color: #5BD3A0; }
.phone__caller { display: flex; gap: 12px; align-items: center; margin: 20px 0 8px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); font: 600 0.9rem var(--font-head); color: #C9D4E5;
}
.phone__name { font-weight: 600; }
.phone__sub { font-size: 0.85rem; color: #9FB0C8; }
.phone__quote {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 16px; border-radius: 14px 14px 14px 4px; font-size: 0.95rem; line-height: 1.5; color: #E8EEF7;
}
.phone__actions { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.phone__actions li {
  display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #E8EEF7;
  background: rgba(255,255,255,0.05); border-radius: 10px; padding: 10px 12px;
  opacity: 0; transform: translateY(6px);
  animation: chip 6s calc(var(--d) * 0.6s + 0.8s) infinite;
}
.phone__actions .ic { color: #5BD3A0; }
@keyframes chip {
  0% { opacity: 0; transform: translateY(6px); }
  8%, 85% { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: none; }
}

/* waveform bars */
.bars { display: flex; align-items: center; gap: 3px; height: 44px; }
.bars i { flex: 1; background: var(--brand); border-radius: 3px; height: 20%; }
.bars--hero { margin: 14px 0 16px; }
.bars--hero i { background: #6E92F2; animation: bar 1.1s ease-in-out infinite; }
.bars--hero i:nth-child(3n) { animation-delay: -0.3s; }
.bars--hero i:nth-child(3n+1) { animation-delay: -0.7s; }
.bars--hero i:nth-child(4n) { animation-duration: 0.9s; }
@keyframes bar { 0%, 100% { height: 18%; } 50% { height: 90%; } }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: 36px; }
.sub { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }
.fineprint { color: var(--faint); font-size: 0.84rem; margin-top: 16px; }
@media (min-width: 900px) { .section { padding: 112px 0; } .section__head { margin-bottom: 48px; } }

/* ---------- industry tabs ---------- */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1) 16px; padding: 2px var(--gutter) 8px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  scroll-snap-align: start; flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2); color: var(--muted);
  font: 500 0.92rem var(--font-body); cursor: pointer; transition: all .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.tab:hover { color: var(--text); border-color: #A9B4C4; }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab[aria-selected="true"] .ic { color: #8FAEFF; }
@media (min-width: 900px) { .tabs { flex-wrap: wrap; overflow: visible; margin: 0 0 20px; padding: 0; } }

/* ---------- player ---------- */
.player {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: grid; gap: 18px; box-shadow: var(--shadow);
}
.player__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.player__biz { display: flex; gap: 12px; align-items: center; min-width: 0; }
.player__icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1.2rem;
}
.player__name { font: 600 1.05rem var(--font-head); }
.player__scenario { font-size: 0.88rem; color: var(--muted); line-height: 1.35; }
.player__time { color: var(--faint); white-space: nowrap; padding-top: 4px; }

.player__controls { display: flex; align-items: center; gap: 14px; }
.play {
  width: 60px; height: 60px; border-radius: 50%; border: 0; flex: none; cursor: pointer;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(31,79,216,0.28); transition: transform .15s ease, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.play:hover { background: var(--brand-2); }
.play:active { transform: scale(0.94); }
.player__track { flex: 1; min-width: 0; }
.bars--player { height: 36px; gap: 2px; }
.bars--player i { background: var(--line-2); transition: background .2s; }
.bars--player i.on { background: var(--brand); }
.player.is-playing .bars--player i { animation: bar 1s ease-in-out infinite; }
.player.is-playing.caller-talking .bars--player i.on { background: var(--navy); }
.progress { position: relative; height: 6px; margin-top: 8px; border-radius: 99px; background: var(--surface-2); cursor: pointer; touch-action: none; }
.progress::after { content: ""; position: absolute; inset: -12px 0; } /* bigger tap target */
.progress__fill { height: 100%; width: 0; background: var(--brand); border-radius: 99px; }
.player__clock { display: flex; justify-content: space-between; color: var(--faint); margin-top: 8px; }

.transcript {
  display: flex; flex-direction: column; gap: 10px;
  height: 340px; overflow-y: auto; padding: 4px 2px; scroll-behavior: smooth;
  mask-image: linear-gradient(to bottom, transparent 0, #000 24px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24px);
}
.transcript__empty { margin: auto; text-align: center; color: var(--faint); font-size: 0.92rem; max-width: 260px; }
.msg { max-width: 86%; display: flex; flex-direction: column; gap: 4px; animation: msgIn .35s ease both; }
.msg__who { font: 600 0.7rem var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.msg__text { padding: 11px 14px; border-radius: 14px; font-size: 0.95rem; line-height: 1.5; }
.msg--agent { align-self: flex-start; }
.msg--agent .msg__who { color: var(--brand); }
.msg--agent .msg__text { background: var(--brand-soft); border: 1px solid var(--brand-line); border-bottom-left-radius: 4px; }
.msg--caller { align-self: flex-end; text-align: right; }
.msg--caller .msg__text { background: var(--surface-2); border: 1px solid var(--line); border-bottom-right-radius: 4px; text-align: left; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.outcome {
  border-top: 1px dashed var(--line-2); padding-top: 16px;
  opacity: 0.45; transition: opacity .4s ease;
}
.outcome.is-done { opacity: 1; }
.outcome__label { color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 600; }
.outcome__title { font: 600 1.15rem var(--font-head); margin: 4px 0 12px; }
.outcome.is-done .outcome__title { color: var(--green); }
.outcome__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.outcome__list li {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem;
  background: var(--surface-2); padding: 7px 11px; border-radius: 999px; color: var(--muted);
}
.outcome.is-done .outcome__list li { background: var(--green-soft); color: var(--text); }
.outcome__list .ic { color: var(--green); }

@media (min-width: 900px) {
  .player { grid-template-columns: 1fr 300px; grid-template-areas: "head head" "ctrl ctrl" "tx out"; padding: 28px; gap: 24px; }
  .player__head { grid-area: head; }
  .player__controls { grid-area: ctrl; }
  .transcript { grid-area: tx; height: 400px; }
  .outcome { grid-area: out; border-top: 0; border-left: 1px dashed var(--line-2); padding: 0 0 0 24px; }
  .outcome__list { flex-direction: column; align-items: flex-start; }
}

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.step__n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand-soft); color: var(--brand); font-weight: 700; margin-bottom: 16px;
}
.step p { color: var(--muted); margin-top: 8px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } .step { padding: 32px; } }

/* ---------- features ---------- */
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: #fff; padding: 24px; }
.feature h3 { display: flex; align-items: center; gap: 10px; }
.feature h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.feature p { color: var(--muted); margin-top: 8px; font-size: 0.96rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); } .feature { padding: 32px; } }

/* ---------- calculator ---------- */
.calc { display: grid; gap: 32px; align-items: center; }
.calc__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 22px; box-shadow: var(--shadow); }
.field { display: grid; gap: 10px; }
.field > span { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--muted); }
.field output { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--brand) var(--p, 50%), var(--surface-2) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--surface-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--brand); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; margin-top: -9px; box-shadow: 0 1px 4px rgba(16,24,40,.25); border: 2px solid var(--brand); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
.calc__result { border-top: 1px solid var(--line); padding-top: 18px; }
.calc__result .mono { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 600; }
.calc__big { font: 700 clamp(2.6rem, 10vw, 3.4rem)/1.1 var(--font-head); color: var(--text); margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: 64px; } .calc__card { padding: 32px; } }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 16px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.plan--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.plan__desc { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }
.plan__price { margin-top: 20px; color: var(--muted); }
.plan__price span { font: 700 2.5rem/1 var(--font-head); color: var(--text); letter-spacing: -0.03em; }
.plan__setup { font-size: 0.85rem; color: var(--faint); margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }
.plan li .ic { color: var(--brand); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; } .plan { padding: 32px; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; min-height: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 600 1.02rem var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--brand); transition: transform .25s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- cta (navy band) / footer ---------- */
.cta { text-align: center; position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 500px; transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(31,79,216,0.45), transparent 65%); pointer-events: none;
}
.cta h2 { color: #fff; }
.cta__inner { position: relative; max-width: 680px; }
.cta .sub { margin: 16px auto 28px; color: #B4C2D6; }
.cta .hero__ctas { align-items: center; }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); box-shadow: none; }
.cta .btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.45); }
.cta .btn--primary { background: #fff; color: var(--navy); }
.cta .btn--primary:hover { background: #E8EEF9; }

.footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); padding: 36px 0; }
.footer__inner { display: grid; gap: 14px; color: #8D9CB3; font-size: 0.9rem; }
.footer .logo__mark { background: #fff; color: var(--navy); }
.footer .logo__text { color: #fff; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }

/* ---------- mobile bar ---------- */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(16,24,40,0.06);
}
.mobilebar .btn { min-height: 50px; padding: 0 12px; }
@media (min-width: 900px) { .mobilebar { display: none; } }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- ambient motion ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.9;
  will-change: transform;
}
.aurora span:nth-child(1) { width: 520px; height: 520px; background: #A9C1FF; top: -180px; right: -120px; animation: drift1 14s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 420px; height: 420px; background: #B4E6FF; top: 30%; left: -160px; animation: drift2 17s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 360px; height: 360px; background: #D4C6FF; bottom: -160px; right: 20%; animation: drift3 20s ease-in-out infinite alternate; }
.aurora--dark span { opacity: 0.5; }
.aurora--dark span:nth-child(1) { background: #1F4FD8; }
.aurora--dark span:nth-child(2) { background: #0E7490; }
.aurora--dark span:nth-child(3) { background: #4338CA; }
@keyframes drift1 { to { transform: translate(-220px, 160px) scale(1.25); } }
@keyframes drift2 { to { transform: translate(260px, -90px) scale(0.85); } }
@keyframes drift3 { to { transform: translate(-200px, -140px) scale(1.3); } }
.hero__grid, .cta__inner { z-index: 1; }

.grad {
  background: linear-gradient(90deg, var(--text) 0%, var(--brand) 35%, #0EA5E9 50%, var(--brand) 65%, var(--text) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sweep 9s ease-in-out infinite;
}
@keyframes sweep { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

.rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 0; }
.rings span {
  grid-area: 1 / 1; width: 300px; height: 300px; border-radius: 50%;
  border: 1.5px solid rgba(31,79,216,0.35);
  animation: ring 4.5s cubic-bezier(.2,.6,.3,1) infinite; opacity: 0;
}
.rings span:nth-child(2) { animation-delay: 1.5s; }
.rings span:nth-child(3) { animation-delay: 3s; }
@keyframes ring { 0% { transform: scale(0.7); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }

.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-lg); font-size: 0.85rem; line-height: 1.25; white-space: nowrap;
}
.float p { font-weight: 600; color: var(--text); }
.float small { color: var(--faint); font-size: 0.75rem; }
.float__ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.float__ic--blue { background: var(--brand-soft); color: var(--brand); }
.float--a { top: -30px; left: -4px; animation: bob 6s ease-in-out infinite; }
.float--b { bottom: -30px; right: -4px; animation: bob 7s ease-in-out -3s infinite; }
.hero__visual { margin: 20px 0; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (min-width: 900px) {
  .hero__visual { margin: 0; }
  .float--a { left: -56px; top: 36px; }
  .float--b { right: -40px; bottom: 70px; }
}

/* scroll reveal (class added by JS, so content is visible without it) */
.reveal { opacity: 0; transform: translateY(40px) scale(0.97); filter: blur(6px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease; transition-delay: calc(var(--i, 0) * 110ms); }
.reveal.is-in { filter: none; }
.reveal.is-in { opacity: 1; transform: none; }

/* soft moving sheen on the alt sections */
.section--alt { position: relative; overflow: hidden; }
.section--alt::before {
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,79,216,0.14), transparent 65%);
  top: -200px; left: -200px; animation: wander 18s ease-in-out infinite alternate; pointer-events: none;
}
.section--alt > .wrap { position: relative; }
@keyframes wander { to { transform: translate(70vw, 300px); } }

/* ---------- louder motion ---------- */
/* glow in white sections */
.section--glow { position: relative; overflow: hidden; }
.section--glow > .wrap { position: relative; z-index: 1; }
.aurora--soft span { opacity: 0.45; filter: blur(80px); }
.aurora--flip { transform: scaleX(-1); }

/* marker highlight that draws in under heading words */
.hl {
  background-image: linear-gradient(transparent 62%, rgba(31,79,216,0.22) 62%, rgba(14,165,233,0.22) 92%, transparent 92%);
  background-repeat: no-repeat; background-size: 0% 100%;
  transition: background-size 1s cubic-bezier(.6,.1,.2,1) .35s;
}
.hl--dark { background-image: linear-gradient(transparent 62%, rgba(110,146,242,0.45) 62%, rgba(110,146,242,0.45) 92%, transparent 92%); }
.is-in .hl, .hl.is-in { background-size: 100% 100%; }

/* cards lift on hover */
.step, .feature, .plan, .calc__card, .faq details { transition: transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, opacity .8s ease, filter .8s ease, background .3s ease; transition-delay: calc(var(--i, 0) * 110ms); }
.step:hover, .plan:hover, .calc__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); transition-delay: 0s; }
.feature:hover { background: var(--brand-soft); transition-delay: 0s; }

/* steps: bar fills across the top when revealed */
.step { position: relative; overflow: hidden; }
.step::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--brand), #0EA5E9);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.6,.1,.2,1);
  transition-delay: calc(var(--i, 0) * 300ms + 300ms);
}
.step.is-in::after { transform: scaleX(1); }
.step__n { animation: pop 3.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.2s); }
@keyframes pop { 0%, 20%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(31,79,216,0); } 10% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(31,79,216,0.12); } }

/* features: pinging dot */
.feature h3::before { position: relative; box-shadow: 0 0 0 0 rgba(31,79,216,.45); animation: ping 2.4s ease-out infinite; animation-delay: calc(var(--i, 0) * 0.4s); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31,79,216,.45); } 80%, 100% { box-shadow: 0 0 0 10px rgba(31,79,216,0); } }

/* featured plan: rotating gradient border */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan--featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              conic-gradient(from var(--ang), var(--brand), #0EA5E9, #8B5CF6, var(--brand)) border-box;
  animation: spin 5s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }

/* button shine + pulse */
.btn--shine { position: relative; overflow: hidden; isolation: isolate; }
.btn--shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); animation: shine 3.8s ease-in-out infinite;
}
.cta .btn--shine::after { background: linear-gradient(100deg, transparent, rgba(31,79,216,0.18), transparent); }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.btn--pulse { animation: btnPulse 2.4s ease-out infinite; }
@keyframes btnPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); } 80%, 100% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } }

/* calculator total pops on change */
.calc__big { background: linear-gradient(90deg, var(--text), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.calc__big.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .phone__actions li { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .aurora span, .section--alt::before { animation: none; }
  .reveal { filter: none; }
  .hl { background-size: 100% 100%; }
}
