/* =========================================================
   LUCENT — Clarity Engineered
   Premium one-product site for a vocal preset system
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Base palette — deep charcoal, soft whites, atmospheric blue-white */
  --bg-0:        #06070a;
  --bg-1:        #0a0b0f;
  --bg-2:        #0e1015;
  --surface:     rgba(255, 255, 255, 0.035);
  --surface-hi:  rgba(255, 255, 255, 0.06);
  --border:      rgba(255, 255, 255, 0.08);
  --border-hi:   rgba(255, 255, 255, 0.16);

  /* Text */
  --text:        #f4f5f8;
  --text-dim:    rgba(244, 245, 248, 0.62);
  --text-faint:  rgba(244, 245, 248, 0.38);

  /* Light / glow accents */
  --glow:        #cfe1ff;
  --glow-soft:   rgba(207, 225, 255, 0.45);
  --glow-faint:  rgba(207, 225, 255, 0.12);
  --silver:      #d8dde6;

  /* Type */
  --font-display: "Instrument Serif", "Cormorant Garamond", "Times New Roman", serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 9rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--glow-soft); color: var(--bg-0); }

/* ---------- Ambient background ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(207, 225, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(180, 200, 240, 0.05), transparent 60%),
    var(--bg-0);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: screen;
}

/* Floating glowing orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
  transition: transform 1.2s var(--ease-out);
}
.orb--a { width: 520px; height: 520px; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(207,225,255,0.35), transparent 70%); }
.orb--b { width: 640px; height: 640px; top: 30%; right: -240px;
  background: radial-gradient(circle, rgba(180,200,240,0.22), transparent 70%); }
.orb--c { width: 480px; height: 480px; bottom: -160px; left: 30%;
  background: radial-gradient(circle, rgba(220,230,250,0.18), transparent 70%); }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(20px, -30px, 0) scale(1.06); }
}
.orb--a { animation: drift 22s ease-in-out infinite; }
.orb--b { animation: drift 28s ease-in-out infinite reverse; }
.orb--c { animation: drift 32s ease-in-out infinite; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section {
  padding: clamp(5rem, 12vh, 9rem) 0;
  position: relative;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow));
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-dim);
  max-width: 56ch;
  line-height: 1.6;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  background: linear-gradient(to bottom, rgba(6,7,10,0.7), transparent);
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(6, 7, 10, 0.55);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.32em;
}
.brand__mark {
  width: 22px; height: 22px;
  position: relative;
  display: inline-block;
}
.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.brand__mark::before {
  background: radial-gradient(circle, var(--glow), transparent 70%);
  filter: blur(4px);
  opacity: 0.9;
}
.brand__mark::after {
  background: radial-gradient(circle at 35% 30%, #fff, var(--glow) 40%, transparent 75%);
  box-shadow: 0 0 14px rgba(207, 225, 255, 0.6);
}
.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav__link {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.3s var(--ease-out);
}
.nav__link:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  position: relative;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out), color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, #fafbfd, #d6dde9);
  color: #0a0b0f;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.4) inset,
    0 10px 40px -10px rgba(207, 225, 255, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.btn--primary:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.5) inset,
    0 18px 50px -10px rgba(207, 225, 255, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--border-hi);
  background: var(--surface);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.3);
  background: var(--surface-hi);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding-top: 8rem;
  padding-bottom: 6rem;
  position: relative;
}
.hero__inner { text-align: center; max-width: 980px; margin: 0 auto; }

.hero__headline {
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin-top: 1.5rem;
}
.hero__headline .display {
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #cfd6e3 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__sub {
  margin: 1.75rem auto 0;
  max-width: 56ch;
  color: var(--text-dim);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
}
.hero__ctas {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 2.25rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--glow); box-shadow: 0 0 8px var(--glow);
}

/* Visualizer under hero */
.visualizer {
  margin: 4rem auto 0;
  max-width: 720px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
  height: 88px;
  opacity: 0.85;
}
.visualizer span {
  display: block;
  width: 3px;
  background: linear-gradient(180deg, var(--glow), transparent);
  border-radius: 3px;
  animation: viz 1.6s ease-in-out infinite;
}
@keyframes viz {
  0%, 100% { height: 8px; opacity: 0.3; }
  50%      { height: var(--h, 60px); opacity: 0.9; }
}

/* ---------- Section heading ---------- */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-top: 1rem;
}
.section-head .display {
  background: linear-gradient(180deg, #ffffff, #c8cfdb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { margin-top: 1.25rem; color: var(--text-dim); max-width: 56ch; }

/* ---------- Problem section ---------- */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.problem__item {
  padding: 2rem 1.75rem;
  background: var(--bg-1);
  position: relative;
}
.problem__item h4 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.problem__item p {
  margin: 0; color: var(--text-dim); font-size: 0.92rem;
}
.problem__item__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--glow);
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

/* ---------- Feature cards (What's Included) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.feature {
  position: relative;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%),
              rgba(207, 225, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.feature:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.feature:hover::before { opacity: 1; }

.feature__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border-hi);
  display: grid; place-items: center;
  color: var(--glow);
  margin-bottom: 1.25rem;
  box-shadow: inset 0 0 16px rgba(207,225,255,0.08);
}
.feature h4 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---------- Before/After section ---------- */
.compare {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.compare::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px ellipse at 0% 0%, rgba(207,225,255,0.06), transparent 60%),
    radial-gradient(600px ellipse at 100% 100%, rgba(180,200,240,0.04), transparent 60%);
  pointer-events: none;
}

.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.compare__row + .compare__row { margin-top: 1.25rem; }

.compare__card {
  padding: 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgba(8, 9, 12, 0.5);
}
.compare__card[data-state="after"] {
  border-color: rgba(207,225,255,0.25);
  box-shadow: 0 0 60px -20px rgba(207, 225, 255, 0.25);
}
.compare__label {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.compare__label h5 {
  margin: 0; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
}
.compare__label[data-state="after"] h5 { color: var(--glow); }

/* Waveform */
.wave {
  height: 90px;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 1.25rem;
  position: relative;
}
.wave span {
  display: block;
  flex: 1 1 auto;
  background: linear-gradient(180deg, var(--text-dim), rgba(255,255,255,0.1));
  border-radius: 2px;
  transition: height 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.wave--after span {
  background: linear-gradient(180deg, var(--glow), rgba(207,225,255,0.2));
  filter: drop-shadow(0 0 6px rgba(207,225,255,0.3));
}

/* Waveform — played-progress highlight, synced playhead, seek cursor */
.wave { cursor: pointer; }
.wave span.is-played {
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.5));
}
.wave--after span.is-played {
  background: linear-gradient(180deg, #ffffff, var(--glow));
}
.wave__head {
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: 0;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, #ffffff 18%, #ffffff 82%, transparent);
  box-shadow: 0 0 12px 1px rgba(207, 225, 255, 0.75);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}
.wave.is-active .wave__head { opacity: 1; }

/* Audio control */
.player {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.play-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--text);
  transition: all 0.3s var(--ease-out);
}
.play-btn:hover {
  background: var(--surface-hi);
  border-color: rgba(207,225,255,0.35);
  box-shadow: 0 0 20px rgba(207, 225, 255, 0.15);
}
.play-btn.is-playing { background: var(--glow); color: var(--bg-0); border-color: var(--glow); }
.player__time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.player__track {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.player__progress {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--glow), #fff);
  border-radius: 999px;
  transition: width 0.1s linear;
}

/* ---------- CTA section ---------- */
.cta {
  text-align: center;
  position: relative;
}
.cta__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  position: relative;
  overflow: hidden;
}
.cta__inner::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(800px ellipse at 50% -10%, rgba(207, 225, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cta h2 .display {
  background: linear-gradient(180deg, #fff, #c8cfdb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta p { margin: 1.25rem auto 2rem; max-width: 52ch; color: var(--text-dim); }

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__copy { color: var(--text-faint); font-size: 0.82rem; }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a {
  font-size: 0.82rem; color: var(--text-dim);
  transition: color 0.3s var(--ease-out);
}
.footer__links a:hover { color: var(--text); }

/* =========================================================
   PURCHASE PAGE
   ========================================================= */
.purchase-hero {
  padding-top: 11rem;
  padding-bottom: 4rem;
  text-align: center;
}
.purchase-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.purchase-hero h1 .display {
  background: linear-gradient(180deg, #fff, #c8cfdb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.purchase-hero p {
  margin: 1.5rem auto 0;
  max-width: 54ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

/* Pricing card */
.purchase-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.pricing {
  padding: 2.25rem;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  position: sticky;
  top: 6rem;
  backdrop-filter: blur(20px);
  box-shadow:
    0 30px 60px -30px rgba(0,0,0,0.6),
    0 0 80px -30px rgba(207,225,255,0.2);
  overflow: hidden;
}
.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px ellipse at 50% -10%, rgba(207,225,255,0.12), transparent 60%);
  pointer-events: none;
}
.pricing__tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: rgba(207, 225, 255, 0.08);
  border: 1px solid rgba(207, 225, 255, 0.2);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--glow);
}
.pricing__price {
  margin: 1.5rem 0 0.25rem;
  display: flex; align-items: baseline; gap: 0.5rem;
}
.pricing__price .amount {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4.5rem;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
}
.pricing__price .currency { color: var(--text-dim); font-size: 1rem; }
.pricing__price .period { color: var(--text-faint); font-size: 0.9rem; }
.pricing__desc { color: var(--text-dim); font-size: 0.95rem; margin-top: 0.25rem; }

.pricing__list {
  list-style: none;
  padding: 1.5rem 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}
.pricing__list li {
  display: flex; align-items: start; gap: 0.7rem;
  font-size: 0.92rem; color: var(--text-dim);
  padding: 0.45rem 0;
}
.pricing__list li::before {
  content: "";
  flex: 0 0 16px;
  width: 16px; height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--glow) 50%, transparent 80%);
  box-shadow: 0 0 8px rgba(207,225,255,0.4);
}

.pricing__cta { width: 100%; margin-top: 0.5rem; padding: 1rem 1.5rem; font-size: 1rem; }
.pricing__note { margin-top: 1rem; color: var(--text-faint); font-size: 0.78rem; text-align: center; }

/* Details column */
.details h3 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}
.details h3:first-of-type { margin-top: 0; }
.details p { color: var(--text-dim); margin-top: 0; }
.details ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.details ul li {
  padding: 0.45rem 0;
  color: var(--text-dim);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--border);
  display: flex; justify-content: space-between; gap: 1rem;
}
.details ul li:last-child { border-bottom: 0; }
.details ul li span { color: var(--text); font-weight: 500; }

/* FAQ */
.faq { margin-top: 5rem; }
.faq__list { border-top: 1px solid var(--border); }
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s var(--ease-out);
}
.faq__q:hover { color: var(--glow); }
.faq__q__icon {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  display: grid; place-items: center;
  transition: transform 0.4s var(--ease-out), background 0.3s var(--ease-out);
}
.faq__item.is-open .faq__q__icon {
  transform: rotate(45deg);
  background: var(--glow);
  color: var(--bg-0);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
  color: var(--text-dim);
}
.faq__a__inner { padding: 0 0 1.5rem; max-width: 64ch; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .purchase-grid { grid-template-columns: 1fr; }
  .pricing { position: relative; top: 0; }
  .compare__row { grid-template-columns: 1fr; }
  .hero__meta { gap: 1rem; font-size: 0.78rem; }
  .nav__links a:not(.btn) { display: none; }
}

@media (max-width: 560px) {
  section { padding: 4rem 0; }
  .hero { padding-top: 7rem; min-height: 90vh; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
