/* Оттепель — лендинг. Палитра и размеры: docs/marketing-plan.md, раздел 5. */

@font-face{font-family:Onest;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/onest-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/onest-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Onest;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/onest-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/onest-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Onest;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/onest-cyrillic-700-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/onest-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  color-scheme:light dark;
  --bg:#F6F9FB;
  --surface:#FFFFFF;
  --text:#0F2233;
  --muted:#4A6072;
  --primary:#116FA9;
  --primary-hover:#0F639A;
  --on-primary:#FFFFFF;
  --accent:#FFB23F;
  --on-accent:#0F2233;
  --border:#D9E3EA;
  --hero-fade:#E4EEF6;
  --band:#0F2233;
  --band-text:#EAF2F7;
  --band-muted:#9DB3C4;
  --band-accent:#FFB23F;
  --footer:#0B1722;
  --plate:#0F2233;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0B1722;
    --surface:#13273A;
    --text:#EAF2F7;
    --muted:#9DB3C4;
    --primary:#4DB5EE;
    --primary-hover:#74C6F3;
    --on-primary:#0B1722;
    --accent:#FFC15E;
    --border:#22394D;
    --hero-fade:#0F2233;
    --band:#13273A;
    --band-accent:#FFC15E;
    --plate:#13273A;
  }
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Onest,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:16px;line-height:25px;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,p,ol,ul{margin:0}
ol,ul{padding:0;list-style:none}
a{color:var(--primary)}
a:hover{color:var(--primary-hover)}
:focus-visible{outline:3px solid var(--primary);outline-offset:3px;border-radius:6px}
svg{display:block}

.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.narrow{max-width:680px}
section{padding:56px 0;scroll-margin-top:72px}
h1{font-size:32px;line-height:38px;font-weight:700;letter-spacing:-.01em}
h2{font-size:24px;line-height:30px;font-weight:600;letter-spacing:-.005em}
h3{font-size:18px;line-height:26px;font-weight:600}
.small{font-size:14px;line-height:21px;color:var(--muted)}

/* Кнопки */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:12px 22px;border-radius:12px;
  font-size:17px;line-height:24px;font-weight:600;text-decoration:none;
  border:2px solid transparent;
}
.btn-primary{background:var(--primary);color:var(--on-primary)}
.btn-primary:hover{background:var(--primary-hover);color:var(--on-primary)}
.btn-ghost{border-color:var(--border);color:var(--text);background:transparent}
.btn-ghost:hover{border-color:var(--primary);color:var(--text)}
.btn-sm{min-height:40px;padding:6px 16px;font-size:16px}

/* Шапка */
.header{
  position:sticky;top:0;z-index:10;
  background:var(--bg);
  border-bottom:1px solid var(--border);
}
.header .wrap{height:64px;display:flex;align-items:center;gap:24px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-size:20px;font-weight:700}
.brand:hover{color:var(--text)}
.brand .mark{width:32px;height:32px;color:var(--primary)}
.nav{margin-left:auto;display:none;gap:28px}
.nav a{color:var(--text);text-decoration:none;font-weight:500}
.nav a:hover{color:var(--primary)}
.header .btn{margin-left:auto}

/* Знак */
.mark-ring{fill:none;stroke:currentColor;stroke-width:132}
.mark-drop{fill:var(--accent)}

/* Первый экран */
.hero{background:linear-gradient(180deg,var(--bg) 0%,var(--hero-fade) 100%);padding:40px 0 56px}
.hero-grid{display:grid;gap:36px;align-items:center}
.eyebrow{font-size:14px;line-height:21px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.lead{font-size:18px;line-height:27px;color:var(--muted);margin-top:16px;max-width:560px}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero .small{margin-top:16px}
.hero-art{width:100%;max-width:520px;height:auto;margin:0 auto;border-radius:24px}
.hero-art .plate{fill:var(--plate)}
.hero-art .mark{color:#FFFFFF}
.hero-art .mark-drop{fill:#FFB23F}

/* Как это работает */
.how{background:var(--surface)}
.cards{display:grid;gap:16px;margin-top:28px}
.card{background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:24px}
.num{
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;
  background:var(--accent);color:var(--on-accent);
  font-weight:700;font-size:17px;margin-bottom:16px;
}
.card p{color:var(--muted);margin-top:6px}

/* Если перестало работать */
.fix-grid{display:grid;gap:32px;align-items:center}
.fix p{color:var(--muted);margin-top:14px;max-width:560px}
.chat{display:flex;flex-direction:column;gap:10px;max-width:420px;width:100%;margin:0 auto}
.bubble{padding:10px 14px;border-radius:16px;max-width:85%;font-size:16px;line-height:23px}
.bubble.me{align-self:flex-end;background:var(--primary);color:var(--on-primary);border-bottom-right-radius:4px}
.bubble.us{align-self:flex-start;background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:4px}
.chat .small{text-align:center;margin-top:4px}

/* Чего мы не можем */
.limits{background:var(--band);color:var(--band-text)}
.limits ul{display:grid;gap:24px;margin-top:28px}
.limits li{padding-left:28px;position:relative}
.limits li::before{content:"";position:absolute;left:0;top:8px;width:12px;height:12px;border-radius:50%;background:var(--band-accent)}
.limits p{color:var(--band-muted);margin-top:6px}
.limits a{color:var(--band-text)}
.limits :focus-visible{outline-color:var(--band-accent)}

/* Вопросы */
.faq details{border-bottom:1px solid var(--border)}
.faq .list{margin-top:20px;border-top:1px solid var(--border)}
.faq summary{
  cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:18px 0;font-weight:600;font-size:17px;line-height:25px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;font-size:24px;line-height:1;font-weight:400;color:var(--primary)}
.faq details[open] summary::after{content:"\2212"}
.faq details p{color:var(--muted);padding:0 0 20px;max-width:640px}

/* Финальный призыв */
.cta{background:var(--surface);text-align:center}
.cta p{color:var(--muted);margin-top:10px}
.cta .actions{justify-content:center}

/* Подвал */
.footer{background:var(--footer);color:#9DB3C4;padding:36px 0}
.footer .wrap{display:grid;gap:20px}
.footer .brand{color:#EAF2F7}
.footer .brand .mark{color:#FFFFFF}
.footer .mark-drop{fill:#FFB23F}
.footer p{font-size:14px;line-height:21px;margin-top:8px}
.footer nav{display:flex;flex-wrap:wrap;gap:20px}
.footer a{color:#EAF2F7}
.footer a:hover{color:#FFFFFF}
.footer :focus-visible{outline-color:#FFB23F}

/* 404 */
.notfound{min-height:70vh;display:flex;align-items:center;text-align:center}
.notfound p{color:var(--muted);margin-top:12px}
.notfound .actions{justify-content:center}

@media (min-width:760px){
  body{font-size:17px;line-height:27px}
  .wrap{padding:0 32px}
  section{padding:80px 0}
  h1{font-size:48px;line-height:56px}
  h2{font-size:32px;line-height:40px}
  .lead{font-size:20px;line-height:30px}
  .nav{display:flex}
  .header .btn{margin-left:0}
  .hero{padding:64px 0 88px}
  .hero-grid{grid-template-columns:1.1fr .9fr;gap:56px}
  .cards{grid-template-columns:repeat(3,1fr);gap:20px}
  .fix-grid{grid-template-columns:1fr 1fr;gap:56px}
  .limits ul{grid-template-columns:repeat(3,1fr);gap:32px}
  .footer .wrap{grid-template-columns:1fr auto;align-items:start}
}
