/* ============================================================
   RESOBRAND — Brand styles
   Original design system. Signal-teal primary, ink background.
============================================================ */

:root {
  --ink:        #0a0a14;
  --ink-1:      #0e0e1a;
  --ink-2:      #14141f;
  --ink-3:      #1a1a28;
  --line:       rgba(244, 241, 234, 0.08);
  --line-2:     rgba(244, 241, 234, 0.14);
  --text:       #f4f1ea;
  --text-2:     #a7a9b0;
  --text-3:     #6c6e76;
  --accent:     oklch(0.84 0.16 175);     /* signal teal      ~#5BE6C8 */
  --accent-2:   oklch(0.78 0.17 55);      /* amber spark      ~#ECA563 */
  --accent-3:   oklch(0.72 0.21 320);     /* magenta resonance ~#D86FE6 */
  --accent-soft:oklch(0.84 0.16 175 / 0.12);

  --font-display: "Geist", system-ui, sans-serif;
  --font-serif:   "Instrument Serif", serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;

  --shadow-card: 0 1px 0 0 rgba(255,255,255,0.04) inset, 0 24px 60px -30px rgba(0,0,0,0.5);
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-display);
  background: var(--ink);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
ul { list-style: none; }

/* selection */
::selection { background: var(--accent); color: var(--ink); }

/* container */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.wrap-tight { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.eyebrow .idx { color: var(--accent); }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--text);
}
.display .italic { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.02em; }
.display .ink { color: var(--text-3); }
.display .accent { color: var(--accent); }
.display .strike {
  position: relative; display: inline-block;
}
.display .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 54%;
  height: 5px; background: var(--accent-2);
  transform: scaleX(0); transform-origin: left;
  animation: strike-in 1.2s 0.7s var(--easing) forwards;
  border-radius: 2px;
}
@keyframes strike-in { to { transform: scaleX(1); } }

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h2 .italic { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.h2 .accent { color: var(--accent); }

.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.lede {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.55;
}

.mono { font-family: var(--font-mono); letter-spacing: 0; }
.muted { color: var(--text-2); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.4s var(--easing), background 0.3s var(--easing), color 0.3s var(--easing);
  position: relative;
  white-space: nowrap;
  isolation: isolate;
}
.btn .arr {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.btn .arr svg { transition: transform 0.4s var(--easing); }
.btn:hover .arr svg { transform: translate(18px, -18px); }
.btn .arr::after {
  content: "↗"; position: absolute; transform: translate(-18px, 18px);
  transition: transform 0.4s var(--easing); font-size: 14px; line-height: 1;
}
.btn:hover .arr::after { transform: translate(0,0); }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover { transform: translateY(-2px); background: oklch(0.88 0.14 175); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: var(--accent); color: var(--accent); }

.btn-dark {
  background: var(--ink-2);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-dark:hover { background: var(--ink-3); }

/* ============================================================
   NAVBAR
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  transition: backdrop-filter 0.3s var(--easing), background 0.3s var(--easing), border-color 0.3s var(--easing);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 20, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1320px; margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 17px; letter-spacing: -0.02em;
}
.brand-logo { height: 22px; width: auto; display: block; }
.foot-brand .brand-logo { height: 26px; }

/* Meta Business Partner badge — hero pill chip */
.mbp-mini {
  height: 28px; width: auto;
  border-radius: 4px;
  display: block;
}
.hero-pill { padding-left: 4px; }

/* Meta Business Partner badge — footer card */
.mbp-card {
  display: inline-block;
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e0e1a;
  transition: border-color 0.3s var(--easing), transform 0.3s var(--easing);
}
.mbp-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.mbp-card img { display: block; width: 200px; height: auto; }
.brand .mark { width: 28px; height: 28px; }
.brand .mark svg { width: 100%; height: 100%; }
.brand sup { font-family: var(--font-mono); font-size: 9px; color: var(--accent); letter-spacing: 0.15em; margin-left: 4px; vertical-align: top; }

.nav-links {
  display: flex; gap: 4px; align-items: center;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 999px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 450;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s var(--easing), background 0.2s var(--easing);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--text); }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { padding: 10px 18px; font-size: 13px; }
.signin {
  font-size: 13px; color: var(--text-2);
  padding: 10px 14px;
  transition: color 0.2s var(--easing);
}
.signin:hover { color: var(--text); }

.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .signin { display: none; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 18px; }
  .wrap, .wrap-tight { padding: 0 18px; }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 110px 0 60px; min-height: auto; }
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-2);
  background: rgba(255,255,255,0.02);
  margin-bottom: 28px;
}
.hero-pill .tag {
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.hero-pill .live {
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-pill .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.5; transform: scale(0.85);} }

.hero h1 { margin-bottom: 28px; }
.hero .lede { margin-bottom: 36px; max-width: 540px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2);
}
.hero-trust-item .check {
  width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
}

/* — Hero broadcast graphic — */
.broadcast {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 580px;
  margin-left: auto;
  width: 100%;
}
.broadcast-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.broadcast-rings svg { width: 100%; height: 100%; overflow: visible; }
.broadcast-rings circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  transform-origin: center;
  opacity: 0;
}
.broadcast-rings circle.r1 { animation: ring 4s var(--easing) infinite 0s; }
.broadcast-rings circle.r2 { animation: ring 4s var(--easing) infinite 1s; }
.broadcast-rings circle.r3 { animation: ring 4s var(--easing) infinite 2s; }
.broadcast-rings circle.r4 { animation: ring 4s var(--easing) infinite 3s; }
@keyframes ring {
  0%   { r: 60;  opacity: 0; stroke-width: 1.6; }
  20%  { opacity: 1; }
  100% { r: 280; opacity: 0; stroke-width: 0.4; }
}

.broadcast-phone {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  background: linear-gradient(180deg, #15151f 0%, #0e0e18 100%);
  border: 1px solid var(--line-2);
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  z-index: 3;
}
.broadcast-phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 5px; border-radius: 999px; background: #000;
}
.broadcast-screen {
  background: var(--ink);
  border-radius: 22px;
  padding: 26px 14px 14px;
  min-height: 360px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.broadcast-bar {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 9px; color: var(--text-2);
  margin-bottom: 14px;
  padding: 0 4px;
}
.broadcast-bar .left { display: flex; gap: 4px; align-items: center; }

.console-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 10px;
}
.console-card .lbl {
  font-family: var(--font-mono); font-size: 9px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.console-card .val {
  font-size: 18px; font-weight: 500; letter-spacing: -0.02em;
}
.console-card .val .pct { color: var(--accent); font-size: 12px; margin-left: 4px; }

.console-bar {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}
.console-bar > span {
  display: block; height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0;
  animation: bar-fill 2s 0.4s var(--easing) forwards;
}
@keyframes bar-fill { to { width: var(--w, 75%); } }

.broadcast-bubble {
  position: absolute;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.broadcast-bubble.b1 { left: -10px; top: 18%; animation: float-a 6s ease-in-out infinite; }
.broadcast-bubble.b2 { right: -22px; top: 38%; animation: float-b 7s ease-in-out infinite; }
.broadcast-bubble.b3 { left: -28px; bottom: 22%; animation: float-c 8s ease-in-out infinite; }
.broadcast-bubble.b4 { right: -10px; bottom: 8%; animation: float-d 6.5s ease-in-out infinite; }
.broadcast-bubble { translate: var(--px, 0) var(--py, 0); transition: translate 0.4s var(--easing); }
.broadcast-phone { transition: transform 0.3s var(--easing); will-change: transform; }
@keyframes float-a { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float-c { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float-d { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.bub-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}
.bub-dot.amber { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }
.bub-dot.magenta { background: var(--accent-3); box-shadow: 0 0 8px var(--accent-3); }
.bub-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-2); }

/* Hero backdrop */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,241,234,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,234,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, black 0%, transparent 90%);
}
.hero-bg .orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
}
.hero-bg .orb-1 { background: var(--accent); top: -200px; right: -100px; }
.hero-bg .orb-2 { background: var(--accent-3); bottom: -200px; left: -150px; opacity: 0.18; }
.hero > .wrap { position: relative; z-index: 2; }

.hero-waveform {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  mask-image: linear-gradient(180deg, transparent 0%, black 100%);
}

/* ============================================================
   MARQUEE STRIP — trusted by
============================================================ */
.strip {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.012);
  position: relative;
  overflow: hidden;
}
.strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 22px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-track.reverse { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

.brand-chip {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.3s var(--easing), color 0.3s var(--easing);
}
.brand-chip:hover { opacity: 1; color: var(--text); }
.brand-chip .glyph {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0;
}

/* ============================================================
   SECTION SCAFFOLD
============================================================ */
.section { padding: 120px 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
@media (max-width: 740px) { .section { padding: 80px 0; } }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 48px; margin-bottom: 56px; flex-wrap: wrap;
}
.section-head .left { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 18px; }

/* ============================================================
   STATS
============================================================ */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 880px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: 8px 24px;
  border-left: 1px solid var(--line);
  position: relative;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 12px;
}
.stat .num .unit { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); margin-left: 2px; }
.stat .lbl { color: var(--text-2); font-size: 14px; }
.stat .mini-bar {
  height: 2px; background: rgba(255,255,255,0.05);
  margin-top: 18px; overflow: hidden;
}
.stat .mini-bar > span {
  display: block; height: 100%; background: var(--accent); width: 0;
  transition: width 1.6s var(--easing);
}
.stat.in-view .mini-bar > span { width: var(--w, 80%); }

/* ============================================================
   FEATURES — bento grid
============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  grid-auto-rows: minmax(220px, auto);
}
.tile {
  position: relative;
  border: 1px solid var(--line);
  background: var(--ink-1);
  border-radius: var(--r-lg);
  padding: 28px;
  overflow: hidden;
  transition: border-color 0.3s var(--easing), transform 0.4s var(--easing);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}
.tile:hover { border-color: var(--line-2); }
.tile .tile-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
}
.tile .tile-tag .num { color: var(--accent); }
.tile h3 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.tile p { color: var(--text-2); font-size: 14px; line-height: 1.55; }

.tile.featured {
  grid-column: span 7;
  grid-row: span 2;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(91, 230, 200, 0.12), transparent 60%),
    var(--ink-1);
  min-height: 480px;
}
.tile.featured h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 420px;
}
.tile.featured p { max-width: 380px; }

.tile.col-5 { grid-column: span 5; }
.tile.col-6 { grid-column: span 6; }
.tile.col-4 { grid-column: span 4; }
.tile.col-3 { grid-column: span 3; }
.tile.col-7 { grid-column: span 7; }
.tile.col-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .tile, .tile.featured, .tile.col-5, .tile.col-6, .tile.col-4, .tile.col-3, .tile.col-7 { grid-column: span 12; }
  .tile.featured { min-height: 320px; }
}

.tile-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.tile-icon svg { width: 18px; height: 18px; }

/* Featured tile decorative — anti-ban shield gauge */
.featured-viz {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 360px; height: 360px;
  pointer-events: none;
}
.featured-viz svg { width: 100%; height: 100%; }
.featured-viz .arc {
  fill: none; stroke: var(--line-2); stroke-width: 1; transform-origin: center;
}
.featured-viz .arc.active {
  stroke: var(--accent);
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: gauge 3s var(--easing) forwards 0.4s;
}
@keyframes gauge { to { stroke-dashoffset: 80; } }
.featured-viz .center-num {
  font-family: var(--font-display);
  font-size: 36px;
  fill: var(--text);
  font-weight: 500;
}
.featured-viz .center-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--text-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tile.featured .featured-kpis {
  display: flex; gap: 32px; margin-top: 24px;
}
.tile.featured .featured-kpis .kpi { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.tile.featured .featured-kpis .kpi b { color: var(--text); font-weight: 500; font-family: var(--font-display); font-size: 18px; display: block; margin-bottom: 2px; }

/* AI visual — typewriter line + bars */
.viz-ai { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.viz-ai .bar {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
}
.viz-ai .bar::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w);
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  border-radius: 3px;
  transform-origin: left;
  transform: scaleX(0);
  animation: bar-grow 1.4s var(--easing) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes bar-grow { to { transform: scaleX(1); } }
.viz-ai .typewriter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(91, 230, 200, 0.04);
  overflow: hidden;
  white-space: nowrap;
}

/* Flow viz — connected nodes */
.viz-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono); font-size: 10px;
}
.viz-flow .node {
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
  padding: 8px;
  border-radius: 6px;
  color: var(--text-2);
  display: flex; align-items: center; gap: 6px;
  position: relative;
}
.viz-flow .node::after {
  content: "→"; position: absolute; right: -10px;
  color: var(--text-3);
}
.viz-flow .node:last-child::after { display: none; }
.viz-flow .node .nd {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.viz-flow .node.alt .nd { background: var(--accent-2); }
.viz-flow .node.alt2 .nd { background: var(--accent-3); }

/* Lead viz — input pipes */
.viz-leads { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.viz-leads .lead-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(255,255,255,0.02);
  color: var(--text-2);
}
.viz-leads .lead-row .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}

/* ============================================================
   PRODUCT SURFACE — Resobrand console mock
============================================================ */
.console {
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(91, 230, 200, 0.06), transparent 60%),
    var(--ink-1);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  margin-top: 56px;
}
.console-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.018);
}
.console-head .dots { display: flex; gap: 6px; }
.console-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); display: block; }
.console-head .url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  padding: 4px 14px;
  background: var(--ink-2);
  border-radius: 6px;
  border: 1px solid var(--line);
  flex: 0 1 320px;
  text-align: center;
}
.console-head .pills { margin-left: auto; display: flex; gap: 8px; }
.console-head .pills .pill {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--accent); padding: 4px 10px;
  border: 1px solid var(--accent-soft); background: var(--accent-soft);
  border-radius: 999px;
}

.console-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 540px;
}
.console-side {
  border-right: 1px solid var(--line);
  padding: 24px 16px;
  background: rgba(0,0,0,0.18);
}
.console-side .side-section { margin-bottom: 22px; }
.console-side .side-h {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-3); padding: 0 10px 8px;
}
.console-side .side-item {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-2);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background 0.2s var(--easing);
}
.console-side .side-item:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.console-side .side-item.active { background: var(--accent-soft); color: var(--accent); }
.console-side .side-item .ic {
  width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center;
}
.console-side .side-item .ic svg { width: 14px; height: 14px; }
.console-side .side-item .badge {
  margin-left: auto;
  background: var(--ink-3); color: var(--text-2);
  font-family: var(--font-mono); font-size: 10px;
  padding: 2px 6px; border-radius: 4px;
}

.console-main {
  padding: 28px;
}
.cm-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.cm-toolbar h4 {
  font-size: 18px; font-weight: 500; letter-spacing: -0.02em;
}
.cm-toolbar .meta {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-3);
}
.cm-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 880px) { .cm-cards { grid-template-columns: repeat(2, 1fr); } }
.cm-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  background: rgba(255,255,255,0.02);
}
.cm-card .lbl { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.12em; }
.cm-card .val { font-size: 24px; font-weight: 500; letter-spacing: -0.025em; margin-top: 6px; line-height: 1; }
.cm-card .delta { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-top: 6px; display: inline-block; }
.cm-card .delta.neg { color: var(--accent-2); }

/* Chart */
.cm-chart {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  background: rgba(255,255,255,0.02);
}
.cm-chart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.cm-chart-head h5 { font-size: 14px; font-weight: 500; }
.cm-chart-head .legend { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 10px; color: var(--text-2); }
.cm-chart-head .legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 6px; }
.cm-chart-svg { width: 100%; height: 200px; }
.cm-chart-svg .grid-line { stroke: var(--line); stroke-width: 0.5; }
.cm-chart-svg path.area { fill: url(#area-grad); opacity: 0.5; }
.cm-chart-svg path.line { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 800; stroke-dashoffset: 800; }
.cm-chart-svg.animate path.line { animation: dash 2.4s var(--easing) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.cm-chart-svg path.line-alt { fill: none; stroke: var(--accent-2); stroke-width: 1.5; opacity: 0.7; stroke-dasharray: 4 4; }

@media (max-width: 880px) {
  .console-body { grid-template-columns: 1fr; }
  .console-side { display: none; }
}

/* Campaign list */
.cm-list { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cm-list-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.cm-list-row:last-child { border-bottom: 0; }
.cm-list-row.head { background: rgba(255,255,255,0.02); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); }
.cm-list-row .name { display: flex; align-items: center; gap: 10px; }
.cm-list-row .avatar { width: 22px; height: 22px; border-radius: 6px; background: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 10px; color: var(--accent); }
.cm-list-row .status { font-family: var(--font-mono); font-size: 11px; display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.cm-list-row .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.cm-list-row .status.draft::before { background: var(--text-3); box-shadow: none; }
.cm-list-row .status.queued::before { background: var(--accent-2); box-shadow: 0 0 6px var(--accent-2); }
.cm-list-row .mini-bar2 { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.cm-list-row .mini-bar2 > span { display: block; height: 100%; background: var(--accent); }

@media (max-width: 720px) {
  .cm-list-row { grid-template-columns: 1.4fr 0.8fr 0.8fr; font-size: 12px; }
  .cm-list-row .col-hide { display: none; }
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 32px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--accent) 50%, var(--line) 100%);
  opacity: 0.4;
  z-index: 0;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

.step { position: relative; padding-top: 0; }
.step .step-mark {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 22px;
  z-index: 1;
}
.step .step-mark::after {
  content: "";
  position: absolute; inset: -6px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: ring-small 3s var(--easing) infinite;
}
.step:nth-child(2) .step-mark::after { animation-delay: 0.6s; }
.step:nth-child(3) .step-mark::after { animation-delay: 1.2s; }
.step:nth-child(4) .step-mark::after { animation-delay: 1.8s; }
@keyframes ring-small {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.step h4 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14px; line-height: 1.55; }

/* ============================================================
   INDUSTRIES
============================================================ */
.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, 1fr); } }
.ind {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  position: relative;
  background: var(--ink-1);
  overflow: hidden;
  transition: border-color 0.3s var(--easing), background 0.3s var(--easing);
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.ind:hover { border-color: var(--accent); background: rgba(91, 230, 200, 0.03); }
.ind .ind-num {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-3);
  letter-spacing: 0.18em;
}
.ind h4 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.015em; margin: 10px 0 6px; }
.ind p { color: var(--text-2); font-size: 13px; line-height: 1.5; }
.ind .ind-result {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ============================================================
   INTEGRATIONS — big marquee
============================================================ */
.integrations {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.intg-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .intg-wrap { grid-template-columns: 1fr; gap: 48px; } }

.intg-list { margin: 28px 0 0; }
.intg-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
}
.intg-list li:last-child { border-bottom: 0; }
.intg-list li .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}

.intg-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
}
.intg-row {
  display: flex; gap: 12px;
  width: max-content;
}
.intg-row.r1 { animation: marquee 36s linear infinite; }
.intg-row.r2 { animation: marquee 36s linear infinite reverse; animation-duration: 44s; }
.intg-row.r3 { animation: marquee 36s linear infinite; animation-duration: 50s; }
.intg-row.r4 { animation: marquee 36s linear infinite reverse; animation-duration: 40s; }

.intg-cell {
  width: 160px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-1);
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.intg-cell .icn {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--ink-3);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.intg-cell .nm {
  font-size: 13px; color: var(--text-2);
  letter-spacing: -0.01em;
}

/* ============================================================
   PRICING
============================================================ */
.pricing-toggle {
  display: inline-flex;
  margin: 0 auto 56px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-1);
  align-items: center;
}
.pricing-toggle button {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  font-family: var(--font-display);
  transition: background 0.2s var(--easing), color 0.2s var(--easing);
  position: relative;
}
.pricing-toggle button.active {
  background: var(--accent);
  color: var(--ink);
  font-weight: 500;
}
.pricing-toggle button .save {
  font-family: var(--font-mono); font-size: 9px;
  background: rgba(0,0,0,0.15); color: var(--ink);
  padding: 2px 6px; border-radius: 999px; margin-left: 6px;
}
.pricing-toggle button:not(.active) .save {
  background: var(--accent-soft); color: var(--accent);
}

.toggle-row { display: flex; justify-content: center; }

.plans {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.plans.plans-3 {
  grid-template-columns: 1fr 1.15fr 1fr;
}
@media (max-width: 980px) { .plans, .plans.plans-3 { grid-template-columns: 1fr; } }

/* Pricing meta chips */
.pricing-meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin: 0 auto 44px;
}
.pricing-meta-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--text-2);
}
.pricing-meta-chip .pmc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.pricing-meta-chip .pmc-dot.amber { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }
.pricing-meta-chip .pmc-dot.magenta { background: var(--accent-3); box-shadow: 0 0 8px var(--accent-3); }

/* Plan add-ons row (under the price) */
.plan-addons {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 12px;
}
.plan-addon {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--line);
}
.plan-addon .pa-key {
  color: var(--accent);
  font-weight: 500;
}

/* Bottom pricing note */
.pricing-note {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  background:
    radial-gradient(circle at 0% 50%, rgba(91, 230, 200, 0.05), transparent 50%),
    var(--ink-1);
}
.pn-row { display: flex; gap: 18px; align-items: flex-start; }
.pn-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.pricing-note h5 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.pricing-note p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}
.pricing-note b { color: var(--text); font-weight: 500; }

.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-1);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan.popular {
  border-color: var(--accent);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(91, 230, 200, 0.12), transparent 70%),
    var(--ink-1);
}
.plan .plan-tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.plan.popular .plan-tag { color: var(--accent); }
.plan h4 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.plan .plan-desc { color: var(--text-2); font-size: 13px; margin-top: 10px; line-height: 1.5; }
.plan .plan-price {
  margin: 24px 0;
  display: flex; align-items: flex-end; gap: 6px;
}
.plan .plan-price .cur { font-family: var(--font-display); font-size: 22px; color: var(--text-2); font-weight: 400; }
.plan .plan-price .amt {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: opacity 0.2s var(--easing);
}
.plan .plan-price .per { font-size: 13px; color: var(--text-3); margin-left: 4px; padding-bottom: 8px; font-family: var(--font-mono); }

.plan ul {
  flex: 1;
  margin: 24px 0;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.plan li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.4;
}
.plan li .ck {
  flex-shrink: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px;
  margin-top: 1px;
}
.plan li.muted-li .ck { background: rgba(255,255,255,0.04); color: var(--text-3); }
.plan li.muted-li { color: var(--text-3); text-decoration: line-through; }
.plan li b { color: var(--text); font-weight: 500; }
.plan .plan-cta { width: 100%; justify-content: center; }

.plan.enterprise {
  display: flex; flex-direction: row; align-items: center;
  grid-column: span 3;
  margin-top: 16px;
  padding: 28px 32px;
  gap: 32px;
  background:
    radial-gradient(circle at 0% 50%, rgba(216, 111, 230, 0.06), transparent 50%),
    var(--ink-1);
}
@media (max-width: 980px) { .plan.enterprise { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; } }
.plan.enterprise .ent-info { flex: 1; }
.plan.enterprise h4 { font-size: 18px; }
.plan.enterprise .plan-desc { margin-top: 6px; max-width: 640px; }

/* ============================================================
   COMPARISON TABLE
============================================================ */
.comparison { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 50%, transparent); }

.compare-score {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  background: var(--ink-1);
}
.cs-cell {
  padding: 22px 20px;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
  min-height: 92px;
}
.cs-cell:first-child { border-left: 0; }
.cs-head .cs-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.cs-resobrand {
  background: rgba(91, 230, 200, 0.06);
  position: relative;
}
.cs-resobrand::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent);
}
.cs-logo { height: 18px; width: auto; }
.cs-vendor {
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-2);
}
.cs-stats {
  display: flex; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.cs-stat { color: var(--text-3); }
.cs-stat.green { color: var(--accent); }
.cs-stat.amber { color: var(--accent-2); }
.cs-stat.dim { color: var(--text-3); }

.compare-table {
  border: 1px solid var(--line-2);
  border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: var(--ink-1);
}
.ct-section { border-bottom: 1px solid var(--line); }
.ct-section:last-child { border-bottom: 0; }
.ct-section-title {
  padding: 18px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: rgba(255,255,255,0.02);
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line);
}
.ct-section-title .ct-section-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding: 3px 8px;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
}

.ct-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-2);
  transition: background 0.2s var(--easing);
}
.ct-row:last-child { border-bottom: 0; }
.ct-row:hover { background: rgba(255,255,255,0.018); }
.ct-row > div {
  padding: 12px 20px;
  border-left: 1px solid var(--line);
}
.ct-row > div:first-child {
  border-left: 0;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ct-row.ct-row-head {
  background: rgba(255,255,255,0.01);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  min-height: 38px;
}
.ct-row.ct-row-head > div { color: var(--text-3); font-weight: 400; }
.ct-row.ct-row-head > div:nth-child(2) { color: var(--accent); }

.ct-val {
  font-family: var(--font-display);
  font-size: 13px;
  display: flex; align-items: center; gap: 6px;
}
.ct-val.resobrand {
  background: rgba(91, 230, 200, 0.05);
  border-left: 1px solid var(--accent) !important;
  color: var(--text);
}
.ct-val.dim { color: var(--text-3); font-family: var(--font-mono); font-size: 12px; }
.ct-val b { color: var(--accent); font-weight: 500; }
.ct-val.resobrand b { color: var(--accent); }

/* compare icons */
.cy, .cp, .cn {
  display: inline-flex;
  width: 18px; height: 18px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.cy { background: var(--accent-soft); color: var(--accent); position: relative; }
.cy::after { content: "✓"; font-family: var(--font-mono); font-size: 11px; }
.cp { background: rgba(236, 165, 99, 0.12); color: var(--accent-2); position: relative; }
.cp::after { content: "~"; font-family: var(--font-mono); font-size: 12px; }
.cn { background: rgba(255,255,255,0.04); color: var(--text-3); position: relative; }
.cn::after { content: "✕"; font-family: var(--font-mono); font-size: 10px; }

.compare-legend {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  align-items: center;
}
.compare-legend span { display: inline-flex; align-items: center; gap: 6px; }
.compare-legend .compare-pdf {
  margin-left: auto;
  color: var(--accent);
  padding: 8px 14px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  transition: background 0.3s var(--easing);
}
.compare-legend .compare-pdf:hover { background: var(--accent-soft); }

@media (max-width: 880px) {
  .compare-score { grid-template-columns: 1fr; }
  .cs-cell { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; min-height: 64px; }
  .cs-cell:first-child { border-top: 0; }
  .cs-resobrand::before { width: 100%; height: 2px; bottom: auto; }

  .compare-table { font-size: 12px; }
  .ct-section-title { padding: 14px; font-size: 12px; }
  .ct-row { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; font-size: 12px; }
  .ct-row > div { padding: 10px 8px; font-size: 11px; }
  .ct-val { font-size: 12px; gap: 0; }
  .ct-val.dim { font-size: 10px; }
}

/* OBSOLETE pricing toggle removed; legacy class kept harmless */
.pricing-toggle, .toggle-row { display: none; }
.testimonials {
  columns: 3;
  column-gap: 16px;
}
@media (max-width: 980px) { .testimonials { columns: 2; } }
@media (max-width: 640px) { .testimonials { columns: 1; } }

.testi {
  break-inside: avoid;
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 16px;
  position: relative;
  transition: border-color 0.3s var(--easing), transform 0.3s var(--easing);
}
.testi:hover { border-color: var(--line-2); transform: translateY(-2px); }
.testi .stars { color: var(--accent-2); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.testi blockquote {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
.testi blockquote::before { content: "“"; font-family: var(--font-serif); font-style: italic; color: var(--accent); margin-right: 2px; }
.testi blockquote::after { content: "”"; font-family: var(--font-serif); font-style: italic; color: var(--accent); }
.testi .author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testi .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent);
}
.testi .author .name { font-size: 14px; font-weight: 500; }
.testi .author .desig { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-top: 2px; }
.testi .result {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent-2);
  margin-top: 14px;
  padding: 8px 12px;
  background: rgba(236, 165, 99, 0.06);
  border-radius: 6px;
  display: inline-block;
}

/* ============================================================
   RESELLER
============================================================ */
.reseller-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .reseller-wrap { grid-template-columns: 1fr; gap: 48px; } }

.reseller-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; }
@media (max-width: 640px) { .reseller-features { grid-template-columns: 1fr; } }
.rf-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-1);
}
.rf-item h5 { font-size: 14px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 6px; }
.rf-item p { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.rf-item .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.rf-item .ic svg { width: 16px; height: 16px; }

.tiers {
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(236, 165, 99, 0.06), transparent 60%),
    var(--ink-1);
  padding: 32px;
}
.tiers h5 { font-size: 14px; font-weight: 500; margin-bottom: 24px; }
.tier-row {
  display: grid; grid-template-columns: 1fr 1.6fr 1fr;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
}
.tier-row:last-child { border-bottom: 0; }
.tier-row .tn { color: var(--accent); }
.tier-row .tdesc { color: var(--text-2); padding-right: 24px; line-height: 1.45; font-family: var(--font-display); font-size: 13px; }
.tier-row .tcm {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: right;
}

/* ============================================================
   FAQ
============================================================ */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color 0.2s var(--easing);
}
.faq-item:hover .faq-q { color: var(--accent); }
.faq-q .icn {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--easing), border-color 0.3s var(--easing), background 0.3s var(--easing);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-q .icn { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--ink); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  transition: max-height 0.4s var(--easing), padding 0.4s var(--easing);
}
.faq-item.open .faq-a {
  max-height: 220px;
  padding: 0 0 24px;
}

/* ============================================================
   CTA banner
============================================================ */
.cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-inner {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
}
.cta h2 { margin-bottom: 16px; }
.cta p { color: var(--text-2); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-waveform {
  position: absolute; inset: 0;
  z-index: 1;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, black 0%, transparent 70%);
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
  background: var(--ink-1);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }
.foot-col h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.2s var(--easing);
}
.foot-col a:hover { color: var(--accent); }
.foot-brand p { color: var(--text-2); font-size: 13px; margin-top: 16px; max-width: 280px; }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-3);
  flex-wrap: wrap; gap: 16px;
}
.foot-bottom .socials { display: flex; gap: 8px; }
.foot-bottom .socials a {
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s var(--easing), color 0.2s var(--easing);
}
.foot-bottom .socials a:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--easing), transform 0.8s var(--easing); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   HERO PILLS — split pill row (MBP + Live counter)
============================================================ */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 0;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.25s var(--easing), background 0.25s var(--easing);
}
.hero-pill--mbp {
  padding: 6px 14px;
  border-color: rgba(24,119,242,0.35);
  background: rgba(24,119,242,0.06);
}
.hero-pill--mbp:hover {
  border-color: rgba(24,119,242,0.7);
  background: rgba(24,119,242,0.12);
}
.mbp-inline-hero {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

/* Pulse dot for live counter */
.pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(91,230,200,0.5);
  animation: pulse-ring 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0   rgba(91,230,200,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(91,230,200,0);   }
  100% { box-shadow: 0 0 0 0   rgba(91,230,200,0);   }
}

/* ============================================================
   META BUSINESS PARTNER — TRUST SECTION
============================================================ */
.mbp-trust-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(24,119,242,0.04) 0%, rgba(10,10,20,0) 60%);
  position: relative;
  overflow: hidden;
}
.mbp-trust-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 10% 50%, rgba(24,119,242,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.mbp-trust-inner {
  display: grid;
  grid-template-columns: auto 1px 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .mbp-trust-inner { grid-template-columns: 1fr; gap: 24px; }
  .mbp-trust-divider { display: none !important; }
}
.mbp-trust-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mbp-lockup-link {
  display: block;
  transition: opacity 0.2s var(--easing), transform 0.2s var(--easing);
}
.mbp-lockup-link:hover { opacity: 0.85; transform: translateY(-2px); }
.mbp-lockup-img {
  height: 60px;
  width: auto;
  display: block;
  max-width: 340px;
}
.mbp-trust-divider {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--line) 30%, var(--line) 70%, transparent);
  align-self: center;
}
.mbp-trust-headline {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 8px;
}
.mbp-trust-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 20px;
}
.mbp-trust-body strong { color: var(--text-1); font-weight: 500; }
.mbp-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mbp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(91,230,200,0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  background: rgba(91,230,200,0.04);
  letter-spacing: 0.03em;
}

/* ============================================================
   FOOTER MBP CARD — upgraded with inline lockup
============================================================ */
.mbp-card {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(24,119,242,0.25);
  background: linear-gradient(135deg, rgba(24,119,242,0.07) 0%, rgba(10,10,20,0.5) 100%);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s var(--easing), transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
  text-decoration: none;
}
.mbp-card:hover {
  border-color: rgba(24,119,242,0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24,119,242,0.12);
}
.mbp-footer-inline {
  display: block;
  height: 32px;
  width: auto;
  max-width: 220px;
}
.mbp-card-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(24,119,242,0.7);
}
