/* ============================================================
   CallYeah — Marketing Site
   Brand colors:
     --ink:    #0B0E17  (deep near-black)
     --slate:  #323742  (dark slate)
     --paper:  #F2F5F5  (cool off-white)
     --orange: #EE980C  (primary accent / signal color)
     --blue:   #47AFFF  (secondary accent)
     --green:  #AAE12A  (tertiary accent)
   Typography: Plus Jakarta Sans (headings + body)
   ============================================================ */

/* ----- DARK (default / night) theme tokens ----- */
:root,
:root[data-theme="dark"] {
  --ink: #0B0E17;
  --ink-2: #11151f;
  --ink-3: #161b28;
  --slate: #323742;
  --slate-2: #4a5160;
  --paper: #F2F5F5;
  --paper-dim: #cdd3d6;
  --orange: #EE980C;
  --orange-hi: #ffae28;
  --blue: #47AFFF;
  --green: #AAE12A;

  --bg: var(--ink);
  --surface: rgba(242, 245, 245, 0.025);
  --surface-2: rgba(242, 245, 245, 0.015);
  --text: var(--paper);
  --text-dim: var(--paper-dim);
  --line: rgba(242, 245, 245, 0.08);
  --line-strong: rgba(242, 245, 245, 0.16);
  --nav-bg: rgba(11, 14, 23, 0.72);
  --card-bg: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  --feature-bg: linear-gradient(180deg, rgba(242, 245, 245, 0.025), rgba(242, 245, 245, 0.005));
  --glow-1: rgba(238, 152, 12, 0.10);
  --glow-2: rgba(71, 175, 255, 0.08);
  --on-orange: var(--ink);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-glow: 0 0 0 1px rgba(238, 152, 12, 0.18),
                 0 18px 60px -20px rgba(238, 152, 12, 0.45);
  --shadow-card: 0 1px 0 0 rgba(255, 255, 255, 0.04) inset,
                 0 30px 60px -30px rgba(0, 0, 0, 0.6);

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- LIGHT (day) theme tokens ----- */
:root[data-theme="light"] {
  --ink: #0B0E17;
  --ink-2: #ffffff;
  --ink-3: #ffffff;
  --paper: #0B0E17;       /* text → dark ink */
  --paper-dim: #4a5160;
  --orange: #d97800;      /* slightly deeper orange so it contrasts on paper */
  --orange-hi: #EE980C;

  --bg: #F2F5F5;
  --surface: rgba(11, 14, 23, 0.03);
  --surface-2: rgba(11, 14, 23, 0.02);
  --text: #0B0E17;
  --text-dim: #4a5160;
  --line: rgba(11, 14, 23, 0.10);
  --line-strong: rgba(11, 14, 23, 0.18);
  --nav-bg: rgba(255, 255, 255, 0.75);
  --card-bg: linear-gradient(180deg, #ffffff, #f7fafa);
  --feature-bg: linear-gradient(180deg, rgba(11, 14, 23, 0.025), rgba(11, 14, 23, 0.005));
  --glow-1: rgba(238, 152, 12, 0.12);
  --glow-2: rgba(71, 175, 255, 0.10);
  --on-orange: #ffffff;

  --shadow-glow: 0 0 0 1px rgba(217, 120, 0, 0.22),
                 0 18px 60px -20px rgba(217, 120, 0, 0.30);
  --shadow-card: 0 1px 0 0 rgba(255, 255, 255, 0.8) inset,
                 0 20px 50px -25px rgba(11, 14, 23, 0.18);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* subtle background glows */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% -10%, var(--glow-1), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 110%, var(--glow-2), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(238, 152, 12, 0.18);
  flex-shrink: 0;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 16px;
}
h1 { font-size: clamp(32px, 6.5vw, 76px); letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(26px, 4vw, 48px); letter-spacing: -0.025em; }
h3 { font-size: clamp(17px, 1.6vw, 22px); }
p  { color: var(--text-dim); }

.lede {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 56ch;
}

.gradient-text { color: var(--orange); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--orange);
  color: var(--on-orange);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: var(--orange-hi); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--line-strong); background: var(--surface); }

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; color: var(--text); }
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}
/* Show light-on-dark logo (cream wordmark) in dark theme;
   show dark-on-light logo (navy wordmark) in light theme. */
:root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="light"] .brand-logo-dark { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 32px);
}
.nav-links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* theme toggle button */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  display: inline-grid; place-items: center;
  position: relative;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--surface); }
.theme-toggle svg { transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.theme-toggle .icon-sun  { position: absolute; }
.theme-toggle .icon-moon { position: absolute; }
:root[data-theme="dark"]  .theme-toggle .icon-sun  { opacity: 1; transform: scale(1) rotate(0); }
:root[data-theme="dark"]  .theme-toggle .icon-moon { opacity: 0; transform: scale(0.6) rotate(-90deg); }
:root[data-theme="light"] .theme-toggle .icon-sun  { opacity: 0; transform: scale(0.6) rotate(90deg); }
:root[data-theme="light"] .theme-toggle .icon-moon { opacity: 1; transform: scale(1) rotate(0); }

/* hamburger */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  flex-shrink: 0;
}
.nav-burger span {
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu drawer */
.mobile-menu {
  display: none;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  padding-bottom: 18px;
}
.mobile-menu a {
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .mobile-cta {
  margin-top: 10px;
  width: 100%;
  padding: 14px 22px;
  border-bottom: none;
  justify-content: center;
}

/* Tablet & mobile nav adjustments */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .btn-signin { display: none; }
}
@media (max-width: 720px) {
  .nav-inner { height: 64px; gap: 8px; }
  .brand-logo { height: 32px; }
  .btn-demo { display: none; }
  .nav-burger { display: inline-flex; }
}
/* show mobile menu only when expanded (nav-burger visible) */
@media (max-width: 720px) {
  .mobile-menu:not([hidden]) { display: block; }
}
.mobile-menu[hidden] { display: none !important; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 10vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 .accent {
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-cta .btn { flex: 0 1 auto; }

@media (max-width: 480px) {
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: clamp(18px, 4vw, 28px);
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-stat .num .pct { color: var(--orange); }
.hero-stat .label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  aspect-ratio: 5 / 4;
  background: var(--ink-2);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 14, 23, 0.6) 100%);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  background: rgba(11, 14, 23, 0.72);
  border: 1px solid rgba(242, 245, 245, 0.16);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  color: #F2F5F5;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  position: relative;
  flex-shrink: 0;
}
.live-dot::after {
  content: "";
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0.5;
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* logo strip */
.logo-strip {
  padding: 24px 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.logo-strip .container { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; text-align: center; }
.logo-strip span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.logo-strip .logos {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 44px);
  flex-wrap: wrap;
  opacity: 0.85;
}
.logo-strip .logos span {
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  opacity: 0.7;
}

/* ---------- generic section ---------- */
section { padding: clamp(60px, 10vw, 120px) 0; position: relative; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 6vw, 64px);
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { margin: 12px auto 0; max-width: 60ch; }

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.feature {
  position: relative;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-md);
  background: var(--feature-bg);
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  overflow: hidden;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(238, 152, 12, 0.10);
  color: var(--orange);
  margin-bottom: 16px;
  border: 1px solid rgba(238, 152, 12, 0.25);
}
.feature h3 { margin-bottom: 8px; font-weight: 600; font-size: clamp(16.5px, 1.4vw, 18px); letter-spacing: -0.01em; }
.feature p  { margin: 0; font-size: 14.5px; line-height: 1.55; }

.feature.featured {
  background: linear-gradient(160deg, rgba(238, 152, 12, 0.10), rgba(238, 152, 12, 0.02) 60%);
  border-color: rgba(238, 152, 12, 0.30);
}

/* ---------- how it works ---------- */
.flow {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }

.flow-steps { display: flex; flex-direction: column; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: clamp(16px, 2.4vw, 20px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
  color: var(--ink);
  background: linear-gradient(160deg, var(--orange), var(--orange-hi));
  letter-spacing: -0.02em;
}
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { margin: 0; font-size: 14.5px; }

/* mock call card */
.call-card {
  position: relative;
  padding: clamp(16px, 2.6vw, 22px);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.call-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  gap: 10px;
}
.call-card-head .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.call-card-head .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2480d6);
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  color: #ffffff;
  flex-shrink: 0;
}
.call-card-head .name { font-weight: 600; font-size: 14px; color: var(--text); }
.call-card-head .role { font-size: 12px; color: var(--text-dim); }
.call-card-head .live {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: #36a818;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
:root[data-theme="dark"] .call-card-head .live { color: var(--green); }
.call-card-head .live .live-dot { background: var(--green); }

.msg { display: flex; gap: 10px; margin-bottom: 10px; }
.msg.bot { justify-content: flex-start; }
.msg.user { justify-content: flex-end; }
.bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 86%;
}
.msg.bot .bubble {
  background: rgba(238, 152, 12, 0.12);
  border: 1px solid rgba(238, 152, 12, 0.28);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.msg.user .bubble {
  background: rgba(71, 175, 255, 0.14);
  border: 1px solid rgba(71, 175, 255, 0.30);
  color: var(--text);
  border-bottom-right-radius: 4px;
}

.call-card-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sentiment {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
}
.sentiment .bar {
  width: clamp(80px, 18vw, 110px); height: 6px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.sentiment .fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: inherit;
}

.waveform {
  display: flex; align-items: flex-end; gap: 3px;
  height: 22px;
}
.waveform i {
  width: 3px;
  background: var(--orange);
  border-radius: 2px;
  display: block;
  animation: wave 1.2s var(--ease) infinite;
}
.waveform i:nth-child(1){ height: 30%; animation-delay: 0s; }
.waveform i:nth-child(2){ height: 70%; animation-delay: .1s; }
.waveform i:nth-child(3){ height: 50%; animation-delay: .2s; }
.waveform i:nth-child(4){ height: 100%; animation-delay: .3s; }
.waveform i:nth-child(5){ height: 65%; animation-delay: .4s; }
.waveform i:nth-child(6){ height: 40%; animation-delay: .5s; }
.waveform i:nth-child(7){ height: 25%; animation-delay: .6s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}

/* ---------- use cases ---------- */
.usecases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1000px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .usecases { grid-template-columns: 1fr; } }

.usecase {
  padding: clamp(20px, 2.6vw, 24px);
  border-radius: var(--radius-md);
  background: var(--feature-bg);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 180px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.usecase:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.usecase .tag {
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}
.usecase h3 { font-size: 17px; margin: 0; }
.usecase p  { margin: 0; font-size: 14px; }

/* ---------- benefits ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 820px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  padding: clamp(24px, 3.4vw, 36px) clamp(20px, 2.6vw, 28px);
  border-right: 1px solid var(--line);
  background: var(--surface-2);
}
.benefit:last-child { border-right: none; }
@media (max-width: 820px) {
  .benefit { border-right: none; border-bottom: 1px solid var(--line); }
  .benefit:last-child { border-bottom: none; }
}
.benefit .stat {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(140deg, var(--orange), var(--orange-hi));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.benefit p { font-size: 14.5px; margin: 0; }

/* ---------- final cta ---------- */
.cta {
  position: relative;
  padding: clamp(40px, 8vw, 96px) clamp(24px, 6vw, 96px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(238, 152, 12, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(71, 175, 255, 0.16), transparent 60%),
    var(--card-bg);
  border: 1px solid var(--line-strong);
  text-align: center;
  overflow: hidden;
}
.cta h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta p  { max-width: 56ch; margin: 0 auto 24px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-fineprint {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
@media (max-width: 480px) {
  .cta-actions .btn { flex: 1 1 100%; }
}

/* ---------- footer ---------- */
footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
  font-weight: 600;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { font-size: 14px; color: var(--text-dim); transition: color 0.2s var(--ease); }
.foot-grid a:hover { color: var(--text); }
.foot-tag {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 32ch;
  margin-top: 14px;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom .procogia { display: inline-flex; align-items: center; gap: 8px; }
.foot-bottom .procogia .dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.foot-bottom .procogia strong { color: var(--text); font-weight: 600; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .waveform i, .live-dot::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* how-it-works section subtle band */
.how { background: linear-gradient(180deg, transparent, var(--surface-2) 30%, var(--surface-2) 70%, transparent); }
