:root {
  --bg: #07080a;
  --bg-elevated: #0e1015;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text-primary: #f5f6f7;
  --text-secondary: #b4bac4;
  --text-muted: #7d8390;
  --accent-teal: #2fe6c4;
  --accent-violet: #8b7cfa;
  --accent-gradient: linear-gradient(120deg, var(--accent-teal), var(--accent-violet));
  --focus-ring: #8b7cfa;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

/* Anchor jumps are instant. Smooth scrolling animated ~5000px from the footer
   over more than a second, which read as the page scrolling on its own. */
html {
  scroll-behavior: auto;
}

/* Keep anchor targets clear of the sticky header (which is ~73px tall).
   The extra allowance covers the .reveal transform offset on cards. */
section[id],
.pillar-card[id] {
  scroll-margin-top: 110px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

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

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

/* Focus visibility - never remove, only restyle */
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons - min 44px touch target */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--text-primary);
  color: #0a0a0c;
}

.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-color: var(--panel-border);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.875rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 8, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  color: var(--text-primary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu a {
  padding: 12px 4px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-menu.open {
  display: flex;
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 60px;
  overflow: hidden;
}

.hero-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 8px var(--accent-teal);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 600;
}

.hero-sub {
  margin: 24px auto 0;
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Product preview mockup */
.preview-wrap {
  position: relative;
  margin: 72px auto 0;
  max-width: 980px;
}

.preview-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-topbar .chip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.preview-topbar .url {
  margin-left: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: 999px;
}

.preview-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.preview-col {
  background: var(--bg-elevated);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
}

.preview-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.preview-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  font-size: 0.85rem;
}

.preview-row .ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--accent-gradient);
  opacity: 0.85;
}

.preview-row .status {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--accent-teal);
}

.preview-stat {
  margin-top: auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.preview-stat span {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.float-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(14, 16, 21, 0.85);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.float-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
}

.badge-1 { top: -22px; left: 4%; }
.badge-2 { top: -22px; right: 4%; }
.badge-3 { bottom: -18px; left: 12%; }

@media (max-width: 760px) {
  .preview-body { grid-template-columns: 1fr; }
  .float-badge { display: none; }
  .preview-wrap { margin-top: 48px; }
}

/* Section scaffolding */
section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
}

.section-head p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Trust / built-in-the-open */
.trust {
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.trust-inner p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 640px;
  margin: 0 auto;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Feature pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

.pillar-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #0a0a0c;
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.pillar-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pillar-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-teal);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

@media (max-width: 940px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

.step-card {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-border);
}

.step-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 16px;
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

.plan-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background-color: color-mix(in srgb, var(--bg-elevated) 92%, white 8%);
  border: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: rgba(139, 124, 250, 0.5);
  background-color: color-mix(in srgb, var(--bg-elevated) 86%, #8b7cfa 14%);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #0a0a0c;
}

.plan-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.plan-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

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

.plan-features svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-teal);
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Clients / proof section */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.client-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.client-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

/* Stand-in mark for brands with no image logo */
.client-wordmark {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-info strong {
  font-size: 1rem;
  font-weight: 600;
}

.client-info a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.client-info a:hover {
  color: var(--text-secondary);
}

.client-video-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated);
  max-width: 320px;
  margin: 0 auto;
}

.client-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--bg-elevated);
}

.client-placeholder {
  border: 1px dashed var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 240px;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-question .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  transition: transform 200ms ease;
  color: var(--accent-teal);
}

.faq-item[data-open="true"] .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease, padding 260ms ease;
  padding: 0 22px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  padding-bottom: 20px;
}

.faq-item[data-open="true"] .faq-answer {
  max-height: 240px;
}

/* Final CTA */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  background: linear-gradient(160deg, rgba(139, 124, 250, 0.12), rgba(47, 230, 196, 0.08));
  border: 1px solid var(--panel-border);
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-band p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 48px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-brand p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--text-secondary);
  transition: color 160ms ease, border-color 160ms ease;
}

.social-links a:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Reveal on scroll */
/* Fade only — no movement. A translate here shifted anchor targets after the
   browser had already scrolled to them, which made jump links feel unstable. */
.reveal {
  opacity: 0;
  transition: opacity 500ms ease;
}

.reveal.in-view {
  opacity: 1;
}

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

/* Comparison slider */
.compare-slider {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.compare-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1496 / 880;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  cursor: ew-resize;
  touch-action: none;
}

.compare-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  user-select: none;
  -webkit-user-drag: none;
}

.compare-panel {
  position: absolute;
  inset: 0;
}

.compare-before {
  clip-path: inset(0 50% 0 0);
}

.compare-tag {
  position: absolute;
  top: 16px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

.tag-after {
  right: 16px;
  background: rgba(14, 16, 21, 0.7);
  color: var(--text-primary);
  border: 1px solid var(--panel-border);
}

.tag-before {
  left: 16px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

/* Drag handle */
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  user-select: none;
}

.handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.handle-grip {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.compare-handle:focus-visible {
  outline: none;
}

.compare-handle:focus-visible .handle-grip {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.compare-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.compare-note a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* What changed, next to the slider */
.compare-changes {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px 28px;
}

.compare-changes li {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  padding-left: 14px;
  border-left: 2px solid rgba(47, 230, 196, 0.35);
}

.compare-changes strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* Footer performance badge */
.perf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.perf-badge svg {
  color: var(--accent-teal);
  flex-shrink: 0;
}

.perf-badge strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Waitlist modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 5, 6, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-elevated);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--panel-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.modal-close:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

.modal h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding-right: 24px;
}

.modal > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

#waitlistForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#waitlistForm[hidden] {
  display: none;
}

.modal input[type="email"] {
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
}

.modal input[type="email"]::placeholder {
  color: var(--text-muted);
}

.modal input[type="email"]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: transparent;
}

/* Optional message field (contact / quote requests) */
.modal-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.modal-field[hidden] {
  display: none;
}

.modal-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.modal textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1.55;
  resize: vertical;
  min-height: 96px;
}

.modal textarea::placeholder {
  color: var(--text-muted);
}

.modal textarea:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: transparent;
}

.modal-success {
  color: var(--accent-teal);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 20px;
}

.modal-error {
  color: #ff8a8a;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 20px;
}

.modal-fallback {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 18px;
}

.modal-fallback a,
.modal-success a,
.modal-error a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Legal pages */
.legal-page {
  padding: 140px 0 96px;
}

.legal-header {
  margin-bottom: 48px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.legal-section p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

.legal-section a {
  color: var(--text-primary);
  text-decoration: underline;
}

/* Coming soon (blog / careers) */
.coming-soon {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.coming-soon-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--accent-teal);
}

.coming-soon h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.coming-soon p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.coming-soon .btn {
  margin-top: 28px;
}

/* Founders (About page) */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 420px;
  margin: 40px 0 48px;
}

.founder-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.founder-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #0a0a0c;
  margin-bottom: 4px;
}

.founder-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.founder-role {
  font-size: 0.76rem;
  color: var(--accent-teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Glow spotlight card (pricing) — cursor-tracked radial glow, brand teal→violet hue sweep */
.glow-card {
  position: relative;
  isolation: isolate;
  --x: 50%;
  --y: 50%;
  --hue: 200;
}

.glow-card::before,
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.glow-card::before {
  background: radial-gradient(
    280px 280px at var(--x) var(--y),
    hsl(var(--hue) 90% 65% / 0.16),
    transparent 70%
  );
}

.glow-card::after {
  padding: 1.5px;
  background: radial-gradient(
    220px 220px at var(--x) var(--y),
    hsl(var(--hue) 100% 70% / 0.95),
    transparent 70%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.glow-card:hover::before,
.glow-card:hover::after,
.glow-card.glow-active::before,
.glow-card.glow-active::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .glow-card::before,
  .glow-card::after {
    transition: none;
  }
}

/* Pricing background pattern — tiled logo marks that glow on and off, independently */
#pricing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.pricing-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 36px;
  padding: 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 30%, transparent 80%);
}

.pattern-icon {
  width: 18px;
  height: 18px;
  justify-self: center;
  align-self: center;
  opacity: 0.05;
  animation: pattern-glow 4s ease-in-out infinite;
}

@keyframes pattern-glow {
  0%,
  100% {
    opacity: 0.05;
  }
  50% {
    opacity: 0.45;
  }
}

.pattern-icon:nth-child(6n + 1) {
  animation-delay: 0s;
  animation-duration: 3.6s;
}
.pattern-icon:nth-child(6n + 2) {
  animation-delay: 0.7s;
  animation-duration: 4.4s;
}
.pattern-icon:nth-child(6n + 3) {
  animation-delay: 1.4s;
  animation-duration: 3.9s;
}
.pattern-icon:nth-child(6n + 4) {
  animation-delay: 2.1s;
  animation-duration: 4.8s;
}
.pattern-icon:nth-child(6n + 5) {
  animation-delay: 0.9s;
  animation-duration: 3.3s;
}
.pattern-icon:nth-child(6n) {
  animation-delay: 1.8s;
  animation-duration: 4.1s;
}

@media (max-width: 760px) {
  .pricing-pattern {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pattern-icon {
    animation: none;
    opacity: 0.08;
  }
}
