:root {
  --bg: #f6f8fb;
  --ink: #182433;
  --muted: #667382;
  --line: #dce1e7;
  --panel: #ffffff;
  --soft: #f1f5f9;
  --accent: #206bc4;
  --accent-dark: #1a5aa5;
  --accent-soft: #e8f1fc;
  --success: #2fb344;
  --radius: 14px;
  --shadow: 0 18px 48px rgb(24 36 51 / 10%);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

nav a {
  border-radius: 8px;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover {
  background: var(--soft);
  color: var(--accent);
}

.nav-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, transform 80ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 15%);
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--soft);
}

.btn.large {
  min-height: 46px;
  padding-inline: 18px;
}

.section {
  padding: 88px 0;
}

.hero {
  padding-top: 96px;
  overflow: hidden;
}

.hero-grid,
.split-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

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

.hero-copy > p,
.section-head p,
.split-grid p,
.faq-grid > div > p {
  max-width: 64ch;
  font-size: 18px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.trust-strip span,
.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 750;
}

.hero-visual,
.diagram-card,
.feature-card,
.price-card,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual {
  padding: 12px;
  transform: rotate(-1deg);
}

.hero-visual img,
.diagram-card img {
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
}

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

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
}

.logo-grid span {
  display: grid;
  place-items: center;
  min-height: 84px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.section-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 28px;
}

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

.feature-card,
.price-card {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 850;
}

.split-section {
  background: #fff;
}

.diagram-card {
  padding: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: inset 0 0 0 4px #dff7e4;
}

.stats-section {
  padding-block: 42px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stats-grid div {
  display: grid;
  gap: 4px;
  min-height: 132px;
  align-content: center;
  background: #fff;
  padding: 24px;
}

.stats-grid strong {
  color: var(--accent);
  font-size: 38px;
  line-height: 1;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 650;
}

.pricing-section {
  background: #fff;
}

.pricing-head {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.pricing-status {
  margin-top: -10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.pricing-wrap {
  display: grid;
  gap: 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(var(--pricing-columns, 3), minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.price-card {
  display: grid;
  gap: 20px;
  align-content: start;
  min-height: 100%;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.price-card.featured {
  position: relative;
  z-index: 1;
  background: #f8fbff;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
}

.price-card-top h3 {
  margin: 0;
}

.price-value {
  display: grid;
  gap: 2px;
}

.price-value strong {
  color: var(--ink);
  font-size: clamp(36px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-value span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.pricing-feature-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.pricing-feature-list li {
  position: relative;
  padding-left: 24px;
}

.pricing-feature-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--success);
  border-left: 2px solid var(--success);
  transform: rotate(-45deg);
}

.pricing-feature-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.team-price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px;
}

.team-price-card h3 {
  margin-bottom: 8px;
  font-size: 26px;
}

.team-price-card p {
  margin-bottom: 0;
}

.team-price-side {
  display: grid;
  gap: 18px;
  min-width: 220px;
  justify-items: end;
  text-align: right;
}

.loading-card {
  box-shadow: none;
}

.loading-card span {
  display: block;
  min-height: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eef2f7, #f8fafc, #eef2f7);
}

.loading-card span:first-child {
  width: 42%;
}

.loading-card span:nth-child(2) {
  width: 72%;
}

.loading-card span:nth-child(3) {
  width: 58%;
  min-height: 34px;
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

.cta-section {
  padding-top: 42px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 34px;
  background:
    radial-gradient(circle at 10% 0%, rgb(32 107 196 / 16%), transparent 36%),
    #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 42px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid a {
  color: var(--muted);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 14px;
  }

  nav {
    justify-content: start;
    overflow: auto;
  }

  .hero-grid,
  .split-grid,
  .faq-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    transform: none;
  }

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

  .pricing-grid {
    border-radius: var(--radius);
  }

  .team-price-card {
    grid-template-columns: 1fr;
  }

  .team-price-side {
    justify-items: start;
    text-align: left;
  }

  .pricing-feature-list.compact {
    grid-template-columns: 1fr;
  }

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

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

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

  .section,
  .hero {
    padding-block: 56px;
  }

  .feature-grid,
  .stats-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 24px;
  }
}
