/* Главная lerniAI. Стили — отдельным файлом: CSP запрещает inline. */
:root { --bg:#F5F4F0; --ink:#161616; --ink2:#555; --mut:#8C8983; --acc:#7C5CFC; --acc2:#5A3BE6; --soft:#F0EEFF; --line:#E5E3DE; }
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
html, body { overflow-x:clip; }
body { background:var(--bg); font-family:'Montserrat',system-ui,sans-serif; color:var(--ink); overflow-x:hidden; }
a { color:inherit; text-decoration:none; }
button { font:inherit; border:none; background:none; cursor:pointer; color:inherit; }
a, button, .call, .chip { -webkit-tap-highlight-color:transparent; }
.wrap { width:100%; max-width:1180px; margin:0 auto; padding:0 24px; }
.hand { font-family:'Neucha',cursive; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:18px 30px; border-radius:40px; font-weight:700; font-size:17px;
  transition:transform .15s, box-shadow .15s; cursor:pointer; }
.btn:hover { transform:translateY(-2px); }
.btn.dark { background:var(--ink); color:#fff; box-shadow:0 14px 30px rgba(0,0,0,.18); }
.btn.white { background:#fff; color:var(--ink); border:1px solid var(--line); }
.kick { font-size:14px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--acc); }
h2 { font-size:clamp(34px, 5vw, 52px); font-weight:800; letter-spacing:-.04em; line-height:1.05; }
.sub { font-size:clamp(16px, 1.6vw, 19px); color:var(--ink2); line-height:1.5; }

/* 1. Шапка-пилюля, прилипает сверху */
.nav-holder { position:sticky; top:16px; z-index:10; padding:0 16px; margin-top:16px; }
.nav { max-width:1000px; margin:0 auto; padding:10px 10px 10px 24px; border-radius:40px;
  background:rgba(255,255,255,.85); backdrop-filter:blur(12px); border:1px solid var(--line); box-shadow:0 10px 30px rgba(60,40,140,.07);
  display:flex; align-items:center; justify-content:space-between; gap:16px; }
.logo { display:flex; align-items:center; gap:8px; font-family:'Neucha',cursive; font-size:28px; }
.logo img { width:34px; }
.logo b { color:var(--acc); font-weight:normal; }
.nav { justify-content:flex-start; }
.nav .links { margin:0 auto; display:flex; gap:30px; font-size:15px; font-weight:600; color:var(--ink2); }
.nav .links a:hover { color:var(--acc); }
.nav .btn { padding:13px 22px; font-size:15px; }

/* 2. Первый экран */
.hero { position:relative; text-align:center; padding-top:70px; }
.hero { overflow-x:clip; }
.hero::before { content:''; position:absolute; left:0; right:0; top:-120px; height:820px; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse 55% 45% at 50% 40%, rgba(124,92,252,.15), rgba(124,92,252,0) 100%); }
.badge { display:inline-flex; align-items:center; gap:8px; padding:9px 16px; border-radius:30px; background:var(--soft); color:var(--acc2);
  font-size:14px; font-weight:700; }
.badge i { width:8px; height:8px; border-radius:50%; background:#22B07A; box-shadow:0 0 0 4px rgba(34,176,122,.18); flex:none; }
.hero h1 { font-size:clamp(56px, 9vw, 96px); font-weight:800; letter-spacing:-.05em; line-height:1; margin-top:26px; }
.hero .hand.s { font-size:clamp(24px, 3vw, 34px); color:var(--acc); margin-top:14px; }
.hero .cta { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:36px; }
.facts { display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:center; margin-top:22px; font-size:14px; font-weight:600; color:var(--mut); }
.facts span::before { content:'✓ '; color:var(--acc); }

/* 3. Телефон и подписи к функциям */
.stage { position:relative; height:780px; margin-top:30px; }
.phone { position:absolute; left:50%; top:0; width:330px; height:700px; transform:translateX(-50%); border-radius:52px; padding:12px;
  background:#111; box-shadow:0 50px 90px rgba(60,40,140,.25), 0 0 0 1px rgba(0,0,0,.2); }
.phone img { width:100%; height:100%; object-fit:cover; object-position:top; border-radius:42px; display:block; }
.calls { display:contents; }
.short { display:none; }
.call-desc, .t-mob { display:none; }
.call { position:absolute; width:290px; padding:18px 20px; border-radius:22px; background:#fff; border:1px solid var(--line);
  box-shadow:0 16px 36px rgba(60,40,140,.08); text-align:left; }
.call b { display:flex; align-items:center; gap:10px; font-size:17px; }
.call b em { font-style:normal; width:34px; height:34px; border-radius:11px; background:var(--soft); color:var(--acc); display:grid; place-items:center; flex:none; transition:.25s; }
.call b em svg { width:19px; height:19px; }
.call b::after { content:"›"; margin-left:auto; font-size:24px; line-height:1; color:var(--mut); transition:transform .2s, color .2s; }
.call:hover { border-color:#CFC4FF; transform:translateY(-3px); box-shadow:0 20px 40px rgba(60,40,140,.12); }
.call:hover b::after, .call.on b::after { color:var(--acc); transform:translateX(3px); }
.call .hint { display:block; font-size:12px; font-weight:700; color:var(--acc); margin-top:8px; opacity:0; transition:opacity .2s; }
.call.on .hint { opacity:1; }
.call { cursor:pointer; transition:border-color .25s, box-shadow .25s, transform .25s; }
.call.on { border-color:var(--acc); box-shadow:0 18px 40px rgba(124,92,252,.22); transform:scale(1.03); }
.call.on b em { background:var(--acc); color:#fff; }
.phone img { transition:opacity .25s; }
.call p { font-size:14px; color:var(--ink2); margin-top:6px; line-height:1.45; }
.c1 { left:40px; top:40px; } .c2 { left:0; top:290px; } .c3 { left:60px; top:540px; }
.c4 { right:40px; top:40px; } .c5 { right:0; top:290px; } .c6 { right:60px; top:540px; }
svg.arrows { position:absolute; left:50%; top:0; width:1180px; height:780px; transform:translateX(-50%); pointer-events:none; }

.tap { margin-top:70px; font-size:15px; font-weight:600; color:var(--mut); }
.tap::before { content:"👆 "; }
/* Полоса цифр */
.trust { display:flex; flex-wrap:wrap; justify-content:center; gap:28px 60px; padding:34px 24px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust div { text-align:center; } .trust b { font-size:30px; font-weight:800; letter-spacing:-1px; } .trust span { display:block; font-size:14px; color:var(--mut); margin-top:4px; }

section.wrap { padding-top:120px; }
.head { text-align:center; max-width:960px; margin:0 auto 56px; } .head h2 { margin-top:14px; } .head .sub { margin-top:16px; }

/* 4. Как это работает */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.step { background:#fff; border:1px solid var(--line); border-radius:28px; padding:34px; }
.step .n { font-family:'Neucha',cursive; font-size:64px; color:var(--acc); line-height:1; }
.step h3 { font-size:24px; font-weight:800; letter-spacing:-.5px; margin-top:18px; }
.step p { font-size:16px; color:var(--ink2); margin-top:10px; line-height:1.5; }

/* 5. Что тебе нужно — чипы переключают сценарий */
.chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:34px; }
.chip { box-shadow:0 4px 12px rgba(60,40,140,.06); padding:13px 22px; border-radius:30px; font-weight:700; font-size:16px; background:#fff; border:1px solid var(--line); color:var(--ink2); transition:.15s; }
.chip:hover { border-color:var(--acc); color:var(--acc); transform:translateY(-2px); }
.chip.on { background:var(--ink); color:#fff; border-color:var(--ink); }
.need { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:100%; gap:60px; align-items:center; background:#fff; border:1px solid var(--line);
  border-radius:36px; padding:60px 70px; overflow:hidden; height:560px; }
.need h3 { font-size:clamp(30px, 3.4vw, 42px); font-weight:800; letter-spacing:-1.5px; line-height:1.1; }
.need ul { list-style:none; margin-top:26px; }
.need li { font-size:18px; color:var(--ink2); padding:12px 0; border-bottom:1px solid var(--line); }
.need li::before { content:'✦ '; color:var(--acc); }
.need .shot { justify-self:center; align-self:start; width:300px; height:640px; margin-top:40px; border-radius:46px; padding:10px; background:#111; }
.need .shot img { width:100%; height:100%; object-fit:cover; object-position:top; border-radius:38px; display:block; }
.fade { animation:fade .35s ease; } @keyframes fade { from { opacity:0; } to { opacity:1; } }

/* 6. Цены */
.plans { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:900px; margin:0 auto; }
.plan { background:#fff; border:1px solid var(--line); border-radius:30px; padding:40px; }
.plan.pro { background:linear-gradient(160deg,#8C70FF,#5A3BE6); color:#fff; border:none; box-shadow:0 30px 60px rgba(90,59,230,.3); }
.plan h3 { font-size:26px; font-weight:800; } .plan .price { font-size:40px; line-height:1.1; font-weight:800; letter-spacing:-1.5px; margin:14px 0 4px; }
.plan .note { font-size:14px; opacity:.75; line-height:1.45; margin-top:6px; }
.plan ul { list-style:none; margin-top:26px; } .plan li { font-size:16px; padding:9px 0; }
.plan li::before { content:'✓  '; font-weight:800; color:var(--acc); } .plan.pro li::before { color:#fff; }
.plan.pro .price { font-size:30px; }

/* 7. Вопросы — раскрываются */
.faq { max-width:820px; margin:0 auto; }
.q { background:#fff; border:1px solid var(--line); border-radius:22px; margin-bottom:12px; overflow:hidden; }
.q button { width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:24px 30px; font-size:19px; font-weight:700; text-align:left; }
.q button::after { content:'+'; color:var(--acc); font-size:26px; line-height:1; transition:transform .2s; flex:none; }
.q.open button::after { transform:rotate(45deg); }
.q .a { display:grid; grid-template-rows:0fr; transition:grid-template-rows .25s ease; }
.q.open .a { grid-template-rows:1fr; }
.q .a > div { overflow:hidden; }
.q .a p { font-size:16px; color:var(--ink2); line-height:1.55; padding:0 30px 24px; }

/* 8. Призыв и форма */
.final { margin-top:120px; background:#1A1233; color:#fff; border-radius:44px; padding:90px 40px; text-align:center; position:relative; overflow:hidden; }
.final::before { content:''; position:absolute; left:50%; top:-200px; width:900px; height:600px; transform:translateX(-50%);
  background:radial-gradient(closest-side, rgba(124,92,252,.5), transparent); }
.final > * { position:relative; }
.final img { width:90px; }
.final h2 { margin-top:18px; } .final .sub { color:rgba(255,255,255,.65); margin-top:14px; }
.form { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:34px; }
.form input { width:380px; max-width:100%; padding:19px 24px; border-radius:40px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  color:#fff; font:inherit; font-size:16px; outline:none; }
.form input::placeholder { color:rgba(255,255,255,.5); }
.form input:focus { border-color:#A596F5; }
.form input.bad { border-color:#FF7A7A; }
.form .btn { background:#fff; color:var(--ink); }
.consent { display:flex; gap:10px; align-items:center; justify-content:center; margin-top:16px; font-size:14px; color:rgba(255,255,255,.6); cursor:pointer; }
.consent input { width:18px; height:18px; accent-color:var(--acc); }
.msg { min-height:22px; margin-top:14px; font-size:15px; font-weight:600; }
.msg.err { color:#FF9A9A; } .msg.ok { color:#7EE2B8; }

/* 9. Подвал */
footer { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; padding:80px 0 60px; }
footer p.t { font-size:15px; color:var(--mut); margin-top:12px; line-height:1.5; }
footer h4 { font-size:14px; font-weight:700; color:var(--mut); text-transform:uppercase; letter-spacing:1.5px; margin-bottom:16px; }
footer a { display:block; font-size:15px; color:var(--ink2); padding:5px 0; }
footer a:hover { color:var(--acc); }
.copy { border-top:1px solid var(--line); padding:26px 0 40px; font-size:14px; color:var(--mut); display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; }

/* ── Форма заявки: шаги, анкета беты, кнопки магазинов ── */
[hidden] { display:none !important; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.consent a { color:#C9BDFF; text-decoration:underline; }
.err { margin-top:14px; font-size:15px; font-weight:600; color:#FF9A9A; }
.done { margin-top:30px; font-size:18px; line-height:1.5; }
.done b { display:block; font-size:24px; margin-bottom:6px; }
.done span { color:rgba(255,255,255,.65); }
.beta { max-width:560px; margin:34px auto 0; text-align:left; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  border-radius:28px; padding:30px; }
.beta-lead { font-size:16px; line-height:1.5; color:rgba(255,255,255,.8); margin-bottom:8px; }
.beta .bq { margin-top:20px; }
.beta .bq > span { display:block; font-size:14px; font-weight:700; color:rgba(255,255,255,.6); margin-bottom:10px; }
.radios { display:flex; flex-wrap:wrap; gap:8px; }
.radios label { cursor:pointer; }
.radios input { position:absolute; opacity:0; }
.radios label span { display:inline-block; padding:11px 18px; border-radius:24px; border:1px solid rgba(255,255,255,.22); font-size:15px; font-weight:600; transition:.15s; }
.radios label:hover span { border-color:#A596F5; }
.radios input:checked + span { background:#fff; color:var(--ink); border-color:#fff; }
.radios input:focus-visible + span { outline:2px solid #A596F5; outline-offset:2px; }
.beta .field { width:100%; padding:15px 20px; border-radius:20px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  color:#fff; font:inherit; font-size:15px; outline:none; }
.beta .field::placeholder { color:rgba(255,255,255,.45); }
.beta .field:focus { border-color:#A596F5; }
.beta .small { font-size:13px; color:rgba(255,255,255,.5); margin-top:8px; line-height:1.45; }
.beta-actions { display:flex; align-items:center; gap:16px; margin-top:24px; flex-wrap:wrap; }
.beta-actions .btn { background:#fff; color:var(--ink); }
.skip { font-size:15px; font-weight:600; color:rgba(255,255,255,.6); text-decoration:underline; }
.stores { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:34px; }
.stores .btn { background:#fff; color:var(--ink); }
.stores .btn.ghost { background:transparent; color:#fff; border:1px solid rgba(255,255,255,.3); }


/* ── Переключатель языка ── */
.lang { position:relative; margin-right:6px; }
.lang-btn { display:inline-flex; align-items:center; gap:6px; padding:10px 12px; border-radius:30px; font-size:14px; font-weight:700; color:var(--ink2);
  transition:background .15s, color .15s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background:var(--soft); color:var(--acc); }
.lang-btn svg { width:18px; height:18px; }
.lang-menu { position:absolute; right:0; top:calc(100% + 10px); z-index:30; min-width:180px; padding:6px; display:grid; gap:2px;
  background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:0 20px 50px rgba(40,30,90,.16); }
.lang-menu button { text-align:left; padding:10px 14px; border-radius:12px; font-size:15px; font-weight:600; color:var(--ink); }
.lang-menu button:hover { background:var(--soft); }
.lang-menu button[aria-current="true"] { color:var(--acc); font-weight:800; }
.lang-menu button[aria-current="true"]::after { content:' ✓'; }

/* ═════════ Планшет и телефон: функции — лента кнопок над экраном ═════════ */
@media (max-width: 1100px) {
  .nav .links { display:none; }
  /* Свечение — фоном самого блока: плавно гаснет, без резкого края */
  .hero::before { display:none; }
  .hero { background:radial-gradient(ellipse 85% 340px at 50% 200px, rgba(124,92,252,.13), rgba(124,92,252,0) 100%) no-repeat; background-image:radial-gradient(ellipse 90% 290px at 50% 300px, rgba(124,92,252,.13), rgba(124,92,252,0) 100%); }
  .tap { margin-top:44px; font-size:14px; }
  .t-desk { display:none; } .t-mob { display:inline; }
  .stage { height:auto; display:flex; flex-direction:column; align-items:center; margin-top:14px; }
  svg.arrows { display:none; }
  .calls { display:flex; justify-content:safe center; gap:8px; overflow-x:auto; width:calc(100% + 48px); margin:0 -24px; padding:4px 24px 14px;
    scroll-snap-type:x proximity; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .calls::-webkit-scrollbar { display:none; }
  /* Края ленты растворяются — видно, что её можно листать */
  .calls, .chips { -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 36px), transparent 100%);
    mask-image:linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 36px), transparent 100%); }
  .call { position:static; width:auto; flex:none; padding:10px 16px; border-radius:30px; box-shadow:none; transform:none !important; scroll-snap-align:center; }
  .call:hover { transform:none; box-shadow:none; }
  .call p, .call .hint, .call b::after { display:none; }
  .call b { font-size:14px; gap:8px; white-space:nowrap; font-weight:700; }
  .call b em { width:30px; height:30px; border-radius:50%; }
  .call b em, .call .full { display:none; }
  .call .short { display:inline; }
  /* Тени внутри прокручиваемой ленты обрезаются её краем — давали фиолетовую полосу */
  .call.on, .call:hover { box-shadow:none; transform:none; }
  .call.on { background:var(--ink); border-color:var(--ink); color:#fff; }
  .call.on b em { background:var(--acc); color:#fff; }
  .phone { position:relative; left:auto; transform:none; width:min(260px, 66vw); height:auto; aspect-ratio:330 / 700; margin-top:12px;
    border-radius:42px; padding:9px; }
  .phone img { border-radius:34px; }
  .call-desc { display:block; margin-top:18px; max-width:330px; min-height:44px; font-size:15px; line-height:1.45; color:var(--ink2); }
}

@media (max-width: 720px) {
  html { scroll-padding-top:16px; } /* шапка на телефоне не прилипает — большой отступ не нужен */
  /* Шапка — компактная */
  /* Шапка на телефоне — просто логотип и название, без плашки; не висит поверх текста */
  .nav-holder { position:relative; z-index:40; margin-top:14px; padding:0 16px; }
  /* Меню языков на телефоне — сетка во всю ширину, крупные кнопки */
  .lang { position:static; transform:none; }
  .lang-btn { position:absolute; right:-6px; top:50%; transform:translateY(-50%); }
  .lang-menu { left:0; right:0; top:calc(100% + 6px); min-width:0; grid-template-columns:repeat(3, minmax(0,1fr)); gap:4px; padding:8px; border-radius:20px; }
  .lang-menu button { text-align:center; padding:13px 6px; font-size:14px; border-radius:14px; }
  .lang-menu button[aria-current="true"] { background:var(--soft); }
  .lang-menu button[aria-current="true"]::after { content:''; }
  .nav { position:relative; justify-content:center; padding:8px 0; background:none; border:none; box-shadow:none; backdrop-filter:none; border-radius:0; }
  .lang-btn { padding:9px 10px; font-size:13px; }
  .nav .btn { display:none; }
  .logo { font-size:28px; gap:8px; } .logo img { width:32px; }
  .facts, .tap { display:none; }
  .hero .cta .btn.white { display:none; }
  .hero .cta .btn.dark { padding:15px 28px; font-size:15.5px; }

  /* Первый экран */
  .hero { padding-top:36px; }
  .badge { font-size:12px; padding:6px 12px; }
  .hero h1 { font-size:46px; margin-top:20px; }
  .hero .hand.s { font-size:22px; margin-top:10px; }
  .hero .cta { gap:8px; margin-top:24px; }
  .hero .cta { flex-wrap:nowrap; }
  .hero .cta .btn { padding:13px 14px; font-size:14px; white-space:nowrap; }
  .facts { font-size:12.5px; margin-top:16px; gap:6px 14px; }

  /* Цифры — сеткой 2×2 */
  .trust { display:grid; grid-template-columns:1fr 1fr; gap:22px 12px; padding:26px 0; margin-top:10px; }
  .trust b { font-size:20px; letter-spacing:-.5px; } .trust span { font-size:12.5px; }

  /* Разделы */
  section.wrap { padding-top:64px; }
  .head { margin-bottom:26px; } .head h2 { margin-top:10px; font-size:29px; } .head .sub { font-size:15px; margin-top:10px; }
  .kick { font-size:12px; letter-spacing:1.5px; }

  .steps { grid-template-columns:1fr; gap:10px; }
  .step { padding:20px 22px; border-radius:22px; display:grid; grid-template-columns:auto 1fr; column-gap:16px; align-items:start; }
  .step .n { font-size:40px; grid-row:span 2; }
  .step h3 { font-size:18px; margin-top:4px; } .step p { font-size:14.5px; margin-top:4px; }

  /* Сценарии: чипы — лентой */
  .chips { flex-wrap:nowrap; overflow-x:auto; justify-content:flex-start; margin:0 -24px 16px; padding:4px 24px 10px; scrollbar-width:none; }
  .chips::-webkit-scrollbar { display:none; }
  .chip { flex:none; padding:10px 16px; font-size:14px; box-shadow:none; }
  .chip:hover { transform:none; }
  .need { grid-template-columns:1fr; height:auto; padding:26px 22px 0; gap:18px; grid-template-rows:auto; border-radius:26px; }
  .need h3 { font-size:23px; letter-spacing:-.5px; }
  .need ul { margin-top:14px; } .need li { font-size:14.5px; padding:9px 0; }
  .need .shot { width:210px; height:300px; margin-top:0; border-radius:34px 34px 0 0; padding:8px 8px 0; }
  .need .shot img { border-radius:27px 27px 0 0; }

  /* Цены */
  .plans { grid-template-columns:1fr; gap:12px; }
  .plan { padding:24px 22px; border-radius:24px; }
  .plan h3 { font-size:19px; } .plan .price { font-size:30px; margin:8px 0 2px; } .plan.pro .price { font-size:20px; }
  .plan .note { font-size:13px; }
  .plan ul { margin-top:14px; } .plan li { font-size:14px; padding:6px 0; line-height:1.4; }

  /* Вопросы */
  .q { border-radius:18px; margin-bottom:8px; }
  .q button { font-size:15.5px; padding:17px 20px; }
  .q .a p { font-size:14.5px; padding:0 20px 18px; }

  /* Форма */
  .final { border-radius:28px; padding:44px 20px; margin-top:64px; }
  .final img { width:60px; }
  .final h2 { font-size:28px; margin-top:12px; } .final .sub { font-size:15px; }
  .form { flex-direction:column; gap:10px; margin-top:24px; }
  .form input { width:100%; padding:16px 20px; }
  .form .btn { width:100%; padding:16px; font-size:16px; }
  .consent { justify-content:flex-start; align-items:flex-start; text-align:left; gap:12px; margin-top:14px; font-size:13px; line-height:1.45; padding:4px 2px; }
  .consent input { width:22px; height:22px; flex:none; margin-top:0; }
  .beta { padding:20px; border-radius:22px; margin-top:24px; }
  .radios label span { padding:9px 14px; font-size:14px; }
  .done { font-size:15px; } .done b { font-size:20px; }

  /* Подвал */
  footer { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:26px 16px; padding:48px 0 30px; }
  footer > div { min-width:0; } footer a { overflow-wrap:anywhere; }
  footer > div:first-child { grid-column:1 / -1; }
  footer h4 { font-size:12px; margin-bottom:10px; } footer a { font-size:14px; padding:4px 0; }
  footer p.t { font-size:14px; }
  .copy { font-size:12.5px; flex-direction:column; gap:4px; padding:20px 0 30px; }
}

/* Очень узкие телефоны: кнопки первого экрана — друг под другом */
@media (max-width: 370px) { .hero .cta { flex-wrap:wrap; } }
