/* Clientoo — лендинг. Шрифты локальные (OFL, лицензии в /fonts). */
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url("../fonts/unbounded-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: "Unbounded"; font-weight: 600; font-display: swap; src: url("../fonts/unbounded-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-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: "Unbounded"; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-weight: 200 1000; font-display: swap; src: url("../fonts/nunito-sans-cyrillic-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito Sans"; font-weight: 200 1000; font-display: swap; src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --purple: #7C40FF;
  --purple-strong: #5B2BC2;
  --purple-soft: #F1EAFF;
  --purple-light: #C9B3FF;
  --orange: #FB923C;
  --orange-soft: #FFF1E6;
  --orange-text: #9A3412;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #475569;
  --muted-2: #64748B;
  --line: #ECE8F7;
  --line-2: #DCD3F5;
  --ground: #FFFFFF;
  --ground-2: #FBFAFD;
  --night: #160B33;
  --display: "Unbounded", system-ui, sans-serif;
  --text: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--ground); line-height: 1.5; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--purple-strong); }
a:hover { color: #4f22b8; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.02em; }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .15s, border-color .15s, color .15s; }
.btn-lg { min-height: 52px; padding: 14px 26px; border-radius: 14px; font-size: 18px; font-weight: 800; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: #6a2ff0; color: #fff; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--purple-strong); }
.btn-outline { border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--purple); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 32px; width: auto; }
.brand { flex: none; }
.nav { display: flex; gap: 28px; font-weight: 600; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--purple-strong); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--ink); }
.mobile-menu { display: none; }

@media (max-width: 960px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-menu { border-top: 1px solid var(--line); padding: 12px 24px 20px; flex-direction: column; gap: 4px; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 12px 0; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
}
@media (max-width: 520px) {
  .header-actions .btn-primary { display: none; }
  .brand img { height: 28px; }
}

/* Hero */
.hero { background: var(--ground-2); }
.hero-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pill { align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: var(--purple-soft); color: var(--purple-strong); font-weight: 700; font-size: 14px; }
.hero h1 { font-weight: 700; font-size: clamp(34px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.03em; }
.accent { color: var(--purple); }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fineprint { font-size: 14px; color: var(--muted-2); }
.hero-visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }

.schedule { width: 100%; max-width: 440px; background: #fff; border-radius: 24px; box-shadow: 0 24px 60px rgba(76, 29, 149, .14); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.schedule-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.schedule-title { font-family: var(--display); font-weight: 600; font-size: 17px; }
.tag { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.tag-purple { color: var(--purple-strong); background: var(--purple-soft); }
.tag-green { color: #166534; background: #DCFCE7; }
.tag-orange { color: var(--orange-text); background: #FFEDD5; }
.slot { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--ground-2); border: 1px solid var(--line); }
.slot-time { font-weight: 800; width: 52px; flex: none; }
.slot-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.slot-name { font-weight: 700; }
.slot-meta { font-size: 14px; color: var(--muted-2); }
.bubble { align-self: flex-end; max-width: 300px; background: var(--purple); color: #fff; border-radius: 18px 18px 4px 18px; padding: 14px 16px; font-size: 15px; line-height: 1.45; }
.quick-replies { align-self: flex-end; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.quick-replies span { font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line-2); color: var(--purple-strong); }

/* Sections */
.section { padding-top: 96px; padding-bottom: 40px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 40px; }
.section-title { font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); }
.section-lead { font-size: 18px; line-height: 1.6; color: var(--muted); }

.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.audience { padding: 32px; border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
.audience h3 { font-weight: 600; font-size: 22px; }
.audience p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.audience-purple { background: var(--purple-soft); color: var(--purple-strong); }
.audience-orange { background: var(--orange-soft); color: #C2410C; }
.audience-gray { background: #EEF2F7; color: var(--ink-2); }
.audience h3 { color: var(--ink); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.feature-soon { background: var(--ground-2); border-style: dashed; border-color: var(--line-2); }
.feature-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feature h3 { font-weight: 600; font-size: 20px; }
.feature p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.soon { font-size: 13px; font-weight: 800; color: var(--orange-text); background: #FFEDD5; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

.results { background: var(--night); color: #fff; margin-top: 56px; }
.results-inner { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-value { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.4vw, 42px); color: var(--purple-light); white-space: nowrap; }
.stat:nth-child(even) .stat-value { color: #FDBA74; }
.stat-label { font-size: 17px; line-height: 1.5; color: #D9D3EE; }

.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); column-gap: 40px; row-gap: 36px; }
.reason { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--ink); padding-top: 20px; }
.reason-kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-strong); }
.reason h3 { font-weight: 600; font-size: 20px; }
.reason p { font-size: 16px; line-height: 1.55; color: var(--muted); }

.faq { max-width: 880px; padding-bottom: 96px; }
.faq details { border-bottom: 1px solid #E2E8F0; padding: 20px 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 800; font-size: 19px; min-height: 44px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { font-size: 28px; line-height: 1; color: var(--purple-strong); transition: transform .2s; flex: none; }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* CTA */
.cta { padding-bottom: 104px; }
.cta-card { border-radius: 32px; background: var(--purple); color: #fff; padding: 64px 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; justify-content: space-between; }
.cta-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cta-copy h2 { font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); }
.cta-copy p { font-size: 18px; line-height: 1.55; color: #EDE4FF; }
.cta-copy a { color: #fff; font-weight: 800; font-size: 18px; }
.lead-form { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; background: rgba(255, 255, 255, .1); border-radius: 24px; padding: 24px; }
.lead-form label { font-weight: 700; font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.lead-form input, .lead-form textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 2px solid transparent; font: inherit; font-size: 17px; color: var(--ink); background: #fff; }
.lead-form textarea { min-height: 96px; resize: vertical; }
.lead-form input[aria-invalid="true"] { border-color: #FCA5A5; }
.field-error { font-size: 14px; font-weight: 700; color: #FFE4E6; }
.form-status { font-size: 15px; font-weight: 700; min-height: 1.5em; }
.lead-form .btn-dark { align-self: flex-start; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 48px; padding-bottom: 32px; }
.footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { height: 28px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 15px; line-height: 1.55; color: var(--muted-2); max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col-title { font-weight: 800; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--purple-strong); }
.footer-col a.strong { color: var(--purple-strong); font-weight: 800; }
.copyright { padding-bottom: 32px; font-size: 14px; color: var(--muted-2); }

/* Privacy page */
.doc { max-width: 800px; margin: 64px auto 80px; padding: 0 24px; color: #1e293b; line-height: 1.8; }
.doc h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; color: var(--ink); }
.doc h2 { font-size: 20px; margin: 36px 0 12px; color: var(--ink); }
.doc p, .doc li { font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 32px; }

/* Appear on scroll — only when JS is on and motion is OK */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 640px) {
  .hero-inner { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .lead { font-size: 18px; }
  .section { padding-top: 72px; }
  .cta-card { padding: 40px 24px; border-radius: 24px; }
  .audience, .feature { padding: 24px; }
}
