:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --panel-muted: rgba(255, 255, 255, 0.72);
  --border: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --muted: #5b6476;
  --primary: #111827;
  --primary-contrast: #f8fafc;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.12);
  --success: #10b981;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

body.dark {
  color-scheme: dark;
  --bg: #09090b;
  --panel: rgba(17, 24, 39, 0.86);
  --panel-strong: rgba(17, 24, 39, 0.96);
  --panel-muted: rgba(24, 24, 27, 0.84);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #a1a1aa;
  --primary: #f8fafc;
  --primary-contrast: #111827;
  --accent: #818cf8;
  --accent-soft: rgba(129, 140, 248, 0.16);
  --success: #34d399;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.08), transparent 24%),
    var(--bg);
  color: var(--text);
}

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

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 48px 0 24px;
  flex: 1;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow.one {
  top: -140px;
  right: -20px;
  width: 320px;
  height: 320px;
  background: rgba(99, 102, 241, 0.18);
}

.hero-glow.two {
  bottom: -120px;
  left: -20px;
  width: 260px;
  height: 260px;
  background: rgba(99, 102, 241, 0.12);
}

.hero-top,
.hero-grid,
.footer-grid,
.cta-grid,
.split-grid,
.details-grid,
.dashboards-grid,
.use-case-grid,
.features-grid,
.industry-grid,
.steps-grid,
.testimonials-grid,
.trust-grid,
.pricing-grid,
.stats-grid {
  display: grid;
  gap: 14px;
}

.hero-top {
  position: relative;
  z-index: 1;
  align-items: start;
  margin-bottom: 32px;
}

.brand-lockup {
  max-width: 220px;
}

.brand-lockup img:last-child,
body.dark .brand-lockup img:first-child {
  display: none;
}

body.dark .brand-lockup img:last-child {
  display: block;
}

.badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--panel-muted);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1,
.section-title,
.cta-title {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p.lead,
.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 640px;
}

.button-row,
.footer-links,
.pricing-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.button.secondary {
  border: 1px solid var(--border);
  background: transparent;
}

.button.ghost {
  border: 1px solid var(--border);
  background: var(--panel-muted);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-muted);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.12);
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.mini-card,
.feature-card,
.quote-card,
.step-card,
.dashboard-card,
.list-card,
.pricing-card,
.legal-card,
.trust-card,
.detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel-strong);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mini-card:hover,
.feature-card:hover,
.quote-card:hover,
.pricing-card:hover,
.dashboard-card:hover,
.trust-card:hover,
.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.mini-card,
.feature-card,
.quote-card,
.dashboard-card,
.list-card,
.step-card,
.trust-card,
.legal-card,
.detail-card {
  padding: 18px;
}

.mini-stat {
  font-size: 28px;
  font-weight: 800;
}

.hero-panel {
  padding: 24px;
}

.hero-panel-header {
  margin-bottom: 14px;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-panel-title {
  margin: 0;
  font-size: 34px;
}

.hero-panel-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-panel-footer,
.subcopy,
.quote-meta,
.footer-note,
.muted {
  color: var(--muted);
}

.section {
  padding: 30px;
}

.section-header {
  margin-bottom: 16px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.industry-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.industry-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 14px;
  background: var(--panel-strong);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.trust-grid,
.features-grid,
.testimonials-grid,
.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.details-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.split-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.detail-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-list .list-card {
  padding: 14px 16px;
}

.features-grid .feature-card,
.dashboards-grid .dashboard-card,
.pricing-card,
.quote-card {
  position: relative;
  overflow: hidden;
}

.feature-accent {
  width: 42px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.dashboards-grid,
.use-case-grid,
.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dashboard-visual {
  height: 118px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.2), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(99, 102, 241, 0.08);
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  margin-bottom: 14px;
}

.pricing-toggle {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  background: var(--panel-muted);
}

.toggle-option {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.toggle-option.active {
  background: var(--accent-soft);
  color: var(--text);
}

.save-pill {
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.dark .save-pill {
  color: #6ee7b7;
}

.pricing-card {
  padding: 24px;
}

.pricing-card.popular::after {
  content: "Most popular";
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-contrast);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

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

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 0;
}

.plan-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.plan-note {
  color: var(--muted);
  font-size: 13px;
}

.pricing-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  overflow: hidden;
  margin: 18px 0;
}

.pricing-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(99, 102, 241, 0.28));
}

.pricing-card:nth-child(1) .pricing-bar-fill {
  width: 42%;
}

.pricing-card:nth-child(2) .pricing-bar-fill {
  width: 63%;
}

.pricing-card:nth-child(3) .pricing-bar-fill {
  width: 100%;
}

.pricing-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.pricing-card li {
  display: flex;
  gap: 10px;
}

.pricing-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 8px;
  flex: 0 0 auto;
}

.pricing-footnote {
  margin-top: 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.cta-grid,
.footer-grid {
  align-items: start;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 40px;
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-links {
  color: var(--muted);
  font-size: 14px;
}

.legal-shell {
  padding: 48px 0;
}

.legal-header {
  padding: 26px;
  margin-bottom: 16px;
}

.legal-title {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.legal-intro {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-grid {
  display: grid;
  gap: 14px;
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.legal-card p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-top,
  .hero-grid,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  }

  .dashboards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .main {
    padding-top: 24px;
  }

  .hero,
  .section,
  .legal-header,
  .legal-card {
    padding: 20px;
  }

  .hero h1,
  .section-title,
  .cta-title,
  .legal-title {
    font-size: 2.2rem;
  }
}
