:root {
  --bg: #09090b;
  --bg-2: #121214;
  --text: #fafaf9;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.12);
  --brand: #344dc6;
  --space: clamp(1rem, 4vw, 2rem);
  --radius: 1rem;
  --radius-lg: 1.75rem;
  --font: "DM Sans", system-ui, sans-serif;
  --apple-title: clamp(1.65rem, 1rem + 2.2vw, 2.35rem);
  --apple-lead: clamp(1.05rem, 0.95rem + 0.35vw, 1.2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
a {
  color: #7dd3fc;
}
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: var(--bg);
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--space);
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.header__logo:hover {
  text-decoration: none;
  opacity: 0.92;
}
.header__logo img {
  height: 1.45rem;
  width: auto;
  display: block;
}
.header__product {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 0.65rem;
  line-height: 1.2;
  max-width: 10rem;
}
.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.88rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--text);
}
.header__right {
  display: flex;
  align-items: center;
  gap: 1rem 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-switch__link {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0.15rem;
}
.lang-switch__link:hover {
  color: var(--text);
}
.lang-switch__link[aria-current="true"] {
  color: var(--text);
  pointer-events: none;
}
.lang-switch__sep {
  color: #52525b;
  user-select: none;
}
.lang-switch--home {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.page {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem var(--space) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Картинка-заголовок: обрезаем вертикальный «воздух» в PNG (cover + фикс. высота) */
.page__heading-hero {
  width: calc(100% + 2 * var(--space));
  max-width: none;
  margin: calc(-1 * 1.5rem) calc(-1 * var(--space)) 0.35rem;
  line-height: 0;
  height: clamp(7.5rem, 24vw, 13.5rem);
  overflow: hidden;
}
.page__heading-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: top;
  object-fit: cover;
  object-position: center 42%;
}

/* Breadcrumbs (как uaudio.com / product) */
.breadcrumbs {
  width: 100%;
  margin: 0;
  padding: 0.6rem 0 1rem;
}
.breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #71717a;
}
.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.breadcrumbs__item:not(:last-child)::after {
  content: "";
  display: block;
  width: 0.2rem;
  height: 0.2rem;
  border-top: 1px solid #52525b;
  border-right: 1px solid #52525b;
  transform: rotate(45deg);
  margin-left: 0.15rem;
  flex-shrink: 0;
  opacity: 0.7;
}
.breadcrumbs__link {
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.12s;
}
.breadcrumbs__link:hover {
  color: #e4e4e7;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumbs__item--current {
  color: #d4d4d8;
  font-weight: 600;
  max-width: 100%;
}
.breadcrumbs__current {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(100vw - 2.5rem, 28rem);
}

/* Type */
.apple-title {
  font-size: var(--apple-title);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 0.45rem;
}
.apple-lead {
  font-size: var(--apple-lead);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #d4d4d8;
  margin: 0 0 1.25rem;
  max-width: 38ch;
}
.h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f4f4f5;
  margin: 0 0 0.9rem;
}
.h2--lg {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}
.copy-muted p {
  color: #d4d4d8;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 0.9rem;
}

/* Секции без «коробок»: один поток, только лёгкие линии между крупными блоками */
.card {
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 1.35rem 0;
}
.card--intro {
  padding: 1.25rem 0 1.65rem;
  border-bottom: 1px solid var(--line-soft);
}
.card--intro.product-hero {
  padding: 1.15rem 0 1.65rem;
}
.card__row {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
/* Слева скрин, справа текст — как uaudio.com /product pages */
.product-hero__row {
  gap: 0.8rem;
  width: calc(100% + 10 * var(--space));
  margin: 0 calc(-5 * var(--space));
  align-items: flex-end;
  justify-content: center;
}
.product-hero__copy--below {
  margin-top: 1rem;
  max-width: none;
}
@media (min-width: 900px) {
  .card__row,
  .product-hero__row {
    flex-direction: row;
    align-items: flex-end;
    gap: 0.12rem;
    min-width: 0;
  }
  .product-hero__shot {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
  .product-hero__copy {
    flex: 1 1 50%;
    min-width: 0;
    max-width: 32rem;
  }
  .product-hero__copy .apple-title {
    margin-bottom: 0.5rem;
  }
  .product-hero__copy .apple-lead {
    max-width: none;
  }
  .product-hero__copy--below {
    margin-top: 1.15rem;
  }
}

/* Сразу под широким баннером: слева картинка, справа слоган — без рамки */
.hero-tagline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem clamp(1.5rem, 5vw, 3.25rem);
  min-width: 0;
}
@media (min-width: 521px) {
  .hero-tagline {
    justify-content: space-between;
  }
}
.hero-tagline--top {
  margin: 0.4rem 0 0.55rem;
}
.hero-tagline--mid {
  margin: 0 0 0.85rem;
}
/* «Гиф»-наезд на лица: маска + медленный zoom туда-обратно */
.hero-tagline__media {
  flex: 0 1 auto;
  max-width: min(78%, 38rem);
  overflow: hidden;
  line-height: 0;
}
.hero-tagline__img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  transform-origin: 50% 30%;
  animation: hero-tagline-face-dolly 4.8s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-tagline--mid .hero-tagline__img {
  animation-delay: -2.4s;
  transform-origin: 50% 28%;
}
#i18n-hero-tagline-img {
  animation: none;
  transform: none;
}
@keyframes hero-tagline-face-dolly {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.14);
  }
}
.hero-tagline__text {
  flex: 1 1 auto;
  margin: 0;
  font-size: clamp(1.25rem, 3.1vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.1;
  color: #f4f4f5;
  text-transform: uppercase;
}
.hero-tagline__text--right {
  text-align: right;
}
#hero-tagline-text {
  margin-top: 20pt;
}
@media (max-width: 520px) {
  .hero-tagline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    justify-content: flex-start;
  }
  .hero-tagline__media {
    max-width: min(100%, 22rem);
  }
  .hero-tagline__text {
    font-size: clamp(1.15rem, 4.2vw, 1.65rem);
  }
}
.hero-punchline {
  margin: 0.15rem 0 1rem;
  text-align: center;
  font-size: clamp(1.15rem, 3.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.08;
  text-transform: uppercase;
  color: #f4c21d;
}
.hero-punchline--overlay {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, calc(-50% + 30pt));
  width: min(92%, 34rem);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.92), 0 8px 22px rgba(0, 0, 0, 0.72);
}
.hero-punchline__line {
  display: block;
}
.hero-punchline__line--nowrap {
  white-space: nowrap;
}
.hero-punchline__line--spaced {
  margin-top: 0.7rem;
}
.hero-punchline__line--strong {
  margin-top: 0.1rem;
}
.hero-bottom {
  margin: 0.25rem auto 1.1rem;
  width: min(100%, 38rem);
  line-height: 0;
  display: block;
  position: relative;
}
.hero-bottom__img {
  display: block;
  width: 120%; /* +20% */
  height: auto;
  margin-left: -10%;
  clip-path: inset(0 0 25% 0); /* срезаем только низ на четверть */
}
@media (max-width: 520px) {
  .hero-punchline--overlay {
    top: 58%;
    width: 94%;
    font-size: clamp(1rem, 4.6vw, 1.45rem);
  }
}

/* Hero: plugin UI screenshot */
.hero__preview {
  margin: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0c0c0d;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  line-height: 0;
}
.hero__preview img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.product-hero__shot--plain {
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  line-height: 0;
  margin-right: -340pt;
  margin-bottom: -40pt;
  position: relative;
  z-index: 2;
}
.product-hero__plain-img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: inset(0 0 40pt 0);
}

.get-cta {
  display: flex;
  justify-content: center;
  margin: 0.8rem 0 1.6rem;
}
.btn-get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(92vw, 30rem);
  padding: 0.9rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f4f5 !important;
  background: linear-gradient(180deg, #232326 0%, #17171a 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.btn-get:hover {
  filter: brightness(1.05);
  text-decoration: none;
}
.btn-get[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--line-soft);
}
.grid-2 .card {
  padding: 0;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    row-gap: 0;
    align-items: start;
  }
}
@media (max-width: 767px) {
  .grid-2 .card:first-child {
    padding-bottom: 1.5rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--line-soft);
  }
}

.feature-list {
  margin: 0;
  padding: 0 0 0 0.1rem;
  list-style: none;
  color: #d4d4d8;
  font-size: 0.9rem;
  line-height: 1.5;
}
.feature-list li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.45rem;
}
.feature-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* Buttons */
.btn-light-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  color: #09090b !important;
  border-radius: 9999px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 20px rgba(0, 0, 0, 0.25);
  margin-top: 0.35rem;
  transition: filter 0.12s;
}
.btn-light-solid:hover {
  filter: brightness(0.96);
  text-decoration: none;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 9999px;
  text-decoration: none;
  margin-top: 0.5rem;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}
.btn-ghost--sm {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  margin-top: 0.75rem;
}

/* Checkout mini */
.stall-mini {
  margin-top: 1.25rem;
  padding: 0.95rem 0.95rem 1rem;
  border-radius: 0.65rem;
  background: #141417;
  border: 1px solid var(--line);
  text-align: center;
}
.stall-mini__awning {
  height: 1px;
  margin: -0.15rem 0 0.75rem;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}
.stall-mini__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.stall-mini__lead {
  font-size: 0.82rem;
  color: #a1a1aa;
  margin: 0 0 0.6rem;
  line-height: 1.4;
}
.stall-mini__lead.stall-mini__price-line {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e4e4e7;
  margin: 0 0 0.5rem;
}
.stall-mini__lead:empty,
.stall-mini__lead[hidden] {
  display: none;
  margin: 0;
}
.pay-bts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}
.btn-pay {
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: rgba(201, 162, 39, 0.12);
  color: #f0e4c4;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s;
}
.btn-pay:hover:not(:disabled) {
  background: rgba(201, 162, 39, 0.22);
  text-decoration: none;
}
.btn-pay:disabled,
.btn-pay.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.config-hint {
  font-size: 0.8rem;
  color: #71717a;
  margin-top: 0.75rem;
  line-height: 1.4;
}
.config-hint code {
  font-size: 0.8em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

/* Downloads block */
.card--dl {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 38%, rgba(0, 0, 0, 0.18) 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem 1.25rem;
}
@media (min-width: 640px) {
  .card--dl {
    padding: 1.6rem 1.5rem 1.4rem;
  }
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}
.glow-orb--1 {
  top: -6rem;
  left: -4rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32), transparent 60%);
  opacity: 0.6;
}
.glow-orb--2 {
  bottom: -5rem;
  right: -3rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28), transparent 60%);
  opacity: 0.5;
}
.grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000, transparent 78%);
  pointer-events: none;
}
.dl-header {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
  margin-bottom: 0.25rem;
  z-index: 1;
}
@media (min-width: 700px) {
  .dl-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.dl-lead {
  max-width: 32rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #a1a1aa;
  margin: 0.4rem 0 0;
}
.dl-meta {
  text-align: left;
}
@media (min-width: 700px) {
  .dl-meta {
    text-align: right;
  }
}
.mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 11px;
  line-height: 1.45;
  color: #71717a;
  margin: 0;
}
.mono--accent {
  color: #a5f3fc;
  margin-top: 0.2rem;
}

.waveform-wrap {
  position: relative;
  z-index: 1;
  height: 3.5rem;
  margin: 0.25rem 0 0.4rem;
}
.waveform-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 14px 100%;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.waveform {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

/* Platform rows */
.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.25rem 0 1.25rem 0.9rem;
  border-top: 1px solid var(--line);
}
.platform:first-child {
  border-top: none;
  padding-top: 1.1rem;
}
@media (min-width: 600px) {
  .platform {
    flex-direction: row;
    align-items: center;
    padding-left: 1rem;
  }
}
.platform__line {
  position: absolute;
  left: 0;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 1px;
  background: linear-gradient(180deg, #67e8f9, #e879f9, #fbbf24);
  opacity: 0.9;
  border-radius: 1px;
}
.platform__line--dim {
  background: var(--line);
  opacity: 1;
}
/* Как в online/src/app/[locale]/soft/page.tsx: 52px контейнер, оригинальные PNG */
.platform__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.2rem;
}
.platform__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(0.92) brightness(1.1) contrast(1.05);
}
.platform__icon--linux {
  padding: 0.1rem 0.2rem 0.15rem;
}
.platform__icon--linux img {
  transform: scale(1.1);
  transform-origin: center center;
}
.platform__text {
  min-width: 0;
  flex: 1;
}
.platform__name {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fafafa;
  margin: 0;
}
@media (min-width: 600px) {
  .platform__name {
    font-size: 1.1rem;
  }
}
.platform__meta {
  margin: 0.2rem 0 0;
  font-size: 12px;
}
.platform__btn {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0.5rem 1.2rem;
}
@media (min-width: 600px) {
  .platform__btn {
    width: auto;
    min-width: 8rem;
  }
}
.badge-soon {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 0.8rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #71717a;
  margin: 0;
}
@media (min-width: 600px) {
  .badge-soon {
    width: auto;
  }
}
.dl-footer-note {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  color: #71717a;
  text-align: center;
  margin: 1.25rem 0 0;
}
.dl-footer-note code {
  font-size: 0.8em;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem var(--space) 2.5rem;
  color: #a1a1aa;
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}
.footer p {
  margin: 0.35rem 0;
}
.footer a {
  color: #e4e4e7;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer a:hover {
  color: #fff;
}
.footer__fine {
  font-size: 0.78rem;
  color: #71717a;
  margin-top: 0.6rem !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-tagline__img {
    animation: none;
  }
}
[hidden] {
  display: none !important;
}
