/* Сайт: поверх общих токенов из app/style.css */
.site { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 0 16px 40px; }
a { color: inherit; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.nav .brand { margin: 0; text-decoration: none; }
.nav-links { display: flex; gap: 22px; font-weight: 600; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { width: auto; padding: 11px 18px; font-size: 14px; text-decoration: none; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 48px 0 30px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 14px 0 16px; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.cta-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.cta-row .btn { width: auto; text-decoration: none; display: inline-block; padding: 16px 24px; }
.trust { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.trust b { display: block; color: var(--text); font: 700 20px/1.2 "Unbounded", sans-serif; }

/* макет экрана бота */
.phone { position: relative; max-width: 380px; margin: 0 auto; width: 100%; }
.phone::before { content: ""; position: absolute; inset: 10% -10% -6%; background: radial-gradient(closest-side, rgba(192,38,211,.45), transparent); filter: blur(10px); z-index: -1; }
.phone .card { padding: 14px; border-radius: 28px; }
.phone .banner { height: 150px; border-radius: 18px; background: var(--grad); display: grid; place-items: center; position: relative; overflow: hidden; }
.phone .banner span { font: 700 26px/1 "Unbounded", sans-serif; text-shadow: 0 6px 20px rgba(0,0,0,.3); }
.phone .banner i { position: absolute; font-style: normal; font-size: 34px; animation: float 5s ease-in-out infinite; }
.phone .msg { padding: 14px 6px 6px; font-size: 14px; color: #e6dcfb; }
.phone .kb { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.phone .kb div { padding: 11px 6px; text-align: center; font-size: 13px; font-weight: 700; border-radius: 12px; background: rgba(255,255,255,.08); }
.phone .kb .wide { grid-column: span 2; }
.phone .kb .main { background: var(--grad); }
@keyframes float { 50% { transform: translateY(-8px) rotate(-8deg); } }

section { padding: 34px 0 6px; scroll-margin-top: 20px; }
section > h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; }
section > .sub { color: var(--muted); margin-bottom: 22px; max-width: 640px; }

.grid { display: grid; gap: 14px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: 1fr 1fr; }
.grid .card + .card { margin-top: 0; }

.product .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: rgba(255,255,255,.08); margin-bottom: 14px; }
.product h3 { font-size: 17px; margin-bottom: 6px; }
.product p { color: var(--muted); font-size: 14px; }
.price-list { margin-top: 12px; }
.price-list .row { padding: 9px 0; font-size: 14px; }
.from { margin-top: 10px; font-weight: 800; font-size: 15px; }
.from span { color: var(--gold); }

.step b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); font: 700 15px "Unbounded", sans-serif; margin-bottom: 12px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

.pay { display: flex; align-items: center; gap: 12px; }
.pay .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 20px; flex: none; }
.pay p { margin: 0; color: var(--muted); font-size: 13px; }

details { border-bottom: 1px solid rgba(255,255,255,.08); padding: 16px 0; }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 600 20px/1 "Unbounded", sans-serif; color: var(--violet); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; }

.req .row .v { font-weight: 600; }
.foot { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--text); }

/* страницы документов */
.docpage { max-width: 780px; margin: 0 auto; }
.docpage .card { padding: 28px; }
.docpage h1 { font-size: clamp(24px, 4vw, 34px); margin: 14px 0 6px; }
.doc h2 { font-size: 18px; }
.doc .row .k { min-width: 140px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 24px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3, .g2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .g4 { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; text-align: center; }
  .docpage .card { padding: 20px; }
  .doc .row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .doc .row .v { text-align: left; }
}
