/* «Можно» — сайт. Цвета и шрифт как в приложении (docs/DESIGN.md). */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --bg: #f6f5f0;
  --card: #ffffff;
  --plate: #ecebe4;
  --divider: #e2e1d9;
  --text: #1a1a17;
  --text2: #55544c;
  --muted: #6b6a60;
  --accent: #22a559;
  --accent-text: #167a40;
  --dark: #1b1b18;
  --on-dark: #fafaf7;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.55 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent-text); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Шапка */
header.top { padding: 18px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav.links a { color: var(--text2); text-decoration: none; font-weight: 600; }
nav.links a:hover { color: var(--accent-text); }

/* Первый экран */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 40px 0 64px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero p.lead { font-size: 19px; color: var(--text2); margin: 0 0 28px; max-width: 32em; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--dark); color: var(--on-dark); text-decoration: none; padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 15px; }
.store small { display: block; font-weight: 500; font-size: 11px; opacity: 0.75; }
.store.soon { opacity: 0.55; pointer-events: none; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

.phones { position: relative; display: flex; justify-content: center; }
.phone { width: min(300px, 70vw); border-radius: 44px; border: 10px solid #161614; background: #161614; box-shadow: 0 30px 60px -20px rgba(20, 60, 35, 0.35); overflow: hidden; }
.phone img { border-radius: 34px; }
.phone.back { position: absolute; width: min(240px, 52vw); transform: translate(-46%, 40px) rotate(-6deg); opacity: 0.95; z-index: 0; }
.phone.front { position: relative; z-index: 1; transform: translateX(18%); }

/* Блоки */
section.block { padding: 56px 0; }
section.block h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; margin: 0 0 28px; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.card p { margin: 0; color: var(--text2); font-size: 16px; }
.dot { width: 40px; height: 40px; border-radius: 12px; background: #e3f4ea; color: var(--accent-text); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }

.band { background: var(--dark); color: var(--on-dark); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.band h2 { margin: 0 0 8px; }
.band p { margin: 0; opacity: 0.8; }

/* Документы */
.doc { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); margin: 12px 0 56px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.02em; margin: 0 0 6px; font-weight: 800; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; font-weight: 800; }
.doc p, .doc li { color: var(--text2); }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--divider); }
.doc th { color: var(--text); font-weight: 700; background: var(--bg); }
.table-scroll { overflow-x: auto; }
.callout { background: #e3f4ea; border-radius: 16px; padding: 16px 18px; color: var(--text); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #10100e; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
details { border-bottom: 1px solid var(--divider); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 700; color: var(--text); }
details p { margin: 10px 0 0; }
.btn { display: inline-block; background: var(--accent); color: #10100e; font-weight: 800; padding: 14px 22px; border-radius: 16px; text-decoration: none; }

footer { border-top: 1px solid var(--divider); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .phones { margin-top: 12px; }
  .grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 28px; }
  nav.links { gap: 12px; font-size: 14px; }
}
