:root {
  --blue: #0b6bea;
  --blue-dark: #0556d6;
  --text: #071a3a;
  --muted: #586884;
  --line: #dbe6f5;
  --soft: #f4f8ff;
  --dark: #061a30;
  --green: #15a864;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  min-width: 320px;
}

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

.site-header,
.hero,
.section,
.contact-section,
.footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: fit-content;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background:
    linear-gradient(#fff 0 0) 50% 0 / 2px 100% no-repeat,
    linear-gradient(90deg, #fff 0 0) 0 50% / 100% 2px no-repeat,
    var(--blue);
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
}

.brand-line {
  margin-left: 18px;
  font-size: 13px;
  color: #667796;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 34px;
  font-size: 15px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  color: #fff;
  background: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(11, 107, 234, .22);
}

.button:hover,
.button:focus-visible {
  background: var(--blue-dark);
}

.button-small {
  min-height: 38px;
  padding: 0 21px;
  border-radius: 6px;
  font-size: 14px;
}

.button-outline {
  color: var(--blue);
  background: #fff;
  box-shadow: none;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 36px;
  min-height: 430px;
  align-items: center;
  padding: 30px 0 38px;
}

.hero h1 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: .98;
  letter-spacing: 0;
}

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

.hero p {
  max-width: 510px;
  margin: 22px 0 28px;
  font-size: 22px;
  line-height: 1.35;
  color: #536585;
}

.hero-actions,
.benefits,
.contact-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
  column-gap: 34px;
  row-gap: 22px;
}

.benefits li,
.reasons li {
  position: relative;
  padding-left: 28px;
  color: #1b3154;
  line-height: 1.35;
}

.benefits li::before,
.reasons li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.laptop {
  position: relative;
  z-index: 2;
  width: min(470px, 86%);
  aspect-ratio: 1.65;
  border: 14px solid #10151e;
  border-bottom-width: 24px;
  border-radius: 14px 14px 18px 18px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(20, 35, 55, .26);
  transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
}

.browser-bar {
  height: 24px;
  padding: 8px 10px;
  border-bottom: 1px solid #e5edf8;
}

.browser-bar span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ff6a5f;
}

.browser-bar span:nth-child(2) { background: #ffce4a; }
.browser-bar span:nth-child(3) { background: #36c874; }

.sheet-screen {
  padding: 16px 18px;
}

.sheet-title {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.sheet-grid span {
  height: 16px;
  border-radius: 4px;
  background: #edf3fc;
}

.bars {
  height: 100px;
  margin: 22px 0 0 auto;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
}

.bars i {
  width: 22px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#0b6bea, #7ab4ff);
}

.bars i:nth-child(1) { height: 28%; }
.bars i:nth-child(2) { height: 42%; }
.bars i:nth-child(3) { height: 54%; }
.bars i:nth-child(4) { height: 67%; }
.bars i:nth-child(5) { height: 78%; }
.bars i:nth-child(6) { height: 96%; }

.mug {
  position: absolute;
  z-index: 3;
  left: 7%;
  bottom: 72px;
  width: 96px;
  height: 96px;
  border-radius: 8px 8px 34px 34px;
  padding: 26px 13px 0;
  background: linear-gradient(90deg, #f7f9fc, #dfe7f3);
  color: #142641;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 18px 35px rgba(15, 32, 55, .18);
}

.sheets-badge {
  position: absolute;
  z-index: 4;
  right: 3%;
  top: 112px;
  width: 105px;
  padding: 14px 10px 13px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 40, 70, .16);
  font-size: 13px;
}

.sheets-badge strong,
.sheets-badge em {
  display: block;
  font-style: normal;
}

.file-icon {
  display: block;
  width: 44px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, #1fb56b 0 73%, #c7f2dc 73%);
  position: relative;
}

.file-icon::after {
  content: "";
  position: absolute;
  inset: 17px 10px 11px;
  border: 2px solid #fff;
  background:
    linear-gradient(#fff 0 0) 50% 0 / 2px 100% no-repeat,
    linear-gradient(90deg, #fff 0 0) 0 50% / 100% 2px no-repeat;
}

.section {
  padding: 48px 0 28px;
}

.section h2,
.contact-section h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 180px;
  padding: 22px 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--blue);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon .chart-icon {
  fill: currentColor;
  stroke: none;
}

.service-icon .sheets-icon {
  fill: currentColor;
  stroke: #fff;
  stroke-width: 1.6;
}

.service-icon.green {
  color: var(--green);
}

.service-card h3,
.steps h3 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: #526482;
  line-height: 1.35;
}

.split-section {
  display: grid;
  grid-template-columns: .85fr 1.3fr;
  gap: 34px;
  align-items: center;
}

.reasons ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.level-card {
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  gap: 24px;
  padding: 30px 28px;
  border-radius: 14px;
  color: #fff;
  background: radial-gradient(circle at 0 0, #123f74, var(--dark) 45%, #04101f);
  box-shadow: 0 28px 60px rgba(4, 18, 35, .24);
}

.level-copy span,
.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #8dbaff;
  font-size: 12px;
  font-weight: 900;
}

.level-copy h2 {
  margin-bottom: 16px;
  color: #fff;
}

.level-copy p {
  color: #dbe7f7;
  line-height: 1.45;
}

.profit-preview {
  position: relative;
  min-height: 260px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  cursor: pointer;
  overflow: hidden;
}

.preview-top {
  height: 40px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  color: #092044;
  font-size: 12px;
}

.preview-top em {
  color: #7890ad;
  font-style: normal;
}

.preview-body {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  min-height: 220px;
  padding: 0 14px 16px;
}

.preview-menu {
  border-radius: 6px;
  background:
    linear-gradient(var(--blue), var(--blue)) 12px 12px / 58px 24px no-repeat,
    repeating-linear-gradient(#f3f7fd 0 17px, transparent 17px 34px);
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 56px;
}

.preview-metrics i {
  padding: 13px 8px;
  border-radius: 8px;
  background: #f3f7fd;
  color: #092044;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.preview-chart {
  grid-column: 2;
  height: 118px;
  display: flex;
  align-items: end;
  gap: 10px;
  border: 1px solid #e2eafa;
  border-radius: 8px;
  padding: 18px;
}

.preview-chart b {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: #8fc2ff;
}

.preview-chart b:nth-child(1) { height: 38%; }
.preview-chart b:nth-child(2) { height: 44%; }
.preview-chart b:nth-child(3) { height: 58%; }
.preview-chart b:nth-child(4) { height: 52%; }
.preview-chart b:nth-child(5) { height: 72%; }
.preview-chart b:nth-child(6) { height: 88%; }

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(11, 107, 234, .38);
}

.play::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps article {
  position: relative;
  min-height: 96px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.steps article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 12px;
  color: var(--blue);
  font-size: 24px;
}

.steps span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #9ec6ff;
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 7px;
}

.steps p {
  margin: 0;
  color: #62718d;
  font-size: 14px;
  line-height: 1.45;
}

.contact-section {
  margin-top: 34px;
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  padding: 34px;
  border-radius: 12px;
  background: linear-gradient(100deg, #eff6ff, #f7fbff);
}

.contact-copy p {
  margin: 0 0 32px;
  max-width: 450px;
  color: #62718d;
  font-size: 20px;
  line-height: 1.5;
}

.contact-benefits {
  gap: 24px;
  color: #465977;
}

.contact-benefit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.contact-benefit svg {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-benefit:first-child svg {
  fill: var(--blue);
  stroke: none;
}

.lead-form {
  display: grid;
  gap: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

label span {
  display: none;
}

input,
textarea,
.file-field {
  width: 100%;
  border: 1px solid #dfe8f6;
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

input,
textarea {
  padding: 16px 18px;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.file-field {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  cursor: pointer;
}

.file-field input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-field span {
  display: block;
  color: #314866;
}

.file-field small {
  display: block;
  color: #63758f;
}

.submit {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #1b3154;
  font-weight: 700;
}

.form-status.error {
  color: #b32222;
}

.footer {
  min-height: 86px;
  border-top: 1px solid #e4ebf5;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  color: #62718d;
  font-size: 14px;
}

.footer-brand-group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.telegram-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #b9d5fb;
  border-radius: 7px;
  color: #0b60d1;
  background: #f4f8ff;
  font-weight: 800;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.telegram-cta:hover {
  border-color: #76aff8;
  background: #eaf3ff;
  transform: translateY(-1px);
}

.telegram-cta svg {
  width: 19px;
  height: 19px;
  fill: var(--blue);
}

.footer-signature {
  color: #0b1d38;
  font-weight: 900;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(4, 16, 31, .72);
  z-index: 20;
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(860px, 100%);
  padding: 18px;
  border-radius: 12px;
  background: #fff;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #061a30;
}

.modal-panel p {
  margin: 12px 0 0;
  color: #536585;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .section,
  .contact-section,
  .footer {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 16px;
  }

  .brand-line {
    display: none;
  }

  .nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 10px;
  }

  .site-header .button {
    margin-left: auto;
  }

  .hero,
  .split-section,
  .level-card,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 20px;
  }

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

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

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

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .contact-section,
  .footer {
    width: min(100% - 24px, 420px);
  }

  .nav {
    font-size: 14px;
  }

  .site-header .button-small {
    display: none;
  }

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

  .hero p {
    font-size: 18px;
  }

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

  .benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-visual img {
    min-height: 300px;
    object-position: 57% center;
  }

  .mug {
    left: 2%;
    bottom: 42px;
    transform: scale(.82);
  }

  .sheets-badge {
    right: 0;
    top: 66px;
    transform: scale(.88);
  }

  .service-grid,
  .steps,
  .form-row,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    gap: 16px;
    padding: 22px 0;
  }

  .footer-brand-group {
    justify-content: space-between;
    gap: 16px;
  }

  .telegram-cta {
    width: 100%;
  }

  .footer-signature {
    justify-self: end;
  }

  .service-card {
    min-height: 0;
  }

  .level-card,
  .contact-section {
    padding: 24px 18px;
  }

  .preview-body {
    grid-template-columns: 58px 1fr;
  }

  .preview-metrics {
    grid-template-columns: 1fr;
    height: auto;
  }

  .preview-chart {
    grid-column: 2;
  }
}
