/* =============================================================================
   SpeakOh — Marketing site design system
   Light + green brand, matched to the product app tokens.
   Sections: tokens · reset · typography · layout · buttons · header ·
   hero · components · mockups · footer · motion · responsive
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. Design tokens  (mirrors apps/web/src/index.css)
   -------------------------------------------------------------------------- */
:root {
  /* Brand — the product's green */
  --brand-50: #ecfdf5;
  --brand-100: #d1fae5;
  --brand-200: #a7f3d0;
  --brand-300: #6ee7b7;
  --brand-500: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-800: #065f46;
  --brand-900: #064e3b;
  --brand-foreground: #ffffff;

  /* Surfaces, ink, borders */
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --surface-sunken: #f1f5f9;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Semantic score scale — fixed meaning */
  --score-good: #059669;
  --score-warn: #f59e0b;
  --score-bad: #ef4444;

  /* Accent gradient */
  --grad-brand: linear-gradient(120deg, #10b981 0%, #059669 55%, #047857 100%);
  --grad-ink: linear-gradient(120deg, #0f172a 0%, #1e293b 100%);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Shadows — soft, elevation-based */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px -18px rgba(15, 23, 42, 0.22);
  --shadow-brand: 0 18px 40px -14px rgba(5, 150, 105, 0.45);

  /* Type */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-weight: 800;
}

.display {
  font-size: clamp(2.6rem, 6.2vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
}

.h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--muted);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--brand-600);
  box-shadow: 0 0 0 4px var(--brand-100);
}

.eyebrow--plain::before {
  display: none;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-muted {
  color: var(--muted);
}

/* ----------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  max-width: 820px;
}

.section {
  padding-block: var(--section-y);
}

.section--muted {
  background: var(--surface-muted);
}

.section--sunken {
  background: var(--surface-sunken);
}

.section-head {
  max-width: 720px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head .lead {
  margin-top: 1.1rem;
}

.stack-sm > * + * {
  margin-top: 0.75rem;
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
}

/* ----------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 650;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
}

.btn-primary {
  background: var(--brand-600);
  color: var(--brand-foreground);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -14px rgba(5, 150, 105, 0.55);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--brand-300);
  background: var(--brand-50);
  transform: translateY(-2px);
  color: var(--brand-800);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding-inline: 0.9rem;
}

.btn-ghost:hover {
  color: var(--brand-700);
}

.btn-lg {
  padding: 1.05rem 1.9rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ----------------------------------------------------------------------------
   6. Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}

.brand__name {
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand__tag {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav__link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--ink-soft);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav__link:hover {
  color: var(--brand-700);
  background: var(--brand-50);
}

.nav__link[aria-current='page'] {
  color: var(--brand-700);
  background: var(--brand-50);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* CTA that appears only inside the open mobile menu */
.nav__mobile-cta {
  display: none;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink);
}

.nav__toggle .icon-close {
  display: none;
}

body.nav-open .nav__toggle .icon-open {
  display: none;
}

body.nav-open .nav__toggle .icon-close {
  display: block;
}

/* ----------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(16, 185, 129, 0.16), transparent 60%),
    radial-gradient(45% 40% at 8% 30%, rgba(5, 150, 105, 0.1), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, var(--surface-muted) 100%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 50% 0%, black 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, black 25%, transparent 72%);
  opacity: 0.5;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero__title {
  margin-top: 1.4rem;
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 34ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__micro {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero__micro svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--brand-600);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.pill-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}

/* ----------------------------------------------------------------------------
   8. Stats band
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat {
  background: var(--surface);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  text-align: center;
}

.stat__num {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------------------------------------------------------
   9. Cards & components
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  margin-bottom: 1.25rem;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.card__body {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Pain-point card variant */
.pain-card {
  position: relative;
}

.pain-card__q {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.pain-card__q::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--score-bad);
  opacity: 0.85;
  margin-bottom: 1rem;
}

.pain-card__body {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.97rem;
}

/* Check list */
.checklist {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.checklist .check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.checklist .check svg {
  width: 14px;
  height: 14px;
  color: var(--brand-700);
}

/* Feature split rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: clamp(4rem, 7vw, 6.5rem);
}

.feature-row--reverse .feature-row__media {
  order: -1;
}

.tag-audience {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  display: inline-block;
}

.feature-row__title {
  margin-top: 1rem;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.025em;
}

.feature-row__body {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ----------------------------------------------------------------------------
   10. Product mockups (light theme)
   -------------------------------------------------------------------------- */
.mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
}

.mock__dots {
  display: flex;
  gap: 6px;
}

.mock__dots span {
  width: 10px;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--border-strong);
}

.mock__crumb {
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.mock__body {
  padding: 1.4rem;
}

.mock-hero {
  position: relative;
}

.mock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.mock-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.mock-title {
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
}

.score-chip {
  flex: none;
  text-align: center;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-md);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}

.score-chip b {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.03em;
}

.score-chip span {
  font-size: 0.72rem;
  color: var(--muted);
}

.meter-row {
  margin-top: 1.15rem;
}

.meter-row + .meter-row {
  margin-top: 0.95rem;
}

.meter-row__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.meter-row__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.meter-row__val {
  font-size: 0.8rem;
  font-weight: 700;
}

.meter {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--surface-sunken);
  overflow: hidden;
}

.meter__fill {
  height: 100%;
  border-radius: var(--r-pill);
}

.is-good {
  color: var(--score-good);
}
.is-good .meter__fill,
.meter__fill.is-good {
  background: var(--score-good);
}
.is-warn {
  color: var(--score-warn);
}
.is-warn .meter__fill,
.meter__fill.is-warn {
  background: var(--score-warn);
}
.is-bad {
  color: var(--score-bad);
}
.is-bad .meter__fill,
.meter__fill.is-bad {
  background: var(--score-bad);
}

.coach-note {
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-left: 3px solid var(--brand-600);
}

.coach-note__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.coach-note__label svg {
  width: 14px;
  height: 14px;
}

.coach-note__text {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* floating stat badge over a mockup */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.float-badge__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--brand-600);
  color: #fff;
}

.float-badge__icon svg {
  width: 18px;
  height: 18px;
}

.float-badge small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.float-badge b {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.float-badge--tr {
  top: -18px;
  right: -14px;
}

.float-badge--bl {
  bottom: -18px;
  left: -14px;
}

/* Chat mockup */
.chat {
  display: grid;
  gap: 0.85rem;
}

.chat__msg {
  display: flex;
  gap: 0.7rem;
  max-width: 90%;
}

.chat__msg--me {
  margin-left: auto;
  flex-direction: row-reverse;
}

.chat__avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.chat__avatar--me {
  background: var(--surface-sunken);
  color: var(--ink-soft);
}

.chat__avatar--ai {
  background: var(--brand-600);
  color: #fff;
}

.chat__bubble {
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat__msg--me .chat__bubble {
  background: var(--brand-600);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat__msg--ai .chat__bubble {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  border-bottom-left-radius: 4px;
}

/* Team performance mockup */
.team-list {
  display: grid;
  gap: 0.7rem;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}

.team-row__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}

.team-row__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.team-row__score {
  margin-left: auto;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.team-alert {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.88rem;
  line-height: 1.5;
}

.team-alert svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

/* ----------------------------------------------------------------------------
   11. Steps / how it works
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}

.step {
  position: relative;
}

.step__num {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-600);
}

.step__badge {
  width: 60px;
  height: 60px;
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
  margin: 0.75rem 0 1.25rem;
}

.step__badge svg {
  width: 28px;
  height: 28px;
}

.step__title {
  font-size: 1.2rem;
  font-weight: 700;
}

.step__body {
  margin-top: 0.55rem;
  color: var(--muted);
}

.step-connector {
  position: relative;
}

.step-connector:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 60px;
  right: -1.25rem;
  width: 2.5rem;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--brand-200) 0 6px,
    transparent 6px 12px
  );
}

/* ----------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  break-inside: avoid;
}

.quote-card__stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}

.quote-card__stars svg {
  width: 16px;
  height: 16px;
}

.quote-card__text {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 500;
}

.quote-card__who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--grad-brand);
  color: #fff;
}

.quote-card__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.quote-card__role {
  font-size: 0.85rem;
  color: var(--muted);
}

.masonry {
  columns: 2;
  column-gap: clamp(1.25rem, 2.5vw, 2rem);
}

.masonry > * {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

/* ----------------------------------------------------------------------------
   13. Pricing
   -------------------------------------------------------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: start;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.price-card--featured {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-8px);
}

.price-card--featured::before {
  content: 'Most popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-brand);
}

.price-card__name {
  font-size: 1.15rem;
  font-weight: 750;
}

.price-card__desc {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 2.8em;
}

.price-card__price {
  margin: 1.3rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-card__amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-card__per {
  color: var(--muted);
  font-weight: 550;
  font-size: 0.95rem;
}

.price-card .checklist {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  flex: 1;
}

.price-card .checklist li {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem;
  background: var(--surface-sunken);
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  margin-top: 1.75rem;
}

.billing-toggle button {
  border: 0;
  background: transparent;
  padding: 0.5rem 1.1rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.billing-toggle button.is-active {
  background: var(--surface);
  color: var(--brand-700);
  box-shadow: var(--shadow-xs);
}

.billing-toggle .save-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-pill);
}

/* ----------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0.85rem;
  max-width: 780px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item[open] {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  font-weight: 650;
  font-size: 1.02rem;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q .chev {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--brand-600);
  transition: transform 0.25s ease;
}

.faq__item[open] .faq__q .chev {
  transform: rotate(180deg);
}

.faq__a {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ----------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  background: var(--grad-ink);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(50% 60% at 20% 10%, rgba(16, 185, 129, 0.35), transparent 60%),
    radial-gradient(45% 55% at 85% 90%, rgba(5, 150, 105, 0.4), transparent 60%);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
}

.cta-band .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.cta-band__actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band__micro {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ----------------------------------------------------------------------------
   16. Logo strip / trust
   -------------------------------------------------------------------------- */
.trust {
  text-align: center;
}

.trust__label {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.trust__row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  color: var(--muted-2);
}

.trust__row span {
  font-weight: 750;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust__row svg {
  width: 22px;
  height: 22px;
}

/* ----------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0b1220;
  color: #cbd5e1;
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}

.footer-brand .brand__name {
  color: #fff;
}

.footer-brand p {
  margin-top: 1rem;
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 34ch;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-col ul {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--brand-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  transition: all 0.18s ease;
}

.footer-social a:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ----------------------------------------------------------------------------
   17b. Product tour — faithful frames of the real SpeakOh app
   -------------------------------------------------------------------------- */
.tour {
  position: relative;
}

.tour__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.4rem;
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}

.tour__tab {
  border: 0;
  background: transparent;
  padding: 0.55rem 1.15rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.tour__tab.is-active {
  background: var(--surface);
  color: var(--brand-700);
  box-shadow: var(--shadow-xs);
}

.tour__panels {
  margin-top: 2rem;
  position: relative;
}

.tour__panel {
  display: none;
}

.tour__panel.is-active {
  display: block;
  animation: fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Window chrome */
.app-shot {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.app-shot__chrome {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}

.app-shot__chrome .dots {
  display: flex;
  gap: 6px;
}

.app-shot__chrome .dots span {
  width: 11px;
  height: 11px;
  border-radius: var(--r-pill);
  background: var(--border-strong);
}

.app-shot__url {
  flex: 1;
  max-width: 340px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
}

.app-shot__url svg {
  width: 12px;
  height: 12px;
  color: var(--brand-600);
}

/* App UI: sidebar + main */
.app-ui {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 460px;
  background: var(--surface-muted);
}

.app-ui__side {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.1rem 0.85rem;
}

.app-ui__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-ui__brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.app-ui__brand .oh {
  color: var(--brand-600);
}

.app-ui__nav {
  display: grid;
  gap: 0.2rem;
}

.app-ui__nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--muted);
}

.app-ui__nav a svg {
  width: 18px;
  height: 18px;
}

.app-ui__nav a.is-active {
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 650;
}

.app-ui__main {
  padding: 1.4rem 1.5rem;
  overflow: hidden;
}

.app-ui__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.4rem;
}

.app-ui__topbar h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.app-ui__search {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.app-ui__search svg {
  width: 14px;
  height: 14px;
}

.app-ui__user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.app-ui__user .who {
  text-align: right;
  line-height: 1.2;
}

.app-ui__user .who b {
  font-weight: 650;
}

.app-ui__user .who span {
  color: var(--muted);
  font-size: 0.72rem;
}

.app-ui__user .ava {
  width: 30px;
  height: 30px;
  border-radius: var(--r-pill);
  background: var(--brand-600);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.72rem;
}

.app-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.app-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

/* KPI tiles */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
}

.kpi small {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.kpi b {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.15rem 0;
}

.kpi span {
  font-size: 0.72rem;
  color: var(--muted-2);
}

.kpi--warn b {
  color: var(--score-warn);
}
.kpi--good b {
  color: var(--score-good);
}

/* Panel with chart */
.app-panel {
  margin-top: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
}

.app-panel__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.8rem;
}

.spark {
  width: 100%;
  height: 120px;
  display: block;
}

/* Call overview frame */
.call-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.2rem 0;
}

.call-meta > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
}

.call-meta small {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}

.call-meta b {
  display: block;
  font-weight: 650;
  margin-top: 0.25rem;
  font-size: 0.98rem;
}

.app-tabs {
  display: flex;
  gap: 1.2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.2rem;
}

.app-tabs span {
  padding-bottom: 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
}

.app-tabs span.on {
  color: var(--brand-700);
}

.app-tabs span.on::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand-600);
  border-radius: var(--r-pill);
}

.app-tabs .badge {
  font-size: 0.7rem;
  color: var(--muted-2);
  margin-left: 0.25rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.3rem;
}

.donut {
  width: 120px;
  height: 120px;
  flex: none;
}

.donut__track {
  fill: none;
  stroke: var(--surface-sunken);
  stroke-width: 10;
}

.donut__val {
  fill: none;
  stroke: var(--score-warn);
  stroke-width: 10;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
}

.donut__num {
  font-size: 26px;
  font-weight: 800;
  fill: var(--ink);
}

.donut__den {
  font-size: 9px;
  fill: var(--muted);
  font-weight: 600;
}

.donut__label {
  font-size: 8.5px;
  fill: var(--muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.overview-sum h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.overview-sum p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.sw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}

.sw-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
}

.sw-card h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.7rem;
}

.sw-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 550;
  padding: 0.22rem 0;
}

.sw-card li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
}

.sw-card--good li::before {
  background: var(--score-good);
}

.sw-card--improve li::before {
  background: var(--score-warn);
}

/* Calls table frame */
.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.app-table thead th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.app-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.app-table tr:last-child td {
  border-bottom: 0;
}

.app-table .call-name {
  font-weight: 650;
  color: var(--ink);
}

.app-table .call-org {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-2);
  font-weight: 500;
}

.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 650;
}

.pill-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: currentColor;
}

.pill-status--done {
  background: var(--brand-50);
  color: var(--brand-700);
}

.pill-status--run {
  background: #fffbeb;
  color: #b45309;
}

.app-table .score {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-table .card-panel-cell {
  color: var(--muted);
}

.tour-frame-caption {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Team dashboard frame */
.team-split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.rep-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 168px;
  padding-top: 0.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.rep-bars::before,
.rep-bars::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed var(--border);
}

.rep-bars::before {
  top: 33%;
}
.rep-bars::after {
  top: 66%;
}

.rep-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}

.rep-bar__val {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.rep-bar__col {
  width: 60%;
  max-width: 30px;
  border-radius: 5px 5px 0 0;
}

.rep-bar__col.is-good {
  background: var(--score-good);
}
.rep-bar__col.is-warn {
  background: var(--score-warn);
}
.rep-bar__col.is-bad {
  background: var(--score-bad);
}

.rep-bar__name {
  position: absolute;
  bottom: -1.4rem;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 550;
}

.rep-bars-wrap {
  padding-bottom: 1.4rem;
}

.donut-legend {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.donut-legend li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.donut-legend .swatch {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.donut-legend .lbl {
  color: var(--ink-soft);
}

.donut-legend .num {
  color: var(--muted);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.donut-team {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
}

.donut-team svg {
  width: 96px;
  height: 96px;
}

.donut-center-num {
  font-size: 7px;
  font-weight: 800;
  fill: var(--ink);
}

.donut-center-lbl {
  font-size: 3px;
  fill: var(--muted);
  font-weight: 600;
}

.wordcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.55rem;
  align-items: baseline;
  line-height: 1.5;
}

.wordcloud span {
  font-weight: 700;
  color: var(--muted-2);
}

.wc-1 {
  font-size: 1.5rem;
  color: var(--brand-600);
}
.wc-2 {
  font-size: 1.2rem;
  color: var(--brand-700);
}
.wc-3 {
  font-size: 1rem;
  color: var(--ink-soft);
}
.wc-4 {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .team-split {
    grid-template-columns: 1fr;
  }
  .donut-team {
    justify-items: center;
  }
}

@media (max-width: 768px) {
  .app-ui {
    grid-template-columns: 1fr;
  }
  .app-ui__side {
    display: none;
  }
  .kpi-row,
  .call-meta,
  .sw-grid {
    grid-template-columns: 1fr;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .app-shot__url {
    display: none;
  }
  .app-table thead {
    display: none;
  }
  .app-table td[data-hide] {
    display: none;
  }
}

/* ----------------------------------------------------------------------------
   18. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(16, 185, 129, 0.13), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--surface-muted));
}

.page-hero .display {
  margin-top: 1.2rem;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.page-hero .lead {
  margin: 1.3rem auto 0;
  max-width: 46ch;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand-700);
}

/* ----------------------------------------------------------------------------
   18b. Early Access modal + form
   -------------------------------------------------------------------------- */
.ea-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 5vh, 4rem) 1rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow-y: auto;
}

.ea-backdrop.is-open {
  display: flex;
  animation: ea-fade 0.2s ease;
}

@keyframes ea-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body.ea-lock {
  overflow: hidden;
}

.ea-modal {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  animation: ea-pop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ea-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ea-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.ea-close:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.ea-close svg {
  width: 18px;
  height: 18px;
}

.ea-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
}

.ea-title {
  margin-top: 0.9rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.ea-sub {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.ea-form {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.9rem;
}

.ea-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.ea-field {
  display: grid;
  gap: 0.35rem;
}

.ea-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.ea-field .req {
  color: var(--score-bad);
}

.ea-field input,
.ea-field select,
.ea-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.ea-field textarea {
  resize: vertical;
  min-height: 76px;
}

.ea-field input:focus,
.ea-field select:focus,
.ea-field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.ea-field input:user-invalid {
  border-color: var(--score-bad);
}

/* honeypot */
.ea-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ea-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.ea-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--brand-600);
}

.ea-consent a {
  color: var(--brand-700);
  text-decoration: underline;
}

.ea-submit {
  margin-top: 0.3rem;
}

.ea-note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--muted-2);
  text-align: center;
}

.ea-alert {
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  line-height: 1.45;
}

.ea-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* Success state */
.ea-success {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.ea-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand-700);
}

.ea-success__icon svg {
  width: 32px;
  height: 32px;
}

.ea-success h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ea-success p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 480px) {
  .ea-row {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------------------
   19. Motion
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay='1'] {
  transition-delay: 0.08s;
}
.reveal[data-delay='2'] {
  transition-delay: 0.16s;
}
.reveal[data-delay='3'] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ----------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */
.center {
  text-align: center;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mt-4 {
  margin-top: 4rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand-600);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus {
  left: 0;
}

/* ----------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__media {
    order: -1;
    max-width: 560px;
  }
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
  }
  .feature-row--reverse .feature-row__media,
  .feature-row__media {
    order: -1;
  }
  .cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
  .step-connector:not(:last-child)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__actions .btn-desktop {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
    margin-left: auto;
  }
  body.nav-open .nav__links {
    display: flex;
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem var(--gutter) 1.5rem;
    margin: 0;
  }
  body.nav-open .nav__links .nav__link {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }
  body.nav-open .nav__links .btn {
    margin-top: 0.5rem;
    justify-content: center;
  }
  body.nav-open .nav__links .nav__mobile-cta {
    display: block;
  }
  .stats,
  .cols-2,
  .cols-3,
  .cols-4,
  .price-grid,
  .masonry {
    grid-template-columns: 1fr;
    columns: 1;
  }
  .price-card--featured {
    transform: none;
  }
  .float-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand__tag {
    display: none;
  }
  .hero__cta .btn,
  .cta-band__actions .btn {
    width: 100%;
  }
}
