:root {
  --bg: #070b12;
  --card: rgba(14, 19, 28, 0.9);
  --muted: #c8d3e0;
  --text: #f5f7fb;
  --accent: #f2b43c;
  --accent-2: #0f2f44;
  --border: rgba(255, 255, 255, 0.06);
  --pill: rgba(242, 180, 60, 0.15);
  --success: #8de88a;
  --info: #7fc8ff;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 30% 20%, rgba(242, 180, 60, 0.08), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(68, 112, 255, 0.12), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  padding: 32px clamp(20px, 2vw, 40px) 64px;
  position: relative;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #0f1723;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 10;
}

.skip-link:focus {
  left: 16px;
}

h1,
h2,
h3 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

p {
  margin: 0;
  color: var(--muted);
}

ul,
ol {
  padding-left: 18px;
  color: var(--muted);
  margin: 10px 0;
  line-height: 1.5;
}

main.page {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 1200px;
  margin: 24px auto 0;
}

.topbar {
  max-width: 1200px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(10, 14, 22, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

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

.brand-name {
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

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

.solid,
.ghost {
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.solid {
  background: linear-gradient(135deg, #f2b43c, #f3d16f);
  color: #0c0f14;
  box-shadow: 0 14px 40px rgba(242, 180, 60, 0.25);
}

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

.solid:hover,
.ghost:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 18px;
}

.lede,
.section-lede {
  font-size: 18px;
  max-width: 740px;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 12px;
  margin-bottom: 12px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.trust-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 13px;
}

.hero-panel {
  position: relative;
}

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

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.eyebrow {
  color: #8fa7c1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

.chip.success {
  color: var(--accent-2);
  background: rgba(141, 232, 138, 0.28);
  border-color: rgba(141, 232, 138, 0.6);
}

.chip.info {
  background: rgba(127, 200, 255, 0.2);
  border-color: rgba(127, 200, 255, 0.6);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.signal {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 12px;
}

.label {
  color: #9eb6ce;
  font-weight: 600;
  margin-bottom: 4px;
}

.value {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 4px;
}

.value.highlight {
  color: var(--accent);
}

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

.progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  color: var(--muted);
}

.progress .bar {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.progress .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6ee7a2, #f2b43c);
}

.percent {
  font-weight: 700;
  color: var(--text);
}

.section {
  background: rgba(12, 15, 22, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.section-header .tagline {
  background: var(--pill);
  color: var(--accent);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.metric {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
  border-radius: 14px;
}

.metric h3 {
  font-size: 28px;
  margin-bottom: 6px;
}

.platform .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.feature {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: 14px;
  display: grid;
  gap: 6px;
}

.feature .icon {
  font-size: 24px;
}

.automation .flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.flow-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: 14px;
  display: grid;
  gap: 8px;
}

.flow-card ol {
  margin: 0;
  padding-left: 18px;
}

.trust .trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.trust-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: 14px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
}

.integrations {
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.integration-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.how .timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.step {
  display: flex;
  gap: 14px;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.step-icon {
  height: 36px;
  width: 36px;
  border-radius: 10px;
  background: var(--pill);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  border: 1px solid rgba(242, 180, 60, 0.3);
}

.step h3 {
  margin: 0 0 6px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.faq-card {
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
  background: rgba(8, 12, 18, 0.9);
  box-shadow: var(--shadow);
}

.faq-card h3 {
  margin-bottom: 8px;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.cases .case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.case {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: 14px;
  display: grid;
  gap: 6px;
}

.cta {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(242, 180, 60, 0.1), rgba(12, 15, 22, 0.85));
  padding: 28px;
  box-shadow: var(--shadow);
}

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

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 20px 18px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

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

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

.glow {
  position: absolute;
  filter: blur(90px);
  opacity: 0.35;
  z-index: 0;
}

.glow-1 {
  width: 320px;
  height: 320px;
  background: #f2b43c;
  top: -60px;
  left: -40px;
}

.glow-2 {
  width: 360px;
  height: 360px;
  background: #4f7dff;
  top: 120px;
  right: -120px;
}

.topbar,
.page,
.section,
.footer {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-actions {
    margin-left: auto;
  }

  .section-header {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    padding: 20px 16px 48px;
  }

  .topbar {
    padding: 12px 14px;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }
}
