/* Мобильная вёрстка — основная; десктопные правила добавляются ниже по min-width. */
:root{
  --paper:#f6f1e8;--ink:#2c211a;--muted:#6a5a49;--line:#ddd3c4;
  --brown:#452c1e;--green:#55664c;--gold:#a97f45;--card:#efe8dc;
  --bar:84px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:16px;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  padding-bottom:calc(var(--bar) + env(safe-area-inset-bottom));
}
a{color:inherit}
img{max-width:100%;height:auto}
button,a,summary{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}

.header{display:flex;align-items:center;gap:12px;min-height:72px;border-bottom:1px solid var(--line)}
.logo{display:flex;align-items:center;gap:8px;text-decoration:none;font:30px Georgia,serif;letter-spacing:-1px;padding:8px 2px}
.logo-mark{color:#a38155;font:34px Georgia,serif;line-height:1}
.header nav{display:none}
.header .button.small{margin-left:auto}

/* Кнопки: по всей ширине на телефоне и не ниже 52 px, чтобы попадать пальцем. */
.button{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  width:100%;min-height:56px;padding:15px 22px;
  background:var(--brown);color:#fff4df;border:1px solid var(--brown);border-radius:12px;
  text-decoration:none;font-size:17px;font-weight:500;line-height:1.3;transition:background .15s;
}
.button:hover{background:#5e3e29}
.button.ghost{background:transparent;color:var(--brown);border-color:#c9b79d}
.button.ghost:hover{background:#ece3d5}
.button.small{width:auto;min-height:48px;padding:12px 20px;font-size:15px;border-radius:10px}
.actions{display:grid;gap:12px;margin-top:26px;align-items:start}
.text-link{display:inline-block;padding:10px 0;font-size:15px;text-underline-offset:5px;text-decoration-color:#bda98d}

.eyebrow{display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:1.6px;font-weight:700;color:var(--muted);margin:0 0 16px}
.status-dot{width:7px;height:7px;background:var(--green);border-radius:50%;flex-shrink:0}
h1{font:40px/1.1 Georgia,"Times New Roman",serif;letter-spacing:-1.4px;margin:0 0 18px}
h1 em,h2 em{font-weight:400;font-style:italic;color:#8d6a47}
h2{font:31px/1.2 Georgia,serif;letter-spacing:-1px;margin:0 0 14px}
h3{font:20px/1.3 Georgia,serif;margin:0 0 8px}
.lead{font-size:18px;line-height:1.6;color:#54463a;margin:0 0 24px}
.section-lead{font-size:16px;line-height:1.65;color:var(--muted);margin:0 0 22px}
.note{font-size:14px;line-height:1.7;color:var(--muted);margin:18px 0 0}

.hero{padding-top:28px;padding-bottom:36px}
.hero-visual{margin:0 0 26px}
.hero-player{position:relative;width:100%;max-width:440px;margin:0 auto 14px;overflow:hidden;border-radius:24px;background:#100f0d;box-shadow:0 18px 38px #402a1626}
.hero-player video{display:block;width:100%;height:auto;aspect-ratio:820/1350;object-fit:contain}
.video-toggle{position:absolute;right:12px;bottom:12px;min-width:88px;min-height:44px;padding:10px 14px;border:1px solid #a78d6e;border-radius:10px;background:#292219ed;color:#f9edda;font:500 14px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.video-toggle:hover{background:#493a29}
.figure,.hero-visual{text-align:center}
.hero-visual img,.figure img{
  width:100%;max-width:300px;display:block;margin:0 auto 14px;
  filter:drop-shadow(0 18px 28px rgba(64,42,22,.2));
}
.hero-visual figcaption,.figure figcaption{font-size:14px;line-height:1.6;color:var(--muted);max-width:420px;margin:0 auto}
.figure{margin:30px 0 0}

.section{padding-top:38px;padding-bottom:38px;border-top:1px solid var(--line)}
.flow{list-style:none;padding:0;margin:0;display:grid;gap:14px}
@media(min-width:480px){.flow{grid-template-columns:1fr 1fr;gap:16px}}
.flow li{background:var(--card);border-radius:16px;padding:18px 20px}
.flow-number{display:block;font:17px Georgia,serif;color:#a97f45;margin-bottom:6px}
.flow p{font-size:15px;line-height:1.6;color:var(--muted);margin:0}

.walkthrough{display:flex;flex-direction:column;gap:24px;padding:22px 18px;border:1px solid var(--line);border-radius:24px;background:#efe8dc66}
.walkthrough-steps{display:contents}
.walkthrough-tabs{order:0}.walkthrough-copy{order:1}.walkthrough-panel{order:2}.walkthrough-all{order:3}.walkthrough-note{order:4}
.walkthrough-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.walkthrough-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:80px;padding:10px 3px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--muted);font:500 13px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.walkthrough-tab[aria-selected="true"]{background:var(--brown);border-color:var(--brown);color:#fff4df;box-shadow:0 5px 14px #452c1e18}
.walkthrough-number{font:18px/1 Georgia,serif}
.walkthrough-tab-title{display:none}
.walkthrough-copy{margin:0;min-height:150px}
.walkthrough-counter{font-size:12px;letter-spacing:1.8px;font-weight:700;color:var(--muted);margin:0 0 10px}
.walkthrough-copy h3{font-size:25px;line-height:1.25;margin-bottom:12px}
.walkthrough-copy>p:last-child{font-size:16px;line-height:1.65;margin:0;color:var(--muted)}
.walkthrough-all{font-size:15px;min-width:0;width:100%;cursor:pointer}
.walkthrough-note{font-size:14px;margin-top:14px}
.walkthrough-panel{min-width:0;text-align:center}
.walkthrough-media{position:relative;width:min(300px,calc(62svh * .45977));max-width:100%;aspect-ratio:640/1392;margin:0 auto;overflow:hidden;border-radius:20px;background:#201b15;box-shadow:0 14px 30px #402a1625}
.walkthrough-media video{display:block;width:100%;height:100%;object-fit:contain}
.walkthrough-label{position:absolute;top:10px;left:10px;padding:5px 8px;border-radius:5px;background:#17120de0;color:#fff0d9;font-size:12px;letter-spacing:1px;pointer-events:none}
.walkthrough-retry{position:absolute;inset:40% 12px auto;min-height:48px;border:1px solid #d1b08a;border-radius:9px;background:var(--brown);color:white;font:inherit;font-size:14px;cursor:pointer}
.walkthrough-retry[hidden]{display:none}
.walkthrough-active{font-size:16px;font-weight:600;line-height:1.4;margin:20px 0 12px}
.walkthrough-navigation{display:flex;align-items:center;justify-content:center;gap:14px}
.walkthrough-navigation button{min-height:46px;padding:10px 14px;border:1px solid #c9b79d;border-radius:10px;color:var(--brown);background:var(--paper);font:500 15px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.walkthrough-navigation button:disabled{opacity:.45;cursor:default}
.walkthrough-navigation span{min-width:37px;font-size:14px;color:var(--muted)}
.walkthrough-status{font-size:14px;line-height:1.6;min-height:45px;margin:12px auto 0;max-width:340px;color:var(--muted)}
@media(min-width:760px){
  .walkthrough{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:50px;padding:36px}
  .walkthrough-steps{display:block}
  .walkthrough-tabs{grid-template-columns:1fr;gap:10px}
  .walkthrough-tab{flex-direction:row;justify-content:flex-start;gap:16px;min-height:62px;padding:14px 18px;font-size:17px;text-align:left}
  .walkthrough-number{font-size:20px;min-width:28px}
  .walkthrough-tab-title{display:block}.walkthrough-tab-label{display:none}
  .walkthrough-copy{min-height:160px;margin-top:26px}
  .walkthrough-copy h3{font-size:28px}
  .walkthrough-all{width:auto;min-width:270px}
}

.pilot-grid{display:grid;gap:24px}
.pilot-list{list-style:none;padding:0;margin:0}
.pilot-list li{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:16px}
.pilot-list li:before{content:'◉';color:#a97f45;font-size:12px;line-height:1.6}
.price-card{background:var(--card);border-radius:18px;padding:24px}
.price{font:64px/1 Georgia,serif;letter-spacing:-3px;margin:0 0 10px}
.price span{font:15px -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:0;margin-left:10px;color:var(--muted)}
.price-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin-bottom:8px}
.price-row .price{margin:0}
.price .price-currency{font:26px/1 Georgia,serif;letter-spacing:-.5px;margin-left:8px;color:var(--ink)}
.price-usd{font:24px/1.3 Georgia,serif;letter-spacing:-.6px;color:var(--muted);margin:0}
.price-period{font-size:16px;line-height:1.4;margin:0 0 18px;color:var(--muted)}
.price-weekly{display:inline-flex;align-items:center;gap:7px;font-size:15px;font-weight:600;line-height:1.4;color:#5b6e4e;background:#e2e8d9;border:1px solid #ced9c2;border-radius:24px;padding:10px 14px;margin:0 0 20px}
.price-weekly>span{font:23px/1 Georgia,serif}.price-weekly sup{font-size:11px;align-self:flex-start}
.price-comparison{font-size:13px;line-height:1.6;margin:10px 0 0;color:var(--muted)}
.price-rate{font-size:14px;line-height:1.6;margin:12px 0 0;color:var(--muted)}
.price-rate a{display:inline-block;min-height:44px;padding:10px 0;text-underline-offset:3px}
.price-scope{font:20px/1.4 Georgia,serif;margin:0}
.price-card .button{margin-top:20px}

.analytics-figure,.design-figure{margin:28px 0 0}
.concept-tag{display:inline-block;font-size:13px;font-weight:600;line-height:1.5;background:#e8dfcf;color:#705632;padding:8px 12px;border:1px solid #d9cbb4;border-radius:10px;margin-bottom:14px}
.analytics-figure img,.design-figure img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 35px #402a1610}
.analytics-figure figcaption,.design-figure figcaption{font-size:14px;line-height:1.7;color:var(--muted);margin:18px 0 0;max-width:900px}
.analytics-notes{list-style:none;display:grid;gap:14px;margin:24px 0 0;padding:0}
.analytics-notes li{padding:18px 20px;border-left:3px solid #b29a73;background:#efe8dc66;border-radius:0 12px 12px 0}
.analytics-notes strong{display:block;font-size:16px;margin-bottom:5px}.analytics-notes span{font-size:15px;line-height:1.6;color:var(--muted)}
.design-image-link{display:block;border-radius:18px}
@media(min-width:760px){.analytics-notes{grid-template-columns:repeat(3,1fr)}.analytics-figure,.design-figure{margin-top:32px}}

.faq details{border-bottom:1px solid var(--line)}
.faq details:first-child{border-top:1px solid var(--line)}
.faq summary{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  min-height:60px;padding:16px 0;cursor:pointer;list-style:none;font-size:16px;font-weight:500;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary span{color:#a97f45;font-size:20px}
.faq details[open] summary span{transform:rotate(45deg)}
.faq p{font-size:15px;line-height:1.7;color:var(--muted);margin:0 0 18px}

.contact-actions{display:grid;gap:10px;justify-items:center}
.contact-number{display:block;width:100%;text-align:center;min-height:52px;padding:13px;font:24px/1.4 Georgia,serif;text-decoration:none}

.footer{display:grid;gap:10px;padding-top:26px;padding-bottom:30px;border-top:1px solid var(--line)}
.footer p{font-size:14px;line-height:1.6;color:var(--muted);margin:0}

/* Нижняя кнопка не перекрывает текст: под неё зарезервирован отступ body. */
.mobile-contact{
  position:fixed;left:0;right:0;bottom:0;z-index:20;
  padding:10px 20px calc(10px + env(safe-area-inset-bottom));
  background:#f6f1e8f2;border-top:1px solid var(--line);backdrop-filter:blur(10px);
  transition:transform .2s ease;
}
.mobile-contact .button{min-height:52px;font-size:16px}
.mobile-contact[hidden]{display:block;transform:translateY(120%)}

.skip-link{position:absolute;top:-80px;left:16px;padding:12px;background:var(--paper);z-index:30}
.skip-link:focus{top:10px}

.privacy-page{max-width:760px;padding-block:32px}
.privacy-page h1{font-size:32px}
.privacy-page h2{font-size:23px;margin-top:28px}
.privacy-page p,.privacy-page li{font-size:16px;line-height:1.7;color:var(--muted)}

@media(min-width:760px){
  .wrap{width:min(1180px,calc(100% - 64px))}
  body{padding-bottom:0}
  .mobile-contact{display:none}
  .header{min-height:92px;gap:28px}
  .header nav{display:flex;gap:26px;margin-left:30px;font-size:15px;color:var(--muted)}
  .header nav a{text-decoration:none;padding:10px 0}
  .logo{font-size:34px}
  .logo-mark{font-size:40px}
  h1{font:clamp(44px,5vw,66px)/1.05 Georgia,serif;letter-spacing:-2px}
  h2{font-size:clamp(32px,3.4vw,44px)}
  .hero{
    display:grid;grid-template-columns:1.1fr .9fr;gap:0 56px;align-content:center;
    grid-template-areas:"eyebrow visual" "title visual" "lead visual" "actions visual" "note visual";
    padding-top:54px;padding-bottom:60px;
  }
  .hero>.eyebrow{grid-area:eyebrow}
  .hero>h1{grid-area:title}
  .hero>.lead{grid-area:lead}
  .hero>.actions{grid-area:actions}
  .hero>.note{grid-area:note}
  .hero-visual{grid-area:visual;align-self:center;margin:0}
  .hero-visual img,.figure img{max-width:360px}
  .actions{grid-auto-flow:column;justify-content:start;gap:14px}
  .button{width:auto;min-width:230px}
  .section{padding-top:64px;padding-bottom:64px}
  .section-lead{max-width:620px;font-size:17px}
  .flow{grid-template-columns:repeat(4,1fr);gap:20px}
  .flow li{padding:22px}
  .figure{margin-top:44px}
  .pilot-grid{grid-template-columns:1.2fr .8fr;gap:56px;align-items:start}
  .price{font-size:76px}
  .contact-actions{grid-auto-flow:column;justify-content:start;align-items:center;gap:28px}
  .contact-number{width:auto;text-align:left;font-size:26px}
  .footer{grid-template-columns:auto 1fr auto;align-items:center;gap:28px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
