/* ============================================================
   Nev — white / blue SaaS skin · premium pass
   Editorial Inter, hand-drawn blue squiggle accents, ticker
   logos, animated rising chart, illustrated avatars.
   ============================================================ */

:root {
  /* Surfaces */
  --canvas: #ffffff;
  --canvas-soft: #f6f8fd;
  --surface: #ffffff;

  /* Ink */
  --ink: #0b1220;
  --ink-soft: #334155;
  --muted: #5b6b84;
  --muted-soft: #8b98ad;

  /* Brand */
  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --blue-deep: #1e3a8a;
  --sky: #38bdf8;
  --sky-bright: #7dd3fc;
  --sky-soft: #dbeafe;
  --blue-tint: #eef4ff;
  --blue-tint-2: #dbeafe;
  --blue-pale: #c7dbff;

  /* Lines */
  --hairline: #e6ebf4;
  --hairline-strong: #d4dce8;

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

  /* Radii */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05);
  --shadow-md: 0 8px 24px -8px rgba(11, 18, 32, .12);
  --shadow-lg: 0 24px 60px -16px rgba(11, 18, 32, .18);

  /* Layout */
  --container: 1200px;
  --section-gap: clamp(88px, 12vw, 140px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
section[id] { scroll-margin-top: 96px; }

::selection { background: var(--sky-soft); color: var(--blue-deep); }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.in:nth-child(2) { transition-delay: .1s; }
.reveal.in:nth-child(3) { transition-delay: .2s; }
.reveal.in:nth-child(4) { transition-delay: .3s; }

/* ---------- Squiggle underline ---------- */
.squiggle {
  position: absolute;
  left: 0;
  bottom: -.22em;
  width: 100%;
  height: .16em;
  color: var(--blue);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: linear-gradient(180deg, #3b82f6, var(--blue));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { background: linear-gradient(180deg, #2f74f5, var(--blue-strong)); transform: translateY(-1px); box-shadow: 0 10px 26px -6px rgba(37, 99, 235, .6); }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: #b9c5d8; background: #fbfcfe; transform: translateY(-1px); }

.btn-light {
  background: #fff;
  color: var(--blue-strong);
  box-shadow: 0 12px 34px -8px rgba(3, 12, 46, .55);
}
.btn-light:hover { transform: translateY(-1px); background: #f4f8ff; }

.btn-ghost-light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .22); transform: translateY(-1px); }

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Badge / eyebrow ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--blue-tint);
  border: 1px solid var(--sky-soft);
  color: var(--blue-strong);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-pill);
}
.badge-dark {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sky-bright);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, .25);
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(125, 211, 252, .25); }
  50% { box-shadow: 0 0 0 6px rgba(125, 211, 252, .12); }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

/* ---------- Nav — floating pill ---------- */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: 24px;
  pointer-events: none;
}
.nav {
  max-width: 1160px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 20px 0 14px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--r-pill);
  box-shadow: 0 8px 30px -12px rgba(4, 12, 26, .22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: 0 12px 36px -12px rgba(4, 12, 26, .3); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, .5);
}
.brand-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  transition: background-color .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--blue-tint); color: var(--blue-strong); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-signin { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); padding: 8px 6px; }
.nav-signin:hover { color: var(--blue-strong); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--surface);
  padding: 0 10px;
  position: relative;
  z-index: 201;
}
.nav-burger span {
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu — glass panel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 96px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s cubic-bezier(.4,0,.2,1), visibility .35s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-inner {
  width: min(380px, 88vw);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--r-xl);
  box-shadow: 0 32px 80px -20px rgba(4, 12, 26, .28), 0 0 0 1px rgba(0,0,0,.04);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(20px) scale(.97);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open .mobile-menu-inner {
  transform: translateY(0) scale(1);
}
.mobile-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  transition: background .2s ease, transform .15s ease;
}
.mobile-link:hover, .mobile-link:active {
  background: var(--blue-tint);
}
.mobile-link:active {
  transform: scale(.98);
}
.mobile-link-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-pale);
  min-width: 22px;
  letter-spacing: .04em;
}
.mobile-menu-divider {
  height: 1px;
  background: var(--hairline);
  margin: 8px 12px;
}
.mobile-link-signin {
  color: var(--muted);
}
.mobile-cta {
  margin-top: 8px;
  padding: 16px 24px;
  font-size: 16px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 130px 24px 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 12, 26, .62) 0%, rgba(4, 12, 26, .18) 34%, rgba(4, 12, 26, .28) 62%, rgba(4, 12, 26, .78) 100%);
}
.hero-mask-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--canvas);
  clip-path: ellipse(58% 100% at 50% 100%);
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(44px, 8.4vw, 104px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.045em;
  margin: 26px 0 22px;
  text-shadow: 0 2px 40px rgba(4, 12, 26, .35);
}
.hero-accent {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #ffffff 20%, var(--sky-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-accent .squiggle {
  color: var(--sky-bright);
  bottom: -.14em;
}

.hero-sub {
  font-size: clamp(16.5px, 1.7vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  max-width: 560px;
  text-shadow: 0 1px 24px rgba(4, 12, 26, .4);
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}
.hero-trust .stars { color: #fbbf24; letter-spacing: 1px; }

.avatar-stack { display: flex; }
.avatar {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9);
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-left: -9px;
  background: var(--blue-tint);
}
.avatar:first-child { margin-left: 0; }
.avatar svg { width: 100%; height: 100%; display: block; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-more {
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .9);
}
.avatar-lg { width: 44px; height: 44px; margin-left: 0; border: 0; }

/* Hero stats */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(20px, 4vw, 44px);
  margin-top: clamp(36px, 6vh, 56px);
  padding: 14px clamp(20px, 4vw, 40px);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hstat { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.hstat strong { font-size: clamp(32px, 3.5vw, 42px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hstat span { font-size: 12px; color: rgba(255, 255, 255, .72); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: var(--r-pill);
}
.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: #fff;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ---------- Logo ticker ---------- */
.logos {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 40px 0;
  position: relative;
}
.logos::before, .logos::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logos::before {
  left: 0;
  background: linear-gradient(90deg, var(--canvas), transparent);
}
.logos::after {
  right: 0;
  background: linear-gradient(-90deg, var(--canvas), transparent);
}
.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 24px;
}
.ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
  padding-right: clamp(40px, 6vw, 72px);
}
.ticker-group span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #b9c3d6;
  white-space: nowrap;
  transition: color .2s ease;
}
.ticker-group span:hover { color: var(--muted); }
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Manifesto ---------- */
.manifesto {
  padding: var(--section-gap) 0 calc(var(--section-gap) * .6);
  text-align: center;
}
.manifesto-inner { max-width: 860px; }
.manifesto-title {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.accent-word {
  position: relative;
  display: inline-block;
  color: var(--blue-strong);
}
.accent-word .squiggle { color: var(--blue); bottom: -.16em; }
.manifesto-sub {
  font-size: clamp(16.5px, 1.7vw, 19px);
  color: var(--muted);
  max-width: 640px;
  margin: 30px auto 0;
  line-height: 1.65;
}
.manifesto-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(48px, 8vw, 120px);
  margin-top: clamp(48px, 8vw, 80px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--hairline);
}
.manifesto-mask {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, .06) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}
.manifesto {
  position: relative;
  overflow: hidden;
}
.mstat { display: flex; flex-direction: column; line-height: 1.02; }
.mstat strong {
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .92;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #0b1220 20%, #2563eb 180%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.02;
}
.mstat span { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 12px; font-weight: 500; }

/* ---------- What you get ---------- */
.what { padding: 0 0 var(--section-gap); }
.what-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-title {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.032em;
}
.section-sub { font-size: 17px; color: var(--muted); margin-top: 16px; }

.rows { max-width: 920px; }
.row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(30px, 4vw, 44px) 8px;
  border-top: 1px solid var(--hairline);
  align-items: start;
  transition: background-color .25s ease, padding-left .25s ease;
}
.row:last-child { border-bottom: 1px solid var(--hairline); }
.row:hover { background: linear-gradient(90deg, rgba(238, 244, 255, .7), transparent 70%); padding-left: 20px; }
.row-num {
  font-size: clamp(40px, 4.5vw, 54px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--blue-pale);
  transition: color .25s ease, transform .25s ease;
}
.row:hover .row-num { color: var(--blue); transform: translateX(4px); }
.row-body h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.02em; }
.row-body p { font-size: 16.5px; color: var(--muted); max-width: 520px; margin-top: 10px; line-height: 1.65; }

/* ---------- Product ---------- */
.product {
  padding: var(--section-gap) 0;
  background:
    radial-gradient(60% 50% at 90% 10%, rgba(56, 189, 248, .12), transparent 70%),
    linear-gradient(180deg, #eef4ff 0%, #f6f9ff 60%, var(--canvas) 100%);
}
.product-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.product-copy .section-title { margin-bottom: 14px; }
.check-list { margin-top: 30px; display: grid; gap: 22px; }
.check-list li { display: flex; gap: 14px; }
.check {
  width: 26px; height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-tint-2);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.check svg { width: 14px; height: 14px; }
.check-list strong { display: block; font-size: 15.5px; font-weight: 600; }
.check-list p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

/* Chart card */
.product-visual { position: relative; }
.product-visual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(56, 189, 248, .15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}
.product-visual::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -20px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(37, 99, 235, .1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
}
.chart-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 20px;
}
.chart-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
}
.chart-main { position: relative; min-width: 0; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chart-head-text strong { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.chart-head-text span { display: block; font-size: 12.5px; color: var(--muted-soft); margin-top: 1px; }
.mockup-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}
.mockup-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.chart-wrap { position: relative; }
.area-chart { display: block; width: 100%; height: clamp(150px, 22vw, 210px); }
.chart-grid line { stroke: #e9eef7; stroke-width: 1; }
.chart-area { opacity: 0; transition: opacity .9s ease .55s; }
.product-visual.in .chart-area { opacity: 1; }
.chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.7s cubic-bezier(.4, 0, .2, 1) .15s;
}
.product-visual.in .chart-line { stroke-dashoffset: 0; }
.chart-dot {
  transform: scale(0);
  transform-origin: center;
  transform-box: fill-box;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1) var(--dd, .5s);
}
.product-visual.in .chart-dot { transform: scale(1); }
.chart-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: pulseDot 2.4s ease-out 1.6s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(3.4); opacity: 0; }
}
.chart-label {
  position: absolute;
  right: 8px;
  top: 6px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 7px 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.chart-label strong { font-size: 17px; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chart-foot { display: flex; justify-content: space-between; margin-top: 10px; }
.chart-foot span { font-size: 11.5px; color: var(--muted-soft); }

/* Floating chips */
.chart-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 11px 15px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.chart-chip-top { top: 78px; right: -14px; }
.chart-chip-bottom { bottom: 40px; left: -14px; }
.chip-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; }
.chip-dot-blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .16); }
.chip-dot-green { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .16); }
.chip-text { display: flex; flex-direction: column; line-height: 1.25; }
.chip-value { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.chip-value strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.chip-trend { font-size: 11px; color: var(--muted-soft); white-space: nowrap; margin-top: 1px; }

/* Toast */
.mockup-toast {
  position: absolute;
  bottom: 36px;
  right: -14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mockup-toast.show { opacity: 1; transform: none; }
.toast-icon {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #059669);
  color: #fff;
  display: grid;
  place-items: center;
}
.toast-icon svg { width: 12px; height: 12px; }
.toast-msg { font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Live activity feed */
.chart-feed {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid var(--hairline);
  padding-left: 20px;
}
.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 14px;
}
.feed-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #059669;
}
.feed-live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 1.6s ease-out infinite;
}
.feed-list { display: grid; gap: 13px; }
.feed-item { display: flex; gap: 10px; align-items: flex-start; }
.feed-item.new { animation: feedIn .5s ease; }
@keyframes feedIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
.feed-icon {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.feed-icon svg { width: 12px; height: 12px; }
.feed-icon-blue { background: var(--blue-tint-2); color: var(--blue); }
.feed-icon-green { background: #ecfdf5; color: #059669; }
.feed-txt { min-width: 0; }
.feed-txt > span { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); line-height: 1.35; }
.feed-txt em { display: block; font-style: normal; font-size: 11px; color: var(--muted-soft); margin-top: 2px; }

/* ---------- Testimonials — ticker ---------- */
.testimonials { padding: var(--section-gap) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(48px, 6vw, 72px); }
.ticker-reviews {
  overflow: hidden;
  padding: 10px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-reviews-track {
  display: flex;
  width: max-content;
  animation: tickerRev 54s linear infinite;
}
.ticker-reviews:hover .ticker-reviews-track { animation-play-state: paused; }
.tgroup { display: flex; gap: 20px; padding-right: 20px; }
.tcard {
  width: 380px;
  flex: none;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sky-soft); }
.tcard-top { display: flex; align-items: center; gap: 14px; }
.tphoto {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-tint-2);
  background: var(--blue-tint);
}
.tcard-id strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.tcard-id span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.tstars { display: block; color: #f59e0b; font-size: 12px; letter-spacing: 1.5px; margin-top: 3px; }
.tcard blockquote { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
@keyframes tickerRev { to { transform: translateX(-50%); } }

/* ---------- Pricing ---------- */
.pricing {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas-soft) 60%, var(--canvas) 100%);
}
.billing-toggle {
  display: flex;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 44px;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 4px;
}
.billing-btn {
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 20px;
  border-radius: var(--r-pill);
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.billing-btn:hover { color: var(--ink); }
.billing-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.save-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  margin-left: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-name { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.plan-desc { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 24px 0; }
.plan-price .price { font-size: 48px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plan-price .per { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan .btn { margin-bottom: 26px; }
.plan-feats { display: grid; gap: 12px; border-top: 1px solid var(--hairline); padding-top: 24px; }
.plan-feats li {
  position: relative;
  padding-left: 27px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.plan-feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue-tint);
}
.plan-feats li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 8.5px;
  width: 7px; height: 4px;
  border-left: 1.7px solid var(--blue);
  border-bottom: 1.7px solid var(--blue);
  transform: rotate(-45deg);
}

.plan-featured {
  background: linear-gradient(180deg, #1d4ed8, #1e3a8a);
  border-color: transparent;
  box-shadow: 0 24px 60px -18px rgba(30, 58, 138, .55);
}
.plan-featured:hover { box-shadow: 0 30px 70px -18px rgba(30, 58, 138, .6); }
.plan-featured .plan-name, .plan-featured .price { color: #fff; }
.plan-featured .plan-desc { color: #bfd0f5; }
.plan-featured .plan-price .per { color: #bfd0f5; }
.plan-featured .plan-feats { border-top-color: rgba(255, 255, 255, .18); }
.plan-featured .plan-feats li { color: #dbe6fb; }
.plan-featured .plan-feats li::before { background: rgba(255, 255, 255, .16); }
.plan-featured .plan-feats li::after { border-color: #fff; }
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px -4px rgba(30, 58, 138, .35);
  white-space: nowrap;
}

/* ---------- CTA — clean card ---------- */
.cta { padding: 0 0 var(--section-gap); }
.cta-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  text-align: center;
  padding: clamp(64px, 8vw, 100px) 32px;
  box-shadow: var(--shadow-md);
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 60%, transparent 100%);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 70% at 50% 118%, rgba(37, 99, 235, .13), transparent 62%),
    radial-gradient(30% 46% at 88% 8%, rgba(56, 189, 248, .12), transparent 60%),
    radial-gradient(26% 40% at 10% 10%, rgba(219, 234, 254, .7), transparent 60%);
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.cta-glow-a { width: 340px; height: 340px; background: rgba(59, 130, 246, .16); top: -140px; left: 50%; transform: translateX(-50%); }
.cta-glow-b { width: 300px; height: 300px; background: rgba(56, 189, 248, .14); bottom: -160px; right: -60px; }
.cta-title {
  position: relative;
  z-index: 1;
  font-size: clamp(32px, 4.8vw, 54px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.032em;
  color: var(--ink);
}
.cta-title .accent-word { color: var(--blue-strong); }
.cta-sub { position: relative; z-index: 1; font-size: 17px; color: var(--muted); margin: 18px auto 34px; max-width: 460px; }
.cta-btns { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-trust {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted-soft);
}
.cta-trust i { font-style: normal; color: var(--hairline-strong); }

/* ---------- Footer ---------- */
.footer {
  background: var(--canvas-soft);
  border-top: 1px solid var(--hairline);
  padding: clamp(56px, 7vw, 84px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}
.footer-tag { font-size: 14.5px; color: var(--muted); margin-top: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.footer-social a:hover { color: var(--blue); border-color: var(--sky-soft); transform: translateY(-2px); }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-soft); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--ink-soft); padding: 5px 0; transition: color .15s ease; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 13.5px;
  color: var(--muted-soft);
}
.footer-bottom-links a { color: var(--muted); }
.footer-bottom-links a:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-featured { order: -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { order: -1; }
  .hero { padding-top: 120px; }
  .chart-chip-top { right: 6px; }
  .chart-chip-bottom { left: 6px; }
  .mockup-toast { right: 6px; }
}

@media (max-width: 768px) {
  .nav { gap: 10px; padding-left: 12px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-signin { display: none; }

  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .row { grid-template-columns: 1fr; gap: 12px; }
  .hero-stats { flex-wrap: wrap; justify-content: center; border-radius: 28px; }
  .hero-trust { flex-direction: column; gap: 8px; }

  .chart-body { grid-template-columns: 1fr; gap: 18px; }
  .chart-feed {
    border-left: 0;
    border-top: 1px solid var(--hairline);
    padding-left: 0;
    padding-top: 16px;
  }
  .chart-card { overflow: hidden; }
  .tcard { width: min(340px, 84vw); }
  .chart-chip-top { top: 76px; right: 4px; }
  .chart-chip-bottom { bottom: 36px; left: 4px; }
  .mockup-toast { bottom: 32px; right: 4px; }
  .hero-mask-bottom { height: 50px; }
  .cta-card { mask-image: none; -webkit-mask-image: none; }
  .what-head { max-width: 100%; }
  .manifesto-stats { gap: clamp(24px, 5vw, 48px); }
  .mstat strong { font-size: clamp(52px, 12vw, 72px); }
  .mask-up { padding-bottom: .15em; }
  .nav-actions { gap: 8px; }
  .btn-sm { padding: 9px 16px; font-size: 13px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .manifesto-stats { gap: 20px; flex-direction: column; align-items: center; }
  .mstat strong { font-size: clamp(44px, 14vw, 60px); }
  .hero-title { font-size: clamp(36px, 11vw, 48px); }
  .hero-sub { font-size: 15px; }
  .chart-chip-top { display: none; }
  .chart-chip-bottom { display: none; }
  .mockup-toast { font-size: 11px; right: 0; left: 0; bottom: 12px; border-radius: 0; }
  .toast-msg { font-size: 11px; }
  .section-title { font-size: clamp(26px, 7vw, 36px); }
  .manifesto-title { font-size: clamp(28px, 7vw, 40px); }
  .row-num { font-size: 36px; }
  .row-body h3 { font-size: 20px; }
  .plan-price .price { font-size: 40px; }
  .hstat strong { font-size: clamp(24px, 6vw, 32px); }
}

/* ---------- Mask reveal — text from bottom ---------- */
.mask-up {
  overflow: hidden;
  display: block;
  padding-bottom: .25em;
}
.js .mask-line {
  display: block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform .85s cubic-bezier(.22, 1, .36, 1), opacity .6s ease;
}
.mask-up.in .mask-line {
  transform: translateY(0);
  opacity: 1;
}
/* Staggered delays per line */
.mask-up.in .mask-line:nth-child(1) { transition-delay: 0s; }
.mask-up.in .mask-line:nth-child(2) { transition-delay: .1s; }
.mask-up.in .mask-line:nth-child(3) { transition-delay: .2s; }
.mask-up.in .mask-line:nth-child(4) { transition-delay: .3s; }
.mask-up.in .mask-line:nth-child(5) { transition-delay: .4s; }
.mask-up.in .mask-line:nth-child(6) { transition-delay: .5s; }

/* Mask sweep — gradient wipe reveal */
.mask-sweep {
  position: relative;
  overflow: hidden;
}
.js .mask-sweep::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--canvas);
  transform: translateX(0);
  transition: transform .9s cubic-bezier(.77, 0, .175, 1);
  pointer-events: none;
}
.mask-sweep.in::after {
  transform: translateX(101%);
}

/* Mask clip — bottom-up curtain */
.js .mask-clip {
  clip-path: inset(100% 0 0 0);
  transition: clip-path .8s cubic-bezier(.22, 1, .36, 1);
}
.mask-clip.in {
  clip-path: inset(0 0 0 0);
}

/* Mask wave — staggered per-character-ish via words */
.mask-wave {
  overflow: hidden;
  display: inline-block;
}
.js .mask-wave > span {
  display: inline-block;
  transform: translateY(120%) rotate(3deg);
  opacity: 0;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .5s ease;
}
.mask-wave.in > span {
  transform: translateY(0) rotate(0);
  opacity: 1;
}
.mask-wave.in > span:nth-child(1) { transition-delay: 0s; }
.mask-wave.in > span:nth-child(2) { transition-delay: .06s; }
.mask-wave.in > span:nth-child(3) { transition-delay: .12s; }
.mask-wave.in > span:nth-child(4) { transition-delay: .18s; }
.mask-wave.in > span:nth-child(5) { transition-delay: .24s; }
.mask-wave.in > span:nth-child(6) { transition-delay: .3s; }
.mask-wave.in > span:nth-child(7) { transition-delay: .36s; }
.mask-wave.in > span:nth-child(8) { transition-delay: .42s; }
.mask-wave.in > span:nth-child(9) { transition-delay: .48s; }
.mask-wave.in > span:nth-child(10) { transition-delay: .54s; }

/* Mask rise — stat numbers pop up */
.mask-rise {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.02;
}
.mask-rise > span:first-child {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.js .mask-rise > span:first-child > * {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}
.mask-rise.in > span:first-child > * {
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .mask-up .mask-line, .mask-wave > span, .mask-rise > span:first-child > * { transform: none; opacity: 1; }
  .mask-sweep::after { transform: translateX(101%); }
  .mask-clip { clip-path: inset(0 0 0 0); }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area { opacity: 1; }
  .chart-dot { transform: scale(1); }
  .chart-rider { display: none; }
}
