/* ═══════════════════════════════════════════════
   UzNeyro Voice — dedicated voice-model landing
   ═══════════════════════════════════════════════ */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --card: #eef0f4;
  --text: #10131c;
  --muted: #6b7280;
  --border: #e6e8ef;
  --pink: #e0479e;
  --violet: #7b45bd;
  --grad: linear-gradient(135deg, #7b45bd, #e0479e);
  --r: 16px;
  --r-lg: 24px;
  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(16, 19, 28, .06), 0 1px 3px rgba(16, 19, 28, .05);
  --shadow: 0 10px 30px rgba(16, 19, 28, .08);
  --shadow-lg: 0 24px 60px rgba(16, 19, 28, .14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.6rem; border: none; border-radius: 999px;
  font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .18s, transform .18s, box-shadow .18s, filter .18s;
}
.btn--voice { background: var(--grad); color: #fff; }
.btn--voice:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--white { background: #fff; color: var(--violet); box-shadow: var(--shadow); }
.btn--white:hover { background: #f4f6fb; transform: translateY(-1px); }
.btn--soft { background: var(--card); color: var(--text); }
.btn--soft:hover { background: #e4e7ef; }
.btn--dark { background: #111318; color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-1px); }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ─── Navbar ─── */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; padding: 0 16px; }
.nav__inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 1rem;
  background: #fff; border-radius: 999px; padding: .55rem .6rem .55rem 1.4rem; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--text); }
.brand__mark { display: inline-flex; }
.brand__name { font-size: 1.2rem; letter-spacing: -.02em; }
.nav__links { display: none; gap: 1.75rem; margin: 0 auto; }
.nav__links a { color: #3a3f4b; font-weight: 500; font-size: .9rem; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }

/* Language switcher */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .4rem; background: transparent; border: none; border-radius: 999px; height: 44px; padding: 0 .5rem; cursor: pointer; transition: background .15s; }
.lang__btn:hover { background: var(--bg-alt); }
.lang__flag { width: 24px; height: 18px; border-radius: 3px; overflow: hidden; display: block; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(16, 19, 28, .09); }
.lang__flag svg { display: block; width: 100%; height: 100%; }
.lang__chev { color: var(--muted); transition: transform .2s; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 194px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 200; }
.lang__menu[hidden] { display: none; }
.lang__opt { display: flex; align-items: center; gap: .65rem; width: 100%; background: transparent; border: none; border-radius: 10px; padding: .6rem .7rem; font: inherit; font-weight: 500; font-size: .95rem; color: var(--text); cursor: pointer; text-align: left; transition: background .12s, color .12s; }
.lang__opt:hover { background: var(--bg-alt); }
.lang__opt[aria-checked="true"] { color: var(--violet); font-weight: 700; background: rgba(123, 69, 189, .08); }
@media (min-width: 900px) { .nav__links { display: flex; } .nav__actions { margin-left: 0; } .brand { flex: 1 1 0; } .nav__actions { flex: 1 1 0; justify-content: flex-end; } }
.nav__actions .btn--voice .btn__pl { display: none; }
@media (max-width: 560px) { .nav__inner { padding: .5rem .5rem .5rem .9rem; gap: .5rem; } .brand__name { display: none; } .nav__actions { gap: .35rem; } .nav__actions .btn--voice { padding: .58rem .7rem; } .nav__actions .btn--voice .btn__txt { display: none; } .nav__actions .btn--voice .btn__pl { display: block; } }

/* ─── Hero (dark, waveform, no external images) ─── */
.hero { position: relative; overflow: hidden; padding: 130px 0 90px; background: #171326; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 78% 18%, rgba(224, 71, 158, .35), transparent 70%), radial-gradient(55% 55% at 15% 85%, rgba(123, 69, 189, .4), transparent 70%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 56px; background: var(--bg); border-radius: 44px 44px 0 0; z-index: 3; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 1.5rem; } }
.hero__text { color: #fff; max-width: 560px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 700; font-size: .82rem; padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.1rem; }
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #38ef7d; box-shadow: 0 0 0 3px rgba(56, 239, 125, .25); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.hero h1 span { background: linear-gradient(120deg, #e0479e, #ff9d6c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero__sub { border-left: 2px solid rgba(255, 255, 255, .3); padding-left: 1rem; margin: 1.5rem 0 2rem; color: rgba(255, 255, 255, .82); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 460px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* animated equalizer cloud visual (pure CSS, no external assets) */
.cloud { position: relative; height: 400px; }
.cloud__item { position: absolute; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.cloud__item--a { top: 4%; left: 4%; }
.cloud__item--b { top: 0; right: 2%; }
.cloud__item--c { top: 42%; left: 34%; }
.cloud__item--d { bottom: 10%; right: 20%; }
.cloud__item--e { bottom: 0; left: 2%; }
.cloud__eq { display: flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; backdrop-filter: blur(6px); }
.cloud__eq span { display: block; border-radius: 999px; background: linear-gradient(180deg, #e0479e, #7b45bd); animation: cloudBounce 1.3s ease-in-out infinite; }
.cloud__eq--lg { padding: 2rem 1.6rem; height: 140px; gap: 6px; }
.cloud__eq--lg span { width: 7px; }
.cloud__eq--md { padding: 1.3rem 1rem; height: 90px; gap: 5px; }
.cloud__eq--md span { width: 5px; }
.cloud__eq--sm { padding: .9rem .8rem; height: 60px; gap: 4px; }
.cloud__eq--sm span { width: 4px; }
.cloud__eq--lg span:nth-child(1) { height: 30%; animation-delay: -1.1s; }
.cloud__eq--lg span:nth-child(2) { height: 65%; animation-delay: -0.8s; }
.cloud__eq--lg span:nth-child(3) { height: 95%; animation-delay: -0.5s; }
.cloud__eq--lg span:nth-child(4) { height: 50%; animation-delay: -1.3s; }
.cloud__eq--lg span:nth-child(5) { height: 100%; animation-delay: -0.2s; }
.cloud__eq--lg span:nth-child(6) { height: 60%; animation-delay: -0.9s; }
.cloud__eq--lg span:nth-child(7) { height: 85%; animation-delay: -0.4s; }
.cloud__eq--lg span:nth-child(8) { height: 40%; animation-delay: -0.7s; }
.cloud__eq--lg span:nth-child(9) { height: 70%; animation-delay: -0.1s; }
.cloud__eq--md span:nth-child(1) { height: 35%; animation-delay: -0.6s; }
.cloud__eq--md span:nth-child(2) { height: 90%; animation-delay: -0.3s; }
.cloud__eq--md span:nth-child(3) { height: 55%; animation-delay: -1.0s; }
.cloud__eq--md span:nth-child(4) { height: 100%; animation-delay: -0.5s; }
.cloud__eq--md span:nth-child(5) { height: 45%; animation-delay: -0.9s; }
.cloud__eq--md span:nth-child(6) { height: 75%; animation-delay: -0.2s; }
.cloud__eq--md span:nth-child(7) { height: 60%; animation-delay: -1.2s; }
.cloud__eq--sm span:nth-child(1) { height: 40%; animation-delay: -0.4s; }
.cloud__eq--sm span:nth-child(2) { height: 100%; animation-delay: -0.9s; }
.cloud__eq--sm span:nth-child(3) { height: 55%; animation-delay: -0.1s; }
.cloud__eq--sm span:nth-child(4) { height: 80%; animation-delay: -0.6s; }
.cloud__eq--sm span:nth-child(5) { height: 50%; animation-delay: -1.1s; }
@keyframes cloudBounce { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.cloud__phrase { color: rgba(255, 255, 255, .6); font-size: .85rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; transition: opacity .35s ease; }
.cloud__phrase.fade { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .cloud__eq span { animation: none; transform: scaleY(.7); } }
@media (max-width: 900px) { .cloud { height: 340px; } .cloud__item--a { left: 0; } .cloud__item--b { right: 0; } .cloud__item--c { left: 30%; top: 38%; } .cloud__item--d { right: 8%; } .cloud__item--e { left: 0; } }

/* ─── Sections ─── */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.head { text-align: center; max-width: 700px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.head h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.head p { color: var(--muted); font-size: 1.02rem; margin-top: .6rem; }
.head--light h2 { color: #fff; }
.head--light p { color: rgba(255, 255, 255, .88); }

/* ─── Возможности (edge — hero claim + 2 supporting facts) ─── */
.edge { display: flex; flex-direction: column; gap: 1.25rem; }
.edge__hero { position: relative; overflow: hidden; background: #171326; border-radius: var(--r-lg); display: grid; grid-template-columns: 1fr; gap: 0; }
.edge__hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 70% at 88% 0%, rgba(224, 71, 158, .3), transparent 70%), radial-gradient(50% 60% at 8% 100%, rgba(123, 69, 189, .35), transparent 70%); pointer-events: none; }
@media (min-width: 800px) { .edge__hero { grid-template-columns: 1.15fr 1fr; align-items: stretch; } }
.edge__herotext { position: relative; padding: clamp(2rem, 5vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.edge__num { position: relative; display: inline-block; font-size: 1rem; font-weight: 800; letter-spacing: .06em; color: rgba(255, 255, 255, .4); margin-bottom: 1.4rem; }
.edge__wave { position: relative; display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-bottom: 1.6rem; }
.edge__wave span { display: block; width: 4px; border-radius: 999px; background: linear-gradient(180deg, #e0479e, #7b45bd); animation: edgeWave 1.4s ease-in-out infinite; }
.edge__wave span:nth-child(1) { height: 40%; animation-delay: -1.1s; }
.edge__wave span:nth-child(2) { height: 75%; animation-delay: -0.8s; }
.edge__wave span:nth-child(3) { height: 100%; animation-delay: -0.5s; }
.edge__wave span:nth-child(4) { height: 55%; animation-delay: -1.3s; }
.edge__wave span:nth-child(5) { height: 85%; animation-delay: -0.2s; }
.edge__wave span:nth-child(6) { height: 60%; animation-delay: -0.9s; }
.edge__wave span:nth-child(7) { height: 95%; animation-delay: -0.4s; }
.edge__wave span:nth-child(8) { height: 45%; animation-delay: -0.7s; }
@keyframes edgeWave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.edge__claim { position: relative; color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; max-width: 560px; text-wrap: balance; }
.edge__d { position: relative; color: rgba(255, 255, 255, .68); font-size: 1rem; margin-top: .9rem; max-width: 480px; }
.edge__photo { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.edge__photo--hero { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
@media (max-width: 799px) { .edge__photo--hero { border-radius: 0 0 var(--r-lg) var(--r-lg); max-height: 260px; } }
.edge__row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .edge__row { grid-template-columns: 1fr 1fr; } }
.edge__card { background: var(--card); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.1rem); display: flex; flex-direction: column; }
.edge__num--dark { color: var(--violet); }
.edge__stat { position: relative; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; background: linear-gradient(120deg, #ffffff, #f2b6da); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; margin-bottom: .5rem; }
.edge__stat--dark { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-size: clamp(2rem, 4vw, 2.6rem); }
.edge__claim--sm { color: var(--text); font-size: 1.3rem; margin-top: 0; max-width: none; }
.edge__d--dark { color: var(--muted); max-width: none; margin-bottom: 1.3rem; }
.edge__card .edge__photo { border-radius: 14px; max-height: 200px; margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .edge__wave span { animation: none; transform: scaleY(.8); } }

/* ─── Демо: консоль синтеза (текст → голос) ─── */
.console { background: #171326; border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2rem); max-width: 780px; margin: 0 auto; border: 1px solid rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.console::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 0%, rgba(224, 71, 158, .22), transparent 70%), radial-gradient(45% 55% at 5% 100%, rgba(123, 69, 189, .28), transparent 70%); pointer-events: none; }
.console__topbar { position: relative; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.console__dot { width: 8px; height: 8px; border-radius: 50%; background: #38ef7d; box-shadow: 0 0 0 3px rgba(56, 239, 125, .22); flex-shrink: 0; }
.console__label { color: rgba(255, 255, 255, .75); font-size: .82rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.console__count { margin-left: auto; color: rgba(255, 255, 255, .45); font-size: .78rem; font-variant-numeric: tabular-nums; }
.console__body { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 1.1rem 1.2rem .9rem; transition: border-color .2s, box-shadow .2s; }
.console__body:focus-within { border-color: rgba(224, 71, 158, .55); box-shadow: 0 0 0 3px rgba(224, 71, 158, .15); }
.console__textarea { width: 100%; min-height: 110px; resize: vertical; border: none; background: transparent; padding: 0; font: inherit; font-size: 1.02rem; color: #fff; }
.console__textarea::placeholder { color: rgba(255, 255, 255, .38); }
.console__textarea:focus { outline: none; }
.console__wave { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 22px; margin-top: .6rem; opacity: .5; }
.console__wave span { display: block; width: 3px; border-radius: 999px; background: linear-gradient(180deg, #e0479e, #7b45bd); height: 20%; transition: height .12s ease; }
.console__wave.is-active span { animation: consoleWave 0.9s ease-in-out infinite; }
.console__wave.is-typing span { animation: consoleWave 1.6s ease-in-out infinite; }
.console__wave span:nth-child(odd) { animation-delay: -.4s; }
.console__wave span:nth-child(3n) { animation-delay: -.7s; }
.console__wave span:nth-child(4n) { animation-delay: -.2s; }
@keyframes consoleWave { 0%, 100% { height: 15%; } 50% { height: 90%; } }
.console__controls { position: relative; display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; flex-wrap: wrap; }
.console__submit { display: inline-flex; align-items: center; gap: .55rem; }
.console__playico { flex-shrink: 0; }
.console__status { color: rgba(255, 255, 255, .5); font-size: .86rem; min-height: 1.2em; margin: 0; }
.console__player { position: relative; display: none; align-items: center; gap: .8rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.console__player.show { display: flex; }
.console__playbtn { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--grad); color: #fff; display: grid; place-items: center; cursor: pointer; transition: filter .15s, transform .15s; }
.console__playbtn:hover { filter: brightness(1.08); transform: scale(1.04); }
.console__playbtn .ico-pause[hidden] { display: none; }
.console__bars { flex: 1; display: flex; align-items: center; gap: 2px; height: 28px; }
.console__bars span { display: block; width: 2px; border-radius: 999px; background: rgba(255, 255, 255, .25); transition: background .15s; }
.console__bars span.played { background: linear-gradient(180deg, #e0479e, #7b45bd); }
.console__time { flex-shrink: 0; color: rgba(255, 255, 255, .5); font-size: .82rem; font-variant-numeric: tabular-nums; }

/* ─── Готовые примеры (запускают синтез в консоли выше) ─── */
.presets { max-width: 780px; margin: 1.4rem auto 0; }
.presets__label { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: .9rem; }
.presets__list { display: flex; flex-direction: column; gap: .6rem; }
.presets__item { display: flex; align-items: flex-start; gap: .8rem; width: 100%; border: 1px solid var(--border); background: #fff; border-radius: 14px; padding: 1rem 1.2rem; font: inherit; font-size: .92rem; font-weight: 500; color: var(--text); cursor: pointer; text-align: left; line-height: 1.5; transition: border-color .15s, transform .15s, box-shadow .15s; }
.presets__item:hover { border-color: var(--violet); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.presets__item.is-active { background: var(--grad); border-color: transparent; color: #fff; }
.presets__ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--card); color: var(--violet); flex-shrink: 0; margin-top: .1rem; }
.presets__item.is-active .presets__ico { background: rgba(255, 255, 255, .2); color: #fff; }
.presets__text { flex: 1; }

/* ─── Как это работает ─── */
.howdetail { display: grid; gap: 2rem; align-items: center; max-width: 980px; margin: 0 auto; grid-template-columns: 1fr; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(123, 69, 189, .08), rgba(224, 71, 158, .08)); border: 1px solid rgba(123, 69, 189, .12); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 2.8rem); }
.howdetail::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 65% at 85% 0%, rgba(224, 71, 158, .12), transparent 70%), radial-gradient(50% 60% at 5% 100%, rgba(123, 69, 189, .14), transparent 70%); pointer-events: none; }
@media (min-width: 800px) { .howdetail { grid-template-columns: .8fr 1.2fr; gap: 3rem; } }
.howconnect { width: 2px; height: 1.75rem; margin: 0 auto; background: linear-gradient(180deg, rgba(123, 69, 189, .5), rgba(224, 71, 158, .5)); }
.howdetail--rev .howdetail__text { order: -1; }
@media (min-width: 800px) { .howdetail--rev { grid-template-columns: 1.2fr .8fr; } .howdetail--rev .howdetail__text { order: 2; } .howdetail--rev .howdetail__media { order: 1; } }
.howdetail__text { text-align: center; }
.howdetail__text h3 { font-size: 1.5rem; font-weight: 800; margin: .8rem 0 .4rem; letter-spacing: -.01em; }
.howdetail__d { color: var(--muted); }
.howdetail__media img { width: 55%; height: auto; border-radius: 16px; background: #fff; margin: 0 auto; display: block; }
@media (max-width: 799px) { .howdetail__media img { width: 65%; } }
.access { background: linear-gradient(150deg, #7b45bd 0%, #a4529d 52%, #e0479e 100%); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.acard { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); padding: clamp(1.8rem, 4vw, 2.6rem); }
.acard__title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: .4rem; }
.acard__sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.6rem; }
.afield { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.afield label { font-weight: 700; font-size: .88rem; }
.afield input, .afield textarea, .afield select { border: 1px solid var(--border); border-radius: 12px; padding: .78rem .95rem; font: inherit; font-size: .96rem; color: var(--text); background: #fff; }
.afield input:focus-visible, .afield textarea:focus-visible, .afield select:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; }
.afield textarea { min-height: 90px; resize: vertical; }
.aform__status { font-size: .9rem; font-weight: 600; min-height: 1.3em; margin-top: .4rem; }
.aform__status--ok { color: #1a9c5c; }
.aform__status--err { color: #d3423e; }

/* ─── FAQ ─── */
.faq { display: flex; flex-direction: column; gap: .9rem; }
.faq__item { background: var(--card); border-radius: 20px; transition: border-radius .2s; }
@media (min-width: 760px) { .faq__item:not([open]) { border-radius: 999px; } }
.faq__item[open] { border-radius: var(--r-lg); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.25rem 1.8rem; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; color: var(--text); flex-shrink: 0; line-height: 1; }
.faq__item[open] summary::after { content: "×"; }
.faq__item p { padding: 0 1.8rem 1.5rem; color: var(--muted); }

/* ─── CTA band ─── */
.ctaband { background: #171326; padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.ctaband::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 50% 0%, rgba(224, 71, 158, .28), transparent 70%); }
.ctaband__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.6rem; }
.ctaband h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 800; max-width: 640px; }

/* ─── Footer ─── */
.foot { background: var(--bg-alt); padding: clamp(3rem, 6vw, 4.5rem) 0 0; border-top: 1px solid var(--border); }
.foot__grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; padding-bottom: 2.6rem; }
.foot__brand p { color: var(--muted); font-size: .9rem; margin-top: .5rem; max-width: 320px; }
.foot__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.foot__social-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--text); transition: background .15s, color .15s, transform .15s; }
.foot__social-ico:hover { background: #111318; color: #fff; transform: translateY(-2px); }
.foot__col { display: flex; flex-direction: column; gap: .85rem; }
.foot__title { font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.foot__col a { color: var(--text); font-size: .95rem; transition: color .15s; }
.foot__col a:hover { color: var(--blue); }
.foot__bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; display: flex; flex-direction: column; gap: .6rem; }
.foot__copy { color: var(--muted); font-size: .86rem; }
@media (min-width: 640px) {
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 980px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .btn:hover { transform: none; }
}

.totop { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border: none; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s, filter .2s; }
.totop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.totop:hover { filter: brightness(1.06); transform: translateY(-2px); }