:root{
  --ink:#07182f;
  --muted:#607086;
  --teal:#008f96;
  --teal-dark:#007c84;
  --teal-pale:#dff5f4;
  --line:#dce6eb;
  --tint:#f7fafc;
  --white:#fff;
  --shadow:0 16px 40px rgba(28,55,76,.11);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:#fff;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,summary{font:inherit}
.container{width:min(1320px,calc(100% - 80px));margin-inline:auto}
.header{height:88px;background:#fff;position:relative;z-index:20}
.header__inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:34px}
.logo{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}
.logo__icon{width:31px;height:31px;color:var(--teal)}
.nav{display:flex;align-items:center;gap:43px;margin-left:auto;margin-right:40px;font-size:14px;color:#14366a}
.nav a{transition:.2s ease}
.nav a:hover{color:var(--teal)}
.header__actions{display:flex;align-items:center;gap:14px}
.button{min-height:52px;padding:0 28px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:11px;border:1px solid transparent;font-weight:700;font-size:15px;line-height:1;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.button:hover{transform:translateY(-1px)}
.button--small{min-height:44px;padding-inline:24px;font-size:14px}
.button--primary{background:linear-gradient(135deg,#009aa1,#007f88);color:#fff;box-shadow:0 10px 20px rgba(0,143,150,.18)}
.button--primary:hover{box-shadow:0 14px 28px rgba(0,143,150,.24)}
.button--ghost{color:var(--teal);border-color:#b4dde0;background:#fff}
.button--outline{background:#fff;border-color:#cad6dd;color:var(--ink)}
.button--white{min-width:330px;background:#fff;color:var(--teal);box-shadow:0 10px 28px rgba(0,0,0,.12)}
.burger{display:none;width:42px;height:42px;border:0;background:transparent;padding:8px;cursor:pointer}
.burger span{display:block;height:2px;background:var(--ink);margin:6px 0;border-radius:2px}
.mobile-menu{display:none}

/* Hero fills its background with the new full-bleed illustration
   (Катя 2026-07-02). Text sits on the left where the artwork's own
   white space naturally frames it. Edge-fade gradients on top blend
   the artwork's outer border into the page white so the illustration
   doesn't look like a pasted rectangle (Катя ask 2026-07-02). */
.hero{
  min-height:735px;
  background:
    /* top + bottom soft fades */
    linear-gradient(180deg,#fff 0%,rgba(255,255,255,0) 12%,rgba(255,255,255,0) 88%,#fff 100%),
    /* left + right soft fades */
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,0) 10%,rgba(255,255,255,0) 90%,#fff 100%),
    /* artwork itself */
    url('assets/hero-bg.png') no-repeat right center / contain,
    /* base canvas */
    linear-gradient(180deg,#fff 0%,#fff 70%,#f8fbfc 100%);
  overflow:hidden;
}
.hero__grid{min-height:735px;display:grid;grid-template-columns:1fr;align-items:center}
.hero__content{padding-top:7px;align-self:center;max-width:52%}
.hero h1{margin:0;font-size:50px;line-height:1.17;letter-spacing:-.045em;font-weight:800;max-width:730px}
.hero__lead{margin:28px 0 31px;font-size:19px;line-height:1.4;color:var(--teal);font-weight:800}
.hero__text{margin:0;color:var(--muted);font-size:16px;line-height:1.78}
.hero__buttons{display:flex;gap:14px;margin-top:36px}
.play{color:var(--teal);font-size:21px;transform:translateY(-1px)}
.hero__note{display:flex;align-items:center;gap:12px;color:#617086;font-size:14px;margin-top:38px}
.hero__note svg{width:20px;height:20px;color:#73879d}
/* Old right-column visual is superseded by the background image; kept
   the class only for cleanliness of the HTML mock, hidden here. */
.hero__visual{display:none}

.features{padding:120px 0 120px;background:linear-gradient(180deg,#f8fbfc,#f6fafc);border-top:1px solid #f1f5f7;border-bottom:1px solid #eef3f5}
.features h2,.section h2,.faq h2{margin:0 0 56px;text-align:center;font-size:30px;line-height:1.25;letter-spacing:-.03em}
.features__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.feature{display:flex;align-items:flex-start;gap:18px;padding-left:20px}
.feature__icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:rgba(0,154,161,.06);border:1px solid #d8efef;color:var(--teal)}
.feature__icon svg{width:31px;height:31px}
.feature h3{margin:2px 0 8px;font-size:16px;line-height:1.35}
.feature p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}

.section{padding:120px 0 120px}
.section--tinted{background:#f8fafc}
/* «Как это работает» — usable-area grown per Катя 2026-07-02:
   больше воздуха вокруг + широкая иллюстрация всех трёх экранов
   единым макетом снизу, вместо трёх мелких скриншотов внутри
   каждой карточки шага. */
.how{background:#fff;padding-block:110px}
.how h2{margin-bottom:14px}
.steps{display:grid;grid-template-columns:1fr 55px 1fr 55px 1fr;align-items:start;margin-top:24px}
.step{min-width:0}
.step__head{display:flex;gap:25px;align-items:flex-start;min-height:120px;padding-left:28px}
.step__number{font-size:68px;line-height:.9;color:#bfe4e4;font-weight:500;letter-spacing:-.06em}
.step h3{font-size:18px;margin:3px 0 9px}
.step p{margin:0;color:var(--muted);font-size:15px;line-height:1.6}
.step__arrow{text-align:center;color:#214258;font-size:30px;padding-top:38px}
.how__image{display:block;width:calc(100% - 40px);max-width:1600px;height:auto;margin:52px auto 0}

.examples{padding-top:120px;padding-bottom:120px}
.examples h2{font-size:29px}
.examples__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin-top:0}
.example-card{background:#fff;border:1px solid #dce4e9;border-radius:10px;overflow:hidden;box-shadow:0 8px 20px rgba(30,57,75,.035)}
/* Квадратный кадр под примеры (Катя 2026-07-03).  Музей и город
   уже 1:1, фестивальная широкая — object-fit:cover центрирует и
   обрезает края органично (буквы FEST остаются в центре). */
.example-card>img{width:100%;aspect-ratio:1/1;height:auto;object-fit:cover;object-position:center;display:block}
.example-card__body{padding:18px 23px 24px;min-height:145px}
.example-card h3{margin:0 0 12px;font-size:16px}
.example-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}

.story{display:grid;grid-template-columns:43.7% 56.3%;min-height:520px;border-top:1px solid #e8eff2}
.story__media{overflow:hidden;background:#28382d}
.story__media img{width:100%;height:100%;object-fit:cover}
.story__content{display:grid;grid-template-columns:1fr 370px;gap:60px;align-items:center;padding:35px 45px 35px 46px;background:#fff}
.story__copy h2{margin:0 0 27px;font-size:31px;line-height:1.22;letter-spacing:-.035em}
.story__copy>p{margin:0 0 24px;color:var(--muted);font-size:14px;line-height:1.65}
.story__copy ul{list-style:none;margin:0 0 30px;padding:0;display:grid;gap:14px;font-size:14px}
.story__copy li{position:relative;padding-left:28px}
.story__copy li::before{content:"✓";position:absolute;left:0;top:-1px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:#fff;font-size:11px;font-weight:800}
.story__copy .button{min-height:48px;font-size:14px;padding-inline:24px}
.story__dashboard{width:100%;filter:drop-shadow(0 12px 24px rgba(26,50,66,.12))}

.cta-wrap{padding:100px 0 100px;background:#fff}
.cta{min-height:139px;border-radius:10px;background:linear-gradient(105deg,#058c94,#006675);display:grid;grid-template-columns:85px 1fr auto;align-items:center;gap:24px;padding:21px 57px;color:#fff;box-shadow:0 14px 32px rgba(0,98,109,.12)}
.cta__icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;font-size:34px;background:rgba(0,186,194,.22)}
.cta h2{margin:0 0 9px;font-size:28px;line-height:1.2;letter-spacing:-.035em}
.cta p{margin:0;font-size:13px;line-height:1.55;color:rgba(255,255,255,.9)}
.cta__action{display:flex;flex-direction:column;align-items:center;gap:10px}
.cta__action span{font-size:11px;color:rgba(255,255,255,.82)}

.faq{padding:100px 0 120px}
.faq h2{font-size:30px;margin-bottom:48px}
/* List, not a grid — Катя 2026-06-18 «лучше сделать списком». */
.faq__grid{display:flex;flex-direction:column;gap:12px;max-width:880px;margin:0 auto}
details{background:#fff;border:1px solid #dfe7eb;border-radius:7px;box-shadow:0 5px 14px rgba(35,57,70,.035);overflow:hidden}
summary{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;padding:0 24px;font-size:14px;font-weight:600;cursor:pointer}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:22px;font-weight:400;color:#61768b}
details[open] summary::after{content:"−"}
details p{margin:0;padding:0 24px 20px;color:var(--muted);font-size:14px;line-height:1.6}

/* Footer — teal panel matching the CTA gradient above it, per Катя
   2026-07-02: «Нижний блок вот таким синим цветом» (screenshot of
   the CTA block).  Same palette so the two flow visually. */
.footer{background:linear-gradient(180deg,#0a8b93,#00646d);color:#dff2f2;padding:64px 0 28px;margin-top:0}
.footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:60px;align-items:start}
.footer__brand p{margin:14px 0 0;font-size:14px;line-height:1.6;color:#b6d8db;max-width:320px}
.footer__logo{display:inline-flex;align-items:center;gap:11px;color:#fff;font-weight:800;font-size:19px;text-decoration:none}
.footer__logo svg{width:26px;height:26px;color:#fff}
.footer__col h4{margin:0 0 16px;font-size:13px;font-weight:700;color:#fff;letter-spacing:.02em}
.footer__col a{display:block;padding:6px 0;font-size:14px;color:#c8e4e6;text-decoration:none;transition:color .15s}
.footer__col a:hover{color:#fff}
.footer__legal{border-top:1px solid rgba(255,255,255,.14);margin-top:44px;padding-top:22px;font-size:12px;color:#9ec8cc}

@media (max-width:1180px){
  .container{width:min(100% - 48px,1080px)}
  .nav{gap:24px;margin-right:8px}
  .hero h1{font-size:45px}
  /* Content column narrower so the background artwork isn't clipped by text. */
  .hero__content{max-width:48%}
  .features__grid{gap:14px}.feature{padding-left:0}.feature__icon{width:56px;height:56px}
  .story{grid-template-columns:44% 56%}.story__content{grid-template-columns:1fr 300px;gap:25px;padding-inline:35px}
}
@media (max-width:900px){
  .nav,.header__actions{display:none}.burger{display:block}.mobile-menu{position:absolute;left:0;right:0;top:88px;background:#fff;border-top:1px solid var(--line);padding:22px 24px;box-shadow:var(--shadow);flex-direction:column;gap:17px}.mobile-menu.is-open{display:flex}
  .container{width:min(100% - 36px,760px)}
  /* Mobile hero: bring the artwork below the text so both remain
     readable, instead of trying to overlay both in one column. */
  .hero{min-height:auto;padding:55px 0 0;background:linear-gradient(180deg,#fff 0%,#fff 70%,#f8fbfc 100%)}
  .hero__grid{min-height:auto;grid-template-columns:1fr}
  .hero__content{max-width:none;text-align:center}
  .hero h1{font-size:45px;margin-inline:auto}
  .hero__buttons{justify-content:center}
  .hero__note{justify-content:center}
  .hero__visual{display:block;padding:34px 0 0;transform:none}
  .hero__visual img{width:100%;max-width:520px;height:auto;display:block;margin:0 auto}
  .features__grid{grid-template-columns:repeat(2,1fr);gap:34px 24px}.feature{justify-content:center}
  .how{padding-block:70px}
  .steps{grid-template-columns:1fr}.step{max-width:520px;margin-inline:auto;width:100%}.step__arrow{transform:rotate(90deg);margin:14px 0;padding-top:0}.step__head{justify-content:flex-start;padding-left:0}
  .how__image{margin-top:26px}
  .examples__grid{grid-template-columns:1fr;max-width:520px;margin-inline:auto;margin-top:34px}
  .story{grid-template-columns:1fr}.story__media{height:520px}.story__content{grid-template-columns:1fr 300px;padding:48px 28px}.story__copy h2{font-size:29px}
  .cta{grid-template-columns:72px 1fr;padding:26px}.cta__action{grid-column:1/-1}.button--white{width:100%;min-width:0}
  .faq__grid{grid-template-columns:1fr 1fr}
  .footer__grid{grid-template-columns:1fr 1fr;gap:38px}
}
@media (max-width:620px){
  .container{width:calc(100% - 28px)}
  .header{height:72px}.logo{font-size:20px}.logo__icon{width:27px}.mobile-menu{top:72px}
  .hero{padding-top:40px}.hero h1{font-size:36px;line-height:1.16}.hero__lead{font-size:17px;margin-block:22px}.hero__text{font-size:15px}.desktop-only{display:none}.hero__buttons{flex-direction:column;align-items:stretch}.hero__note{text-align:left;justify-content:flex-start}.hero__visual img{width:300px}
  .features h2,.section h2{font-size:25px}.features__grid{grid-template-columns:1fr}.feature{justify-content:flex-start;padding-left:18px}
  .section{padding-block:44px}.step__number{font-size:58px}.step__head{justify-content:flex-start;padding-left:16px}
  .examples h2{font-size:24px}
  .story__media{height:380px}.story__content{grid-template-columns:1fr;padding:38px 24px}.story__dashboard{max-width:340px;margin-inline:auto}.story__copy .button{width:100%}
  .cta{grid-template-columns:1fr;text-align:center}.cta__icon{margin-inline:auto}.cta h2{font-size:24px}.cta p br{display:none}
  .faq__grid{grid-template-columns:1fr}
  .footer{padding-top:44px}
  .footer__grid{grid-template-columns:1fr;gap:26px}
  .footer__brand p{max-width:none}
  .footer__legal{margin-top:26px;padding-top:18px}
}
