/* ============================================================
   Atrellia - marketing.css
   Dark-first design system.
   To change the site accent color: edit --accent and --accent-dark only.
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  /* Accent - swap these two to rebrand */
  --accent:          #22d3ee;
  --accent-dark:     #06b6d4;
  --accent-light:    rgba(34, 211, 238, .12);
  --accent-glow:     rgba(34, 211, 238, .18);

  /* Surfaces */
  --bg:              #0b0b0d;
  --bg-card:         #111116;
  --bg-card-2:       #16161c;

  /* Borders */
  --border:          rgba(255, 255, 255, .07);
  --border-md:       rgba(255, 255, 255, .13);

  /* Text */
  --white:           #ffffff;
  --text:            rgba(255, 255, 255, .88);
  --text-muted:      rgba(255, 255, 255, .5);
  --text-dim:        rgba(255, 255, 255, .28);

  /* Shapes */
  --radius-xs:       4px;
  --radius:          10px;
  --radius-lg:       16px;
  --radius-xl:       22px;
  --radius-pill:     999px;

  /* Shadows */
  --shadow:          0 4px 24px rgba(0, 0, 0, .45);
  --shadow-lg:       0 16px 56px rgba(0, 0, 0, .55);

  /* Legacy aliases (keeps existing partials working) */
  --navy:            #0b0b0d;
  --muted:           rgba(255, 255, 255, .5);
  --border-color:    rgba(255, 255, 255, .07);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
section[id] { scroll-margin-top: 72px; }

/* ---- Navigation ---- */
.pa-nav {
  background: rgba(11, 11, 13, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
  z-index: 1030;
}
.pa-nav.scrolled { box-shadow: 0 1px 0 var(--border-md), 0 4px 32px rgba(0,0,0,.6); }

.pa-nav .navbar-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
}
.pa-nav .navbar-brand .accent { color: var(--accent); }

.pa-nav .nav-link {
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem .8rem;
  transition: color .15s;
}
.pa-nav .nav-link:hover,
.pa-nav .nav-link.active { color: var(--white); }
.pa-nav .navbar-toggler { border: none; color: var(--text-muted); }

/* ---- Pill buttons (Vapi-style) ---- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .75rem 1.85rem;
  border-radius: var(--radius-pill);
  transition: opacity .15s, transform .12s, box-shadow .15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-pill:hover {
  opacity: .88;
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn-pill-ghost {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 255, 255, .07);
  color: var(--text);
  border: 1px solid var(--border-md);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .75rem 1.85rem;
  border-radius: var(--radius-pill);
  transition: background .15s, color .15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-pill-ghost:hover {
  background: rgba(255, 255, 255, .13);
  color: var(--white);
}

/* Standard btn-accent preserved for internal pages */
.btn-accent {
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-weight: 700;
  padding: .6rem 1.5rem;
  border-radius: var(--radius);
  transition: opacity .15s;
  display: inline-block;
}
.btn-accent:hover { opacity: .88; color: var(--bg); }

/* ---- Section scaffolding ---- */
.section      { padding: 96px 0; }
.section-alt  { padding: 96px 0; background: var(--bg-card); }
.section-sm   { padding: 56px 0; }
.section-lg   { padding: 128px 0; }
.audio-intro-section {
  padding-top: 64px;
  padding-bottom: 48px;
}

.section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 580px;
}

/* ---- Hero ---- */
.pa-hero {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding-top: 96px;
}
/* Radial glow at top-center */
.pa-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 860px;
  height: 480px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 64px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(34, 211, 238, .1);
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, .24);
  border-radius: var(--radius-pill);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.045em;
  color: var(--white);
  margin: 0 0 1.35rem;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 720px;
  margin: 0 auto 2.25rem;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}
.hero-demo-form {
  display: flex;
  justify-content: center;
  gap: .6rem;
  max-width: 520px;
  margin: .45rem auto 0;
}
.hero-demo-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: var(--white);
  border-radius: 999px;
  padding: .68rem .95rem;
  outline: none;
}
.hero-demo-form input::placeholder { color: rgba(255,255,255,.38); }
.hero-demo-form input:focus {
  border-color: rgba(34,211,238,.65);
  box-shadow: 0 0 0 3px rgba(34,211,238,.14);
}
.hero-demo-form button {
  border: 0;
  border-radius: 999px;
  padding: .68rem 1.05rem;
  background: var(--accent);
  color: #06121f;
  font-weight: 850;
  white-space: nowrap;
}
.hero-note {
  font-size: .73rem;
  color: var(--text-dim);
  margin-top: 1rem;
}
@media (max-width: 575.98px) {
  .hero-demo-form { flex-direction: column; }
  .hero-demo-form button { width: 100%; }
}

/* ---- Pain recognition ---- */
.pain-quote-list {
  display: grid;
  gap: .8rem;
}
.pain-quote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 650;
  line-height: 1.45;
}

/* ---- Audio explainers ---- */
.audio-explain {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  align-items: center;
  position: relative;
  background:
    radial-gradient(circle at 18% 20%, rgba(34, 211, 238, .18), transparent 34%),
    rgba(17, 17, 22, .94);
  border: 1px solid rgba(34, 211, 238, .24);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: 0 0 38px rgba(34, 211, 238, .08), var(--shadow);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.audio-explain::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .16), transparent 42%);
  pointer-events: none;
  opacity: .75;
}
.audio-explain > * {
  position: relative;
  z-index: 1;
}
.audio-play {
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--border-md);
  background: var(--bg-card-2);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s;
}
.audio-play:hover {
  border-color: var(--accent);
  background: rgba(34, 211, 238, .08);
  transform: translateY(-1px);
}
.audio-main {
  min-width: 0;
}
.audio-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .5rem;
}
.audio-kicker {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #74b9ff;
  background: rgba(59, 130, 246, .16);
  border: 1px solid rgba(59, 130, 246, .28);
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .22rem .55rem;
}
.audio-time {
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .72rem;
  white-space: nowrap;
}
.audio-title {
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 760;
  line-height: 1.25;
  margin-bottom: .55rem;
}
.audio-track {
  position: relative;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
  cursor: pointer;
}
.audio-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
  border-radius: inherit;
}
@media (max-width: 576px) {
  .audio-explain {
    grid-template-columns: 46px 1fr;
    gap: .75rem;
    padding: .85rem;
  }
  .audio-play {
    width: 46px;
    font-size: 1rem;
  }
  .audio-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }
}

/* ---- Audio visualizer ---- */
.viz-wrap {
  position: relative;
  width: 100%;
}
/* Edge fade */
.viz-wrap::before,
.viz-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 1;
  pointer-events: none;
}
.viz-wrap::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.viz-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.pa-viz {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 240px;
  padding: 0 40px;
  overflow: hidden;
}
.viz-col {
  position: relative;
  width: 36px;
  height: 240px;
  flex-shrink: 0;
}
.viz-seg {
  position: absolute;
  left: 0;
  width: 36px;
  border-radius: 5px;
  opacity: 0;
}

.viz-center-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #18181f;
  border: 1px solid var(--border-md);
  border-radius: var(--radius-pill);
  padding: .85rem 2.1rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 2;
  box-shadow: 0 0 48px rgba(0,0,0,.7);
  white-space: nowrap;
  cursor: pointer;
  color: var(--white);
  transition: border-color .2s;
}
.viz-center-pill:hover { border-color: var(--accent); color: var(--white); }

.viz-heilo-icon {
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: opacity .2s;
}
.viz-center-pill:hover .viz-heilo-icon { opacity: .75; }

@media (max-width: 576px) {
  .pa-viz { height: 150px; padding: 0 16px; }
  .viz-col { height: 150px; }
  .viz-wrap::before, .viz-wrap::after { width: 60px; }
  .viz-center-pill { font-size: .65rem; padding: .65rem 1.2rem; gap: .5rem; }
  .viz-heilo-icon { font-size: 1rem; }
}

/* ---- Logo marquee strip ---- */
.logo-strip {
  padding: 20px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logo-strip-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: .6rem;
}
.logo-marquee-track {
  display: flex;
  overflow: hidden;
}
.logo-marquee {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: marquee 36s linear infinite;
  width: max-content;
  flex-shrink: 0;
}
.logo-marquee:hover { animation-play-state: paused; }
.logo-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
  letter-spacing: -.01em;
  transition: color .2s;
}
.logo-name:hover { color: var(--text-muted); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- How it works steps ---- */
.step-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: .75rem;
  transition: border-color .2s;
}
.step-card:hover { border-color: var(--border-md); }
.step-num {
  flex-shrink: 0;
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(34, 211, 238, .18);
  letter-spacing: -0.04em;
  min-width: 70px;
  text-align: center;
}
.step-body h6 { font-weight: 700; font-size: 1.05rem; color: var(--white); margin-bottom: .4rem; }
.step-body p  { font-size: .95rem; color: var(--text-muted); margin: 0; line-height: 1.75; }

/* ---- Live Assist mode panel ---- */
.live-assist-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background:
    radial-gradient(circle at 78% 18%, rgba(34, 211, 238, .18), transparent 34%),
    linear-gradient(135deg, rgba(10, 18, 30, .96), rgba(13, 13, 18, .98));
  border: 1px solid rgba(34, 211, 238, .24);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 42px rgba(34, 211, 238, .08), var(--shadow);
}
.live-assist-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 211, 238, .08), transparent 42%, rgba(59, 130, 246, .08));
  pointer-events: none;
}
.live-assist-panel > * {
  position: relative;
  z-index: 1;
}
.live-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem;
  margin-bottom: 1.75rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-pill);
}
.live-mode-switch span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 34px;
  padding: .45rem .9rem;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 800;
}
.live-mode-switch span.active {
  color: #001116;
  background: var(--accent);
  box-shadow: 0 0 26px rgba(34, 211, 238, .28);
}
.live-mode-arrow {
  color: var(--text-dim);
  font-size: 1.25rem;
}
.live-assist-panel h3 {
  color: var(--white);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 1rem;
}
.live-assist-panel p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}
.live-assist-window {
  padding: 1rem;
  background: rgba(4, 9, 16, .76);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
}
.live-window-bar {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding-bottom: .85rem;
  margin-bottom: .85rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.live-window-bar strong {
  color: var(--white);
  font-size: .82rem;
}
.live-window-bar small {
  margin-left: auto;
  color: var(--text-dim);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, .62);
}
.live-chat-line {
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .88rem;
  line-height: 1.6;
}
.live-chat-line + .live-chat-line {
  margin-top: .75rem;
}
.live-chat-line span {
  display: block;
  margin-bottom: .35rem;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.live-chat-line.ask {
  max-width: 86%;
  margin-left: auto;
  background: rgba(255, 255, 255, .06);
  border-radius: 6px;
}
.live-chat-line.answer {
  background: rgba(34, 211, 238, .09);
  border: 1px solid rgba(34, 211, 238, .16);
  border-radius: 6px;
}
.live-voice-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1rem;
  padding: .85rem;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
}
.live-mic-button {
  width: 58px;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .24), transparent 34%),
    linear-gradient(135deg, #ff4d57, #c81e3a);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(255, 77, 87, .34);
  cursor: default;
}
.live-mic-button i {
  font-size: 1.35rem;
}
.live-voice-row strong {
  display: block;
  color: var(--white);
  font-size: .82rem;
  line-height: 1.25;
}
.live-voice-row span {
  display: block;
  margin-top: .18rem;
  color: var(--text-muted);
  font-size: .78rem;
  line-height: 1.45;
}
.live-assist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.live-assist-tags span {
  padding: .35rem .65rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-pill);
  font-size: .7rem;
  font-weight: 800;
}
@media (max-width: 576px) {
  .live-assist-panel {
    padding: 1.1rem;
  }
  .live-mode-switch {
    display: grid;
    width: 100%;
    justify-items: stretch;
  }
  .live-mode-switch span {
    justify-content: center;
  }
  .live-mode-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
  .live-chat-line.ask {
    max-width: 100%;
  }
  .live-window-bar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .live-window-bar small {
    width: 100%;
    margin-left: 1.3rem;
  }
}

/* ---- Feature cards ---- */
.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--border-md); }
.feature-ghost-icon {
  position: absolute;
  bottom: -18px;
  right: -10px;
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  opacity: .06;
  pointer-events: none;
}
.feature-card h5 { font-weight: 700; font-size: .975rem; color: var(--white); margin-bottom: .45rem; }
.feature-card p  { font-size: .88rem; color: var(--text-muted); margin: 0; line-height: 1.68; }

/* ---- Stats ---- */
.stat-item { text-align: center; padding: 1.5rem; }
.stat-num  {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.05em;
  line-height: 1;
  display: inline;
}
.stat-unit { font-size: clamp(1.5rem, 3.5vw, 2.5rem); color: var(--accent); font-weight: 800; }
.stat-desc { font-size: .82rem; color: var(--text-muted); margin-top: .6rem; font-weight: 500; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}
.testimonial-card .stars     { color: #fbbf24; font-size: .85rem; letter-spacing: .1rem; margin-bottom: .85rem; }
.testimonial-card blockquote { font-size: .93rem; line-height: 1.72; color: var(--text); margin: 0 0 1.25rem; font-style: italic; }
.testimonial-card .t-author  { font-size: .82rem; font-weight: 700; color: var(--white); }
.testimonial-card .t-role    { font-size: .78rem; color: var(--text-muted); }

/* ---- Pricing ---- */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  height: 100%;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 48px var(--accent-glow);
}
.pricing-card .price-tag    { font-size: 3rem; font-weight: 800; color: var(--white); letter-spacing: -.05em; line-height: 1; }
.pricing-card .price-period { font-size: .88rem; color: var(--text-muted); margin-left: .25rem; }
.pricing-card .price-desc   { font-size: .875rem; color: var(--text-muted); margin: .6rem 0 1.75rem; line-height: 1.6; }
.pricing-card ul  { list-style: none; padding: 0; margin: 0 0 2rem; }
.pricing-card li  {
  font-size: .875rem;
  padding: .5rem 0;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  border-bottom: 1px solid var(--border);
}
.pricing-card li:last-child { border-bottom: none; }
.pricing-card .check { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.pricing-note {
  max-width: 760px;
  margin-top: 2rem;
  color: var(--text-dim);
  font-size: .85rem;
  line-height: 1.65;
}

/* ---- CTA banner ---- */
.cta-banner {
  padding: 112px 0;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 360px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.035em;
  margin-bottom: .75rem;
  position: relative;
}
.cta-banner p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 480px;
  margin: 0 auto 2.25rem;
  line-height: 1.75;
  position: relative;
}

/* ---- FAQ ---- */
.pa-faq .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  margin-bottom: .5rem;
  overflow: hidden;
}
.pa-faq .accordion-button {
  background: var(--bg-card);
  color: var(--white);
  font-weight: 600;
  font-size: .975rem;
  box-shadow: none !important;
}
.pa-faq .accordion-button:not(.collapsed) {
  background: var(--bg-card-2);
  color: var(--accent);
}
.pa-faq .accordion-button::after { filter: invert(1) opacity(.4); }
.pa-faq .accordion-body {
  background: var(--bg-card-2);
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-top: .5rem;
}

/* ---- Contact form ---- */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.form-label   { font-weight: 600; font-size: .875rem; color: var(--text); margin-bottom: .35rem; }
.form-control {
  background: var(--bg);
  border: 1px solid var(--border-md);
  color: var(--white);
  border-radius: var(--radius-xs);
  font-size: .93rem;
}
.form-control::placeholder { color: var(--text-dim); }
.form-control:focus {
  background: var(--bg);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ---- Footer ---- */
.pa-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.4px;
}
.footer-brand span { color: var(--accent); }
.footer-tagline { font-size: .82rem; color: var(--text-dim); margin-top: .4rem; }
.footer-heading {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .8rem;
}
.footer-link {
  display: block;
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: .45rem;
  transition: color .15s;
}
.footer-link:hover { color: var(--white); }
.footer-copy {
  font-size: .75rem;
  color: var(--text-dim);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ---- Utilities ---- */
.text-accent  { color: var(--accent)      !important; }
.text-muted2  { color: var(--text-muted)  !important; }
.text-dim     { color: var(--text-dim)    !important; }
.bg-card      { background: var(--bg-card) !important; }
.fw-800       { font-weight: 800           !important; }
.border-sep   { border-color: var(--border) !important; }

/* ---- Doc pages (privacy / terms) ---- */
.doc-wrap { max-width: 780px; margin: 4rem auto 5rem; padding: 0 1rem; }
.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: 14px;
  padding: 3rem;
}
.doc-card h1 { font-size: 1.85rem; font-weight: 800; color: var(--white); margin-bottom: .35rem; }
.doc-card .doc-updated { font-size: .8rem; color: var(--text-dim); margin-bottom: 2.5rem; display: block; }
.doc-card h2 { font-size: 1rem; font-weight: 700; color: var(--white); margin: 2rem 0 .6rem; }
.doc-card p, .doc-card li { font-size: .9rem; line-height: 1.8; color: var(--text-muted); }
.doc-card a { color: var(--accent); text-decoration: none; }
.doc-card a:hover { text-decoration: underline; }
@media (max-width: 576px) { .doc-card { padding: 1.75rem 1.25rem; } }

/* ---- Auth pages (login / pin / magic) ---- */
.auth-wrap { max-width: 440px; margin: 8rem auto; padding: 0 1rem; }
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
}
.auth-card .form-label { font-size: .875rem; font-weight: 600; color: var(--text); }
.auth-card .form-control,
.auth-card .form-select {
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--border-md);
  color: var(--white);
  border-radius: 8px;
  padding: .65rem .85rem;
  transition: border-color .15s, box-shadow .15s;
}
.auth-card .form-control:focus,
.auth-card .form-select:focus {
  background: rgba(255,255,255,.06);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,211,238,.12);
  color: var(--white);
  outline: none;
}
.auth-card .form-control::placeholder { color: rgba(255,255,255,.25); }
.auth-card .form-select option { background: var(--bg-card); color: var(--white); }
.auth-card .form-text { font-size: .78rem; color: var(--text-dim); }
.btn-auth {
  background: var(--accent);
  color: var(--bg);
  border: none;
  width: 100%;
  padding: .75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity .15s, box-shadow .15s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-decoration: none;
}
.btn-auth:hover { opacity: .88; color: var(--bg); box-shadow: 0 6px 24px var(--accent-glow); }
.btn-auth-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-md);
  width: 100%;
  padding: .65rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .875rem;
  transition: border-color .15s, color .15s;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
}
.btn-auth-ghost:hover { border-color: var(--accent); color: var(--white); }
.auth-error {
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .875rem;
  color: #f87171;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.auth-debug {
  background: rgba(251,191,36,.08);
  border: 1px solid rgba(251,191,36,.3);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .875rem;
  color: #fbbf24;
  margin-bottom: 1.25rem;
}
.auth-divider {
  text-align: center;
  position: relative;
  font-size: .75rem;
  color: var(--text-dim);
  margin: 1.25rem 0;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 1.5rem);
  height: 1px;
  background: var(--border-md);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
.pin-input {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: .4rem;
  font-variant-numeric: tabular-nums;
}
.auth-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1.5rem;
  font-size: .75rem;
  color: var(--text-dim);
}
.auth-trust span { display: flex; align-items: center; gap: .3rem; }
