:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bg: #020617;
  --bg-soft: #0f172a;
  --surface: #111827;
  --surface-strong: #1e293b;
  --surface-raised: rgba(15, 23, 42, 0.96);
  --border: #334155;
  --border-soft: rgba(51, 65, 85, 0.52);
  --text: #cbd5e1;
  --text-strong: #ffffff;
  --muted: #94a3b8;
  --muted-strong: #e2e8f0;
  --accent: #4f46e5;
  --accent-strong: #a5b4fc;
  --accent-hover: #6366f1;
  --accent-soft: rgba(79, 70, 229, 0.14);
  --accent-outline: rgba(165, 180, 252, 0.9);
  --success: #34d399;
  --warning: #f59e0b;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 24px rgba(2, 6, 23, 0.18);
  --shadow-sm: 0 2px 6px rgba(2, 6, 23, 0.24);
  --shadow-md: 0 10px 24px rgba(2, 6, 23, 0.28);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, 0.42);
  --shadow-glow: 0 0 0 1px rgba(165, 180, 252, 0.24), 0 20px 48px rgba(79, 70, 229, 0.28);
  --section-space: 96px;
  --section-space-mobile: 64px;
  --space-breath: 64px;
  --space-section: 112px;
  --space-anchor: 176px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 160ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;
  --z-base: 1;
  --z-sticky: 30;
  --z-overlay: 50;
  --z-modal: 80;
  --z-toast: 90;
  --max-width: 1120px;
  --max-prose: 68ch;
  --page-padding: 20px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 900px 420px at 50% -120px, rgba(79, 70, 229, 0.08), transparent 70%),
    linear-gradient(180deg, #020617 0%, #020617 60%, #030712 100%);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-outline);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 180ms ease-out;
}

.skip-link:focus {
  top: 12px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-strong);
}

code,
pre,
kbd,
samp,
.font-mono,
.data-code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-container {
  width: min(calc(100% - (var(--page-padding) * 2)), var(--max-width));
  margin-inline: auto;
}

.page-main {
  position: relative;
}

.section {
  padding: var(--section-space) 0;
}

.section--tight,
.section--tight-top {
  padding-top: calc(var(--section-space) - 32px);
}

.pivot-moment {
  padding: clamp(96px, 14vw, 176px) 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pivot-moment__eyebrow {
  margin: 0 0 24px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pivot-moment__line {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  text-wrap: balance;
}

@media (max-width: 720px) {
  .pivot-moment {
    padding: 72px 0;
  }
  .pivot-moment__line {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.1;
  }
}

section[id] {
  scroll-margin-top: 96px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.16);
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-heading--center h2 {
  max-width: 20ch;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 2vw + 1.1rem, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 720px;
  margin-top: 14px;
  font-size: 1.0625rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(2, 6, 23, 0.92);
  border-color: var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: transparent;
  border: none;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.footer-links a,
.mobile-link {
  position: relative;
  color: var(--text);
  font-size: 0.9375rem;
  transition: color 160ms ease;
}

.nav-link:hover,
.footer-links a:hover,
.mobile-link:hover {
  color: var(--text-strong);
}

.nav-link::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 200ms ease-out;
}

.btn:hover {
  box-shadow: var(--shadow-soft), 0 4px 12px rgba(165, 180, 252, 0.25);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.72);
  color: var(--text-strong);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 600;
}

.text-link:hover {
  color: #a5b4fc;
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: rgba(15, 23, 42, 0.92);
  color: var(--text-strong);
}

.mobile-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-toggle span:first-child {
  transform: translateY(-4px);
}

.mobile-toggle span:last-child {
  transform: translateY(4px);
}

.mobile-toggle.is-open span:first-child {
  transform: rotate(45deg);
}

.mobile-toggle.is-open span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  padding-bottom: 18px;
  border-top: 1px solid var(--border-soft);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu .site-container {
  display: grid;
  gap: 14px;
  padding-top: 14px;
}

.mobile-link {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}

.hero {
  padding: calc(var(--section-space) - 18px) 0 calc(var(--section-space) - 32px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  justify-items: center;
}

.hero-copy {
  max-width: 720px;
  text-align: center;
}

.hero-copy h1 {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(2rem, 2.3vw + 1.3rem, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 560px;
  margin-top: 20px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.support-copy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.875rem;
}

.media-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.94) 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.product-stage {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: -28% auto auto 24%;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.16) 0%, transparent 72%);
  pointer-events: none;
}

.chip,
.badge,
.mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.34rem 0.65rem;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--muted-strong);
  font-size: 0.8125rem;
  font-weight: 600;
}

.chip-muted {
  border-color: rgba(51, 65, 85, 0.72);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
}

.chip-success,
.badge-success {
  border-color: rgba(52, 211, 153, 0.32);
  background: rgba(16, 185, 129, 0.12);
  color: #bbf7d0;
}

.chip-warning,
.badge-warning {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
}

.proof-item,
.plan-card,
.trial-card,
.comparison-card,
.how-card,
.preview-card,
.cta-band {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
}

.proof-item,
.trial-card,
.comparison-card,
.how-card,
.preview-card,
.plan-card,
.cta-band {
  padding: 20px;
}

.product-media {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  background: var(--bg);
}

.capability-media .product-media { border-radius: 14px; }

.btn-chevron {
  margin-left: 8px;
  display: inline-block;
  vertical-align: -1px;
  transition: transform 180ms ease-out;
}

.btn-secondary:hover .btn-chevron,
.text-link:hover .btn-chevron {
  transform: translateX(2px);
}

.pricing-preview-cta {
  margin-top: 24px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.proof-item {
  display: grid;
  align-content: start;
  min-height: 156px;
}

.proof-item strong {
  color: var(--text-strong);
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.proof-item p {
  display: grid;
  gap: 10px;
  color: var(--muted);
  max-width: 28ch;
  font-size: 0.98rem;
  line-height: 1.7;
}

.problem-copy {
  max-width: 720px;
}

.problem-copy p {
  font-size: 1.05rem;
  color: var(--text);
}

.problem-copy p + p {
  margin-top: 18px;
}

.problem-copy--center {
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.problem-copy--center h2 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 2vw + 1.1rem, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.problem-copy--center p {
  max-width: 56ch;
}

.problem-pivot {
  margin-top: 40px !important;
  font-size: 1.5rem !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-strong) !important;
}

.capability-list {
  display: grid;
  gap: 96px;
}

.capability-row {
  display: grid;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

/* Odd rows (Search, Organize): stacked, copy left-aligned, wide-banner image below */
.capability-row:nth-of-type(odd) {
  grid-template-columns: 1fr;
  justify-items: start;
  text-align: left;
}

.capability-row:nth-of-type(odd) .capability-copy {
  max-width: 640px;
}

/* Even rows (Enrich, Automate): 2-column, copy beside image */
.capability-row:nth-of-type(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}

/* Even rows (Enrich, Automate) flip: image left, copy right */
.capability-row:nth-of-type(even) .capability-copy {
  order: 2;
}
.capability-row:nth-of-type(even) .capability-media {
  order: 1;
}

/* Copy column in 2-col rows */
.capability-row:nth-of-type(even) .capability-copy {
  max-width: 480px;
}

.capability-copy {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.capability-copy .section-label {
  margin-bottom: 0;
}

.capability-copy h3 {
  font-size: 1.5rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.capability-copy p {
  color: var(--muted);
  font-size: 1rem;
}

.capability-media {
  display: block;
  width: 100%;
}

.capability-media .product-media {
  width: 100%;
  height: auto;
  display: block;
}

/* For the portrait enrich image and square automate image in 2-col rows, cap max-width so they don't go huge on wide viewports */
.capability-row:nth-of-type(2) .capability-media,
.capability-row:nth-of-type(4) .capability-media {
  max-width: 520px;
  justify-self: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: auto;
  column-gap: 48px;
  row-gap: 56px;
  align-items: start;
}

.benefit-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
}

@supports (grid-template-rows: subgrid) {
  .benefit-grid {
    grid-template-rows: repeat(3, auto);
  }
  .benefit-card {
    grid-row: span 3;
    grid-template-rows: subgrid;
  }
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  background: rgba(79, 70, 229, 0.12);
  border: 1px solid rgba(79, 70, 229, 0.2);
  font-size: 1rem;
  font-weight: 700;
}

.benefit-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  text-wrap: balance;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  text-wrap: pretty;
}

.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.preview-card,
.plan-card {
  display: grid;
  gap: 16px;
}

.preview-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-card.featured {
  transform: translateY(-8px);
  border-color: var(--accent-strong);
  box-shadow: var(--shadow-soft), 0 12px 32px rgba(165, 180, 252, 0.18);
}

.plan-card.featured {
  position: relative;
  overflow: hidden;
  border-color: rgba(79, 70, 229, 0.6);
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.08) 0%, rgba(15, 23, 42, 0.96) 36%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}

.plan-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
}

.preview-card .eyebrow,
.plan-card .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.12);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 600;
}

.preview-card h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.plan-card h3,
.trial-card h3 {
  font-size: 1.25rem;
}

.preview-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-strong);
}

.pricing-preview-card .btn,
.preview-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text-strong);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-value small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.price-value small:empty {
  display: none;
}

.price-subcopy {
  color: var(--muted);
  font-size: 0.875rem;
}

.preview-card p,
.plan-card p,
.trial-card p {
  color: var(--muted);
}

.preview-support {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-shell {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  overflow: hidden;
}

.faq-item {
  border-top: 1px solid var(--border-soft);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.faq-question {
  padding: 24px 0;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: color 180ms ease;
}

.faq-question:hover,
.faq-item.is-open .faq-question {
  color: var(--text-strong);
}

.faq-item.is-open .faq-question {
  font-weight: 600;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--muted);
}

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

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 0 24px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.cta-band {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.92) 100%),
    radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.12), transparent 48%);
}

.cta-band h2 {
  font-size: clamp(1.75rem, 1.5vw + 1.2rem, 2.4rem);
  letter-spacing: -0.04em;
}

.cta-band p {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.cta-band .hero-actions {
  justify-content: center;
}

.cta-band .support-copy {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.site-footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
}

.footer-inner {
  display: grid;
  gap: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 48px;
  align-items: start;
}

.footer-brand .brand-name {
  font-size: 0.9375rem;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9375rem;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--text-strong);
}

.footer-bottom {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8125rem;
  color: var(--muted);
  opacity: 0.85;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-legal a:hover {
  color: var(--text-strong);
}

.footer-legal-entity {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  opacity: 0.8;
}

.footer-legal-entity a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { justify-content: flex-start; }
}

.pricing-hero {
  padding: calc(var(--section-space) - 8px) 0 48px;
  text-align: center;
}

.pricing-hero .section-label {
  justify-content: center;
}

.pricing-hero h1 {
  max-width: 20ch;
  margin: 16px auto 0;
  font-size: clamp(2rem, 2.3vw + 1.3rem, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.pricing-hero p {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
}

.billing-option {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.billing-option.is-active {
  background: var(--accent);
  color: #fff;
}

.trial-card {
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.1) 0%, rgba(15, 23, 42, 0.96) 34%);
}

.trial-card-lede {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.hero-actions--flush {
  margin-top: 0;
}

.trial-card table,
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.trial-card td,
.trial-card th,
.comparison-table td,
.comparison-table th {
  padding: 12px 0;
  text-align: left;
  border-bottom: 1px solid rgba(51, 65, 85, 0.55);
  font-size: 0.95rem;
}

.trial-card th,
.comparison-table th {
  color: var(--text-strong);
  font-weight: 600;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 20px;
}

.plan-card {
  position: relative;
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  gap: 10px;
  padding: 32px 28px;
}

.plan-card .plan-meta {
  display: contents;
}

.plan-card h3 {
  margin: 0;
}

.plan-card .price-value {
  margin: 4px 0 0;
}

.plan-card .price-subcopy {
  margin: 0;
}

.plan-card .plan-tagline {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.plan-features {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  align-self: start;
}

.plan-features li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.92rem;
}

.plan-features li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-strong);
}

.plan-feature-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.plan-card .btn {
  margin: 16px 0 0;
  width: 100%;
  justify-content: center;
  align-self: end;
}

.plan-card.featured .eyebrow {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  z-index: 1;
}

.comparison-card {
  overflow: hidden;
}

.comparison-card-heading {
  padding: 20px 20px 0;
}

.comparison-scroll {
  overflow-x: auto;
}

.comparison-table {
  min-width: 720px;
}

.comparison-table thead th {
  padding-top: 0;
}

.comparison-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.52);
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  min-width: 220px;
}

.comparison-table td:not(:first-child),
.comparison-table th:not(:first-child) {
  text-align: center;
}

.check {
  color: var(--accent-strong);
  font-weight: 700;
}

.dash {
  color: rgba(148, 163, 184, 0.72);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.how-card h3 {
  font-size: 1.1rem;
}

.how-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.placeholder-note {
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 1080px) {
  .plan-grid,
  .pricing-preview-grid,
  .benefit-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .pricing-preview-grid,
  .plan-grid {
    grid-template-rows: none;
  }

  .pricing-preview-card,
  .plan-card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }

  .pricing-preview-card .plan-meta,
  .plan-card .plan-meta {
    display: grid;
    gap: 6px;
  }

  .pricing-preview-card .btn,
  .plan-card .btn {
    margin-top: auto;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }
}

@media (max-width: 900px) {
  .capability-row:nth-of-type(even) {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    justify-items: center;
  }
  .capability-row:nth-of-type(even) .capability-copy { order: initial; }
  .capability-row:nth-of-type(even) .capability-media { order: initial; }
  .capability-row:nth-of-type(even) .capability-copy { max-width: 720px; }
}

@media (max-width: 860px) {
  .site-nav,
  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --page-padding: 16px;
  }

  .section,
  .hero,
  .pricing-hero {
    padding: var(--section-space-mobile) 0;
  }

  .header-inner {
    min-height: 60px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-copy p,
  .pricing-hero p,
  .section-heading p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    max-width: 320px;
    width: 100%;
  }

  .hero-actions .text-link,
  .mobile-menu .btn {
    width: 100%;
  }

  .faq-question {
    padding: 20px 0;
  }

  .faq-answer p {
    padding: 0 0 20px;
  }

  .site-container {
    width: min(calc(100% - 32px), var(--max-width));
  }
}

.pricing-preview-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  align-self: start;
}

.pricing-preview-features li {
  font-size: 0.9375rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-preview-features li::before {
  content: "\2713";
  color: var(--accent-strong);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.pricing-preview-grid {
  grid-template-rows: auto auto auto auto 1fr auto;
}

.pricing-preview-card {
  position: relative;
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  gap: 10px;
  padding: 32px 28px;
}

.pricing-preview-card .plan-meta {
  display: contents;
}

.pricing-preview-card h3 {
  margin: 0;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.pricing-preview-card .price-value {
  margin: 4px 0 0;
}

.pricing-preview-card .price-subcopy {
  margin: 0;
}

.pricing-preview-card .plan-tagline {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.pricing-preview-card .btn {
  margin: 12px 0 0;
  width: 100%;
  justify-content: center;
  align-self: end;
}

.preview-card.featured .eyebrow {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Hero screenshot caption */
.hero-media-figure {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-media-caption {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Featured pricing card — visual anchor */
.preview-card.featured {
  position: relative;
  overflow: hidden;
  border-color: rgba(79, 70, 229, 0.6);
  background:
    linear-gradient(180deg, rgba(79, 70, 229, 0.08) 0%, rgba(15, 23, 42, 0.96) 36%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}

.preview-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
}

/* Scroll-reveal scaffold — opt-in via data-reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

.plan-card.featured[data-reveal] {
  transform: translateY(16px);
}

.plan-card.featured[data-reveal][data-revealed] {
  transform: translateY(-8px);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Reset featured card transform when grid stacks on narrow viewports */
@media (max-width: 1080px) {
  .preview-card.featured,
  .plan-card.featured {
    transform: none;
  }
}

/* Legal pages (cookies, privacy, terms) */
.legal-page {
  padding-block: 72px 96px;
}

.legal-page .legal-layout {
  display: block;
}

.legal-page .legal-content {
  max-width: var(--max-prose);
  margin-inline: auto;
}

/* Hero */
.legal-page .legal-hero {
  max-width: var(--max-prose);
  margin: 0 auto 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-soft);
}

.legal-page .legal-hero .section-label {
  margin-bottom: 20px;
}

.legal-page .legal-hero h1 {
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 16px;
}

.legal-page .legal-meta {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}

/* Typography */
.legal-page h2 {
  position: relative;
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text-strong);
  margin: 72px 0 20px;
  scroll-margin-top: 96px;
}

.legal-page h3 {
  position: relative;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--muted-strong);
  margin: 32px 0 12px;
  scroll-margin-top: 96px;
}

.legal-page p {
  margin: 0 0 16px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
}

.legal-page h2 + p {
  margin-top: 0;
}

.legal-page h3 + p {
  margin-top: 0;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  line-height: 1.65;
  color: var(--text);
}

.legal-page li {
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.legal-page li::marker {
  color: var(--muted);
}

.legal-page strong {
  color: var(--muted-strong);
  font-weight: 600;
}

.legal-page em {
  font-style: italic;
}

.legal-page code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  color: var(--muted-strong);
}

/* Inline body links */
.legal-page .legal-content a {
  color: var(--accent-strong);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(165, 180, 252, 0.45);
  transition: text-decoration-color var(--dur-fast) var(--ease-out);
}

.legal-page .legal-content a:hover {
  text-decoration-color: currentColor;
}

/* Invisible hr separators — h2 margin handles spacing */
.legal-page .legal-content hr {
  border: 0;
  margin: 0;
  height: 0;
}

/* Heading anchor links */
.legal-page .legal-anchor {
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.legal-page h2:hover .legal-anchor,
.legal-page h3:hover .legal-anchor,
.legal-page .legal-anchor:focus-visible {
  opacity: 1;
  color: var(--muted-strong);
}

@media (hover: none) {
  .legal-page .legal-anchor {
    display: none;
  }
}

/* Tables — comparison-table aesthetic */
.legal-page table {
  width: 100%;
  margin: 32px 0 40px;
  border-collapse: collapse;
  table-layout: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.legal-page thead {
  background: transparent;
}

.legal-page thead tr {
  border-bottom: 2px solid var(--border);
}

.legal-page th {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 14px 20px 12px 0;
}

.legal-page tbody tr {
  border-bottom: 1px solid var(--border-soft);
}

.legal-page tbody tr:last-child {
  border-bottom: 0;
}

.legal-page td {
  padding: 16px 20px 16px 0;
  vertical-align: top;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.55;
}

.legal-page td:first-child {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--text-strong);
  font-weight: 500;
  width: 22%;
}

.legal-page th:nth-child(2),
.legal-page td:nth-child(2) {
  width: 58%;
}

.legal-page th:last-child,
.legal-page td:last-child {
  width: 20%;
  white-space: nowrap;
}

/* Back to top */
.legal-page .legal-back-to-top {
  display: inline-block;
  margin-top: 48px;
  margin-bottom: 48px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.legal-page .legal-back-to-top:hover {
  color: var(--muted-strong);
}

/* TOC — hidden below 1024px */
.legal-page .legal-toc {
  display: none;
}

/* Desktop layout — sticky right-rail TOC */
@media (min-width: 1024px) {
  .legal-page .legal-layout {
    display: grid;
    grid-template-columns: minmax(0, var(--max-prose)) 200px;
    gap: 56px;
    justify-content: center;
    align-items: start;
  }

  .legal-page .legal-content {
    margin-inline: 0;
    min-width: 0;
  }

  .legal-page .legal-hero {
    margin-inline: 0;
  }

  .legal-page .legal-toc {
    display: block;
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    font-size: 0.875rem;
  }

  .legal-page .legal-toc-label {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .legal-page .legal-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .legal-page .legal-toc-list li {
    margin: 0;
    padding: 0;
  }

  .legal-page .legal-toc-list a {
    display: block;
    padding: 6px 0 6px 12px;
    border-left: 2px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--muted);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  }

  .legal-page .legal-toc-list a:hover {
    color: var(--muted-strong);
  }

  .legal-page .legal-toc-list a.is-active {
    color: var(--text-strong);
    border-left-color: var(--accent-strong);
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .legal-page h2 {
    margin-top: 64px;
  }

  .legal-page th,
  .legal-page td {
    padding-right: 14px;
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .legal-page {
    padding-block: 48px 64px;
  }

  .legal-page .legal-hero {
    margin-bottom: 56px;
  }

  .legal-page h2 {
    margin-top: 56px;
  }

  .legal-page td:last-child {
    white-space: normal;
  }

  /* Tables → definition-list stack */
  .legal-page table,
  .legal-page thead,
  .legal-page tbody,
  .legal-page tr,
  .legal-page td {
    display: block;
    width: auto;
  }

  .legal-page thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .legal-page tbody tr {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .legal-page tbody tr:last-child {
    border-bottom: 0;
  }

  .legal-page td {
    padding: 8px 0 0;
    width: auto;
  }

  .legal-page td:first-child {
    padding-top: 0;
    width: auto;
  }

  .legal-page td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 4px;
  }
}

