:root {
  --primary: #1b6ca8;
  --primary-dark: #0f4c7a;
  --primary-deep: #07395f;
  --primary-bright: #2d9cdb;
  --primary-light: #e8f2fb;
  --gold: #ef9f27;
  --gold-light: #fff5de;
  --success: #1a9e6a;
  --ink: #101828;
  --muted: #667085;
  --line: #dde7f0;
  --surface: #f4f8fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.brand span {
  color: var(--primary-deep);
  font-size: 18px;
  font-weight: 900;
}

.nav nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 48px;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--primary-deep);
  font-size: clamp(38px, 7vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--primary-bright));
  box-shadow: 0 16px 32px rgba(27, 108, 168, 0.24);
}

.button.secondary {
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--line);
}

.note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(390px, 100%);
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(7, 57, 95, 0.18);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-top img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.phone-top strong,
.phone-top span {
  display: block;
}

.phone-top strong {
  color: var(--primary-deep);
  font-size: 18px;
}

.phone-top span {
  color: var(--muted);
  font-size: 12px;
}

.total-card {
  margin: 22px 0 14px;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--primary-bright));
  border-radius: 18px;
}

.total-card span,
.total-card strong {
  display: block;
}

.total-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
}

.total-card strong {
  margin-top: 6px;
  font-size: 30px;
  font-weight: 950;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chips span {
  padding: 7px 10px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

.menu-grid div {
  min-height: 110px;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary-light), var(--gold-light));
  border: 1px solid var(--line);
  border-radius: 16px;
}

.menu-grid span,
.menu-grid strong {
  display: block;
}

.menu-grid span {
  color: var(--primary-deep);
  font-weight: 850;
}

.menu-grid strong {
  margin-top: 36px;
  color: var(--primary);
}

.strip,
.section,
.download-card {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 0 56px;
}

.strip div,
.features article,
.plan,
.download-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.strip div {
  padding: 18px;
}

.strip strong,
.strip span {
  display: block;
}

.strip strong {
  color: var(--primary-deep);
}

.strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 56px 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 24px;
}

.section h2,
.download-card h2 {
  color: var(--primary-deep);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.features,
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.features article,
.plan {
  padding: 20px;
}

.icon,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 34px;
  margin-bottom: 18px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.features h3,
.plan h3 {
  color: var(--primary-deep);
  font-size: 20px;
}

.features p,
.download-card p {
  color: var(--muted);
  line-height: 1.6;
}

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

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

.plan.pro {
  border-color: rgba(239, 159, 39, 0.5);
  box-shadow: 0 20px 44px rgba(239, 159, 39, 0.14);
}

.plan.cloud {
  border-color: rgba(26, 158, 106, 0.42);
  box-shadow: 0 20px 44px rgba(26, 158, 106, 0.12);
}

.plan ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding: 28px;
}

.download-card p {
  max-width: 650px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px max(20px, calc((100vw - 1120px) / 2));
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

footer span:first-child {
  color: var(--primary-deep);
  font-weight: 900;
}

.payment-state {
  width: min(560px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.payment-state img {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  margin-bottom: 28px;
}

.payment-state h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 32px;
}

.payment-state p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

  .hero,
  .strip,
  .features,
  .plans {
    grid-template-columns: 1fr;
  }

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

  .download-card,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
