/* Шрифты оригинала (Söhne, Söhne Breit, Tiempos Headline) — коммерческие и без кириллицы.
   Замены: Inter ← Söhne, Unbounded ← Söhne Breit, Source Serif 4 ← Tiempos Headline. */
:root {
  --sans: "Inter", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --wide: "Unbounded", "Inter", sans-serif;
  --grey: #f0f0f0;
  --line: #d8d8d8;
  --beige: #dfdcd0;
  --gap: 10px;
  --side: max(20px, calc((100% - 1135px) / 2));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 300; color: #000; background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { padding-inline: var(--side); }

/* Типографика */
.display { font-family: var(--wide); font-weight: 500; text-transform: uppercase; font-size: clamp(30px, 8.6vw, 112px); line-height: .9; letter-spacing: -.01em; }
.serif { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.9vw, 56px); line-height: 1; letter-spacing: -.01em; }
.lead { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.5vw, 36px); line-height: 1; }
.body { font-size: 20px; line-height: 24px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; width: 300px; max-width: 100%; height: 40px; padding: 11px 20px; border-radius: 30px; background: #000; color: #fff; font-size: 16px; line-height: 16px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .2s; }
.btn:hover { background: #fff; color: #000; border-color: #000; }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.tag { font-style: normal; font-size: 12px; font-weight: 400; line-height: 1; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; white-space: nowrap; }
.pill { font-size: 12px; font-weight: 500; padding: 8px 12px; border-radius: 30px; background: var(--grey); white-space: nowrap; }
.pill--dark { background: #222; color: #fff; }

/* Шапка */
.hdr { position: fixed; z-index: 50; top: 10px; left: 10px; right: 10px; transition: transform .35s ease; }
.hdr.is-hidden { transform: translateY(calc(-100% - 20px)); }
.hdr__bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; height: 60px; padding-inline: max(20px, calc(var(--side) - 10px)); background: #fff; border-radius: 10px; }
.hdr__logo { margin-right: auto; }
.hdr__logo img { width: 186px; height: auto; }
.hdr__nav { display: flex; gap: 6px; margin-right: 16px; }
.hdr__link { font-size: 16px; font-weight: 300; padding: 8px 10px; transition: color .2s; }
.hdr__nav:has(.hdr__link[aria-expanded="true"]) .hdr__link:not([aria-expanded="true"]) { color: #aaa; }
.hdr__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grey); }
.hdr__burger { display: none; width: 24px; height: 24px; flex-direction: column; justify-content: center; gap: 4px; }
.hdr__burger span { display: block; height: 1.5px; background: #000; transition: transform .25s, opacity .25s; }

.mega { position: absolute; z-index: 1; top: 66px; left: 0; right: 0; max-height: calc(100vh - 86px); overflow: auto; background: #fff; border-radius: 10px; padding: 40px max(30px, calc(var(--side) - 10px)); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; display: grid; grid-template-columns: 5fr 7fr; column-gap: 30px; }
.hdr.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__panel { display: none; grid-column: 1 / -1; grid-row: 1; grid-template-columns: subgrid; }
.mega__panel.is-on { display: grid; }
.mega__list { display: flex; flex-direction: column; align-items: flex-start; }
.mega__list a { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.05; display: flex; align-items: center; gap: 12px; transition: opacity .2s; }
.mega__list:hover a { opacity: .45; }
.mega__list a:hover { opacity: 1; }
.mega__promos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.mega__promos a { font-size: 14px; line-height: 1.3; }
.mega__promos img { aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.mega__promos b { display: block; font-weight: 500; margin-bottom: 8px; }
.mega__promos span { display: block; max-width: 22em; }
.mega__support { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; margin-top: 30px; font-size: 18px; line-height: 1.35; font-weight: 400; }
.mega__support a:hover { text-decoration: underline; }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.scrim.is-on { opacity: 1; visibility: visible; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 640px; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45) 100%); }
.hero__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 260px; padding-bottom: 60px; }
.hero .lead { max-width: 640px; margin-bottom: 30px; }
.hero--evo { margin-bottom: 150px; }
.hero--evo .hero__inner { padding-top: 100px; }
.hero--evo::after { background: none; }

/* Продукты */
.products { margin: 150px 0; }
.products__title { max-width: 753px; margin-bottom: 30px; }
.products .btn { margin-bottom: 70px; }
.track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; margin-right: calc(-1 * var(--side)); padding-right: var(--side); }
.track::-webkit-scrollbar { display: none; }
.track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.track.is-drag * { pointer-events: none; }
.card { flex: 0 0 min(467px, 85vw); aspect-ratio: 1; background: var(--grey); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; scroll-snap-align: start; user-select: none; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card__name { font-family: var(--serif); font-size: 32px; line-height: 1; margin-bottom: 8px; }
.card__sub { font-size: 12px; line-height: 16px; max-width: 200px; }
.card__img { flex: 1; min-height: 0; width: 100%; object-fit: contain; -webkit-user-drag: none; }
.card__bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 26px; }
.price { font-size: 14px; }
.price small { color: #777; font-size: 12px; }
.swatches { display: flex; gap: 4px; }
.swatches button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid transparent; display: grid; place-items: center; }
.swatches button::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatches button[aria-pressed="true"] { border-color: #000; }
.progress { position: relative; height: 1px; background: var(--line); margin-top: 40px; }
.progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 30%; background: #000; transition: left .1s; }

/* Фичи */
.feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; margin-bottom: 150px; }
.feature__img { grid-column: 1 / 9; aspect-ratio: 16/9; width: 100%; object-fit: cover; border-radius: 10px; }
.feature__text { grid-column: 10 / 13; }
.feature--rev .feature__img { grid-column: 5 / 13; grid-row: 1; }
.feature--rev .feature__text { grid-column: 1 / 4; grid-row: 1; }
.feature__text .body { margin: 30px 0; }

/* О компании */
.about { background: var(--beige); padding: 100px 0; }
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.about__big { grid-column: 1 / 8; width: 100%; aspect-ratio: 7/8; object-fit: cover; border-radius: 10px; filter: grayscale(1); }
.about__side { grid-column: 9 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.about__small { aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; width: 100%; filter: grayscale(1); }
.about .body { margin: 30px 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-bottom: 250px; }
.pillars__title { grid-column: 1 / 4; grid-row: 1 / 3; }
.pillar { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--gap); margin-bottom: 10px; }
.pillar:first-of-type { grid-row: 1; }
.pillar img { grid-column: 1 / 5; aspect-ratio: 3/2; width: 100%; object-fit: cover; border-radius: 10px; }
.pillar > div { grid-column: 6 / 9; }
.pillar h3 { font-size: 24px; line-height: 24px; font-weight: 500; margin-bottom: 30px; }

/* StreamMagic */
.sm { position: relative; background: #000; color: #fff; min-height: 1280px; margin-bottom: 150px; overflow: hidden; }
.sm__img { position: absolute; top: 0; right: 0; width: 50%; height: 100%; object-fit: cover; }
.sm__inner { position: relative; display: flex; flex-direction: column; min-height: 1280px; padding-top: 100px; padding-bottom: 100px; }
.sm__logo { width: 100px; height: 100px; }
.sm__title { margin-top: auto; margin-bottom: 80px; }
.sm__cta { max-width: 470px; margin-bottom: auto; }
.sm__cta .lead { margin-bottom: 30px; }

/* Цитаты */
.quotes { background: #000; color: #fff; padding: 150px 0; overflow: hidden; }
.quotes__ctl { display: flex; align-items: center; gap: 20px; font-size: 12px; margin-bottom: 50px; }
.arrows { display: inline-flex; border: 1px solid #fff; border-radius: 30px; padding: 4px 8px; gap: 6px; }
.arrows button { display: grid; place-items: center; width: 22px; height: 22px; }
.arrows svg { width: 14px; height: 14px; }
.quotes__stage { display: grid; }
.quote { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; opacity: 0; transform: translateX(40px); transition: opacity .5s, transform .5s; pointer-events: none; }
.quote.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quote h2 { grid-column: 1 / 8; color: #b9b9b9; }
.quote img { grid-column: 11 / 13; max-width: 172px; justify-self: end; }
.progress--dark { background: #444; margin-top: 70px; }
.progress--dark span { background: #fff; width: 50%; transition: left .5s; }

/* UGC */
.ugc { margin: 150px 0; }
.ugc__box { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); background: var(--grey); border-radius: 10px; padding: 30px 35px; }
.ugc__text { grid-column: 1 / 4; font-size: 16px; line-height: 1.35; }
.ugc__text h3 { font-size: 24px; font-weight: 500; margin-bottom: 30px; }
.ugc__grid { grid-column: 5 / 13; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; }
.ugc__grid img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.ugc__main { grid-row: 1 / 3; }

/* Истории */
.stories { margin-bottom: 150px; }
.stories > h2 { margin-bottom: 70px; }
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.story { background: var(--grey); border-radius: 10px; overflow: hidden; }
.story img { aspect-ratio: 3/2; width: 100%; object-fit: cover; transition: transform .5s; }
.story:hover img { transform: scale(1.03); }
.story > div { padding: 30px; }
.story h3 { font-size: 24px; line-height: 1.15; font-weight: 500; margin-bottom: 20px; }
.kicker { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }

/* Подвал */
.ftr { background: #000; color: #fff; padding: 80px 0 40px; }
.ftr__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.ftr__news { grid-column: 1 / 6; font-size: 16px; }
.field { display: flex; margin: 24px 0; border-bottom: 1px solid #777; }
.field input { flex: 1; background: none; border: 0; color: #fff; font: inherit; padding: 12px 0; outline: none; }
.field input::placeholder { color: #999; }
.field button { width: 40px; }
.check { display: flex; gap: 10px; font-size: 12px; line-height: 1.4; color: #ccc; max-width: 420px; }
.check input { accent-color: #fff; margin: 2px 0 0; }
.ftr__msg { margin-top: 16px; font-size: 14px; }
.ftr__nav { grid-column: 7 / 13; }
.ftr__nav details { border-bottom: 1px solid #333; }
.ftr__nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 16px; cursor: pointer; }
.ftr__nav summary::-webkit-details-marker { display: none; }
.ftr__nav summary svg { width: 14px; height: 14px; transition: transform .25s; }
.ftr__nav details[open] summary svg { transform: rotate(45deg); }
.ftr__nav details a { display: block; font-size: 14px; color: #bbb; padding: 4px 0; }
.ftr__nav details a:last-child { padding-bottom: 16px; }
.ftr__nav a:hover { color: #fff; }
.ftr__social { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 12px; margin-top: 60px; }
.ftr__social .pill { margin-left: auto; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12px; color: #bbb; margin-top: 50px; }

/* Планшет и телефон */
@media (max-width: 991px) {
  .hdr__nav, .hdr > .hdr__bar > .pill { display: none; }
  .hdr__burger { display: flex; }
  .hdr__logo { margin: 0 auto; }
  .hdr__logo img { width: 140px; }
  .hdr__bar { padding-inline: 16px; }
  .hdr.is-open .hdr__burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .hdr.is-open .hdr__burger span:nth-child(2) { opacity: 0; }
  .hdr.is-open .hdr__burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .mega { display: block; padding: 24px 20px; height: calc(100vh - 86px); }
  .mega__panel { display: block !important; margin-bottom: 8px; }
  .mega__panel::before { content: attr(data-title); display: block; font-family: var(--serif); font-size: 32px; padding: 6px 0; cursor: pointer; }
  .mega__panel .mega__list, .mega__panel .mega__promos { display: none; }
  .mega__panel.is-on .mega__list { display: flex; padding: 6px 0 16px 16px; }
  .mega__list a { font-size: 22px; }
  .mega__list:hover a { opacity: 1; }
  .mega__support { margin-top: 24px; }

  .hero__inner { padding-top: 160px; padding-bottom: 40px; }
  .products { margin: 70px 0; }
  .products .btn { margin-bottom: 40px; }
  .feature, .about__grid, .pillars, .quote, .ugc__box, .ftr__grid { grid-template-columns: 1fr; }
  .feature > *, .feature--rev > *, .about__grid > *, .pillars > *, .pillar > *, .quote > *, .ugc__box > *, .ftr__grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .feature { margin-bottom: 70px; row-gap: 30px; }
  .feature--rev .feature__img { order: -1; }
  .about { padding: 50px 0; }
  .about__side { gap: 30px; }
  .pillars { margin-bottom: 150px; }
  .pillars__title { margin-bottom: 30px; }
  .pillar { grid-template-columns: 1fr; margin-bottom: 40px; }
  .pillar h3 { margin: 20px 0 16px; }
  .sm, .sm__inner { min-height: 0; }
  .sm__img { position: static; width: 100%; height: auto; aspect-ratio: 1; }
  .sm__inner { padding-top: 50px; padding-bottom: 50px; }
  .sm__logo { width: 60px; height: 60px; }
  .sm .sm__logo { position: absolute; top: calc(-100vw + 20px); }
  .sm__title { margin: 0 0 30px; font-size: clamp(28px, 8.6vw, 80px); }
  .quotes { padding: 70px 0; }
  .quote img { justify-self: start; margin-top: 30px; }
  .ugc { margin: 70px 0; }
  .ugc__box { padding: 20px; row-gap: 20px; }
  .stories__grid { grid-template-columns: 1fr; }
  .stories > h2 { margin-bottom: 30px; }
  .ftr { padding-top: 50px; }
  .ftr__nav { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
