:root {
  --bg: #f5f6f8;
  --bg-soft: #eef1f4;
  --text: #101218;
  --muted: #646b78;
  --line: rgba(16, 18, 24, 0.1);
  --card: rgba(255, 255, 255, 0.72);
  --card-strong: rgba(255, 255, 255, 0.92);
  --primary: #0e1320;
  --primary-soft: #1f304e;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(13, 22, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% -10%, #dbe4f7 0, transparent 40%), var(--bg);
  line-height: 1.5;
}

.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 400px at 90% 5%, rgba(157, 175, 219, 0.22), transparent 60%),
    radial-gradient(700px 300px at 10% 85%, rgba(171, 196, 216, 0.2), transparent 60%);
  z-index: -1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(2px);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(245, 246, 248, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2840, #7087c6);
  box-shadow: 0 0 0 5px rgba(112, 135, 198, 0.16);
}

.nav-links {
  display: inline-flex;
  gap: 24px;
}

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

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

.section {
  padding: 92px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.hero {
  padding-top: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3f4f70;
  font-weight: 700;
}

.headline {
  margin: 0;
  max-width: 17ch;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.subhead {
  max-width: 56ch;
  margin: 24px 0 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #5f6878;
  font-size: 0.93rem;
}

.hero-trust span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-card {
  background: linear-gradient(165deg, var(--card-strong), rgba(255, 255, 255, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px;
}

.card-title {
  margin: 0 0 22px;
  font-weight: 600;
  color: #24314d;
}

.kpi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.kpi:last-of-type {
  border-bottom: 0;
}

.kpi span {
  color: var(--muted);
}

.kpi strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}

.card-foot {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.feature-grid,
.segment-grid,
.metrics-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.segment-grid,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.segment,
.metric,
.price-card,
.cta-box {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 36px rgba(20, 31, 53, 0.06);
}

.feature-card,
.segment,
.price-card,
.metric {
  padding: 26px;
}

.feature-card h3,
.segment h3,
.price-card h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.01em;
}

.feature-card p,
.segment p,
.price-card p,
.metric p {
  margin: 0;
  color: var(--muted);
}

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

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-family: "Manrope", sans-serif;
}

.tier {
  margin: 0 0 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3f5179;
  font-weight: 700;
}

.price-card-featured {
  background: linear-gradient(158deg, rgba(16, 23, 39, 0.95), rgba(35, 55, 92, 0.96));
  border: 1px solid rgba(52, 83, 140, 0.8);
}

.price-card-featured .tier,
.price-card-featured h3,
.price-card-featured p {
  color: #eef2ff;
}

.cta {
  padding-bottom: 112px;
}

.cta-box {
  padding: 44px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.cta-box h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
}

.cta-box p {
  margin: 14px auto 26px;
  max-width: 52ch;
  color: var(--muted);
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 19px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: #f7f8fb;
  border-color: rgba(16, 19, 32, 0.9);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #161f34;
}

.btn-light {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.84);
  color: var(--text);
}

.btn-ghost {
  border-color: rgba(16, 18, 24, 0.24);
  color: var(--text);
}

.btn-ghost:hover,
.btn-light:hover {
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
}

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

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

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .segment-grid,
  .metrics-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .site-header .btn-light {
    display: none;
  }

  .headline {
    max-width: 100%;
  }

  .cta-box {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .site-header {
    transition: none;
  }
}
