/* Corporate site. Tokens, .wordmark, .btn, .tag, .mono come from styles.css. */
body.site { background: var(--paper); overflow-x: hidden; }
.site a { color: inherit; }

.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px clamp(20px, 5vw, 56px); background: rgba(251,252,251,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar-nav { display: flex; gap: 22px; margin: 0 auto 0 28px; }
.bar-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .93rem; }
.bar-nav a:hover { color: var(--ink); }
.bar-cta { display: flex; align-items: center; gap: 10px; }
.site a.wordmark { text-decoration: none; }
.bar-phone { white-space: nowrap; font-family: var(--mono); font-size: .85rem; text-decoration: none; color: var(--ink-2); margin-right: 6px; }
.bar-phone:hover { color: var(--ink); }
.btn.lg { padding: 14px 24px; font-size: 1rem; }
.btn.wa { background: #128c4a; border-color: #128c4a; color: #fff; }
.btn.wa:hover { background: #0e7340; }
.btn.tg { background: #229ed9; border-color: #229ed9; color: #fff; }
.btn.tg:hover { background: #1b87bb; }

main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(44px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border-radius: 99px; background: #e8ecff; color: var(--cobalt-dark); font-size: .82rem; font-weight: 600; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(35,66,245,.18); animation: pulse 2s ease-in-out infinite; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 20px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--cobalt); }
.hero .lede { max-width: 34em; color: var(--ink-2); font-size: 1.12rem; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; font-size: .9rem; color: var(--ink-2); }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 7px; }

/* Device mock of the real panel */
.device { background: var(--ink); border-radius: 18px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(16,26,28,.45), 0 0 0 1px rgba(16,26,28,.08); transform: rotate(.6deg); }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 4px 8px 10px; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4a4d; }
.device-bar span { margin-left: 10px; font-family: var(--mono); font-size: .72rem; color: #8a9a98; }
.device-body { background: var(--fog); border-radius: 10px; padding: 16px; display: grid; gap: 10px; }
.d-chip { margin: 0; justify-self: start; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--cobalt); color: #fff; }
.d-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 8px; }
.d-card.dim { opacity: .75; }
.d-title { margin: 0; font-weight: 600; font-size: .92rem; }
.d-meta { margin: -4px 0 0; font-size: .74rem; color: var(--ink-2); }
.d-move { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--mono); }
.d-move s { color: var(--steel); }
.d-arrow { color: var(--steel); }
.d-move .tag { padding: 6px 14px 6px 28px; font-size: 1rem; }
.d-rank { font-family: var(--body); font-size: .8rem; color: var(--ink-2); }
.d-why { margin: 0; font-size: .8rem; color: var(--ink-2); }
.d-actions { display: flex; gap: 6px; }
.d-btn { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--ink); }
.d-btn.primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: clamp(24px, 4vw, 48px); }
.trust div { background: var(--paper); padding: 22px 20px; display: grid; gap: 6px; }
.trust b { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.02em; color: var(--cobalt); }
.trust span { font-size: .88rem; color: var(--ink-2); }

/* ---------- Bands ---------- */
.band { padding: clamp(48px, 7vw, 96px) 0; }
.band.soft, .band.dark { margin: 0 calc(-1 * clamp(20px, 5vw, 56px)); padding-left: clamp(20px, 5vw, 56px); padding-right: clamp(20px, 5vw, 56px); }
.band.soft { background: var(--fog); }
.band.dark { background: var(--ink); color: #e9efed; }
.kicker { text-align: center; margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.band.dark .kicker { color: #8fa2ff; }
.band h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.025em; margin: 0 0 12px; text-align: center; text-wrap: balance; }
.band-sub { text-align: center; color: var(--ink-2); max-width: 38em; margin: 0 auto 40px; font-size: 1.02rem; }
.band > h2:last-of-type { margin-bottom: 36px; }

/* Feature rows */
.feature-rows { display: grid; gap: clamp(36px, 5vw, 64px); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.frow.rev .frow-text { order: 2; }
.frow h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; margin: 0 0 10px; }
.frow p { color: var(--ink-2); margin: 0; font-size: 1rem; }
.calc { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 12px 30px -18px rgba(16,26,28,.3); }
.calc-h { margin: 0 0 12px; font-weight: 600; font-size: .9rem; }
.calc-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; color: var(--ink-2); }
.calc-row b { color: var(--ink); }
.calc-row.hl { color: var(--ink); }
.calc-row.res { border-bottom: 0; margin-top: 6px; padding: 12px 14px; border-radius: 8px; background: var(--cobalt); color: #fff; }
.calc-row.res b { color: #fff; }
.calc-note { margin: 12px 0 0; font-size: .82rem; color: var(--ink-2); }
.checklist { list-style: none; margin: 0; padding: 20px; display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px -18px rgba(16,26,28,.3); }
.checklist li { display: flex; gap: 10px; font-size: .94rem; }
.checklist li::before { content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #d9f2e6; color: var(--green); font-weight: 700; font-size: .78rem; display: flex; align-items: center; justify-content: center; }
.paste { margin: 0; padding: 20px; background: var(--ink); color: #cfe0dc; border-radius: 14px; font-size: .82rem; line-height: 1.8; overflow-x: auto; box-shadow: 0 12px 30px -18px rgba(16,26,28,.5); }

/* Cards */
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.cards3 article { border-radius: 14px; padding: 24px; }
.band.dark .cards3 article { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.cards3 h3 { margin: 0 0 8px; font-size: 1.05rem; }
.band.dark .cards3 p { color: #b9c7c4; }
.cards3 p { margin: 0; font-size: .94rem; }

/* Steps */
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; display: grid; gap: 12px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; }
.steps li:nth-child(2) .step-n { background: var(--cobalt); }
.steps h3 { margin: 0 0 4px; font-size: 1rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .9rem; }

/* Pricing */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; }
.plan.featured { border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt), 0 20px 40px -24px rgba(35,66,245,.5); }
.plan-badge { position: absolute; top: -12px; left: 22px; margin: 0; background: var(--cobalt); color: #fff; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.plan h3 { margin: 0 0 2px; font-size: 1.05rem; }
.plan-limit { margin: 0 0 14px; color: var(--ink-2); font-size: .86rem; }
.plan-price { font-family: var(--mono); font-weight: 700; font-size: 1.55rem; margin: 0 0 18px; }
.plan-price.text { font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.plan-price span { font-family: var(--body); font-weight: 400; font-size: .78rem; color: var(--ink-2); }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; align-content: start; gap: 9px; font-size: .88rem; color: var(--ink-2); flex: 1; }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.plan .btn { text-align: center; }

/* FAQ */
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
details[open] { border-color: var(--cobalt); }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--cobalt); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--ink-2); font-size: .95rem; }

/* CTA */
.cta-band { text-align: center; margin: 0 0 clamp(48px, 7vw, 90px); padding: clamp(40px, 6vw, 72px) 24px; border-radius: 24px; background: linear-gradient(135deg, var(--cobalt) 0%, var(--cobalt-dark) 100%); color: #fff; }
.cta-band h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.025em; margin: 0 0 10px; }
.cta-band p { margin: 0 auto 26px; max-width: 34em; opacity: .9; font-size: 1.05rem; }
.cta-band .btn.primary { background: #fff; color: var(--cobalt-dark); border-color: #fff; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 36px clamp(20px, 5vw, 56px); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; color: var(--ink-2); font-size: .88rem; max-width: 1180px; margin: 0 auto; }
.site-foot p { margin: 0 0 6px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-h { font-weight: 600; color: var(--ink); }
.foot-note { grid-column: 1 / -1; font-size: .78rem; color: var(--steel); border-top: 1px solid var(--line); padding-top: 16px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; padding: 13px 20px; border-radius: 99px; background: #229ed9; color: #fff !important; text-decoration: none; font-weight: 600; box-shadow: 0 10px 24px -8px rgba(18,140,74,.6); }
.wa-float:hover { background: #1a86ba; }

@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(35,66,245,.08); } }

@media (max-width: 1240px) {
  .bar-phone { display: none; }
  .bar-nav { gap: 16px; margin-left: 16px; }
}
@media (max-width: 980px) {
  .hero, .frow { grid-template-columns: 1fr; }
  .frow.rev .frow-text { order: 0; }
  .trust, .steps, .cards4 { grid-template-columns: repeat(2, 1fr); }
  .bar-nav, .bar-phone { display: none; }
  .device { transform: none; }
}
@media (max-width: 560px) {
  .trust, .steps, .cards4, .site-foot { grid-template-columns: 1fr; }
  .bar-cta .btn.quiet { display: none; }
}

/* Feature grid */
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.fgrid article { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 18px; border-top: 3px solid var(--cobalt); }
.fgrid h3 { margin: 0 0 6px; font-size: 1rem; }
.fgrid p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }

/* Multi-page: page heads, hub, contacts */
.page-head { padding: 64px 24px 8px; max-width: 1180px; margin: 0 auto; }
.page-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; margin: 6px 0 12px; letter-spacing: -.02em; }
.page-head + .band { padding-top: 24px; }
.bar-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cobalt); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.hub a { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.hub a:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(16, 26, 28, .08); }
.hub h3 { margin: 0; font-size: 1.05rem; }
.hub p { margin: 0; color: var(--ink-2); font-size: .9rem; flex: 1; }
.hub span { color: var(--cobalt); font-weight: 600; font-size: .9rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact-card h2 { margin: 0; font-size: 1.3rem; }
.contact-card p { margin: 0; color: var(--ink-2); }
.contact-card .big { font-size: 1.5rem; }
.contact-card .big a { color: var(--ink); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.post-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; border-top: 3px solid var(--cobalt); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(16, 26, 28, .08); }
.post-card h2 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.post-card p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.post-tag { font-family: var(--mono); font-size: .75rem; color: var(--cobalt); text-transform: uppercase; letter-spacing: .04em; }
.post { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; font-size: 1.05rem; line-height: 1.7; }
.post h1 { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.12; margin: 8px 0 16px; letter-spacing: -.02em; }
.post h2 { font-size: 1.4rem; margin: 40px 0 10px; }
.post h3 { font-size: 1.1rem; margin: 24px 0 6px; }
.post-crumbs { font-size: .85rem; color: var(--ink-2); margin: 0; }
.post-crumbs a { color: var(--cobalt); }
.post-lede { font-size: 1.2rem; color: var(--ink-2); }
.post ul, .post ol { padding-left: 1.3em; }
.post li { margin: 6px 0; }
.post .calc, .post .paste { margin: 18px 0; }
.post-cta { margin: 48px 0 0; padding: 28px; border-radius: 16px; background: linear-gradient(135deg, var(--cobalt), #1b2fb8); color: #fff; }
.post-cta h2 { margin: 0 0 8px; color: #fff; }
.post-cta p { color: rgba(255, 255, 255, .85); }
.post-related { margin-top: 40px; }
.post-related ul { list-style: none; padding: 0; }
.post-related a { color: var(--cobalt); }

@media (max-width: 980px) {
  .hub { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .hub { grid-template-columns: 1fr; } }

/* ---------- Language switch (RU / ҚАЗ) ---------- */
.bar .lang-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-right: 4px; }
.bar .lang-switch a { padding: 4px 9px; border-radius: 7px; font-size: .78rem; font-weight: 600; text-decoration: none; color: var(--ink-2); line-height: 1.4; }
.bar .lang-switch a:hover { color: var(--ink); background: var(--fog); }
.bar .lang-switch a[aria-current="true"] { background: var(--cobalt); color: #fff; }
