/* ============================================================
   ROCKET PIPELINE — styles.css
   Order: tokens → base → layout → components → sections
          → utilities → media queries → reduced-motion
   ============================================================ */

/* ------------------------------------------------------------
   DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  /* Palette (pulled from the logo) */
  --bg: #08090f;
  --surface: #11131c;
  --surface-2: #1a1d2a;
  --border: #262a3a;
  --text: #f5f7fb;
  --muted: #8b93a8;
  --accent: #1b7fe3;
  --accent-2: #5bb3f0;
  --success: #34d399;
  --gold: #f0c14b; /* category badge / SMS confirm accent (complements the brand blue) */
  --accent-grad: linear-gradient(135deg, #1b7fe3 0%, #5bb3f0 100%);

  /* tinted surface mixes for hierarchy */
  --border-soft: color-mix(in oklab, var(--border) 60%, transparent);
  --accent-soft: color-mix(in oklab, var(--accent) 14%, transparent);

  /* Typography */
  --font-display: "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-quote: "Fraunces", Georgia, serif;

  /* Fluid display scale (clamp) */
  --fs-hero: clamp(2.15rem, 1.1rem + 3.6vw, 4rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --fs-h3: clamp(1.18rem, 1.08rem + 0.4vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.45vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.78rem;

  /* Spacing scale (4pt) */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1200px;
  --section-pad: clamp(64px, 5vw + 40px, 128px);

  --shadow-card: 0 1px 0 0 color-mix(in oklab, #fff 4%, transparent) inset,
                 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  --shadow-lift: 0 1px 0 0 color-mix(in oklab, var(--accent) 22%, transparent) inset,
                 0 30px 60px -28px rgba(8, 25, 60, 0.85);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.55s;
}

/* ------------------------------------------------------------
   BASE
   ------------------------------------------------------------ */
*, *::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: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ambient grain-free radial wash sitting behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 80% -5%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 70%),
    radial-gradient(50% 40% at 0% 10%, color-mix(in oklab, var(--accent-2) 7%, transparent), transparent 70%);
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

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

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

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

button { font: inherit; color: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Scroll progress / trajectory bar (scroll-linked, GPU transform) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 200;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  pointer-events: none;
}

/* ------------------------------------------------------------
   LAYOUT
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

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

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head--left { text-align: left; margin-inline: 0; }

.section-title { font-size: var(--fs-h2); margin-bottom: var(--space-md); }
.section-lead { color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 60ch; }
.section-head .section-lead { margin-inline: auto; }
.section-head--left .section-lead { margin-inline: 0; }
.section-lead a { color: var(--accent-2); font-weight: 600; }
.section-lead a:hover { text-decoration: underline; }

/* eyebrow label (real text, never a placeholder) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--space-md);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2));
}

/* ------------------------------------------------------------
   COMPONENTS — buttons
   ------------------------------------------------------------ */
.btn {
  --btn-pad-y: 11px;
  --btn-pad-x: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease-out-quart), background 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  white-space: nowrap;
}
/* tactile press */
.btn:active { transform: scale(0.96); transition-duration: 0.08s; }

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 24px -10px color-mix(in oklab, var(--accent) 80%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px color-mix(in oklab, var(--accent) 90%, transparent); }

.btn-ghost {
  background: color-mix(in oklab, var(--surface-2) 60%, transparent);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: color-mix(in oklab, var(--accent-2) 55%, var(--border)); transform: translateY(-2px); }

.btn-lg { --btn-pad-y: 15px; --btn-pad-x: 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* subtle pulsing glow on the primary CTA */
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--accent-grad);
  filter: blur(14px);
  opacity: 0.45;
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.25; transform: scale(0.98); }
  50% { opacity: 0.6; transform: scale(1.03); }
}

/* cards */
.card {
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface-2) 70%, transparent), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.5vw, 32px);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

/* ------------------------------------------------------------
   HEADER / NAV
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), backdrop-filter 0.3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 110; }
/* Cropped regions of the official lockup (1697x455). Shared background-size keeps
   both pieces to one scale (40px mark height); positions isolate mark vs wordmark. */
.brand-icon,
.brand-type {
  display: block;
  flex: none;
  background-image: url("assets/rocket-pipeline-white-logo.png");
  background-repeat: no-repeat;
  background-size: 176.8px 47.4px;
}
.brand-icon { width: 38px; height: 40px; background-position: -3.2px -2.5px; }   /* mark x31-395 y24-408 */
.brand-type { width: 126px; height: 18px; background-position: -47.9px -16.9px; } /* wordmark x460-1667 y162-330 */

.nav-links {
  display: flex;
  gap: clamp(18px, 2vw, 30px);
  margin-inline: auto;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-block: 6px;
  transition: color 0.2s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: var(--space-sm); }
.nav-signin { padding-block: 9px; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-left: auto; /* pin to the top-right corner */
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  z-index: 110; /* stays above the overlay so it can toggle closed */
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* full-screen overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 96px clamp(28px, 7vw, 48px) max(40px, env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
}
.mobile-nav[data-open] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.mobile-nav a:not(.btn) {
  padding: 16px 4px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 2vw, 1.9rem);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav .btn { width: 100%; --btn-pad-y: 15px; font-size: 1rem; }
.mobile-nav .btn-ghost { margin-top: var(--space-md); }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero { position: relative; padding-block: clamp(56px, 7vw, 110px) clamp(64px, 7vw, 120px); overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

/* badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 7px 14px 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface-2) 55%, transparent);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: color-mix(in oklab, var(--text) 85%, var(--muted));
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 22%, transparent);
}

.hero-title { font-size: var(--fs-hero); font-weight: 700; line-height: 1.04; margin-block: var(--space-lg) var(--space-lg); }
.text-accent { color: var(--accent-2); }

/* "graveyard." struck through — line draws in on load */
.strike { position: relative; color: var(--muted); white-space: nowrap; }
.strike::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 53%;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: strike-draw 0.5s var(--ease-out-quart) 0.75s forwards;
}
@keyframes strike-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-sub { color: var(--muted); font-size: var(--fs-lead); max-width: 54ch; line-height: 1.6; }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

/* trust row under the buttons */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  color: var(--muted);
  font-size: var(--fs-sm);
}
.hero-trust-item { display: inline-flex; align-items: center; gap: 7px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.hero-trust-sep { width: 1px; height: 16px; background: var(--border); }

/* ambient orbit ring + glows */
.hero-orbit {
  position: absolute;
  top: -18%;
  right: -8%;
  width: min(720px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--accent-2) 30%, transparent);
  border-right-color: transparent;
  border-top-color: transparent;
  opacity: 0.12;
  animation: spin 80s linear infinite;
  pointer-events: none;
}
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  border-bottom-color: transparent;
  border-left-color: transparent;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; }
.hero-glow--a { width: 460px; height: 460px; top: -120px; right: 4%; background: color-mix(in oklab, var(--accent) 45%, transparent); opacity: 0.28; }
.hero-glow--b { width: 380px; height: 380px; bottom: -160px; left: -80px; background: color-mix(in oklab, var(--accent-2) 36%, transparent); opacity: 0.18; }

/* floating dashboard fragments */
.hero-visual { position: relative; min-height: 360px; }

.frag {
  background: color-mix(in oklab, var(--surface-2) 88%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,0.95);
  backdrop-filter: blur(6px);
}

.frag-main {
  padding: var(--space-lg);
  animation: float 7s ease-in-out infinite;
}
.frag-head { display: flex; align-items: center; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.frag-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in oklab, var(--success) 22%, transparent); }
.frag-title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.frag-live { margin-left: auto; font-size: var(--fs-xs); font-weight: 600; color: var(--success); letter-spacing: 0.06em; text-transform: uppercase; }
.frag-stat { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--space-md); }
.frag-stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.frag-stat-label { color: var(--muted); font-size: var(--fs-sm); }
.frag-chart { width: 100%; height: 90px; }
/* line traces itself, area fills behind it — triggered when .drawn is added */
.chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.7s var(--ease-out-expo);
}
.chart-area { opacity: 0; transition: opacity 0.7s var(--ease-out) 0.5s; }
.frag-chart.drawn .chart-line { stroke-dashoffset: 0; }
.frag-chart.drawn .chart-area { opacity: 1; }

.frag-call {
  position: absolute;
  right: -6%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 16px;
  max-width: 280px;
  animation: float 7s ease-in-out infinite 1.6s;
}
.frag-call-icon {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.frag-call-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.frag-call-meta { display: block; color: var(--muted); font-size: var(--fs-xs); margin-top: 2px; }

.frag-sms {
  position: absolute;
  left: -7%;
  bottom: -6%;
  padding: 14px 16px;
  max-width: 230px;
  animation: float 8s ease-in-out infinite 0.8s;
}
.frag-sms-bubble {
  background: var(--accent-grad);
  color: #fff;
  font-size: var(--fs-sm);
  line-height: 1.4;
  padding: 10px 13px;
  border-radius: 14px 14px 14px 4px;
}
.frag-sms-meta { display: block; color: var(--muted); font-size: var(--fs-xs); margin-top: 8px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ------------------------------------------------------------
   TRUST STRIP
   ------------------------------------------------------------ */
.trust { padding-block: clamp(28px, 4vw, 48px); border-block: 1px solid var(--border-soft); }
.trust-label { text-align: center; color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--space-lg); }
/* continuous marquee — two identical tracks loop seamlessly, pause on hover */
.trust-marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.trust-logos {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
  min-width: 100%;
  justify-content: space-around;
  animation: marquee 40s linear infinite;
}
.trust-marquee:hover .trust-logos { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.trust-logos li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem);
  letter-spacing: -0.02em;
  color: color-mix(in oklab, var(--muted) 80%, var(--text));
  opacity: 0.7;
  transition: opacity 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.trust-logos li:hover { opacity: 1; color: var(--text); }

/* ------------------------------------------------------------
   PROBLEM — the cost of silence
   ------------------------------------------------------------ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.stat {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 2rem + 3vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-2);
  margin-bottom: var(--space-md);
}
.stat-desc {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
  max-width: 32ch;
}

/* ------------------------------------------------------------
   PLATFORM — bento grid
   ------------------------------------------------------------ */
.bento {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-lg);
}
.bento-email { grid-column: 1; grid-row: 1 / span 2; }
.bento-voice { grid-column: 2; grid-row: 1; }
.bento-sms   { grid-column: 3; grid-row: 1; }
.bento-crm   { grid-column: 2 / span 2; grid-row: 2; }

.bento-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent-2) 45%, var(--border));
  box-shadow: var(--shadow-lift);
}
.bento-card h3 { font-size: var(--fs-h3); }
.bento-card > p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; max-width: 42ch; }

/* category badge (amber outline) */
.badge {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid color-mix(in oklab, var(--gold) 40%, transparent);
  background: color-mix(in oklab, var(--gold) 10%, transparent);
  margin-bottom: var(--space-xs);
}

/* email mockup */
.mock-email {
  flex-grow: 1; /* fills the tall email card instead of leaving a gap above it */
  background: color-mix(in oklab, var(--bg) 60%, var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
}
.mock-from { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-sm); }
.mock-subject { font-weight: 600; color: var(--text); margin-bottom: var(--space-sm); }
.mock-body { color: color-mix(in oklab, var(--text) 78%, var(--muted)); font-size: var(--fs-sm); line-height: 1.65; }
.mock-link { color: var(--accent-2); }

/* voice waveform */
.waveform {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 56px;
}
.waveform span {
  flex: 1;
  border-radius: var(--radius-pill);
  background: var(--accent-grad);
  height: 30%;
  animation: eq 1.1s ease-in-out infinite;
}
.waveform span:nth-child(3n)   { animation-delay: -0.2s; }
.waveform span:nth-child(3n+1) { animation-delay: -0.5s; }
.waveform span:nth-child(4n)   { animation-delay: -0.8s; }
.waveform span:nth-child(5n)   { animation-delay: -0.35s; }
@keyframes eq { 0%, 100% { height: 22%; } 50% { height: 92%; } }

/* sms bubbles */
.mock-sms { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-sm); }
.bubble {
  font-size: var(--fs-sm);
  line-height: 1.4;
  padding: 9px 14px;
  border-radius: 14px;
  max-width: 80%;
}
.bubble-in { align-self: flex-start; background: var(--accent); color: #fff; border-bottom-left-radius: 4px; }
.bubble-out { align-self: flex-end; background: color-mix(in oklab, var(--gold) 88%, #fff); color: #2a2410; font-weight: 500; border-bottom-right-radius: 4px; }

/* integration chips */
.chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chips li {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: color-mix(in oklab, var(--text) 82%, var(--muted));
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--surface-2) 70%, transparent);
  border: 1px solid var(--border);
}

/* ------------------------------------------------------------
   HOW IT WORKS — orbit-ring numbers
   ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  counter-reset: step;
}
.step { display: flex; flex-direction: column; gap: var(--space-md); }
.step-ring {
  position: relative;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent-2);
  border-radius: 50%;
  background: color-mix(in oklab, var(--surface-2) 80%, transparent);
}
/* the orbit ring motif around each number */
.step-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--accent) 55%, transparent);
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-45deg);
}
.step-ring::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px dashed color-mix(in oklab, var(--accent-2) 35%, transparent);
  animation: spin 26s linear infinite;
}
.step-body h3 { font-size: var(--fs-h3); margin-bottom: var(--space-xs); }
.step-body p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; max-width: 34ch; }

/* ------------------------------------------------------------
   ABOUT — single Fraunces italic pullquote
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.pullquote {
  margin: 0;
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, color-mix(in oklab, var(--accent) 14%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--border));
}
.pullquote blockquote {
  margin: 0;
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--text);
}
.pullquote figcaption {
  margin-top: var(--space-lg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--accent-2);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   PRICING
   ------------------------------------------------------------ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}
.price-card { display: flex; flex-direction: column; gap: var(--space-sm); }
.price-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent-2) 40%, var(--border)); box-shadow: var(--shadow-lift); }

.price-card--featured {
  position: relative;
  border-color: color-mix(in oklab, var(--accent) 55%, var(--border));
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 16%, var(--surface)), var(--surface));
  box-shadow: 0 30px 70px -40px color-mix(in oklab, var(--accent) 80%, transparent);
}
.price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.price-name { font-family: var(--font-display); font-size: 1.3rem; }
.price-desc { color: var(--muted); font-size: var(--fs-sm); min-height: 2.8em; }
.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 2rem + 1.5vw, 3rem);
  letter-spacing: -0.03em;
  margin-block: var(--space-xs);
  line-height: 1;
}
.price-amount--text { font-size: clamp(2rem, 1.7rem + 1vw, 2.4rem); }
.price-cur { font-size: 0.55em; vertical-align: super; color: var(--muted); margin-right: 2px; }
.price-per { font-size: 0.4em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block: var(--space-md);
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 28px;
  font-size: var(--fs-sm);
  color: color-mix(in oklab, var(--text) 88%, var(--muted));
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235bb3f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xs);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem);
  color: var(--text);
  transition: color 0.2s var(--ease-out);
}
.faq-trigger:hover { color: var(--accent-2); }
.faq-chevron { flex: none; color: var(--muted); transition: transform 0.35s var(--ease-out), color 0.2s var(--ease-out); }
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--accent-2); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.faq-panel.open { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.65;
  padding: 0 var(--space-xs) var(--space-lg);
  max-width: 60ch;
}

/* ------------------------------------------------------------
   FINAL CTA
   ------------------------------------------------------------ */
.cta { position: relative; overflow: hidden; }
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  padding: clamp(48px, 6vw, 88px) clamp(28px, 4vw, 64px);
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--border));
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 12%, var(--surface)), var(--surface));
  box-shadow: 0 40px 90px -50px color-mix(in oklab, var(--accent) 80%, transparent);
}
.cta-title { font-size: var(--fs-h2); margin-bottom: var(--space-md); }
.cta-sub { color: var(--muted); font-size: var(--fs-lead); max-width: 52ch; margin: 0 auto var(--space-xl); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }

.cta-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: min(640px, 90vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--accent-2) 30%, transparent);
  border-top-color: transparent;
  border-left-color: transparent;
  opacity: 0.16;
  animation: spin 90s linear infinite;
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  bottom: -40%; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 40%, transparent);
  filter: blur(110px);
  opacity: 0.22;
  pointer-events: none;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border); padding-top: var(--space-4xl); margin-top: var(--space-2xl); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: var(--space-3xl);
}
/* Official full lockup (transparent PNG, built for dark backgrounds) */
.footer-logo-link { display: inline-block; width: fit-content; }
.footer-logo { height: 72px; width: auto; }
.footer-tag { color: var(--muted); font-size: var(--fs-sm); max-width: 34ch; margin-top: var(--space-md); }
.footer-col { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-2xs);
}
.footer-col a { color: color-mix(in oklab, var(--text) 80%, var(--muted)); font-size: var(--fs-sm); transition: color 0.2s var(--ease-out); width: fit-content; }
.footer-col a:hover { color: var(--accent-2); }
.footer-cta { margin-top: var(--space-xs); width: fit-content; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding-block: var(--space-lg) var(--space-2xl);
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: var(--fs-xs);
}
.footer-meta { letter-spacing: 0.04em; }

/* ------------------------------------------------------------
   UTILITIES — scroll reveal
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* stagger children of hero copy */
.hero-copy .reveal { transition-delay: 0ms; }

/* directional reveal — eases in from the right */
.reveal-right {
  opacity: 0;
  transform: translateX(34px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal-right.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   MEDIA QUERIES
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* single column: drop the forced breaks and scale the headline up so each line
     fills the full width (extends to the right edge) and flows to ~3 lines */
  .hero-br { display: none; }
  .hero-title { font-size: clamp(1.5rem, 7vw, 4.5rem); }
  /* single-column: sideways reveal becomes a fade-up (also avoids off-screen overflow) */
  .reveal-right { transform: translateY(20px); }
  /* copy leads; visual becomes a tidy static stack below it */
  .hero-visual { order: 0; max-width: 460px; margin-inline: auto; min-height: 0; margin-top: var(--space-2xl); display: flex; flex-direction: column; gap: var(--space-md); }
  .frag-call, .frag-sms {
    position: static;
    max-width: none;
    animation: none;
  }
  .frag-sms-bubble { border-radius: 14px 14px 14px 4px; }
  .about-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--space-xl); }
  .step { flex-direction: row; align-items: flex-start; }
  .step-ring { flex: none; }
  /* bento collapses to two columns; reset spans */
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .bento-email, .bento-voice, .bento-sms, .bento-crm { grid-column: auto; grid-row: auto; }
}

@media (max-width: 880px) {
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card--featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 769px) {
  /* overlay never participates on desktop */
  .mobile-nav { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .bento { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
  .frag-call { right: 0; }
  .frag-sms { left: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-right { opacity: 1; transform: none; }
  .frag-main, .frag-call, .frag-sms, .hero-orbit, .cta-orbit, .btn-pulse::after,
  .step-ring::after { animation: none; }
  .btn-pulse::after { opacity: 0.4; }
  /* marquee holds still; chart shows complete */
  .trust-logos { animation: none !important; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area { opacity: 1; }
  /* strikethrough shows complete */
  .strike::after { animation: none; transform: scaleX(1); }
  /* voice waveform shows as a static varied bar set */
  .waveform span { animation: none !important; height: 45%; }
  .waveform span:nth-child(2n) { height: 72%; }
  .waveform span:nth-child(3n) { height: 56%; }
  .waveform span:nth-child(4n) { height: 88%; }
}
