/* ==========================================================================
   ImpulseWatch Marketing Site (https://impulsewatch.io)
   Brand: Impulse Blue (#2563eb), Dark Slate (#0f172a), Clean Slate (#f8fafc),
   and International-Standard Emerald Green (#10b981 / #059669) for Up/Healthy.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --ink-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --slate-950: #090e1a;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;

  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #3b82f6;
  --blue-tint: rgba(37, 99, 235, 0.09);
  --blue-border: rgba(37, 99, 235, 0.25);

  --up: #10b981;
  --up-dark: #059669;
  --up-bright: #34d399;
  --up-tint: rgba(16, 185, 129, 0.12);

  --warn: #f59e0b;
  --warn-text: #b45309;
  --warn-tint: rgba(245, 158, 11, 0.12);

  --down: #ef4444;
  --down-tint: rgba(239, 68, 68, 0.12);

  --indigo: #6366f1;
  --sky: #0ea5e9;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.22);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --max-w: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Early 2027 Launch Announcement Strip ---- */
.launch-bar {
  background: linear-gradient(90deg, #090e1a 0%, #172554 50%, #090e1a 100%);
  color: #e2e8f0;
  border-bottom: 1px solid rgba(96, 165, 250, 0.22);
  font-size: 13px;
}

.launch-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.launch-bar__badge {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.launch-bar__cta {
  color: #93c5fd;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 13px;
}

.launch-bar__cta:hover {
  color: #ffffff;
}

/* ---- Site Header / Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav--dark {
  background: rgba(15, 23, 42, 0.94);
  border-bottom-color: rgba(148, 163, 184, 0.15);
  color: #f8fafc;
}

.site-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.30);
}

.brand__by {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 2px;
}

.site-nav--dark .brand__by {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.site-nav--dark .nav-links {
  color: #cbd5e1;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--blue);
}

.site-nav--dark .nav-links a:hover,
.site-nav--dark .nav-links a.is-active {
  color: #60a5fa;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn--lg {
  padding: 13px 24px;
  font-size: 15px;
  border-radius: 10px;
}

.btn--sm {
  padding: 7px 13px;
  font-size: 13px;
}

.btn--primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.36);
}

.btn--secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--bg-subtle);
  border-color: #94a3b8;
}

.btn--ghost {
  background: transparent;
  color: var(--ink-secondary);
}

.btn--ghost:hover {
  background: var(--bg-muted);
  color: var(--ink);
}

.btn--dark-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.28);
}

.btn--dark-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(148, 163, 184, 0.45);
}

/* ---- Eyebrows, Pills & Badges ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--blue-tint);
  color: var(--blue);
  border: 1px solid var(--blue-border);
}

.eyebrow--dark {
  background: rgba(37, 99, 235, 0.16);
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.32);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  display: inline-block;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.pill--up {
  background: var(--up-tint);
  color: var(--up-dark);
}

.pill--blue {
  background: var(--blue-tint);
  color: var(--blue);
}

.pill--soon {
  background: var(--warn-tint);
  color: var(--warn-text);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.pill--slate {
  background: var(--bg-muted);
  color: var(--ink-secondary);
}

/* ---- Hero Section ---- */
.hero {
  background:
    radial-gradient(900px 440px at 50% -60px, rgba(37, 99, 235, 0.24), transparent 70%),
    radial-gradient(500px 320px at 85% 20%, rgba(16, 185, 129, 0.10), transparent 70%),
    linear-gradient(180deg, #0b1120 0%, #0f172a 68%, #111c33 100%);
  color: #f8fafc;
  padding: 64px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero--compact {
  padding: 56px 0 64px;
}

.hero__center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero h1 span.accent {
  background: linear-gradient(90deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  margin: 0 auto 28px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: #cbd5e1;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__micro {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
}

.hero__micro span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.check-icon {
  color: var(--up-bright);
  font-weight: 800;
}

/* ---- Interactive Console Showcase Frame ---- */
.console-showcase {
  margin-top: 44px;
}

.console-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.console-tab {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
}

.console-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.console-tab.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.browser-frame {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #f8fafc;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.55);
  overflow: hidden;
  text-align: left;
}

.browser-frame--light {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.browser-chrome {
  background: #0f172a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

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

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-url {
  background: #1e293b;
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.browser-tag {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

/* ---- Embedded Realistic ImpulseWatch Console UI ---- */
.iw-mock {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 440px;
  background: #f8fafc;
}

.iw-mock__sidebar {
  background: #0f172a;
  color: #cbd5e1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(148, 163, 184, 0.14);
}

.iw-mock__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  color: #ffffff;
  padding: 0 6px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  margin-bottom: 12px;
}

.iw-mock__nav-group {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  padding: 8px 8px 4px;
  text-transform: uppercase;
}

.iw-mock__nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 2px;
}

.iw-mock__nav-item.is-active {
  background: var(--blue);
  color: #ffffff;
  font-weight: 600;
}

.iw-mock__nav-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(148, 163, 184, 0.16);
  padding: 1px 6px;
  border-radius: 999px;
}

.iw-mock__nav-item.is-active .iw-mock__nav-badge {
  background: rgba(255, 255, 255, 0.22);
}

.iw-mock__main {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.iw-mock__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.iw-mock__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.iw-mock__kpi-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.iw-kpi {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.iw-kpi__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.iw-kpi__val {
  font-size: 19px;
  font-weight: 800;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.iw-kpi__val--up { color: var(--up-dark); }
.iw-kpi__val--blue { color: var(--blue); }

.iw-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.iw-mon-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.iw-mon-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.iw-mon-card__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.iw-mon-card__sub {
  font-size: 11px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

.iw-mon-card__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-muted);
}

.iw-mon-card__uptime {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--up-dark);
}

.sparkbar {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  gap: 2px;
  height: 22px;
  align-items: end;
}

.sparkbar i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--up);
}

.sparkbar i.warn { background: var(--warn); height: 75%; }
.sparkbar i.down { background: var(--down); height: 60%; }
.sparkbar i.empty { background: #e2e8f0; }

.console-panel {
  display: none;
}

.console-panel.is-active {
  display: block;
}

/* ---- Trust Strip ---- */
.trust-strip {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-strip__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.trust-item__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
}

/* ---- Generic Sections ---- */
.section {
  padding: 80px 0;
}

.section--subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--dark {
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
  color: #f8fafc;
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section__head h2 {
  margin: 14px 0 12px;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section__head p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-muted);
}

.section--dark .section__head p {
  color: #94a3b8;
}

/* ---- Tool Consolidation Strip ---- */
.replace-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.replace-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-xs);
}

.replace-card__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.replace-card__title {
  font-size: 15px;
  font-weight: 700;
  margin: 6px 0 4px;
}

.replace-card__old {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.replace-card__new {
  font-size: 12px;
  font-weight: 700;
  color: var(--up-dark);
  margin-top: 6px;
}

.replace-summary {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---- Feature Deep-Dive Alternating Rows ---- */
.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 44px;
  align-items: center;
}

.feature-row--reverse {
  grid-template-columns: 1.12fr 1fr;
}

.feature-row--reverse .feature-row__copy {
  order: 2;
}

.feature-row__copy h3 {
  margin: 12px 0 12px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-row__copy p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-secondary);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.check-list li::before {
  content: '✓';
  color: var(--up-dark);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.ui-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

/* ---- Latency Bar Visual ---- */
.latency-bar {
  display: flex;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-muted);
  margin: 12px 0 14px;
}

.latency-bar .seg-dns { width: 12%; background: var(--indigo); }
.latency-bar .seg-tcp { width: 16%; background: var(--sky); }
.latency-bar .seg-tls { width: 24%; background: var(--warn); }
.latency-bar .seg-ttfb { width: 48%; background: var(--blue); }

.latency-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  font-size: 12px;
}

.latency-legend div {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}

/* ---- Security Findings Mini List ---- */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.sec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  font-size: 12px;
  font-weight: 600;
}

/* ---- API Chain Steps ---- */
.chain-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  margin-bottom: 8px;
  font-size: 13px;
}

.http-method {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--blue-tint);
  color: var(--blue);
}

/* ---- Pricing Controls & Cards ---- */
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.billing-toggle {
  display: inline-flex;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 999px;
}

.billing-toggle button {
  border: 0;
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
  transition: all 0.15s;
}

.billing-toggle button.is-active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.plan-card--featured {
  border: 2px solid var(--blue);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.14);
}

.plan-card__ribbon {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
}

.plan-card__name {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 4px;
}

.plan-card__desc {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 18px;
  min-height: 38px;
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-card__amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.plan-card__period {
  font-size: 14px;
  color: var(--ink-muted);
}

.plan-card__billed {
  font-size: 12px;
  color: var(--up-dark);
  font-weight: 600;
  min-height: 18px;
  margin-bottom: 18px;
}

.plan-card__quota {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-card .check-list {
  margin-bottom: 22px;
  flex: 1;
}

.plan-card .btn {
  width: 100%;
}

/* ---- Enterprise & Platform Callout Banners ---- */
.callout-stack {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.enterprise-strip {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.platform-banner {
  background:
    radial-gradient(500px 200px at 90% 50%, rgba(37, 99, 235, 0.28), transparent 70%),
    linear-gradient(135deg, #0f172a 0%, #172554 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.platform-banner p {
  margin: 6px 0 0;
  color: #cbd5e1;
  font-size: 14px;
  max-width: 680px;
}

/* ---- Integrations Hub Grid ---- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink-secondary);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.filter-pill.is-active {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: #ffffff;
}

.search-input {
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 14px;
  min-width: 240px;
  font-family: inherit;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.int-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.int-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-border);
}

.int-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.int-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.int-logo svg {
  width: 24px;
  height: 24px;
}

.int-card__name {
  font-size: 15px;
  font-weight: 700;
}

.int-card__cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
}

.int-card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ---- Comparison Table ---- */
.matrix-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 780px;
}

.matrix-table th,
.matrix-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.matrix-table th:first-child,
.matrix-table td:first-child {
  text-align: left;
  width: 34%;
}

.matrix-table thead th {
  background: var(--bg-subtle);
  font-size: 14px;
  font-weight: 800;
  position: sticky;
  top: 0;
}

.matrix-table tr.cat-row td {
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-secondary);
  padding: 10px 16px;
}

.matrix-table td.hl-col,
.matrix-table th.hl-col {
  background: rgba(37, 99, 235, 0.04);
}

.yes { color: var(--up-dark); font-weight: 800; }
.no { color: #cbd5e1; }

/* ---- FAQ Accordion ---- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

/* ---- Early Access Modal ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 14, 26, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  color: var(--ink);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-head {
  background: var(--slate-900);
  color: #ffffff;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #e2e8f0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
}

.modal-body {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-bottom: 5px;
}

.field-input,
.field-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #ffffff;
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.modal-note {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--slate-950);
  color: #94a3b8;
  padding: 56px 0 36px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .replace-grid { grid-template-columns: repeat(2, 1fr); }
  .iw-mock { grid-template-columns: 1fr; }
  .iw-mock__sidebar { display: none; }
  .iw-mock__kpi-row { grid-template-columns: repeat(3, 1fr); }
  .iw-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row--reverse { grid-template-columns: 1fr; }
  .feature-row--reverse .feature-row__copy { order: 0; }
}

@media (max-width: 640px) {
  .pricing-grid,
  .integrations-grid,
  .replace-grid,
  .iw-cards-grid,
  .sec-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .iw-mock__kpi-row { grid-template-columns: repeat(2, 1fr); }
}
