/* agurec.com (/welcome) — направление A «Белый лист»: белое, чёрное, одна зелёная точка; системный шрифт.
   Самостоятельные стили, без style.css/ui.css. Светлая по умолчанию, тёмная по prefers-color-scheme. */
:root{
  --bg:#ffffff; --panel:#f5f5f7; --panel-2:#e8e8ed; --border:rgba(0,0,0,.08); --text:#1d1d1f; --muted:#6e6e73; --soft:#48484a;
  --accent:#34c759; --accent-ink:#ffffff; --accent-tx:#1f8f3c; --accent-soft:rgba(52,199,89,.12);
  --green:#1f8f3c; --amber:#ff9f0a; --amber-tx:#b25000; --red:#ff3b30; --radius:20px;
  --fh:-apple-system,"SF Pro Display",system-ui,"Segoe UI",Roboto,sans-serif; --fb:-apple-system,"SF Pro Text",system-ui,"Segoe UI",Roboto,sans-serif;
  color-scheme:light;
}
@media(prefers-color-scheme:dark){:root{
  --bg:#000000; --panel:#1c1c1e; --panel-2:#2c2c2e; --border:rgba(255,255,255,.1); --text:#f5f5f7; --muted:#8e8e93; --soft:#c7c7cc;
  --accent:#30d158; --accent-ink:#000000; --accent-tx:#30d158; --accent-soft:rgba(48,209,88,.16);
  --green:#30d158; --amber:#ffd60a; --amber-tx:#ffd60a; --red:#ff453a; color-scheme:dark;
}}
*{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--fb);font-size:17px;line-height:1.5;letter-spacing:0;-webkit-font-smoothing:antialiased}
a{color:inherit}
h1,h2,h3,.price,.brand,.proof b{font-family:var(--fh);margin:0}
.page{max-width:1040px;margin:0 auto;padding:0 16px 48px;overflow:hidden}
section,header{padding:48px 0}
h2{font-size:clamp(26px,4vw,36px);font-weight:600;margin-bottom:14px;letter-spacing:-.025em;line-height:1.1}
.sub{color:var(--muted);margin:-6px 0 24px;max-width:60ch}
.ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* кнопки: главная — чёрная (белая в тёмной), зелёный только для «живых» состояний */
.btn{display:inline-block;background:var(--text);color:var(--bg);text-decoration:none;font-family:var(--fh);font-weight:600;font-size:17px;padding:15px 26px;border-radius:99px;transition:transform .15s,opacity .15s}
.btn:hover{opacity:.85}
.btn:active{transform:scale(.97)}
.btn.sm{padding:9px 16px;font-size:14px}
.btn.ghost{background:transparent;color:var(--text);border:1px solid var(--border);padding:11px 16px;font-size:14px;text-align:center}
.btn.ghost:hover{border-color:var(--text);opacity:1}
.btn.dark{background:var(--text);color:var(--bg)}
/* шапка и марка */
.top{display:flex;align-items:center;justify-content:space-between;padding:18px 0}
.brand{display:inline-flex;align-items:baseline;font:600 21px/1 var(--fh);letter-spacing:-.045em;color:var(--text);text-decoration:none}
.brand i{display:inline-block;width:.17em;height:.17em;border-radius:50%;background:var(--accent);margin-left:.08em;transform:translateY(-.02em)}
.mark{width:34px;height:34px;border-radius:22.37%;background:var(--text);color:var(--bg);display:grid;place-items:center;font-family:var(--fh);font-weight:600;font-size:22px;letter-spacing:-.04em;flex:none;position:relative}
.mark::after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:var(--accent);right:6px;bottom:8px}
.mark span{margin-right:3px}
/* hero */
.hero{display:grid;gap:36px;padding-top:24px}
@media(min-width:880px){.hero{grid-template-columns:1.15fr .85fr;align-items:center;gap:48px;padding:48px 0 64px}}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:24px}
.chips span{border:1px solid var(--border);border-radius:99px;padding:5px 12px;font-size:12.5px;color:var(--muted);font-weight:500}
h1{font-size:clamp(38px,7.5vw,68px);font-weight:600;line-height:1.02;letter-spacing:-.035em}
.lead{font-size:19px;color:var(--soft);max-width:50ch;margin:20px 0 26px;line-height:1.45}
.cta{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.note{color:var(--muted);font-size:13.5px}
.note a{color:var(--text)}
.proof{list-style:none;padding:0;margin:34px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;border-top:1px solid var(--border);padding-top:22px}
.proof b{display:block;font-size:24px;font-weight:600;letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums}
.proof span{display:block;color:var(--muted);font-size:12.5px;margin-top:4px;line-height:1.35}
/* макет чата */
.hero-mock{display:flex;justify-content:center}
.chat{width:100%;max-width:360px;background:var(--bg);border:1px solid var(--border);border-radius:28px;padding:16px;display:grid;gap:10px;position:relative;box-shadow:0 24px 60px rgba(0,0,0,.12)}
@media(prefers-color-scheme:dark){.chat{background:var(--panel);box-shadow:0 24px 60px rgba(0,0,0,.6)}}
.chat-h{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--border);margin-bottom:4px}
.chat-h .mark{width:32px;height:32px;font-size:20px;border-radius:50%}
.chat-h b{display:block;font-size:14px;font-weight:600}
.chat-h small{color:var(--muted);font-size:12px}
.msg{max-width:86%;padding:10px 14px;border-radius:18px;font-size:14px;line-height:1.4}
.msg.out{background:var(--accent-tx);color:var(--bg);justify-self:end;border-bottom-right-radius:6px;font-weight:500}
.msg.in{background:var(--panel);border-bottom-left-radius:6px}
.msg.file{display:flex;align-items:center;gap:10px}
.msg.file .ico{width:26px;height:26px;color:var(--accent-tx)}
.msg.file b{display:block;font-size:13.5px;font-weight:600}
.msg.file small{color:var(--muted);font-size:12px}
.msg.qrm{display:grid;gap:8px;justify-items:center;padding:14px}
.msg.qrm small{color:var(--muted);font-size:12px}
.qr{width:132px;height:132px;background:#fff;border-radius:12px;padding:8px;color:#1d1d1f;border:1px solid var(--border)}
.qr svg{width:100%;height:100%;display:block}
.status{justify-self:center;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--accent-tx);background:var(--accent-soft);border-radius:99px;padding:8px 14px;margin-top:2px}
.status i{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
/* сравнение */
.why{display:grid;gap:12px}
@media(min-width:720px){.why{grid-template-columns:1fr 1fr;gap:14px}}
.cmp{background:var(--panel);border-radius:var(--radius);padding:22px}
.cmp .tag{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.cmp.good .tag{color:var(--accent-tx)}
.cmp p{margin:10px 0 0;color:var(--soft)}
.wire{position:relative;height:36px;margin:14px 0 4px;border-top:1px dashed var(--border);border-bottom:1px dashed var(--border);display:flex;align-items:center;gap:22px;padding:0 6px;overflow:hidden}
.pk{width:26px;height:10px;border-radius:99px;background:var(--accent);animation:flow 2.4s linear infinite}
.cmp.bad .pk{background:var(--muted);opacity:.6;animation-duration:3.2s}
.cmp.bad .pk:nth-child(2){animation-delay:-1.6s}
.cmp.good .pk:nth-child(2){animation-delay:-.6s}.cmp.good .pk:nth-child(3){animation-delay:-1.2s}.cmp.good .pk:nth-child(4){animation-delay:-1.8s}
@keyframes flow{from{transform:translateX(-40px)}to{transform:translateX(320px)}}
.wall{position:absolute;right:26%;top:4px;bottom:4px;width:6px;border-radius:3px;background:var(--red)}
/* шаги */
.steps ol{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:12px}
.steps li{background:var(--panel);border-radius:var(--radius);padding:22px;display:grid;gap:6px}
.steps li .ico{width:28px;height:28px;color:var(--text);margin-bottom:8px}
.steps li b{font-family:var(--fh);font-size:17px;font-weight:600;letter-spacing:-.01em}
.steps li span{color:var(--soft);font-size:15px}
.apps{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.apps-k{color:var(--muted);font-size:13px;width:100%}
.apps a{text-decoration:none;border:1px solid var(--border);border-radius:99px;padding:8px 16px;font-weight:500;font-size:14px}
.apps a:hover{border-color:var(--text)}
@media(min-width:720px){.steps ol{grid-template-columns:repeat(3,1fr)}.apps-k{width:auto;margin-right:6px}}
/* честный блок */
.matrix{display:grid;gap:10px}
.row{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;background:var(--panel);border-radius:var(--radius);padding:18px 20px}
.row>.ico{width:24px;height:24px;color:var(--muted);margin-top:2px}
.row b{display:block;font-weight:600;margin-bottom:2px}
.row span{color:var(--soft);font-size:14.5px}
.row em{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:none}
.row em .ico{width:18px;height:18px;stroke-width:2.4}
.row.ok em{background:var(--accent-soft);color:var(--accent-tx)}
.row.no em{background:rgba(255,159,10,.16);color:var(--amber-tx)}
.row.no>.ico{color:var(--amber-tx)}
/* тарифы */
.grid{display:grid;gap:12px;grid-template-columns:1fr}
@media(min-width:560px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.grid{grid-template-columns:repeat(5,1fr);gap:10px}}
.card{background:var(--panel);border-radius:var(--radius);padding:20px 18px;display:flex;flex-direction:column;gap:6px;min-width:0;position:relative;overflow:hidden;transition:transform .15s}
.card:hover{transform:translateY(-2px)}
.card h3{font-size:17px;font-weight:600;letter-spacing:-.01em}
.dev{color:var(--muted);font-size:13.5px}
.meter{display:flex;flex-wrap:wrap;gap:3px;margin:4px 0 2px}
.meter i{width:9px;height:9px;border-radius:50%;background:var(--accent)}
.price{font-size:30px;font-weight:600;letter-spacing:-.025em;margin:8px 0 6px;font-variant-numeric:tabular-nums}
.price small{font-family:var(--fb);font-size:13px;font-weight:400;color:var(--muted);margin-left:6px;letter-spacing:0}
.terms{list-style:none;padding:10px 0 12px;margin:auto 0 0;border-top:1px solid var(--border);font-size:13.5px;display:grid;gap:4px}
.terms li{display:flex;justify-content:space-between;gap:8px;color:var(--muted)}
.terms b{color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}
@media(min-width:900px) and (max-width:1040px){.terms{font-size:12.5px}}
/* что входит */
.incl ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.incl li{background:var(--panel);border-radius:var(--radius);padding:20px;display:grid;gap:4px}
.incl li .ico{color:var(--text);margin-bottom:6px}
.incl li b{font-weight:600}
.incl li span{color:var(--soft);font-size:14.5px}
@media(min-width:720px){.incl ul{grid-template-columns:repeat(3,1fr);gap:12px}}
/* площадки + оплата */
.srv-grid{display:grid;gap:10px;margin-bottom:22px}
@media(min-width:560px){.srv-grid{grid-template-columns:1fr 1fr}}
.srv-card{display:flex;align-items:center;gap:14px;background:var(--panel);border-radius:var(--radius);padding:16px 18px}
.cc{width:46px;height:46px;border-radius:12px;background:var(--bg);border:1px solid var(--border);display:grid;place-items:center;font-family:var(--fh);font-weight:600;font-size:13px;letter-spacing:.04em;color:var(--text);flex:none}
.srv-card b{display:block;font-family:var(--fh);font-size:16px;font-weight:600}
.srv-card small{color:var(--muted);font-size:13px}
.pay{max-width:64ch;color:var(--soft);margin:0}
/* финальная полоса */
.band{background:var(--panel);color:var(--text);border-radius:28px;padding:48px 24px;text-align:center;margin:12px 0 0}
.band h2{margin-bottom:6px}
.band p{margin:0 0 22px;font-size:17px;color:var(--soft)}
.band .alt{margin:16px 0 0;font-size:14px;color:var(--muted)}
.band .alt a{color:var(--text)}
/* подвал */
.foot{text-align:center;padding:36px 0 0;color:var(--muted)}
.foot p{margin:6px 0}
.fine{font-size:13px}
@media(prefers-reduced-motion:reduce){.pk,.status i{animation:none}}
