:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --text: #111827;
  --muted: #667085;
  --line: #d9e0ea;
  --blue: #2f74d6;
  --blue-dark: #1f4f9c;
  --green: #16a66a;
  --red: #e5484d;
  --shadow: 0 20px 60px rgba(16, 24, 40, 0.12);
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 247, 249, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 760;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.mobile-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.mobile-menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

main {
  overflow: hidden;
}

.hero,
.section,
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.hero {
  position: relative;
  padding-top: 74px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 42px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 36px 18px 24px 42%;
  pointer-events: none;
  opacity: 0.52;
  background:
    linear-gradient(90deg, rgba(47, 116, 214, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 116, 214, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 38%, rgba(47, 116, 214, 0.12) 38% 38.4%, transparent 38.4% 100%);
  background-size: 52px 52px, 52px 52px, 100% 100%;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 84%, transparent);
}

.hero-copy h1,
.section-heading h2,
.section-copy h2,
.visual-section h2,
.pricing h2,
.policy-page h1 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-copy,
.section-heading,
.section-copy,
.visual-section > div,
.pricing > div {
  min-width: 0;
}

.hero-copy h1 {
  margin-top: 14px;
  max-width: 640px;
  font-size: clamp(42px, 4.4vw, 60px);
  overflow-wrap: anywhere;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.eyebrow {
  margin: 0;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
}

.primary-button {
  color: #fff;
  background: var(--blue);
}

.secondary-button {
  color: var(--blue-dark);
  background: var(--surface);
  border-color: var(--line);
}

.facts {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facts span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #334155;
  background: #e8edf5;
  font-size: 13px;
}

.hero-media,
.screenshot {
  overflow: hidden;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(47, 116, 214, 0.06), rgba(255, 255, 255, 0.92) 44%, rgba(22, 166, 106, 0.06));
}

.hero-media img,
.screenshot img {
  width: 100%;
  height: auto;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  transform-origin: center center;
}

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading h2,
.section-copy h2,
.visual-section h2,
.pricing h2 {
  margin-top: 10px;
  font-size: clamp(32px, 4vw, 48px);
}

.section-heading p:not(.eyebrow),
.section-copy p:not(.eyebrow),
.visual-section p:not(.eyebrow),
.pricing p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.feature-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

.feature-grid article,
.diagnostic-panel,
.price-card,
.policy-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-grid h3,
.diagnostic-panel h3,
.price-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-grid p,
.price-card p,
.policy-card p,
.policy-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.screenshot.wide {
  margin: 0;
}

.split,
.visual-section,
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.visual-section.reversed {
  grid-template-columns: minmax(520px, 1.2fr) minmax(0, 0.8fr);
}

.visual-section .screenshot {
  margin: 0;
}

.diagnostic-panel {
  display: grid;
  gap: 12px;
}

.diagnostic-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-soft);
}

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

.diagnostic-row strong {
  text-align: right;
}

.diagnostic-row.critical strong {
  color: var(--red);
}

.pricing {
  margin-bottom: 34px;
}

.price-card strong {
  display: block;
  margin: 8px 0;
  font-size: 46px;
  letter-spacing: 0;
}

.price-card span {
  color: var(--blue-dark);
  font-weight: 760;
}

.site-footer {
  padding-top: 28px;
  padding-bottom: 36px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.policy-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 22px;
}

.policy-page h1 {
  font-size: clamp(38px, 5vw, 58px);
}

.policy-page .lead {
  max-width: 760px;
}

.policy-card {
  margin-top: 22px;
}

.policy-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.policy-card ul {
  margin: 0;
  padding-left: 22px;
}

.policy-card li + li {
  margin-top: 8px;
}

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

.contact-list a {
  color: var(--blue-dark);
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero,
  .split,
  .visual-section,
  .visual-section.reversed,
  .pricing {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 52px;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .mobile-menu-button {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 22px;
    right: 22px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .site-header[data-open="true"] .nav-links {
    display: flex;
  }

  .hero-copy h1 {
    font-size: 33px;
    line-height: 1.08;
  }

  .eyebrow {
    max-width: 100%;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 17px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .section-heading,
  .section-copy,
  .visual-section > div,
  .pricing > div,
  .hero-media,
  .screenshot {
    max-width: calc(100dvw - 36px);
  }

  .hero,
  .section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .hero-copy,
  .section-heading,
  .section-copy,
  .visual-section > div,
  .pricing > div,
  .hero-media,
  .screenshot {
    max-width: calc(100dvw - 36px);
  }

  .hero-copy h1,
  .section-heading h2,
  .section-copy h2,
  .visual-section h2,
  .pricing h2 {
    max-width: calc(100dvw - 36px);
    overflow-wrap: anywhere;
  }

  .hero-media,
  .screenshot {
    justify-self: start;
  }
}
