:root {
  --blue: #2d67a3;
  --blue-dark: #173c64;
  --green: #80e800;
  --ink: #111827;
  --muted: #5e6876;
  --line: #dce4ec;
  --surface: #f5f8fb;
  --white: #fff;
  --shadow: 0 18px 55px rgba(30, 64, 99, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.hero {
  position: relative;
  min-height: min(930px, 100svh);
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 8%, rgba(128, 232, 0, 0.13), transparent 26rem),
    linear-gradient(180deg, #fff 0%, #fff 75%, #f8fbfe 100%);
}

.hero__inner,
.section-shell {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.hero__inner {
  display: grid;
  min-height: min(930px, 100svh);
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, 0.72fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding-block: clamp(48px, 7vh, 86px);
}

.hero__content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.brand-logo {
  width: min(100%, 560px);
  height: auto;
}

.hero h1 {
  margin: 28px 0 22px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.25;
}

.acrostic {
  display: grid;
  gap: 3px;
  margin: 0 0 34px;
  padding: 0;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.16;
  list-style: none;
}

.acrostic li {
  display: flex;
  align-items: baseline;
}

.acrostic strong {
  min-width: 0.85em;
  color: var(--blue);
  font-weight: 800;
}

.acrostic span {
  font-weight: 400;
}

.store-grid {
  display: grid;
  max-width: 650px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.store-card {
  display: flex;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  flex-direction: column;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(29, 63, 98, 0.08);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.store-card:hover,
.store-card:focus-visible {
  border-color: rgba(45, 103, 163, 0.55);
  outline: none;
  box-shadow: 0 16px 38px rgba(29, 63, 98, 0.15);
  transform: translateY(-4px);
}

.store-card__copy {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.store-card img {
  width: 100%;
  height: auto;
  margin-top: auto;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: contain;
}

.apk-download {
  display: grid;
  max-width: 650px;
  grid-template-columns: minmax(0, 2fr) auto;
  gap: 15px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--blue);
  border-radius: 18px;
  color: var(--white);
  text-decoration: none;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: 0 15px 36px rgba(32, 83, 133, 0.24);
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.apk-download:hover,
.apk-download:focus-visible {
  outline: 3px solid rgba(128, 232, 0, 0.5);
  outline-offset: 3px;
  box-shadow: 0 20px 42px rgba(32, 83, 133, 0.3);
  transform: translateY(-2px);
}

.apk-download__icon {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  place-items: center;
  color: var(--blue-dark);
  background: var(--green);
}

.apk-download__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.apk-download strong {
  font-size: clamp(15px, 1.8vw, 19px);
}

.apk-download__arrow {
  font-size: 28px;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 720px;
  place-items: center;
}

.hero__visual::before {
  position: absolute;
  z-index: -1;
  width: clamp(560px, 56vw, 860px);
  aspect-ratio: 912 / 817;
  background: url("../img/raonback.png") center / contain no-repeat;
  content: "";
}

.hero__visual img {
  width: min(100%, 410px);
  height: auto;
  max-height: 750px;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(21, 52, 84, 0.2));
}

.about-section {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--surface);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 42px;
}

.section-heading__lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading h2,
.benefits-heading h2,
.closing-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

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

.feature-card {
  grid-column: span 2;
  min-height: 245px;
  padding: 26px;
  border: 1px solid rgba(45, 103, 163, 0.12);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(30, 64, 99, 0.07);
}

.feature-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.feature-card > span {
  font-size: 31px;
}

.feature-card h3 {
  margin: 18px 0 10px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.benefits-heading {
  margin-top: 74px;
}

.benefits-heading h2 {
  font-size: clamp(27px, 3.5vw, 42px);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.benefits > div {
  padding-top: 20px;
  border-top: 3px solid var(--green);
}

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

.benefits span {
  min-height: 38px;
  font-size: 28px;
}

.benefits strong {
  margin-top: 13px;
  font-size: 15px;
}

.benefits p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.closing-cta {
  margin-top: 80px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(128, 232, 0, 0.35), transparent 18rem),
    var(--blue-dark);
  box-shadow: var(--shadow);
}

.closing-cta h2 {
  max-width: 880px;
  font-size: clamp(25px, 3vw, 38px);
}

.closing-cta p {
  max-width: 850px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.6;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 48px), 1180px);
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  padding-block: 30px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  text-underline-offset: 3px;
}

.cookie-notification {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  width: fit-content;
  max-width: min(430px, calc(100vw - 40px));
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border-radius: 14px;
  color: var(--white);
  visibility: hidden;
  background: rgba(23, 60, 100, 0.97);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.cookie-notification.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.cookie-notification p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.cookie-notification button {
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  background: var(--green);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .hero__content {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .hero__visual {
    min-height: 540px;
  }

  .hero__visual img {
    max-height: 560px;
  }

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

@media (max-width: 720px) {
  .hero__inner,
  .section-shell,
  .site-footer {
    width: min(calc(100% - 32px), 1180px);
  }

  .hero h1 {
    margin-top: 22px;
  }

  .acrostic {
    font-size: clamp(21px, 7vw, 30px);
  }

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

  .store-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 16px;
    align-items: center;
    padding: 12px 14px 12px 20px;
    text-align: left;
  }

  .store-card__copy {
    min-height: 0;
    justify-content: flex-start;
    margin: 0;
    font-size: 16px;
  }

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

  .feature-card,
  .feature-card:nth-child(4) {
    grid-column: auto;
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 100%;
  }

  .apk-download {
    grid-template-columns: minmax(0, 2fr);
    padding: 14px;
  }

  .apk-download__icon {
    width: 42px;
    height: 42px;
  }

  .apk-download__arrow {
    display: none;
  }

  .hero__visual {
    min-height: 430px;
  }

  .hero__visual img {
    width: min(78%, 320px);
    max-height: 430px;
  }

  .hero__visual::before {
    width: 620px;
  }

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

  .site-footer nav {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-notification {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
    align-items: stretch;
    flex-direction: column;
  }
}

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

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



 /* Добавляем плавную прокрутку для всей страницы */
      html {
        scroll-behavior: smooth;
      }
      
      /* Дополнительный стиль для отступа, чтобы блок не перекрывался шапкой (опционально) */
      #apple {
        scroll-margin-top: 20px;
      }
	  
	  
	  

/** {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }*/

       /* body {
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: #f2f4f8;
            padding: 32px 20px 48px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }*/

        .container {
            max-width: 1280px;
            width: 100%;
        }

        /* Заголовок и подзаголовок — занимают полную ширину */
        .header {
            margin-bottom: 32px;
            width: 100%;
        }

        h1 {
            font-size: 32px;
            font-weight: 650;
            letter-spacing: -0.4px;
            color: #1c1c1e;
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .subhead {
            font-size: 17px;
            color: #6c6c70;
            border-left: 4px solid #007aff;
            padding-left: 18px;
            background: #f8f9fc;
            border-radius: 0 16px 16px 0;
            line-height: 1.5;
            padding: 14px 20px;
            margin-top: 8px;
            max-width: 680px;
        }

        /* Сетка: 4 колонки на десктопе */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            margin-bottom: 32px;
        }

        /* Карточка шага */
        .step {
            background: #ffffff;
            border-radius: 32px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
            padding: 24px 18px 28px;
            display: flex;
            flex-direction: column;
            transition: transform 0.15s, box-shadow 0.15s;
            border: 1px solid #edf0f5;
        }

        .step:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
        }

        .step-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 14px;
        }

        .step-number {
            background: #007aff;
            color: white;
            font-weight: 600;
            font-size: 18px;
            width: 36px;
            height: 36px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(0, 122, 255, 0.25);
        }

        .step-title {
            font-size: 18px;
            font-weight: 600;
            color: #1c1c1e;
            letter-spacing: -0.2px;
            line-height: 1.3;
        }

        .step-desc {
            font-size: 15px;
            color: #3a3a3c;
            line-height: 1.5;
            margin-bottom: 16px;
            flex-shrink: 0;
        }

        .step-desc strong {
            color: #000;
            font-weight: 600;
        }

        /* Заглушка скриншота — единый стиль для всех */
        .screenshot-placeholder {
    /* background: #e8ecf4; */
    /* border-radius: 24px; */
    /* padding: 16px 10px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* border: 2px dashed #b0b8c8; */
    transition: background 0.2s;
    margin-top: 4px;
    flex: 1;
}

        .screenshot-placeholder .mock-phone {
            background: #1c1c1e;
            border-radius: 28px;
            padding: 10px 6px 8px;
            width: 100%;
            /*max-width: 180px;*/
            aspect-ratio: 9 / 19;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 20px rgba(0,0,0,0.25);
            margin-bottom: 10px;
        }

        .screenshot-placeholder .mock-screen {
            background: #f0f2f6;
            width: 94%;
            height: 92%;
            border-radius: 18px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #3a3a3c;
            font-weight: 500;
            font-size: 14px;
            padding: 8px;
            text-align: center;
            gap: 4px;
        }

        .mock-screen .browser-bar {
            background: #d9dde6;
            width: 70%;
            height: 10px;
            border-radius: 40px;
            margin: 4px 0;
        }

        .screenshot-placeholder .label {
            font-size: 14px;
            font-weight: 500;
            color: #3a3a3c;
            background: #f2f4f8;
            padding: 4px 16px;
            border-radius: 40px;
            letter-spacing: 0.2px;
            border: 1px solid #d2d8e2;
            margin-top: 4px;
        }

        .placeholder-note {
            font-size: 12px;
            color: #6c6c70;
            background: #f8f9fc;
            padding: 4px 12px;
            border-radius: 40px;
            margin-top: 6px;
            border: 1px solid #e2e6ee;
            text-align: center;
        }

        /* Специфичные стили для макетов внутри шагов (разнообразие) */
        .step-1 .mock-screen .top-dots {
            display: flex;
            justify-content: flex-end;
            width: 100%;
            padding-right: 8px;
            font-size: 20px;
            letter-spacing: 2px;
            color: #007aff;
        }

        .step-2 .mock-screen .share-icon {
            font-size: 32px;
            margin: 4px 0;
        }

        .step-3 .mock-screen .home-icon {
            font-size: 30px;
            background: #007aff20;
            padding: 4px 14px;
            border-radius: 40px;
        }

        .step-4 .mock-screen .done-check {
            font-size: 34px;
            color: #34c759;
        }

        /* Блок "финальная заметка" — на всю ширину */
        .final-note {
            background: #f8f9fc;
            border-radius: 28px;
            padding: 20px 28px;
            border: 1px solid #e9ecf0;
            color: #1c1c1e;
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
            width: 100%;
            margin-top: 8px;
        }

        .final-note span {
            background: #007aff10;
            padding: 4px 16px;
            border-radius: 40px;
            font-weight: 500;
            color: #007aff;
            border: 1px solid #007aff30;
        }

        .footer-credit {
            margin-top: 32px;
            font-size: 14px;
            color: #8e8e93;
            text-align: center;
            border-top: 1px solid #e9ecf0;
            padding-top: 28px;
            letter-spacing: 0.2px;
            width: 100%;
        }

        .footer-credit code {
            background: #e9ecf0;
            padding: 2px 12px;
            border-radius: 30px;
            font-size: 13px;
        }

        /* Адаптив: планшеты и маленькие десктопы */
        @media (max-width: 1024px) {
            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }

        /* Мобильные: 1 колонка */
        @media (max-width: 640px) {
            /*body { padding: 16px 12px 32px; }*/
            .steps-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .step {
                padding: 20px 16px 24px;
            }
            h1 { font-size: 26px; }
            .subhead { font-size: 15px; padding: 12px 16px; }
            /*.screenshot-placeholder .mock-phone { max-width: 160px; }*/
            .final-note { flex-direction: column; align-items: flex-start; gap: 10px; }
        }

        /* очень маленькие экраны */
        @media (max-width: 380px) {
            /*.screenshot-placeholder .mock-phone { max-width: 130px; }*/
            .step-title { font-size: 16px; }
        }	  
	  
	  