:root {
  --bg: #0a0b0e;
  --bg-soft: #0d0f13;
  --surface: #101216;
  --surface-2: #14171c;
  --surface-3: #181c22;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f4f5f7;
  --text-2: #9ba1ab;
  --text-3: #6e7681;
  --accent: #6366f1;
  --accent-strong: #818cf8;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --accent-border: rgba(129, 140, 248, 0.35);
  --blue: #60a5fa;
  --blue-soft: rgba(96, 165, 250, 0.12);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.12);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.12);
  --red: #f87171;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 40px -18px rgba(0, 0, 0, 0.55);
  --shadow-float: 0 2px 4px rgba(0, 0, 0, 0.35), 0 30px 70px -28px rgba(0, 0, 0, 0.7);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }

p { margin: 0; }

a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: #a5b4fc; }

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

button { font-family: inherit; }

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

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

::selection { background: rgba(99, 102, 241, 0.35); color: #fff; }

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(48px, 7vw, 80px); }
.section + .section { padding-top: 0; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.h1 {
  font-size: clamp(38px, 5.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.h2 { font-size: clamp(27px, 3.6vw, 38px); letter-spacing: -0.025em; font-weight: 700; }

.h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; }

.lede {
  margin-top: 20px;
  max-width: 56ch;
  font-size: clamp(16.5px, 1.6vw, 18.5px);
  line-height: 1.65;
  color: var(--text-2);
}

.section-head .lede { margin-inline: auto; }

.muted { color: var(--text-2); }
.small { font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, #6f74f4, #555ae8);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 24px -12px rgba(99, 102, 241, 0.65);
}
.btn-primary:hover { background: linear-gradient(180deg, #7b80f7, #6166ee); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 30px -12px rgba(99, 102, 241, 0.75); }

.btn-secondary {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.22); background: var(--surface-3); color: var(--text); }

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 11px; }

.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.scrolled {
  background: rgba(10, 11, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #6f74f4 0%, #4f46e5 60%, #4338ca 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px -6px rgba(79, 70, 229, 0.7);
  flex-shrink: 0;
}
.brand-mark svg { width: 17px; height: 17px; }

/* Logo images — both assets are pure-black on transparent, so invert for dark theme */
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.brand-logo--wide {
  height: 34px;
  max-width: 175px;
}
.brand-logo--icon {
  height: 36px;
  width: auto;
  max-width: 52px;
  display: none;
  filter: brightness(0) invert(1);
}
.footer-brand .brand-logo {
  height: 38px;
  max-width: 160px;
}
.footer-brand .brand-logo--icon {
  height: 42px;
  max-width: 58px;
}
@media (max-width: 560px) {
  .site-header .brand-logo--wide { display: none; }
  .site-header .brand-logo--icon { display: block; }
  .brand { gap: 8px; }
}
/* Footer always shows wide logo for readability — icon stays as favicon/mobile header only */
.footer-brand .brand-logo--wide { display: block !important; }
.footer-brand .brand-logo--icon { display: none !important; }

.primary-nav ul { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.primary-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.primary-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); font-weight: 600; }
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 9px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 88px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 42% at 78% 0%, rgba(99, 102, 241, 0.09), transparent 70%),
    radial-gradient(40% 36% at 8% 12%, rgba(96, 165, 250, 0.05), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero-copy .lede { max-width: 50ch; }
.hero-copy .btn-row { margin-top: 32px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--text-3);
}
.hero-note svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

.dash-stack { display: grid; gap: 18px; }

.app-frame {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 120px), var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.frame-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.frame-label {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px 16px;
}
.app-title { display: flex; align-items: center; gap: 11px; font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; }
.app-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-strong);
  flex-shrink: 0;
}
.app-icon svg { width: 15px; height: 15px; }
.app-icon.blue { background: var(--blue-soft); border-color: rgba(96, 165, 250, 0.3); color: var(--blue); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.pill-on { color: var(--green); background: var(--green-soft); border-color: rgba(52, 211, 153, 0.3); }
.pill-warn { color: var(--amber); background: var(--amber-soft); border-color: rgba(251, 191, 36, 0.3); }
.pill-blue { color: var(--blue); background: var(--blue-soft); border-color: rgba(96, 165, 250, 0.3); }
.pill-accent { color: var(--accent-strong); background: var(--accent-soft); border-color: var(--accent-border); }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.toggle-track {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(52, 211, 153, 0.4);
  position: relative;
  flex-shrink: 0;
}
.toggle-track::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 3px;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}
.stat-cell { padding: 15px 22px; border-bottom: 1px solid var(--border); }
.stat-cell:nth-child(odd) { border-right: 1px solid var(--border); }
.stat-cell.full { grid-column: 1 / -1; border-right: none; }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 5px; }
.stat-value { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat-value.ok { color: var(--green); }

.queue { border-top: 1px solid var(--border); }
.queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.queue-row:last-child { border-bottom: none; }
.queue-name { display: flex; align-items: center; gap: 11px; font-weight: 500; min-width: 0; }
.queue-avatar {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
}
.queue-avatar.alt { background: linear-gradient(135deg, #7c3aed, #db2777); }
.queue-avatar.alt2 { background: linear-gradient(135deg, #0891b2, #2563eb); }

.progress-wrap { padding: 16px 22px 20px; border-top: 1px solid var(--border); }
.progress-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; font-size: 13px; color: var(--text-3); }
.progress-meta strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.progress { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.progress i {
  display: block;
  height: 100%;
  width: 60%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.spark-wrap { padding: 4px 22px 20px; border-top: 1px solid var(--border); }
.spark-caption { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 12.5px; color: var(--text-3); }
.spark-caption strong { color: var(--text-2); font-weight: 600; }
.sparkline { width: 100%; height: auto; }

.reco-list { border-top: 1px solid var(--border); }
.reco-item { padding: 17px 22px; border-bottom: 1px solid var(--border); }
.reco-item:last-child { border-bottom: none; }
.reco-title { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.reco-num {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.reco-reason { margin: 8px 0 0 33px; font-size: 13.5px; line-height: 1.6; color: var(--text-2); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0) 140px), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card p { margin-top: 10px; font-size: 14.5px; line-height: 1.62; color: var(--text-2); }

.icon-chip {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(129, 140, 248, 0.22);
  color: var(--accent-strong);
  margin-bottom: 18px;
}
.icon-chip svg { width: 20px; height: 20px; }
.icon-chip.blue { background: var(--blue-soft); border-color: rgba(96, 165, 250, 0.22); color: var(--blue); }
.icon-chip.green { background: var(--green-soft); border-color: rgba(52, 211, 153, 0.22); color: var(--green); }
.icon-chip.amber { background: var(--amber-soft); border-color: rgba(251, 191, 36, 0.22); color: var(--amber); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-n {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; }
.step p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.steps.connect .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -14px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--border-strong);
  border-right: 2px solid var(--border-strong);
  transform: rotate(45deg);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}
.chip svg { width: 13px; height: 13px; color: var(--accent-strong); flex-shrink: 0; }

.callout {
  display: flex;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.06), rgba(99, 102, 241, 0) 55%), var(--surface);
}
.callout-icon { color: var(--accent-strong); flex-shrink: 0; margin-top: 2px; }
.callout-icon svg { width: 21px; height: 21px; }
.callout h3 { font-size: 16px; }
.callout p { margin-top: 7px; font-size: 14.5px; line-height: 1.62; color: var(--text-2); }

.ai-section {
  position: relative;
}
.ai-shell {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(60% 46% at 50% 0%, rgba(99, 102, 241, 0.07), transparent 70%),
    var(--bg-soft);
  padding: clamp(32px, 5vw, 64px);
}
.ai-shell > * { position: relative; }

.quote-card {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid var(--accent-border);
  border-radius: 22px;
  background:
    radial-gradient(80% 90% at 85% 0%, rgba(99, 102, 241, 0.1), transparent 65%),
    var(--surface);
  box-shadow: var(--shadow-float);
}
.quote-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.quote-tag svg { width: 15px; height: 15px; }
.quote-text { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.42; font-weight: 550; letter-spacing: -0.015em; }
.quote-sub { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); }
.quote-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.quote-answer { font-size: 16.5px; line-height: 1.6; font-weight: 550; }
.quote-why { margin-top: 18px; font-size: 14.5px; line-height: 1.62; color: var(--text-2); }
.source-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}
.source-pill svg { width: 13px; height: 13px; color: var(--green); }

.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 160px), var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.value-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.value-card .icon-chip { width: 46px; height: 46px; }
.value-card h3 { font-size: 21px; margin-top: 6px; }
.value-card p { margin-top: 12px; font-size: 15.5px; line-height: 1.62; color: var(--text-2); }
.value-card .btn { margin-top: 26px; align-self: flex-start; }
.flow-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  margin-top: 22px;
  padding: 22px 26px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}
.flow-item { display: flex; align-items: center; gap: 13px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.flow-item strong { color: var(--text); font-weight: 600; }
.flow-item .flow-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-strong);
}
.flow-item .flow-badge svg { width: 16px; height: 16px; }
.flow-arrow { display: grid; place-items: center; color: var(--text-3); }
.flow-arrow svg { width: 20px; height: 20px; }

.free-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(55% 80% at 50% 0%, rgba(99, 102, 241, 0.1), transparent 70%),
    var(--bg-soft);
}
.free-count {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text);
}
.free-count .n { font-size: clamp(44px, 7vw, 68px); background: linear-gradient(135deg, #a5b4fc, #60a5fa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.free-count .unit { font-size: clamp(16px, 2vw, 20px); color: var(--text-2); font-weight: 550; }
.free-band .lede { margin-inline: auto; }
.free-band .btn-row { justify-content: center; margin-top: 30px; }

.billing-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  gap: 2px;
  margin-top: 26px;
}
.billing-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.billing-btn[aria-pressed="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0) 140px), var(--surface);
}
.plan.featured { border-color: var(--accent-border); box-shadow: 0 0 0 1px var(--accent-border), 0 24px 60px -30px rgba(99, 102, 241, 0.4); background: radial-gradient(90% 60% at 50% 0%, rgba(99, 102, 241, 0.08), transparent 70%), var(--surface); }
.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6f74f4, #4f46e5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -8px rgba(79, 70, 229, 0.8);
  white-space: nowrap;
}
.plan-name { font-size: 17px; font-weight: 650; }
.plan-quota { margin-top: 6px; font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin-top: 22px; }
.price-amount { font-size: 38px; font-weight: 720; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-period { font-size: 14.5px; color: var(--text-3); font-weight: 500; }
.plan-desc { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.plan .btn { margin-top: 24px; }
.plans-note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--text-3); }

.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 15px 20px; text-align: center; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table thead th { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-2); background: rgba(255, 255, 255, 0.02); }
.compare-table tbody th { text-align: left; font-weight: 500; color: var(--text-2); }
.compare-table td { color: var(--text); font-weight: 500; }
.compare-table .col-hl { background: rgba(99, 102, 241, 0.05); }
.check { display: inline-block; width: 18px; height: 18px; color: var(--green); }
.check svg { width: 100%; height: 100%; }
.cross { display: inline-block; width: 15px; height: 15px; color: var(--text-3); opacity: 0.75; }
.cross svg { width: 100%; height: 100%; }
.plan-perk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-strong);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.plan-perk svg { width: 13px; height: 13px; flex-shrink: 0; }

.ai-avail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 22px 26px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}
.ai-avail-copy { display: flex; align-items: center; gap: 14px; }
.ai-avail-copy .app-icon { width: 38px; height: 38px; }
.ai-avail-copy .app-icon svg { width: 18px; height: 18px; }
.ai-avail h3 { font-size: 15.5px; }
.ai-avail p { margin-top: 3px; font-size: 13.5px; color: var(--text-3); }

.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.trust-item { display: flex; gap: 15px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.trust-item svg { width: 19px; height: 19px; color: var(--accent-strong); flex-shrink: 0; margin-top: 3px; }
.trust-item h3 { font-size: 15px; }
.trust-item p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--text-2); }

.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 4px;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  transition: color 0.15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #dfe2e8; }
.faq-x {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  color: var(--text-3);
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq-x svg { width: 13px; height: 13px; }
.faq details[open] .faq-x { transform: rotate(45deg); color: var(--accent-strong); }
.faq-a { padding: 0 44px 22px 4px; font-size: 15px; line-height: 1.66; color: var(--text-2); }

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: clamp(52px, 8vw, 96px) clamp(24px, 5vw, 64px);
  background:
    radial-gradient(58% 90% at 50% 0%, rgba(99, 102, 241, 0.11), transparent 72%),
    var(--bg-soft);
}
.cta-band .h2 { max-width: 640px; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 34px; }

.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: clamp(48px, 7vw, 72px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 36ch; font-size: 14px; line-height: 1.65; color: var(--text-3); }
.footer-col h3 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; padding: 6px 0; font-size: 14px; font-weight: 450; color: var(--text-2); transition: color 0.15s ease; line-height: 1.4; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer-bottom p { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.footer-bottom a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 1px; transition: color 0.15s ease, border-color 0.15s ease; }
.footer-bottom a:hover { color: var(--text); border-bottom-color: rgba(255,255,255,0.35); }

.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 88px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--border); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(46% 60% at 50% 0%, rgba(99, 102, 241, 0.08), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; }
.prose { max-width: 720px; }
.prose h2 { font-size: 24px; margin: 40px 0 14px; }
.prose h3 { font-size: 18px; margin: 32px 0 10px; }
.prose p { margin: 12px 0; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.prose ul { margin: 12px 0; padding-left: 4px; }
.prose li { position: relative; padding-left: 22px; margin: 8px 0; color: var(--text-2); font-size: 15px; line-height: 1.65; }
.prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); opacity: 0.8; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.2, 0.6, 0.25, 1), transform 0.6s cubic-bezier(0.2, 0.6, 0.25, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-copy .btn-row { justify-content: center; }
  .hero-note { justify-content: center; }
  .steps.connect .step:not(:last-child)::after { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(10, 11, 14, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  }
  body.nav-open .primary-nav { transform: none; opacity: 1; visibility: visible; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a { padding: 13px 14px; font-size: 16px; border-radius: 10px; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .value-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { gap: 32px; }
  .trust-grid { grid-template-columns: 1fr; }
  .flow-strip { grid-template-columns: 1fr; gap: 16px; }
  .flow-arrow { transform: rotate(90deg); }
}

.pm-split { display: grid; grid-template-columns: 1.15fr 0.85fr; }
.pm-split > * { min-width: 0; }
.pm-split > .pm-side { border-left: 1px solid var(--border); background: rgba(255, 255, 255, 0.012); }
.panel-label { padding: 16px 22px 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.pill-red { color: var(--red); background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.3); }
.stat-value.lg { font-size: 18.5px; font-weight: 650; }
.action-line { display: flex; align-items: center; gap: 10px; }
.action-line svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 40px); align-items: start; }

@media (max-width: 900px) {
  .pm-split { grid-template-columns: 1fr; }
  .pm-split > .pm-side { border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-cell:nth-child(odd) { border-right: none; }
  .stat-cell { border-right: none !important; }
  .header-cta .btn span.hide-s { display: none; }
  .quote-card { padding: 26px 22px; }
  .faq-a { padding-right: 8px; }
  .ai-shell { border-radius: 18px; }
  .reco-reason { margin-left: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-cols { gap: 28px; }
}

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 40px 0 24px; }
}
