/* =========================================================================
   Backline landing page
   Cool slate palette, deep violet accent, contextual concert photography,
   native CSS scroll-driven animations. No scroll listeners, no AI purple.
   ========================================================================= */

:root {
  /* Palette --- one cool slate family + one deep violet accent, locked page-wide */
  --ink:        #0b0912;   /* near-black, cool with a violet lean */
  --ink-2:      #110e1b;   /* raised surface */
  --ink-3:      #181426;   /* card / well */
  --ink-line:   #28223c;   /* hairline border on dark */
  --paper:      #efeaf6;   /* off-white, cool */
  --paper-2:    #c2bcd0;   /* muted text on dark */
  --paper-3:    #7a738c;   /* faint, captions */
  --accent:     #a479ff;   /* deep violet --- the signal light */
  --accent-deep:#2c1a4d;   /* dark violet for tints/wells */
  --accent-soft:#c4a7ff;   /* lighter violet for hover states */
  --good:       #6fd08f;   /* green --- used only for status dots */

  --font-display: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --font-body:    "Inter Tight", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 999px;
}

/* ---------------- reset ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }
::selection { background: var(--accent); color: var(--ink); }

/* ---------------- layout helpers ---------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--good); box-shadow: 0 0 8px var(--good);
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .18s cubic-bezier(.16,1,.3,1), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent); color: #04161a;
  box-shadow: 0 0 0 1px rgba(164,121,255,0.25), 0 8px 24px -8px rgba(164,121,255,0.5);
}
.btn--primary:hover { background: #c4a7ff; box-shadow: 0 0 0 1px rgba(164,121,255,0.4), 0 12px 32px -8px rgba(164,121,255,0.6); }
.btn--ghost { color: var(--paper); border: 1px solid var(--ink-line); }
.btn--ghost:hover { border-color: var(--paper-2); background: var(--ink-2); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, gap .2s;
}
.link-arrow:hover { border-color: var(--accent); gap: 10px; }
.arrow { width: 16px; height: 16px; flex: none; }

/* ---------------- nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 20, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand__mark { width: 26px; height: 26px; flex: none; color: var(--accent); }
.nav__links { display: none; gap: 30px; }
.nav__links a { font-size: 14.5px; color: var(--paper-2); transition: color .18s; position: relative; }
.nav__links a:hover { color: var(--paper); }
.nav__cta { display: none; align-items: center; gap: 12px; }
.nav__cta .btn { padding: 10px 18px; font-size: 14px; }
.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 0 24px 20px; border-bottom: 1px solid var(--ink-line);
  background: var(--ink);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-size: 17px; color: var(--paper-2); border-bottom: 1px solid var(--ink-line); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: 88px 0 64px; overflow: hidden; }
/* ambient violet glow, sits behind everything, drifts slowly */
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(164,121,255,0.12), transparent 62%);
  filter: blur(40px); pointer-events: none; z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98; letter-spacing: -0.035em; font-weight: 700;
  margin: 22px 0 0;
}
.hero__sub {
  max-width: 46ch; margin-top: 24px;
  font-size: clamp(17px, 1.6vw, 20px); color: var(--paper-2); line-height: 1.5;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__visual { position: relative; min-height: 320px; }
.hero__imgframe {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--ink-line);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
}
.hero__img {
  width: 100%; height: 100%; min-height: 340px; max-height: 540px;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.1) brightness(0.82) hue-rotate(255deg) saturate(0.7);
}
/* slow ken-burns zoom on the hero image as the page scrolls */
.hero__img {
  animation: ken-burns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ken-burns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.16) translate(-1.5%, -1.5%); }
}
.rec-badge {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(10,14,20,0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(238,243,249,0.14);
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper);
}
.rec-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); display: inline-block; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* oscilloscope-style waveform viz card */
.wave-card {
  position: absolute; bottom: -28px; left: -8px;
  width: min(78%, 290px);
  background: var(--ink-3); border: 1px solid var(--ink-line);
  border-radius: var(--r-md); padding: 14px 16px;
  box-shadow: 0 20px 45px -18px rgba(0,0,0,0.7);
  overflow: hidden;
}
.wave-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wave-card__count { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; color: var(--accent); }
.wave-card__label { font-size: 12.5px; color: var(--paper-2); line-height: 1.3; }
.wave-card__viz {
  display: flex; align-items: flex-end; gap: 3px; height: 34px; margin-top: 12px;
}
.wave-card__viz span {
  flex: 1; background: var(--accent); border-radius: 2px;
  opacity: 0.85; transform-origin: bottom;
  animation: eq 1.4s ease-in-out infinite;
}
@keyframes eq {
  0%, 100% { transform: scaleY(0.3); }
  50%      { transform: scaleY(1); }
}
.wave-card__sub { margin-top: 10px; font-size: 11.5px; color: var(--paper-3); display: flex; align-items: center; gap: 6px; }
.wave-card__sub i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); display: inline-block; }

/* ---------------- logo strip ---------------- */
.logos { padding: 36px 0; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.logos__label { text-align: center; font-size: 12px; color: var(--paper-3); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 22px; }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 56px; }
.logos__row img { height: 26px; width: auto; opacity: 0.7; filter: saturate(0) brightness(1.4); transition: opacity .2s, filter .2s; }
.logos__row img:hover { opacity: 1; filter: saturate(0) brightness(1.8); }

/* ---------------- section heading ---------------- */
.s-head { max-width: 640px; margin-bottom: 56px; }
.s-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.04; letter-spacing: -0.025em;
  margin-top: 16px;
}
.s-head p { margin-top: 16px; color: var(--paper-2); font-size: 17.5px; max-width: 52ch; }
.s-head--center { margin-inline: auto; text-align: center; }
.s-head--center p { margin-inline: auto; }

/* ---------------- pain points ---------------- */
.pain__grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--r-lg); overflow: hidden; }
.pain__item { background: var(--ink-2); padding: 36px 30px; transition: background .3s; }
.pain__item:hover { background: var(--ink-3); }
.pain__num { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; }
.pain__item h3 { font-family: var(--font-display); font-size: 23px; line-height: 1.12; letter-spacing: -0.02em; margin: 14px 0 12px; }
.pain__item p { color: var(--paper-2); font-size: 15.5px; }
.pain__bridge { text-align: center; margin-top: 40px; font-size: 18px; color: var(--paper); max-width: 640px; margin-inline: auto; }

/* ---------------- full-bleed image band (parallax) ---------------- */
.imgband { position: relative; overflow: hidden; height: 420px; }
.imgband__inner { position: absolute; inset: -12% 0; }
.imgband__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.4) contrast(1.05) brightness(0.55) hue-rotate(255deg) saturate(0.65);
}
.imgband__caption {
  position: absolute; bottom: 24px; left: 24px;
  font-size: 12.5px; color: var(--paper-2); letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(10,14,20,0.6); padding: 6px 12px; border-radius: var(--r-pill); backdrop-filter: blur(6px);
}

/* parallax: the inner wrapper drifts up as you scroll past, native scroll-driven */
@supports (animation-timeline: view()) {
  .imgband__inner { animation: parallax-y linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes parallax-y {
    from { transform: translateY(-8%); }
    to   { transform: translateY(8%); }
  }
}

/* ---------------- feature grid (grouped) ---------------- */
.feat-group { margin-bottom: 64px; }
.feat-group:last-child { margin-bottom: 0; }
.feat-group__title { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--ink-line); }
.feat-group__title h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; }
.feat-group__title span { font-size: 13.5px; color: var(--paper-3); }
.feat-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.feat {
  display: grid; grid-template-columns: 28px 1fr; gap: 18px;
  padding: 26px 0; border-bottom: 1px solid var(--ink-line);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.feat:hover { transform: translateX(4px); }
.feat:last-child { border-bottom: none; }
.feat__icon { width: 28px; height: 28px; flex: none; color: var(--accent); }
.feat__name { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.feat__why { margin-top: 6px; font-size: 15px; color: var(--paper-2); max-width: 60ch; }

/* ---------------- how it works ---------------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 28px; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px 30px;
  background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-lg);
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s;
}
.step:hover { transform: translateY(-4px); border-color: var(--accent); }
.step__num {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  line-height: 1; color: var(--accent); opacity: 0.85;
}
.step h3 { font-family: var(--font-display); font-size: 21px; letter-spacing: -0.015em; margin: 16px 0 10px; }
.step p { color: var(--paper-2); font-size: 15.5px; }

/* ---------------- approval pull quote ---------------- */
.approval { position: relative; text-align: center; padding: 88px 24px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--ink-line); overflow: hidden; }
.approval__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.22; }
.approval__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) contrast(1.1) brightness(0.5) hue-rotate(255deg) saturate(0.6); }
.approval__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--ink-2), var(--ink-2)); opacity: 0.5; }
.approval__quote, .approval__sub { position: relative; z-index: 1; }
.approval__quote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.02em;
  max-width: 18ch; margin: 0 auto;
}
.approval__quote span { color: var(--accent); }
.approval__sub { margin-top: 22px; color: var(--paper-2); max-width: 50ch; margin-inline: auto; }

/* ---------------- free month ---------------- */
.freemonth {
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center;
  padding: 48px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-lg);
}
.freemonth__copy h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); line-height: 1.05; letter-spacing: -0.025em; margin: 16px 0 16px; }
.freemonth__copy p { color: var(--paper-2); font-size: 16.5px; max-width: 52ch; }
.freemonth__def { font-size: 14.5px !important; color: var(--paper-3) !important; margin-top: 14px !important; }
.freemonth__copy .btn { margin-top: 24px; }
.freemonth__card { background: var(--ink-3); border: 1px solid var(--ink-line); border-radius: var(--r-md); padding: 8px 20px; }
.freemonth__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ink-line); }
.freemonth__row:last-child { border-bottom: none; }
.freemonth__k { font-size: 13px; color: var(--paper-3); text-transform: uppercase; letter-spacing: 0.04em; }
.freemonth__v { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--paper); }
@media (min-width: 900px) { .freemonth { grid-template-columns: 1.3fr 0.9fr; gap: 56px; } }

/* ---------------- pricing ---------------- */
.toggle { display: inline-flex; align-items: center; gap: 0; margin-inline: auto; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-pill); padding: 4px; }
.toggle button { padding: 9px 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--paper-2); transition: background .2s, color .2s; }
.toggle button[aria-pressed="true"] { background: var(--accent); color: #04161a; }
.tgl-wrap { display: flex; justify-content: center; margin-bottom: 44px; }
.price-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.plan { padding: 32px 28px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-lg); display: flex; flex-direction: column; }
.plan--feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -24px rgba(164,121,255,0.35); position: relative; }
.plan__tag { position: absolute; top: -12px; left: 28px; background: var(--accent); color: #04161a; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); }
.plan__name { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em; }
.plan__desc { font-size: 14px; color: var(--paper-3); margin-top: 4px; min-height: 38px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 22px; }
.plan__price .amt { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.plan__price .per { font-size: 14px; color: var(--paper-3); }
.plan__feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan__feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--paper-2); }
.plan__feats li.no { color: var(--paper-3); }
.plan__feats li.no s { color: inherit; }
.plan__feats svg, .plan__feats i { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.plan__feats .y { color: var(--accent); }
.plan__feats .n { color: var(--paper-3); }
.plan .btn { width: 100%; }
.price-foot { text-align: center; margin-top: 36px; font-size: 15px; color: var(--paper-2); }

/* ---------------- time saved ---------------- */
.timegrid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.timegrid__lead h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: -0.025em; margin: 16px 0 16px; }
.timegrid__lead p { color: var(--paper-2); font-size: 17px; max-width: 50ch; }
.timegrid__rows { display: flex; flex-direction: column; }
.timerow {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  padding: 20px 0; border-bottom: 1px solid var(--ink-line);
}
.timerow:first-child { border-top: 1px solid var(--ink-line); }
.timerow--big .timerow__task { font-size: 16.5px; font-weight: 600; }
.timerow--big .timerow__amt { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--paper); }
.timerow--big .timerow__bar { height: 7px; }
.timerow--big .timerow__bar span { background: linear-gradient(90deg, var(--accent), var(--accent-soft)); }
.timerow__task { font-size: 15.5px; color: var(--paper); font-weight: 500; }
.timerow__bar { display: block; height: 5px; background: var(--ink-3); border-radius: var(--r-pill); overflow: hidden; }
.timerow__bar span { display: block; height: 100%; background: var(--accent); border-radius: inherit; transform-origin: left; animation: grow-bar 1s cubic-bezier(.16,1,.3,1) both; }
@keyframes grow-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.timerow__amt { font-family: var(--font-body); font-size: 13px; color: var(--paper-3); }
.timerow__save { font-size: 13px; font-weight: 600; color: var(--accent); }
.timegrid__note { margin-top: 20px; font-size: 13px; color: var(--paper-3); max-width: 52ch; }
@media (min-width: 760px) {
  .timegrid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .timerow { grid-template-columns: 1.6fr 1.2fr 0.7fr 0.9fr; gap: 20px; align-items: center; }
}

/* ---------------- voice profile spotlight ---------------- */
.voice__grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.voice__copy h2 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 46px); line-height: 1.04; letter-spacing: -0.025em; margin: 16px 0 18px; }
.voice__copy > p { color: var(--paper-2); font-size: 17.5px; max-width: 50ch; }
.voice__bullets { display: flex; flex-direction: column; gap: 18px; margin: 28px 0; }
.voice__bullets li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.voice__bullets i { color: var(--accent); font-size: 22px; line-height: 1.3; }
.voice__bullets strong { color: var(--paper); font-weight: 600; }
.voice__bullets span { color: var(--paper-2); font-size: 15.5px; }
.voice__foot { font-size: 14px; color: var(--paper-3); }
.inline-link { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .2s; }
.inline-link:hover { border-color: var(--accent); }

/* the example profile panel */
.voice__panel { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.voice__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.voice__panel-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.voice__panel-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--paper); }
.voice__panel-sub { font-size: 13.5px; color: var(--paper-3); margin-bottom: 24px; }
.voice__dials { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.dial { display: flex; flex-direction: column; gap: 7px; }
.dial__top { display: flex; align-items: baseline; justify-content: space-between; }
.dial__top span:first-child { font-size: 14px; color: var(--paper-2); }
.dial__val { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--paper); }
.dial__track { height: 6px; background: var(--ink-3); border-radius: var(--r-pill); overflow: hidden; }
.dial__track span { display: block; height: 100%; background: var(--accent); border-radius: inherit; transform-origin: left; animation: grow-bar 1.1s cubic-bezier(.16,1,.3,1) both; }

.voice__words { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 16px; }
.voice__word-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.voice__word-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--paper-3); text-transform: uppercase; letter-spacing: 0.04em; width: 100%; margin-bottom: 4px; }
.voice__word-label i { color: var(--paper-3); font-size: 14px; }
.pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; }
.pill--good { background: rgba(111,208,143,0.14); color: #8fe0ac; border: 1px solid rgba(111,208,143,0.25); }
.pill--bad { background: rgba(232,93,58,0.12); color: #f0a48c; border: 1px solid rgba(232,93,58,0.22); text-decoration: line-through; text-decoration-color: rgba(240,164,140,0.5); }

/* do / don't written rules */
.voice__rules { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 10px; }
.rule { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; padding: 11px 14px; border-radius: var(--r-md); }
.rule--do { background: rgba(111,208,143,0.08); border: 1px solid rgba(111,208,143,0.18); }
.rule--dont { background: rgba(232,93,58,0.07); border: 1px solid rgba(232,93,58,0.18); }
.rule__tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding-top: 1px; }
.rule--do .rule__tag { color: #8fe0ac; }
.rule--dont .rule__tag { color: #f0a48c; }
.rule p { font-size: 14px; color: var(--paper-2); line-height: 1.45; }

@media (min-width: 900px) {
  .voice__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .voice__dials { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .voice__dials { grid-template-columns: 1fr 1fr; }
}

/* ---------------- FAQ ---------------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--ink-line); }
.faq__item:first-child { border-top: 1px solid var(--ink-line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 24px 0; font-family: var(--font-display); font-size: 18.5px; font-weight: 600; letter-spacing: -0.01em; }
.faq__q .pm { width: 18px; height: 18px; flex: none; color: var(--accent); transition: transform .25s; }
.faq__item[open] .faq__q .pm { transform: rotate(45deg); }
.faq__a { padding: 0 0 24px; color: var(--paper-2); font-size: 15.5px; max-width: 68ch; }
.faq__a p + p { margin-top: 12px; }

/* ---------------- CTA ---------------- */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 80vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(164,121,255,0.10), transparent 60%);
  filter: blur(30px); pointer-events: none; z-index: 0;
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.03em; }
.cta p { margin: 18px auto 0; color: var(--paper-2); max-width: 48ch; font-size: 18px; }
.cta .btn { margin-top: 30px; }

/* ---------------- footer ---------------- */
.footer { border-top: 1px solid var(--ink-line); padding: 56px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer__brand p { margin-top: 14px; color: var(--paper-3); font-size: 14px; max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer__col h4 { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.02em; margin-bottom: 14px; }
.footer__col a { display: block; padding: 6px 0; font-size: 14px; color: var(--paper-2); transition: color .18s; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: 13px; color: var(--paper-3); }

/* =========================================================================
   SCROLL ANIMATIONS
   Two systems:
   1. .reveal  -> IntersectionObserver in JS (fade + rise on enter, one-shot)
   2. .scroll-* -> native CSS scroll-driven animation-timeline (continuous,
                  scrubbed to scroll position). Only fires in browsers that
                  support animation-timeline; others get a static fallback.
   ========================================================================= */

/* --- System 1: reveal on enter --- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* staggered children inside a .stagger container: each child fades up with
   a small incremental delay, set via --i custom property on the element.
   Driven by IntersectionObserver (same .in toggle), so it's one-shot and
   reduced-motion safe. */
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 80ms); }
.stagger.in > * { opacity: 1; transform: none; }

/* --- scroll progress bar (top of viewport) ---
   A thin accent line that fills as you read down. Uses the native
   animation-timeline: scroll() so it needs no JS and no scroll listener.
   Static (invisible) fallback in unsupported browsers. */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
  z-index: 60; pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progress-fill linear;
    animation-timeline: scroll(root);
  }
  @keyframes progress-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* --- System 2: native scroll-driven ---
   We gate ALL scroll-driven work behind a @supports check so unsupported
   browsers (older Safari/Firefox) render statically and never run rAF loops. */
@supports (animation-timeline: view()) {
  /* fade-in-up tied to element entering the viewport */
  .scroll-rise {
    animation: rise-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: none; }
  }

  /* horizontal drift: panels slide in from alternate sides */
  .scroll-slide-left {
    animation: slide-left linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  .scroll-slide-right {
    animation: slide-right linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  @keyframes slide-left  { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: none; } }
  @keyframes slide-right { from { opacity: 0; transform: translateX(50px); }  to { opacity: 1; transform: none; } }

  /* scale-in for feature group headers */
  .scroll-scale {
    animation: scale-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 65%;
    transform-origin: left center;
  }
  @keyframes scale-in {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: none; }
  }

  /* slow continuous parallax on the full-bleed image (defined above too) */
  .parallax-bg {
    animation: parallax-y linear both;
    animation-timeline: view();
    animation-range: cover;
  }
}

/* ---------------- responsive ---------------- */
@media (min-width: 640px) {
  .hero__ctas { flex-wrap: nowrap; }
  .footer__cols { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .section { padding: 120px 0; }
  .nav__links { display: flex; }
  .nav__cta { display: flex; }
  .nav__toggle { display: none; }
  .hero { padding: 104px 0 88px; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .pain__grid { grid-template-columns: repeat(3, 1fr); }
  .feat-list { grid-template-columns: 1fr 1fr 1fr; gap: 0 48px; }
  .feat-list .feat { break-inside: avoid; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1.4fr 2fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------------- reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .rec-badge i, .wave-card__viz span { animation: none; }
  .hero__img { animation: none; transform: none; }
  .scroll-progress { display: none; }
}
