body {
    font-family: 'Roboto', sans-serif;
      /* Фон: сначала твой обычный градиент, потом полупрозрачное затемнение */
    background:
    linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));

    background-blend-mode: overlay, normal;
}




/* Базовые переменные и сброс */
:root{
    --bg-1: #c9f7d4;
    --bg-2: #49d389;
    --ink: #0a1b12;
    --muted: #244236b0;
    --card: #eafff3;
    --card-2: #def8eb;
    --accent: #39c37c;
    --white: #ffffff;
    --shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  
  *{ box-sizing: border-box; }
  html,body{ height: 100%; }
  body{
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    color: var(--ink);

    /* Градиент от светло-зелёного к тёмно-зелёному снизу */
    background: linear-gradient(
        to bottom,
        #c9f7d4 0%,    /* верх — насыщенный зелёный */
        #86E2AA 50%,   /* середина — темнее */
        #4FCE86 100%   /* низ — глубокий тёмно-зелёный */
    );

    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  .container{
    width: min(1120px, 92vw);
    margin-inline: auto;
  }
  
  .site-header{
    padding: clamp(32px, 6vw, 56px) 0;
    min-height: 88vh;
    display: grid;
    place-items: center;
  }
  
  .hero{
    display: grid;
    align-items: center;
    gap: clamp(24px, 4vw, 40px);
    grid-template-columns: 1.05fr .95fr;
  }
  
  @media (max-width: 920px){
    .hero{
      grid-template-columns: 1fr;
    }
  }
  
  /* Левая часть */
  .hero__title{
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-size: clamp(28px, 4.8vw, 54px);
    margin: 0 0 18px 0;
    color: #ffffff;
  }
  
  .hero__title span{ display:block; }
  .hero__title .dot{ margin-left: .2em; }
  
  .lead{
    font-size: clamp(16px, 2.2vw, 20px);
    color: var(--muted);
    margin: 0;
    color: #FFFFFF;
  }
  
  /* Телефон */
  .phone{
    display: grid;
    place-items: center;
  }
  

  .phone__bezel{
    width: clamp(220px, 36vw, 345px);  /* вернул адаптивную ширину */
    aspect-ratio: 10/20.3;
    max-height: 78vh;                  /* не вылезает за экран */
    background: #0e0e10;
    border-radius: 36px;
    padding: 10px;
    box-shadow: var(--shadow);
    position: relative;
  }

  /* Если экран по вертикали совсем небольшой — еще чуть уменьшаем */
@media (max-height: 740px){
    .phone__bezel{ max-height: 70vh; }
  }
  
  .phone__notch{
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 46%;
    height: 28px;
    background: #0e0e10;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
  }

  .phone__screen{
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    /* вместо градиента — твоя картинка */
    background: url("/static/i/background.png") no-repeat center center / cover;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 56px 16px 18px;
    position: relative;
  }
  
  
  /* Заголовок внутри экрана */
  .screen__header{
    margin-top: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 2px;
  }
  .screen__title{
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.15;
    color: #18392b;
  }
  
  /* Кнопки внутри экрана */
  .screen__btn{
    margin-top: 50px;
    margin-left: 35px;
    margin-right: 35px;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 28px;
    background: #B9F6CA;
    border-radius: 14px;
    padding: 13px 26px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    /* font-weight: 900; */
    color: #163628;
    font-weight: bold;
  }
  .screen__btn + .screen__btn{ margin-top: 10px; }
  
  /* .screen__btn--ghost{
    grid-template-columns: 1fr;
    justify-items: center;
    background: var(--white);
    color: #1a3e2e;
  } */

  .screen__btn--ghost {
    /* Пример базового оформления кнопки */
    /* display: inline-block; */
    display: inline-flex;               /* используем flex для центрирования */
    align-items: center;               /* вертикальное выравнивание */
    justify-content: center; 
    padding: 16px 24px;
    background-color: white;
    border: 0px solid #4CAF50;
    border-radius: 14px;
    color: #163628;
    font-size: 16px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.5);
  }
  /* Добавляем зелёную тень */
  .ico{
    width: 32px;
    height: 32px;
    display: block;
    stroke: #44CC80;
    stroke-width: 1.8;
    background-color: #44CC80;
    fill: #B9F6CA;
    border-radius: 4px;
  }
  
  /* Подвал — чтобы страница «заканчивалась красиво» */
  .site-footer{
    padding: 24px 0 40px;
    color: #1d3f31a8;
    text-align: center;
  }
  
  /* Небольшие микро-акценты */
  .hero__text strong{
    color: #FFFFFF;
    /* color: #0d3b2a; */
  }
  .hero__title .dot{
    color: #FFFFFF;
    /* color: #; */
  }


  .share-btn {
    position: absolute;          /* было fixed */
    bottom: 5px;                /* внутри экрана телефона */
    left: 50%;
    transform: translateX(-50%);
  
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    width: 56px;                 /* удобная зона тапа на мобилке */
    height: 56px;
    font-size: 40px;             /* размер глифа bootstrap-icons */
    line-height: 1;
    /* background-color: #4CAF50; */
    color: #fff;
    border-radius: 50%;
    /* box-shadow: 0 4px 10px rgba(0,0,0,.3); */
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    z-index: 3;                  /* поверх контента внутри экрана */
  }
  
  .share-btn:hover {
    transform: translateX(-50%) scale(1.06);
    box-shadow: 0 6px 14px rgba(0,0,0,.35);
  }


  /* Телефоны ≤ 480px */
@media (max-width: 480px) {
  .phone__bezel{
    width: clamp(200px, 72vw, 300px); /* чуть уже на узких экранах */
  }

  .screen__title{
    font-size: 18px;
  }

  .screen__btn{
    margin-top: 28px;               /* было 50px */
    margin-left: 18px;
    margin-right: 18px;
    grid-template-columns: 24px 1fr;/* было 28px */
    gap: 16px;                      /* было 28px */
    padding: 10px 16px;             /* было 13px 26px */
    border-radius: 12px;            /* чуть меньше радиус */
    font-size: 15px;                /* уменьшили текст */
  }

  .screen__btn + .screen__btn{ margin-top: 8px; }

  .ico{
    width: 24px;                    /* было 32px */
    height: 24px;
    stroke-width: 1.6;
    border-radius: 3px;
  }

  .screen__btn--ghost{
    padding: 12px 16px;             /* тоже компактнее */
    font-size: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(76,175,80,.35);
  }

  .phone__screen{
    gap: 10px;
    padding: 44px 12px 14px;        /* чуть меньше внутренние поля */
  }

  .screen__header{ margin-top: 36px; }
}

/* Очень маленькие экраны ≤ 360px */
@media (max-width: 360px){
  .phone__bezel{ width: 86vw; }
  .screen__title{ font-size: 16px; }

  .screen__btn{
    grid-template-columns: 22px 1fr;
    gap: 12px;
    padding: 8px 12px;
    margin-left: 12px;
    margin-right: 12px;
    font-size: 14px;
  }

  .ico{ width: 22px; height: 22px; }

  .share-btn{
    width: 48px; height: 48px; font-size: 32px;
  }
}



/* Экран шириной до 700px — кнопки меньше */
@media (max-width: 700px) {
  .screen__btn {
    margin-top: 32px;
    margin-left: 18px;
    margin-right: 18px;
    grid-template-columns: 24px 1fr;
    gap: 18px;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 12px;
  }

  .ico {
    width: 26px;
    height: 26px;
  }

  .screen__title {
    font-size: 18px;
  }

  .phone__bezel {
    width: 320px; /* или 85vw — если хочешь, чтобы адаптировалось */
  }

  .screen__btn--ghost {
    padding: 12px 18px;
    font-size: 15px;
  }
}




/* Мобильные устройства — уменьшаем сам телефон */
@media (max-width: 700px) {
  .phone__bezel {
    width: clamp(180px, 60vw, 260px);
    max-height: 70vh;
    border-radius: 28px;
    padding: 8px;
  }

  .phone__screen {
    border-radius: 22px;
    padding: 40px 12px 14px;
    gap: 10px;
  }

  .screen__title {
    font-size: 18px;
  }

  .screen__btn {
    grid-template-columns: 22px 1fr;
    gap: 14px;
    padding: 8px 14px;
    margin-left: 14px;
    margin-right: 14px;
    font-size: 14px;
    border-radius: 10px;
  }

  .ico {
    width: 22px;
    height: 22px;
  }
}

/* Очень маленькие мобильные устройства (ширина ≤ 480px) */
@media (max-width: 480px) {
  .phone {
    margin-right: 15px;     /* отступ от правого края */
  }
  .phone__bezel {
    width: 75vw;
    max-height: 65vh;
  }

  .screen__btn {
    padding: 6px 10px;
    font-size: 13px;
  }

  .screen__title {
    font-size: 16px;
  }
}