: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;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
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;
  padding: 0.75rem var(--space);
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: flex-end;
}
.header__right .nav,
.header__right .lang-switch {
  display: inline-flex;
  align-items: center;
  height: 1.7rem;
}
.header__right .nav a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  height: 1.7rem;
  padding: 0 0.35rem;
}
.header__right .nav a:hover {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}
.header__right .nav a[aria-current="page"] {
  color: var(--text);
  pointer-events: none;
}
.header__right .nav {
  gap: 0.65rem;
}
.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.9rem;
  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;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.lang-switch__link {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  height: 1.7rem;
  padding: 0 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;
}
.card--about {
  padding: 0.4rem 0 0.9rem;
}
.page--about {
  align-items: center;
  text-align: center;
}
#about-lead,
.about-lead {
  margin: 0 auto;
  color: #d4d4d8;
  font-size: 0.94rem;
  line-height: 1.6;
  max-width: 38rem;
  text-align: center;
  white-space: pre-line;
}
.about-tipjar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem auto 0;
  color: #d4d4d8;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
  max-width: 38rem;
}
.about-tipjar__lead {
  max-width: 32rem;
}
.about-tipjar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.7rem 1.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 226, 122, 0.6);
  background: linear-gradient(180deg, #ffe27a 0%, #f4c21d 56%, #d79c06 100%);
  color: #171100 !important;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 22px rgba(244, 194, 29, 0.22);
  transition: filter 0.14s ease, transform 0.14s ease;
}
.about-tipjar__button:hover {
  filter: brightness(1.06) saturate(1.04);
  transform: translateY(-1px);
  text-decoration: none;
}
.about-support {
  margin: 1.25rem auto 0;
  color: #d4d4d8;
  font-size: 0.94rem;
  line-height: 1.45;
  text-align: center;
  max-width: 38rem;
}
.about-support a {
  color: #f4c21d;
  text-underline-offset: 2px;
}
.card--about-page {
  padding: 1.1rem var(--space) 0.6rem;
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
  box-sizing: border-box;
}
.about-back {
  position: fixed;
  left: 0.9rem;
  top: 5.2rem;
  z-index: 60;
  color: #f4f4f5;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.1rem;
  border: none;
  background: transparent;
}
.about-back:hover {
  text-decoration: none;
  filter: brightness(1.06);
}
.about-brand {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 0.65rem;
}
.about-brand img {
  width: min(96vw, 30rem);
  height: auto;
  display: block;
}
.card--about-page .apple-title,
.card--about-page .apple-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.card--about-page .about-support,
.card--about-page .about-tipjar {
  margin-left: auto;
  margin-right: auto;
}
.page--legal {
  max-width: 58rem;
}
.card--legal {
  width: 100%;
  max-width: 54rem;
  margin-inline: auto;
  padding-top: 1.25rem;
}
.legal-eyebrow {
  margin: 0 0 0.5rem;
  color: #f4c21d;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card--legal .apple-title,
.card--legal .apple-lead {
  text-align: left;
}
.legal-content {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.35rem;
}
.legal-section {
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}
.legal-section h2 {
  margin: 0 0 0.55rem;
  color: #f4f4f5;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
}
.legal-list {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding-left: 1.1rem;
  color: #d4d4d8;
  font-size: 0.94rem;
  line-height: 1.55;
}
.legal-list a {
  color: #f4c21d;
  text-underline-offset: 2px;
}

.page {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem var(--space) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.page--narrow {
  max-width: 42rem;
}
.page--account {
  max-width: 58rem;
  gap: 1rem;
}

/* Картинка-заголовок: обрезаем вертикальный «воздух» в 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: none;
}
.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;
}
@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;
  }
}

/* Сразу под широким баннером: слева картинка, справа слоган — без рамки */
.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.45rem, 5.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.06;
  text-transform: uppercase;
  color: #f4c21d;
}
.hero-punchline--overlay {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, calc(-50% + 50pt));
  width: min(98%, 32em);
  max-width: 100%;
  box-sizing: border-box;
  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;
}
/* Во всю ширину колонки страницы (как баннер), без overflow — иначе scale визуально режется */
.hero-bottom {
  margin: 0.25rem calc(-1 * var(--space)) 1.1rem;
  width: calc(100% + 2 * var(--space));
  max-width: none;
  line-height: 0;
  display: block;
  position: relative;
  overflow: visible;
  /* Запас под оверлей + scale; без избыточной пустоты до product-hero */
  padding-bottom: clamp(1rem, 4.5vw, 2.75rem);
}

.hero-bottom__zoom {
  position: relative;
  width: 100%;
  transform: scale(1.08);
  transform-origin: top center;
}

.hero-bottom__img {
  display: block;
  width: 100%;
  height: auto;
  margin-left: 0;
  clip-path: inset(0 0 18% 0);
}
@media (max-width: 520px) {
  .hero-punchline--overlay {
    top: 58%;
    width: 96%;
    font-size: clamp(1.2rem, 5.5vw, 2rem);
  }
}

/* Hero: plugin UI screenshot */
.hero__preview {
  position: relative;
  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: visible;
  line-height: 0;
}
.hero__preview img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
}
.product-hero__price {
  --tag-lean: -12deg;
  --tag-nudge-x: 0.35rem;
  --tag-nudge-y: 0.3rem;
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: min(44vw, 14rem);
  max-width: 268px;
  pointer-events: none;
  transform: translate(
      calc(6% + var(--tag-nudge-x) - 10pt),
      calc(22% + var(--tag-nudge-y) - 20pt)
    )
    rotate(var(--tag-lean));
  transform-origin: center center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1), filter 0.25s ease;
}
.product-hero__price-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  vertical-align: bottom;
}
.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: #140f00 !important;
  background: linear-gradient(180deg, #ffe27a 0%, #f8c92e 52%, #eeaf07 100%);
  border: 1px solid rgba(255, 233, 157, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 14px 28px rgba(0, 0, 0, 0.38), 0 0 22px rgba(255, 195, 55, 0.28);
}
.btn-get:hover {
  filter: brightness(1.08) saturate(1.06);
  text-decoration: none;
}
.btn-get[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
}
.order-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin: 0.35rem 0 1rem;
  font-size: 1.15rem;
  color: #f4f4f5;
}
.order-price__label {
  color: #d4d4d8;
  font-weight: 600;
}
.order-price__old {
  color: #9d9da6;
  font-size: 1rem;
  text-decoration-thickness: 0.12em;
  text-decoration-color: rgba(252, 165, 165, 0.9);
}
.order-price__current {
  color: #f4c21d;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.order-form {
  display: grid;
  gap: 0.7rem;
  max-width: 32rem;
}
.order-label {
  font-size: 0.82rem;
  color: #c8c8ce;
}
.order-input {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f5f6;
  padding: 0.72rem 0.8rem;
  font: inherit;
}
.order-input::placeholder {
  color: #8b8b95;
}
.order-status {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: #c8c8ce;
}
.order-status[data-tone="error"] {
  color: #fca5a5;
}
.order-status[data-tone="success"] {
  color: #86efac;
}
.order-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: stretch;
}
.order-pay-choice {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "eyebrow price"
    "title price"
    "methods methods";
  gap: 0.15rem 0.7rem;
  align-items: center;
  min-height: 5.75rem;
  padding: 0.82rem 0.92rem;
  border-radius: 0.85rem;
  text-align: left;
  text-decoration: none;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: filter 0.12s, transform 0.12s, border-color 0.12s, background 0.12s;
}
.order-pay-choice:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.order-pay-choice--primary {
  background: linear-gradient(180deg, #ffe27a 0%, #f4c21d 56%, #d79c06 100%);
  color: #171100;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 26px rgba(0, 0, 0, 0.28);
}
.order-pay-choice--secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #050505;
  color: #f4f4f5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.24);
}
.order-pay-choice--secondary:hover {
  border-color: rgba(244, 194, 29, 0.42);
  background: #0c0c0d;
}
.order-pay-choice__eyebrow {
  grid-area: eyebrow;
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}
.order-pay-choice__title {
  grid-area: title;
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.12;
  font-weight: 900;
}
.order-pay-choice__price {
  grid-area: price;
  justify-self: end;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}
.order-pay-choice__methods {
  grid-area: methods;
  min-width: 0;
  margin-top: 0.25rem;
  padding-top: 0.44rem;
  border-top: 1px solid currentColor;
  color: inherit;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
  opacity: 0.7;
  white-space: normal;
}
.order-pay-choice:disabled {
  cursor: wait;
  filter: saturate(0.7);
  opacity: 0.74;
}
.order-pay-choice.is-muted {
  pointer-events: none;
  cursor: not-allowed;
  filter: saturate(0.65);
  opacity: 0.55;
}
.order-back {
  justify-self: start;
}
.order-note {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: #9d9da6;
}
@media (max-width: 620px) {
  .order-actions {
    grid-template-columns: 1fr;
  }
}
.success-action {
  min-width: 14.5rem;
  justify-content: center;
}
.success-downloads {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.35rem 0 0.85rem;
}
.account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0 0.4rem;
}
.account-head .apple-lead {
  margin-bottom: 0.55rem;
}
.account-products {
  display: grid;
  gap: 0.85rem;
}
.account-product {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(19rem, 1.15fr);
  gap: 1rem 1.35rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line-soft);
}
.account-product__eyebrow {
  margin: 0 0 0.15rem;
  color: #a1a1aa;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.account-product__title {
  margin: 0;
  color: #f4f4f5;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 700;
}
.account-product__downloads {
  display: grid;
  gap: 0.62rem;
  width: 100%;
}
.account-product__download-note {
  margin: 0;
  color: #d4d4d8;
  font-size: 0.86rem;
  line-height: 1.45;
}
.account-product__download-list {
  display: grid;
  gap: 0.5rem;
}
.account-product__manual {
  margin: 0.35rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  line-height: 1.5;
  color: #d4d4d8;
}
.account-product__manual-label {
  margin-right: 0.35rem;
  color: #a1a1aa;
}
.account-product__manual-sep {
  margin: 0 0.28rem;
  color: #71717a;
}
.account-manual-link {
  color: #fbbf24;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.account-manual-link:hover {
  color: #fcd34d;
  text-decoration: underline;
}
.account-download {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}
.account-download__system {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  min-width: 0;
  flex-wrap: wrap;
}
.account-download__icon {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  filter: invert(0.92) brightness(1.1) contrast(1.05);
  flex: 0 0 auto;
}
.account-download__name {
  color: #f4f4f5;
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 700;
}
.account-download__format {
  color: #a1a1aa;
  font-size: 0.78rem;
  line-height: 1.25;
}
.account-download__langs {
  display: flex;
  gap: 0.42rem;
}
.account-download__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.2rem;
  min-height: 2.25rem;
  padding: 0.52rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #050505;
  color: #fafafa;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}
.account-download__button:hover {
  background: #111;
  border-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.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);
}

/* Сатуратор: слева заголовок + лид, справа «Возможности» */
.card--desc-features {
  margin-top: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.5rem;
}
.desc-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  text-align: left;
}
@media (min-width: 720px) {
  .desc-features-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3.5vw, 2.5rem);
  }
}
.desc-features-grid__left .apple-title {
  margin: 0 0 0.55rem;
  text-align: left;
}
.desc-features-grid__left .apple-lead {
  margin: 0;
  max-width: 44rem;
  text-align: left;
}
.desc-features-grid__right .h2 {
  margin: 0 0 0.65rem;
  text-align: left;
}

.card--demo {
  margin-top: 1rem;
  padding-top: 1.15rem;
  padding-bottom: 1.25rem;
}
.demo-copy {
  margin-bottom: 0.85rem;
}
.demo-copy .h2 {
  margin: 0;
  text-align: left;
}
.demo-eyebrow {
  margin: 0 0 0.22rem;
  color: #f4c21d;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.demo-player {
  display: grid;
  grid-template-columns: 6.7rem auto minmax(14rem, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  min-height: 4.35rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.22);
}
.demo-track {
  position: relative;
  min-width: 0;
  z-index: 8;
}
.demo-track__button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 2.35rem;
  padding: 0.34rem 0.42rem 0.34rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.42);
  color: #f4f4f5;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}
.demo-track__button:hover,
.demo-track__button:focus-visible,
.demo-track[data-open="true"] .demo-track__button {
  border-color: rgba(244, 194, 29, 0.38);
  background: rgba(10, 10, 10, 0.78);
}
.demo-track__button:focus-visible {
  outline: 2px solid rgba(244, 194, 29, 0.72);
  outline-offset: 2px;
}
.demo-track__current {
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-track__chevron {
  display: grid;
  place-items: center;
  width: 1rem;
  color: #f4c21d;
  font-size: 0.78rem;
  line-height: 1;
  transition: transform 160ms ease;
}
.demo-track[data-open="true"] .demo-track__chevron {
  transform: rotate(180deg);
}
.demo-track__menu {
  position: absolute;
  top: calc(100% + 0.42rem);
  left: 0;
  z-index: 30;
  width: 8.75rem;
  min-width: 100%;
  padding: 0.32rem;
  border: 1px solid rgba(244, 194, 29, 0.22);
  border-radius: 1rem;
  background: #050505;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 34px rgba(0, 0, 0, 0.34);
}
.demo-track__menu[hidden] {
  display: none;
}
.demo-track__option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.15rem;
  padding: 0.42rem 0.66rem;
  border: 0;
  border-radius: 0.74rem;
  background: transparent;
  color: #d4d4d8;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  white-space: nowrap;
}
.demo-track__option:hover,
.demo-track__option:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.demo-track__option[aria-selected="true"] {
  background: linear-gradient(180deg, #ffe27a 0%, #f4c21d 58%, #d79c06 100%);
  color: #171100;
}
.demo-play,
.demo-toggle {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.demo-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe27a 0%, #f4c21d 56%, #d79c06 100%);
  color: #171100;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 22px rgba(0, 0, 0, 0.28);
}
.demo-play__icon {
  display: block;
  transform: translateX(0.05rem);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}
.demo-timeline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.62rem;
  align-items: center;
  min-width: 0;
  padding-right: 0.15rem;
}
.demo-progress {
  width: 100%;
  accent-color: #f4c21d;
  cursor: pointer;
}
.demo-time {
  color: #a1a1aa;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
}
.demo-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 8.4rem;
  min-height: 3rem;
  padding: 0.65rem 0.95rem;
  border-radius: 9999px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.demo-toggle__dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: #71717a;
  box-shadow: 0 0 0 3px rgba(113, 113, 122, 0.16);
}
.demo-toggle[aria-pressed="true"] {
  color: #171100;
  background: linear-gradient(180deg, #ffe27a 0%, #f4c21d 58%, #d79c06 100%);
  border-color: rgba(255, 226, 122, 0.58);
}
.demo-toggle[aria-pressed="true"] .demo-toggle__dot {
  background: #171100;
  box-shadow: 0 0 0 3px rgba(23, 17, 0, 0.16);
}
.demo-status {
  margin: 0.6rem 0 0;
  color: #a1a1aa;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}
.demo-status[data-tone="wet"] {
  color: #f4c21d;
}
.demo-status[data-tone="error"] {
  color: #fca5a5;
}
@media (max-width: 820px) {
  .demo-player {
    grid-template-columns: 1fr auto;
    border-radius: 18px;
    padding: 0.65rem;
  }
  .demo-track,
  .demo-timeline {
    grid-column: 1 / -1;
  }
  .demo-track__menu {
    width: 100%;
  }
  .demo-play {
    order: 3;
  }
  .demo-toggle {
    order: 4;
  }
  .demo-timeline {
    order: 2;
  }
}

.card--faq {
  margin-top: 1rem;
  padding-top: 1.15rem;
  padding-bottom: 1.25rem;
}
.card--faq .h2 {
  margin: 0 0 0.75rem;
  text-align: left;
}
.faq-list {
  display: grid;
  gap: 0;
  margin: 0;
}
.faq-item {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line-soft);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}
.faq-item__question {
  color: #f4f4f5;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}
.faq-item__answer {
  margin: 0;
  color: #d4d4d8;
  font-size: 0.92rem;
  line-height: 1.5;
}
@media (max-width: 719px) {
  .faq-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

/* 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: visible;
  margin-top: 0.9rem;
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0.15rem 0 0.35rem;
}
@media (min-width: 640px) {
  .card--dl {
    padding: 0.2rem 0 0.45rem;
  }
}

/* Platform rows */
.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  padding: 0.35rem 0.25rem;
  text-align: center;
}
/* Как в online/src/app/[locale]/soft/page.tsx: 52px контейнер, оригинальные PNG */
.platform__icon {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.1rem;
}
.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: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
  margin: 0;
}
.platform__meta {
  margin: 0.12rem 0 0;
  font-size: 11px;
  color: #b8b8c0;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

/* Footer */
.footer {
  margin-top: auto;
  text-align: center;
  padding: 2rem var(--space) 2.5rem;
  color: #a1a1aa;
  font-size: 0.88rem;
  border-top: none;
  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-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.85rem;
  max-width: 58rem;
  margin: 0.7rem auto 0.45rem;
}
.footer-legal a {
  color: #d4d4d8;
  font-size: 0.78rem;
  line-height: 1.3;
}
.footer__fine {
  font-size: 0.78rem;
  color: #71717a;
  margin-top: 0.6rem !important;
}

/* Mobile stabilization: remove desktop overlaps/overflow */
@media (max-width: 899px) {
  .header {
    padding: 0.62rem var(--space);
  }
  .header__bar {
    gap: 0.6rem;
  }
  .header__logo {
    gap: 0.45rem;
    min-width: 0;
  }
  .header__logo img {
    height: 1.18rem;
  }
  .header__product {
    font-size: 0.66rem;
    max-width: 6.5rem;
    padding-left: 0.45rem;
  }
  .header__right {
    gap: 0.45rem;
    flex-shrink: 0;
  }
  .header__right .nav {
    gap: 0.45rem;
  }
  .header__right .nav a,
  .lang-switch__link {
    height: 1.45rem;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .product-hero__row {
    width: 100%;
    margin: 0;
    gap: 0.75rem;
    align-items: stretch;
    justify-content: flex-start;
  }
  .product-hero__shot--plain {
    margin-right: 0;
    margin-bottom: 0;
    z-index: auto;
  }
  .product-hero__plain-img {
    clip-path: inset(0 0 18pt 0);
  }

  .hero-bottom {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: clamp(0.875rem, 4vw, 2.25rem);
  }
  .hero-bottom__zoom {
    transform: scale(1);
    transform-origin: top center;
  }
  .hero-bottom__img {
    width: 100%;
    margin-left: 0;
    clip-path: inset(0 0 16% 0);
  }
  .hero-punchline--overlay {
    width: 96%;
    top: 60%;
    transform: translate(-50%, calc(-50% + 38pt));
  }
  .hero-punchline__line--nowrap {
    white-space: normal;
  }

  .platform-list {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .account-head,
  .account-product {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .account-head {
    display: flex;
  }
  .account-download {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .account-download__langs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .account-download__button {
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-tagline__img {
    animation: none;
  }
}

[hidden] {
  display: none !important;
}
