:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #e6eaf0;
  --paper: #ffffff;
  --soft: #f7f9fc;
  --accent: #2f6b9c;
  --accent-strong: #24547c;
  --cyan: #0ea5b7;
  --green: #149b65;
  --red: #d64550;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfbfd;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

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

.page {
  min-height: 100vh;
  overflow: hidden;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(230, 234, 240, 0.82);
  background: rgba(251, 251, 253, 0.9);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, #2f6b9c, #38a6c8);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  box-shadow: 0 14px 35px rgba(47, 107, 156, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 36px rgba(23, 32, 51, 0.16);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, #edf1f7 1px, transparent 1px), linear-gradient(to bottom, #edf1f7 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 54px;
  min-height: 760px;
  padding: 84px 0 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #b9e8ef;
  border-radius: 10px;
  background: #fff;
  color: #087a8a;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(8, 122, 138, 0.08);
}

h1 {
  max-width: 760px;
  margin: 24px 0 0;
  color: #111827;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: #536071;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 600;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  padding: 9px 12px;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.badge span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #f2f5f9;
  font-size: 12px;
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 620px;
  margin-top: 36px;
}

.proof {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  padding: 17px;
}

.proof strong {
  display: block;
  color: #111827;
  font-size: 15px;
}

.proof span {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.panel {
  position: relative;
  border: 1px solid #dbe2eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(57, 73, 97, 0.16);
  overflow: visible;
}

.panel-top {
  border-radius: 16px 16px 0 0;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dots span:nth-child(1) { background: #fb7185; }
.dots span:nth-child(2) { background: #fbbf24; }
.dots span:nth-child(3) { background: #34d399; }

.panel-chip {
  border-radius: 8px;
  background: #f3f6fa;
  padding: 7px 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.panel-body {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.chart-card {
  border-right: 1px solid var(--line);
  padding: 28px;
}

.panel-label {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.money {
  margin-top: 10px;
  color: #111827;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.delta {
  display: inline-flex;
  margin-left: 10px;
  border-radius: 7px;
  background: #e9fbf3;
  color: var(--green);
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 220px;
  margin-top: 32px;
  border-radius: 14px;
  background: #f5f8fb;
  padding: 20px;
}

.bars i {
  display: block;
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #2f6b9c, #15a6b8);
  transform-origin: bottom;
  animation: rise 720ms ease both;
}

.bars i:nth-child(2) { animation-delay: 80ms; }
.bars i:nth-child(3) { animation-delay: 120ms; }
.bars i:nth-child(4) { animation-delay: 160ms; }
.bars i:nth-child(5) { animation-delay: 200ms; }
.bars i:nth-child(6) { animation-delay: 240ms; }
.bars i:nth-child(7) { animation-delay: 280ms; }
.bars i:nth-child(8) { animation-delay: 320ms; }

.metrics {
  display: grid;
  gap: 12px;
  padding: 28px;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 15px;
}

.metric span {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.metric strong {
  text-align: right;
  font-size: 16px;
  font-weight: 900;
}

.metric.negative strong { color: var(--red); }
.metric.warning strong { color: #b7791f; }
.metric.good strong { color: var(--accent); }

.alert {
  position: absolute;
  right: 34px;
  bottom: -26px;
  left: 34px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #b9e8ef;
  border-radius: 13px;
  background: #fff;
  padding: 17px 18px;
  box-shadow: 0 22px 55px rgba(8, 122, 138, 0.12);
}

.alert small {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.alert p {
  margin: 4px 0 0;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.section {
  padding: 86px 0;
}

.section.white {
  border-block: 1px solid var(--line);
  background: #fff;
}

.intro {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.intro p:first-child {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.intro h2 {
  margin: 12px 0 0;
  color: #111827;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.intro p:last-child {
  margin: 18px 0 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.04);
}

.feature-card strong {
  display: block;
  color: #111827;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 12px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
}

.compact-links {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 16px;
}

.link-card {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: #b9e8ef;
  box-shadow: 0 18px 42px rgba(47, 107, 156, 0.1);
}

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

.price-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.04);
}

.price-card.featured {
  background: #111827;
  color: #fff;
  border-color: #111827;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.2);
}

.price-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.price-head strong {
  display: block;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.price-head span {
  display: block;
  margin-top: 8px;
  min-height: 48px;
  color: #667085;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.featured .price-head span,
.featured .yearly-price {
  color: #cbd5e1;
}

.price-head em {
  flex: 0 0 auto;
  border-radius: 8px;
  background: #f3f6fa;
  color: var(--accent);
  padding: 8px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.featured .price-head em {
  background: #67e8f9;
  color: #111827;
}

.plan-limit {
  margin: 28px 0 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plan-price {
  margin-top: 14px;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.plan-price span {
  color: #667085;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.featured .plan-price span {
  color: #94a3b8;
}

.yearly-price {
  margin: 8px 0 24px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.trust {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 44px;
  align-items: start;
}

.trust h2 {
  margin: 12px 0 0;
  color: #111827;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.trust p {
  color: #667085;
  font-size: 16px;
  line-height: 1.78;
  font-weight: 600;
}

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

.trust-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
}

.trust-card .icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eaf6fb;
  color: var(--accent);
  font-weight: 900;
}

.trust-card strong {
  display: block;
  margin-top: 18px;
  font-size: 18px;
}

.trust-card p {
  margin: 8px 0 0;
  font-size: 14px;
}

.cta {
  border-radius: 18px;
  background: #111827;
  color: #fff;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.cta p {
  margin: 12px 0 0;
  max-width: 680px;
  color: #cbd5e1;
  line-height: 1.7;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 38px 0;
  text-align: center;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

@keyframes rise {
  from {
    transform: scaleY(0.25);
    opacity: 0.45;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero-inner,
  .trust {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 60px;
  }

  .feature-grid,
  .compact-links,
  .pricing-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .panel-body {
    grid-template-columns: 1fr;
  }

  .chart-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 22px, 1180px);
  }

  .nav-actions .secondary {
    display: none;
  }

  .hero-inner {
    padding: 42px 0 68px;
  }

  .lead {
    font-size: 17px;
  }

  .panel {
    margin-bottom: 36px;
  }

  .alert {
    position: static;
    margin: 0 14px 16px;
    flex-direction: column;
  }

  .bars {
    height: 160px;
    padding: 16px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }
}
