:root {
  --ink: #070d23;
  --muted: #5f6878;
  --line: #e3e7ee;
  --blue: #1f67d2;
  --green: #c9f3dd;
  --green-ink: #168455;
  --soft: #f5f7fb;
  --soft-blue: #edf2ff;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(14, 27, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(185px, auto) 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 76px;
  padding: 0 clamp(22px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: 218px;
  max-width: 100%;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-weight: 700;
}

.nav a {
  color: #111729;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.button-dark {
  color: var(--white);
  background: #061026;
  box-shadow: 0 8px 18px rgba(6, 16, 38, 0.16);
}

.button-light,
.button-outline {
  background: var(--white);
  border-color: #cfd6e3;
}

.button-blue {
  color: var(--white);
  background: var(--blue);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 11px solid var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(560px, 1.18fr);
  gap: clamp(34px, 4.2vw, 58px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 66px 46px 50px;
}

.hero-logo {
  display: block;
  width: min(320px, 100%);
  height: auto;
  margin: 0 0 28px;
}

.hero h1 {
  margin: 0;
  max-width: 590px;
  font-size: clamp(42px, 4.1vw, 58px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--blue);
  display: block;
}

.hero-copy > p {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: 20px;
  color: #263044;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
}

.setup-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 44px;
}

.note-icon,
.step-icon,
.feature-grid span,
.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--soft-blue);
  font-size: 38px;
  font-weight: 800;
}

.setup-note .note-icon {
  width: 22px;
  height: 22px;
  font-size: 18px;
  background: transparent;
}

.setup-note strong,
.setup-note small {
  display: block;
}

.setup-note small {
  color: var(--muted);
}

.hero-panel,
.hero-image {
  min-width: 0;
}

.hero-panel {
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid #d9dee8;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.hero-image {
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid #d9dee8;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image img {
  display: block;
  width: 100%;
  min-height: 360px;
  height: auto;
  object-fit: contain;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 13px;
}

.toolbar label,
.toolbar span {
  min-height: 34px;
  padding: 7px 11px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.toolbar select {
  margin-left: 8px;
  border: 0;
  background: transparent;
  font: inherit;
}

.toolbar .badge {
  color: var(--green-ink);
  background: #ebfff4;
  font-weight: 800;
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 12px;
}

.price-table th,
.price-table td {
  padding: 12px 7px;
  border: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.price-table th {
  text-align: left;
  background: #fbfcff;
  font-weight: 800;
}

.price-table td:nth-child(1),
.price-table td:nth-child(2),
.price-table td:nth-child(3) {
  text-align: left;
}

.price-table .soft {
  background: #fff0f1;
}

.price-table .picked {
  outline: 2px solid var(--blue);
  outline-offset: -5px;
  border-radius: 4px;
}

.price-table .good {
  background: var(--green);
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 54px 46px;
}

.section h2,
.features h2,
.pricing h2,
.cta h2,
.faq h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
}

.section > h2,
.section-lead {
  text-align: center;
}

.section-lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.steps article {
  position: relative;
  text-align: center;
}

.steps article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 26px;
  right: -22px;
  color: #a7afbd;
  font-size: 28px;
}

.steps b,
.feature-grid b {
  display: block;
  margin-top: 18px;
  font-size: 16px;
}

.steps p,
.feature-grid p,
.plan p,
.cta p,
.faq p {
  margin: 8px 0 0;
  color: #202a3d;
}

.features {
  max-width: 1150px;
  margin: 16px auto 0;
  padding: 34px 38px 42px;
  background: #f4f6fb;
  border-radius: 12px;
}

.features h2 {
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 30px;
}

.feature-grid article {
  min-width: 0;
  padding: 0 22px;
  text-align: center;
  border-left: 1px solid #dbe0ea;
}

.feature-grid article:first-child {
  border-left: 0;
}

.feature-grid span {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  background: transparent;
  font-size: 42px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 930px;
  margin: 34px auto 0;
}

.plan {
  position: relative;
  min-height: 296px;
  padding: 34px 28px 28px;
  background: var(--white);
  border: 1px solid #d7dde8;
  border-radius: 9px;
  box-shadow: 0 10px 22px rgba(17, 32, 61, 0.08);
}

.plan-count {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.plan-count strong {
  font-size: 42px;
  line-height: 1;
}

.plan h3 {
  margin: 22px 0 0;
  font-size: 32px;
}

.plan h3 small {
  font-size: 16px;
}

.plan .button {
  width: 100%;
  margin-top: 28px;
}

.ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.saving {
  color: #168455 !important;
  font-weight: 800;
}

.pricing-note {
  margin: 24px auto 0;
  text-align: center;
  color: #293348;
}

.cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: 1030px;
  margin: 12px auto 0;
  padding: 32px 42px;
  background: #f4f6fb;
  border-radius: 12px;
}

.cta p {
  max-width: 680px;
  font-size: 18px;
}

.faq {
  max-width: 1030px;
  margin: 0 auto;
  padding: 34px 0 58px;
}

.faq-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.faq-head a {
  color: #204f8f;
  font-weight: 800;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}

details {
  background: var(--white);
  border: 1px solid #dce1eb;
  border-radius: 7px;
}

summary {
  cursor: pointer;
  min-height: 58px;
  padding: 18px 24px;
  font-weight: 800;
}

details p {
  padding: 0 24px 20px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 16px 22px;
  }

  .brand img {
    width: 214px;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 22px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 42px 22px;
  }

  .hero-logo {
    width: min(290px, 82vw);
    margin-bottom: 24px;
  }

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

  .hero-image {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-image img {
    min-height: 0;
  }

  .steps,
  .feature-grid,
  .plans,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps article:not(:last-child)::after,
  .feature-grid article {
    border-left: 0;
  }

  .steps article:not(:last-child)::after {
    display: none;
  }

  .features,
  .faq,
  .cta {
    margin-left: 22px;
    margin-right: 22px;
  }

  .feature-grid {
    gap: 28px 10px;
  }

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

@media (max-width: 620px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .brand img {
    width: 196px;
  }

  .header-action {
    width: 100%;
  }

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

  .hero-logo {
    width: min(250px, 78vw);
    margin-bottom: 20px;
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .hero-actions,
  .plans,
  .steps,
  .feature-grid,
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 42px 22px;
  }

  .section h2,
  .features h2,
  .pricing h2,
  .cta h2,
  .faq h2 {
    font-size: 28px;
  }

  .features {
    padding: 28px 22px;
  }

  .faq-head,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
