:root {
  color-scheme: light;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-muted: #eef2f7;
  --ink: #0c1628;
  --text: #314158;
  --muted: #65758b;
  --line: #d9e1ec;
  --brand: #2563eb;
  --brand-dark: #1746ad;
  --brand-soft: #e8f0ff;
  --success: #057a55;
  --danger: #c4364e;
  --warning: #a05a00;
  --shadow: 0 18px 48px rgb(12 22 40 / 0.12);
  --shadow-soft: 0 10px 28px rgb(12 22 40 / 0.08);
  --radius: 8px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.58 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgb(217 225 236 / 0.86);
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(14px);
}

.topbar.is-scrolled {
  box-shadow: 0 8px 24px rgb(12 22 40 / 0.07);
}

.topbar__inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  margin-right: 9px;
  place-items: center;
  border-radius: var(--radius);
  background: #13213a;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-inline: auto;
}

.nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand);
}

.topbar__actions {
  display: flex;
  gap: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgb(37 99 235 / 0.2);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgb(37 99 235 / 0.2);
}

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

.btn--secondary {
  border-color: #b8c5d9;
  background: #fff;
  color: var(--brand-dark);
}

.btn--secondary:hover,
.btn--quiet:hover {
  border-color: #8ea1bf;
  background: var(--brand-soft);
}

.btn--quiet {
  border-color: transparent;
  color: var(--ink);
}

.btn--lg {
  min-height: 50px;
  padding: 13px 20px;
  font-size: 15px;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  padding: 112px 0 72px;
  background: #0f1b2f;
  color: #fff;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: #f4f6fa;
  content: "";
}

.hero__scene {
  position: absolute;
  inset: 0;
  opacity: 0.92;
  pointer-events: none;
}

.hero-window {
  position: absolute;
  right: max(16px, calc((100vw - var(--container)) / 2 - 42px));
  bottom: 60px;
  width: min(620px, 49vw);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--radius);
  background: #f8fafc;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.36);
}

.hero-window__bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  background: #e9eef5;
  border-bottom: 1px solid #d6deeb;
}

.hero-window__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
}

.hero-window__body {
  padding: 18px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-kpis article,
.hero-message,
.product-card,
.feature-grid article,
.intro-grid article,
.steps-grid article,
.trust-grid article,
.pricing article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-kpis article {
  padding: 14px;
}

.hero-kpis span,
.hero-kpis em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.hero-kpis strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-size: 20px;
}

.hero-chart {
  display: flex;
  height: 168px;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.hero-chart span {
  flex: 1;
  min-width: 12px;
  border-radius: 5px 5px 2px 2px;
  background: var(--brand);
}

.h-42 { height: 42%; }
.h-52 { height: 52%; }
.h-64 { height: 64%; }
.h-68 { height: 68%; }
.h-74 { height: 74%; }
.h-78 { height: 78%; }
.h-88 { height: 88%; }

.hero-feed {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.hero-feed div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-size: 13px;
}

.hero-feed small,
.product-table em {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f8f2;
  color: var(--success);
  font-style: normal;
  font-weight: 800;
}

.hero-feed small:last-child,
.product-table em.risk {
  background: #ffedf0;
  color: var(--danger);
}

.hero-message {
  display: none;
}

.hero-message span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
}

.hero-message strong {
  display: block;
  margin-top: 6px;
}

.hero-message p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 40px));
  max-width: none;
  margin-left: max(20px, calc((100vw - var(--container)) / 2));
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8fb4ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section .eyebrow {
  color: var(--brand);
}

.hero h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.hero__title {
  max-width: 540px;
  margin: 18px 0 0;
  font-size: 34px;
  font-weight: 820;
  line-height: 1.14;
}

.hero__lead {
  max-width: 570px;
  margin: 22px 0 0;
  color: #d7e2f2;
  font-size: 18px;
}

.hero__actions,
.final__box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__actions {
  margin-top: 28px;
}

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

.hero__proof span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: #e6edf8;
  font-size: 13px;
  font-weight: 750;
}

.hero__proof img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.section {
  padding: 82px 0;
}

.section--intro {
  position: relative;
  z-index: 3;
  padding: 0 0 74px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -36px;
}

.intro-grid article {
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.intro-grid span,
.steps-grid span,
.feature-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
}

.intro-grid h2,
.feature-grid h3,
.steps-grid h3,
.trust-grid h3,
.pricing h3 {
  margin: 14px 0 7px;
  font-size: 19px;
  line-height: 1.25;
}

.intro-grid p,
.feature-grid p,
.steps-grid p,
.trust-grid p,
.pricing p,
.section__head p,
.final p {
  margin: 0;
  color: var(--muted);
}

.section__head {
  max-width: 740px;
  margin-bottom: 34px;
}

.section__head h2,
.final h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section__head p {
  margin-top: 14px;
  font-size: 17px;
}

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

.feature-grid article,
.steps-grid article,
.pricing article {
  padding: 24px;
}

.product-section {
  background: var(--surface);
}

.product-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 56px;
  align-items: center;
}

.product-points {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.product-points span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-weight: 750;
}

.product-points span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.product-card {
  padding: 22px;
  box-shadow: var(--shadow);
}

.product-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.product-card__head span {
  color: var(--muted);
  font-size: 13px;
}

.product-table {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.product-table div {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 0.8fr 0.6fr;
  gap: 12px;
  align-items: center;
  padding: 12px 10px;
  border-radius: var(--radius);
  background: #f7f9fc;
  color: var(--text);
  font-size: 14px;
}

.product-table div:first-child {
  background: #edf2f7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.good {
  color: var(--success);
  font-weight: 800;
}

.bad {
  color: var(--danger);
  font-weight: 800;
}

.steps-grid,
.trust-grid,
.pricing {
  display: grid;
  gap: 14px;
}

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

.trust-section {
  padding: 0;
}

.trust-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 38px;
  align-items: start;
  padding: 42px;
  border-radius: var(--radius);
  background: #13213a;
  color: #fff;
}

.trust-panel h2 {
  margin: 0;
  font-size: 38px;
}

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

.trust-grid article {
  padding: 20px;
  border-color: rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.08);
}

.trust-grid p {
  color: #cbd7e8;
}

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

.pricing article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.pricing article > span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.pricing strong {
  display: block;
  margin: 8px 0 12px;
  font-size: 24px;
  line-height: 1.15;
}

.pricing .btn {
  margin-top: auto;
}

.pricing__featured {
  border-color: #8ba8e8 !important;
  background: #f2f6ff !important;
  box-shadow: var(--shadow-soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

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

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  padding: 18px 48px 18px 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 17px;
  right: 18px;
  color: var(--brand);
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.final {
  padding: 24px 0 82px;
}

.final__box {
  justify-content: space-between;
  padding: 36px;
  border-radius: var(--radius);
  background: #0f1b2f;
  color: #fff;
  box-shadow: var(--shadow);
}

.final .eyebrow {
  color: #9fbdff;
}

.final h2 {
  max-width: 620px;
}

.final p {
  max-width: 600px;
  margin-top: 10px;
  color: #d7e2f2;
}

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

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 36px;
  align-items: start;
}

.footer p {
  max-width: 360px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px 18px;
}

.footer nav a {
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
}

.footer nav a:hover {
  color: var(--brand);
}

.footer__details {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .nav {
    gap: 14px;
  }

  .hero-window {
    width: 540px;
    opacity: 0.62;
  }

  .feature-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid,
  .trust-panel,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar__inner {
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav {
    position: fixed;
    inset: 69px 0 auto;
    display: none;
    max-height: calc(100vh - 69px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 11px 8px;
    font-size: 15px;
  }

  .topbar__actions {
    margin-left: auto;
  }

  .topbar__actions .btn--quiet {
    display: none;
  }

  .hero {
    min-height: 680px;
    padding-top: 82px;
  }

  .hero-window {
    right: 20px;
    bottom: 36px;
    width: 520px;
    opacity: 0.34;
  }

  .intro-grid,
  .steps-grid,
  .pricing,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .section__head h2,
  .final h2 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .topbar__inner {
    min-height: 64px;
    gap: 8px;
  }

  .nav {
    top: 65px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .topbar__actions .btn {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 62px 0 54px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero__title {
    font-size: 29px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__scene {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section--intro {
    padding-bottom: 58px;
  }

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

  .product-card,
  .trust-panel,
  .final__box {
    padding: 22px;
  }

  .product-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
