/* Akabekun — лэндинг.
   Страница целиком в языке приложения: чёрный экран, один пиксельный шрифт
   Jersey 10 для заголовков, цифр и кнопок, оранжевая линия под каждым
   заголовком, белая пилюля главного действия. Текст — Geologica, как на
   остальном сайте. Прокрутку страница не перехватывает: корова поворачивает
   голову за курсором или пальцем, ролики играют на месте. */

:root {
  --bg: #000;
  --card: #000;
  --card-hi: #151515;
  --ink: #fff;
  --ink-2: rgb(255 255 255 / 66%);
  --ink-3: rgb(255 255 255 / 42%);
  --line: rgb(255 255 255 / 12%);
  --accent: #d9541e;
  --teal: #3e7c7f;
  --r: 22px;
  --pad: clamp(20px, 4vw, 64px);
  --max: 1440px;
  /* левый край текста и медиа во всех разделах; на мониторе шире 1440 колонка по центру */
  --edge: calc(var(--pad) + max(0px, (100vw - 2 * var(--pad) - var(--max)) / 2));
  --pix: "Jersey 10", ui-monospace, monospace;
  --sans: "Geologica", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .15, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; }
.section-pad { padding: clamp(80px, 9vw, 150px) var(--pad); }

/* Заголовки: пиксельный шрифт прописными, под ними оранжевая линия, как в карточке стора */
.h2, .hero__title {
  margin: 0;
  font: 400 clamp(44px, 5.6vw, 92px)/.94 var(--pix);
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2::after, .hero__title::after {
  content: "";
  display: block;
  width: clamp(44px, 4.4vw, 68px);
  height: 5px;
  margin-top: clamp(18px, 2vw, 28px);
  background: var(--accent);
}
.lead { margin: 0; max-width: 46ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-2); }
.head2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }

/* Появление */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv[data-delay="1"] { transition-delay: .08s; }
.rv[data-delay="2"] { transition-delay: .16s; }
.rv[data-delay="3"] { transition-delay: .24s; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid var(--line); border-radius: 999px;
  font: 400 24px/1 var(--pix); letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
a.btn:hover { background: var(--ink); color: #000; border-color: var(--ink); }
.btn--soon { border-color: rgb(255 255 255 / 28%); color: var(--ink); cursor: default; }

/* Телефон: рамка корпуса вокруг настоящего экрана 1206 × 2622 */
.phone { margin: 0; width: 100%; }
.phone__body { padding: 2.7%; border-radius: 14.5% / 6.7%; background: #0a0a0a; box-shadow: 0 0 0 1.5px #343434, inset 0 0 0 1px #1c1c1c, 0 40px 90px rgb(0 0 0 / 70%); }
.phone__screen { position: relative; border-radius: 12% / 5.5%; overflow: hidden; background: #000; }
.phone__screen img, .phone__screen video { display: block; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; }
.phone--sticky { width: min(100%, 380px, calc((100svh - 150px) * .4603)); }

/* ── Шапка ── */
.bar { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; gap: 20px; padding: 14px var(--edge); transition: background .35s, box-shadow .35s; }
.bar.is-solid { background: rgb(0 0 0 / 78%); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.bar__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 26px/1 var(--pix); letter-spacing: .02em; text-transform: uppercase; }
.bar__logo img { width: 28px; height: 28px; border-radius: 7px; }
.bar__nav { display: flex; gap: 4px; margin: 0 auto; }
.bar__nav a { padding: 8px 14px; border-radius: 999px; font: 500 13px/1 var(--sans); text-decoration: none; opacity: .66; transition: opacity .2s, background .2s, color .2s; }
.bar__nav a:hover { opacity: 1; }
.bar__nav a.is-on { opacity: 1; background: var(--ink); color: #000; }
.bar__cta { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font: 500 13px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.bar__cta:hover { background: var(--ink); color: #000; border-color: var(--ink); }

/* ── Первый экран: слева обещание, справа живая корова ── */
.hero { position: relative; min-height: min(100svh, 940px); padding: 96px var(--pad) 0; display: flex; }
.hero__row { width: 100%; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px clamp(32px, 5vw, 96px); align-items: center; }
.hero__copy { padding-bottom: clamp(24px, 5vw, 80px); }
.hero__title { font-size: clamp(52px, 6.6vw, 112px); }
.hero__lead { margin: clamp(26px, 3vw, 44px) 0 0; max-width: 44ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; color: var(--ink-2); }
.hero__cta { margin: clamp(28px, 3vw, 44px) 0 0; }
.hero__cow { position: relative; margin: 0; justify-self: center; width: min(100%, calc(min(100svh, 940px) - 140px), 680px); aspect-ratio: 1; }
.hero__cow img, .hero__cow canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__cow canvas { opacity: 0; transition: opacity .6s var(--ease); touch-action: pan-y; cursor: grab; }
.hero__cow.is-live canvas { opacity: 1; }
.hero__cow.is-live .hero__still { opacity: 0; transition: opacity .6s var(--ease); }

/* ── Реакции: четыре телефона с настоящей ездой ── */
.react__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.react { margin: 0; }
.react figcaption { margin-top: 22px; display: grid; gap: 6px; }
.react figcaption b { font: 400 26px/1 var(--pix); letter-spacing: .02em; text-transform: uppercase; }
.react figcaption span { font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 26ch; }
.react__note { margin: clamp(36px, 4vw, 64px) 0 0; max-width: 60ch; font-size: 15px; color: var(--ink-3); }

/* ── Разбор: закреплённый экран с рамкой фокуса и шаги ── */
.anat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(32px, 6vw, 112px); align-items: start; }
.anat__device { position: sticky; top: 96px; }
.anat__screen > img { position: relative; }
/* рамка фокуса: остальной экран темнеет, рамка плавно переезжает к следующей части */
.anat__focus { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border: 2px solid var(--accent); border-radius: 14px; box-shadow: 0 0 0 200vmax rgb(0 0 0 / 62%); transition: left .6s var(--ease), top .6s var(--ease), width .6s var(--ease), height .6s var(--ease); pointer-events: none; }
.anat__steps { list-style: none; margin: 0; padding: 0; }
.anat__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s var(--ease); }
.anat__step.is-on { opacity: 1; }
.anat__n { margin: 0 0 14px; font: 400 22px/1 var(--pix); color: var(--accent); letter-spacing: .04em; }
.anat__n span { color: var(--ink-3); }
.anat__title { margin: 0; font: 400 clamp(32px, 3.2vw, 52px)/1 var(--pix); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.anat__text { margin: 16px 0 0; max-width: 40ch; color: var(--ink-2); font-size: 17px; }
.anat__zoom { display: none; width: min(100%, 520px); margin-top: 22px; aspect-ratio: var(--zr); background-repeat: no-repeat; background-color: #000; background-size: var(--zw) auto; background-position: var(--zx) var(--zy); border: 1px solid var(--line); border-radius: 16px; }

/* ── Друзья: бенто ── */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); align-items: stretch; }
.bento__roster { grid-column: span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; gap: inherit; }
.friend { margin: 0; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.friend__art { flex: 1; min-height: 0; display: grid; place-items: center; padding: 6% 6% 0; }
.friend__art img { width: 100%; max-width: 330px; aspect-ratio: 1; object-fit: contain; }
.friend figcaption { padding: 4px 22px 22px; display: grid; gap: 4px; }
.friend figcaption b { font: 400 28px/1 var(--pix); text-transform: uppercase; letter-spacing: .02em; }
.friend figcaption span { font-size: 14px; color: var(--ink-3); }
.bento__shot { grid-column: span 4; margin: 0; display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.4vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.bento__shot .phone { width: min(100%, 300px); margin: 0 auto; }
.bento__shot figcaption { display: grid; gap: 8px; margin-top: auto; }
.bento__shot figcaption b { font: 400 28px/1.05 var(--pix); text-transform: uppercase; letter-spacing: .02em; }
.bento__shot figcaption span { font-size: 15px; color: var(--ink-2); }

/* ── Одолжить ── */
.lend__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.lend__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 3vw, 44px); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.step__n { margin: 0; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 400 30px/1 var(--pix); }
.step h3 { margin: 4px 0 0; font: 400 clamp(28px, 2.4vw, 38px)/1 var(--pix); text-transform: uppercase; letter-spacing: .01em; }
.step p:not(.step__n) { margin: 10px 0 0; color: var(--ink-2); max-width: 38ch; }
.lend__phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); }
.lend__phones figure { margin: 0; }
.lend__phones figcaption { margin-top: 18px; font-size: 15px; color: var(--ink-2); max-width: 26ch; }

/* ── Приватность ── */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.fact { padding: clamp(24px, 2.4vw, 36px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.fact h3 { margin: 0; font: 400 clamp(36px, 3.2vw, 52px)/.95 var(--pix); text-transform: uppercase; letter-spacing: .01em; }
.fact p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ── Корова и бренд ── */
.brand { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.brand__card { margin: 0; padding: 0; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.brand__icon { grid-column: span 4; display: grid; place-items: center; padding: clamp(24px, 3vw, 48px); }
.brand__icon img { width: min(100%, 300px); border-radius: 22%; }
.brand__palette { grid-column: span 4; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 14px; align-content: center; }
.swatch { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.swatch i { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.swatch b { font: 400 24px/1 var(--pix); text-transform: uppercase; letter-spacing: .02em; }
.swatch span { font-size: 13px; color: var(--ink-3); }
.brand__type { grid-column: span 4; padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.type__name { margin: 0; font: 400 clamp(56px, 6vw, 96px)/.9 var(--pix); text-transform: uppercase; }
.type__sample { margin: 0; font: 400 clamp(26px, 2.2vw, 34px)/1.1 var(--pix); color: var(--ink-2); }
.type__note { margin: 0; font-size: 14px; color: var(--ink-3); }

/* ── Финал и подвал ── */
.end { padding-bottom: clamp(72px, 8vw, 128px); }
.end > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.end .h2, .end .lead, .end__links { display: block; }
.end .lead { margin-top: 24px; }
.end__links { margin-top: clamp(28px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 14px; }
.foot { display: flex; justify-content: space-between; gap: 16px; padding: 22px var(--edge) 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ── Планшет и телефон ── */
@media (max-width: 1100px) {
  .bar__nav { display: none; }
  .bar__cta { margin-left: auto; }
  .react__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__roster { grid-column: span 12; }
  .bento__shot { grid-column: span 12; flex-direction: row; align-items: center; }
  .bento__shot .phone { margin: 0; flex: 0 0 min(40%, 300px); }
  .bento__shot figcaption { margin: 0; }
  .brand__icon, .brand__palette, .brand__type { grid-column: span 12; }
  .brand__icon { grid-column: span 6; }
  .brand__palette { grid-column: span 6; }
}
@media (max-width: 900px) {
  .head2 { grid-template-columns: 1fr; gap: 20px; }
  .hero { min-height: 0; padding-top: 88px; }
  .hero__row { grid-template-columns: 1fr; }
  .hero__cow { order: -1; width: min(100%, 340px); justify-self: start; }
  .anat { grid-template-columns: 1fr; }
  .anat__device { display: none; }
  .anat__step { min-height: 0; opacity: 1; padding: 0 0 48px; }
  .anat__zoom { display: block; }
  .lend__row { grid-template-columns: 1fr; }
  .bento__roster { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .bento__shot { flex-direction: column; align-items: stretch; }
  .bento__shot .phone { margin: 0 auto; flex: none; width: min(100%, 300px); }
  .brand__icon, .brand__palette { grid-column: span 12; }
}
@media (max-width: 560px) {
  .react__row { column-gap: 14px; }
  .react figcaption b { font-size: 22px; }
  .react figcaption span { font-size: 13px; }
  .facts { grid-template-columns: 1fr; }
  .fact { min-height: 0; }
  .lend__phones { gap: 14px; }
  .lend__phones figcaption { font-size: 13px; }
  .friend figcaption { padding: 2px 14px 16px; }
  .friend figcaption b { font-size: 22px; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .anat__focus, .hero__cow canvas { transition: none; }
}
