/* Единая шапка и первый экран без отдельной рамки иллюстрации. */
.masthead--unified { height: 160px; }
.header--unified .header__inner { height: 160px; grid-template-columns: minmax(0,1fr) 152px minmax(0,1fr); gap: 20px; }
.header--unified .header__wing { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-width: 0; }
.header--unified .header__wing--left { grid-column: 1; grid-row: 1; }
.header--unified .header__wing--right { grid-column: 3; grid-row: 1; }
.header--unified .nav { gap: 22px; }
.header--unified .nav a { font-size: .8rem; }
.header--unified .brand, .header--unified.is-stuck .brand { width: 152px; height: 160px; }
.header--unified .brand img, .header--unified.is-stuck .brand img { width: 152px; height: 152px; }
.header__action { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 15px; border: 1px solid #ded5e5; border-radius: 999px; color: var(--ink); font-size: .74rem; font-weight: 600; white-space: nowrap; transition: background .2s,border-color .2s; }
.header__action svg { width: 17px; height: 17px; flex: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.header__call { background: transparent; }
.header__account { background: #ece4f2; border-color: #ece4f2; color: var(--accent-700); }
.header__action:hover { background: #e6dced; border-color: #cebadb; }
.header__call-label { display: none; }
.header--unified.is-compact .header__inner, .header--unified.is-compact .brand { height: 88px; }
.header--unified.is-compact .brand img { width: 62px; height: 62px; }
.hero.hero--unified { padding: 24px 0 54px; margin: 0; background: var(--paper); }
.hero--unified::before { inset: 0; background: radial-gradient(ellipse at 80% 52%,rgba(123,45,142,.10),transparent 62%); }
.hero--unified::after { content: none; }
.hero--unified .hero__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; min-height: 480px; }
.hero__copy { position: relative; z-index: 1; padding-bottom: 8px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-700); font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.hero__eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(123,45,142,.07); }
.hero--unified h1 { font-size: clamp(2.4rem,3.9vw,3.5rem); font-weight: 800; line-height: 1.09; letter-spacing: -.05em; text-transform: none; margin-bottom: 24px; max-width: none; }
.hero--unified h1 > span { color: var(--accent); }
.hero--unified .hero__intro { font-size: clamp(1rem,1.28vw,1.13rem); line-height: 1.7; color: var(--ink-2); max-width: 42ch; margin: 0 0 28px; }
.hero--unified .hero__cta { gap: 12px; }
.hero--unified .hero__cta .btn { min-height: 54px; padding: 0 22px; font-size: .82rem; }
.hero--unified .btn--primary { gap: 14px; box-shadow: 0 12px 28px -16px rgba(94,29,111,.5); }
.hero--unified .btn--outline { background: transparent; border-color: #cfc2d9; }
.hero--unified .btn--outline:hover { color: var(--accent-700); background: #eae1f0; border-color: var(--accent); }
.hero__trial { margin-top: 18px; font-size: .74rem; color: var(--ink-3); }
.hero__trial > span { margin-right: 5px; color: var(--accent); }
.hero--unified .hero__art { width: 113%; max-width: none; margin: 0 0 0 -5%; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.hero--unified .hero__art img { width: 100%; height: auto; border-radius: 0; }
@media(max-width:1240px) {
  .header__number { display: none; }
  .header__call-label { display: inline; }
  .header--unified .header__wing { gap: 16px; }
  .header--unified .nav { gap: 16px; }
  .header__account-arrow { display: none; }
}
@media(max-width:1050px) {
  .header--unified .nav { display: none; }
  .header--unified .burger { display: flex; }
  .header--unified .header__wing--left { justify-content: flex-start; gap: 12px; }
  .header--unified .header__wing--right { justify-content: flex-end; }
}
@media(max-width:900px) {
  .masthead--unified { height: 132px; }
  .header--unified .header__inner { height: 132px; grid-template-columns: minmax(0,1fr) 124px minmax(0,1fr); gap: 10px; }
  .header--unified .brand, .header--unified.is-stuck .brand { width: 124px; height: 132px; }
  .header--unified .brand img, .header--unified.is-stuck .brand img { width: 120px; height: 120px; }
  .header--unified.is-compact .header__inner, .header--unified.is-compact .brand { height: 82px; }
  .header--unified.is-compact .brand img { width: 58px; height: 58px; }
  .hero--unified .hero__grid { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
  .hero__copy { max-width: 620px; }
  .hero--unified h1 { font-size: clamp(2.25rem,5.4vw,3.4rem); }
  .hero--unified .hero__art { width: 100%; max-width: 720px; justify-self: center; margin: 0; }
  .hero.hero--unified { padding-top: 28px; padding-bottom: 32px; }
}
@media(max-width:600px) {
  .header--unified .header__inner { grid-template-columns: minmax(0,1fr) 100px minmax(0,1fr); }
  .header--unified .brand, .header--unified.is-stuck .brand { width: 100px; }
  .header--unified .header__wing--left { gap: 6px; }
  .header__action { padding: 0; width: 42px; min-height: 42px; }
  .header__action > span { display: none; }
  .header--unified .burger { width: 42px; height: 42px; flex: none; }
  .hero__eyebrow { font-size: .61rem; margin-bottom: 18px; letter-spacing: .11em; }
  .hero--unified h1 { font-size: clamp(2.1rem,8.6vw,2.95rem); margin-bottom: 20px; }
  .hero--unified .hero__intro { font-size: .96rem; line-height: 1.65; margin-bottom: 24px; }
  .hero--unified .hero__cta .btn { width: 100%; }
  .hero__trial { text-align: center; }
  .hero--unified .hero__art { width: calc(100% + 24px); margin: 0 -12px; }
}
@media(max-width:360px) {
  .header--unified .header__inner { grid-template-columns: minmax(0,1fr) 88px minmax(0,1fr); gap: 5px; }
  .header--unified .header__wing--left { gap: 4px; }
  .header--unified .burger, .header__action { width: 38px; min-height: 42px; }
}
