@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/manrope-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/manrope-800.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Alumni Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/AlumniSans-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Alumni Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/AlumniSans-Italic.ttf") format("truetype");
}
@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/RussoOne-Regular.ttf") format("truetype");
}

:root {
  --canvas: #f2f1f3;
  --white: #f4f2f8;
  --ink: #19171c;
  --slate: #5e5c64;
  --line: #e2e0e6;
  --violet: #7a40ed;
  --plum: #12061f;
  --lilac: #c9a3ff;
  --pill: #f4f2f8;
  --display: "Alumni Sans", Manrope, sans-serif;
  --sans: Manrope, sans-serif;
  --num: "Russo One", Manrope, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero: radial-gradient(52% 40% at 94% 0%, rgb(122 64 237 / 0.5), transparent 58%),
    radial-gradient(80% 60% at 8% 110%, rgb(12 6 20 / 0.85), transparent 48%),
    linear-gradient(168deg, #0c0614 0%, #1a0a36 40%, #3d168f 74%, #7a40ed 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  font-synthesis: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--violet); color: var(--white); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

html[lang="en"] .ru { display: none; }
html[lang="ru"] .en { display: none; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 80;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 1.6rem); }
}

.hero {
  position: relative;
  min-height: 100dvh;
  background-color: #1a0a36;
  background-image: var(--hero);
  color: var(--white);
  overflow: visible;
  display: flex;
  flex-direction: column;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 120%, rgb(12 6 20 / 0.35), transparent 55%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0.7rem 0 0;
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand img, .brand svg { width: 34px; height: 34px; }

.nav-pills {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.45rem;
}
.nav-pills a, .nav-pills .current {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.15rem;
  border: 1px solid rgb(255 255 255 / 0.38);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-pills a:hover, .nav-pills .current {
  background: var(--pill);
  color: var(--ink);
  border-color: var(--pill);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.lang {
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.38);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.lang:hover { background: var(--pill); color: var(--ink); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.38);
  place-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}

.hero-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.05fr);
  gap: 1.2rem 1.6rem;
  align-items: center;
  padding: 1.1rem 0 2.6rem;
}

.hero-copy {
  max-width: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  padding-bottom: 0.1em;
}
.hero-copy .soft {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: rgb(255 255 255 / 0.7);
  line-height: 1.2;
  padding-bottom: 0.16em;
}
.hero-copy p {
  margin: 1.15rem 0 0;
  max-width: 40ch;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.82);
}
.hero-copy .btn {
  margin-top: 1.7rem;
  align-self: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-light { background: var(--pill); color: var(--ink); }
.btn-light:hover { background: #efeaf8; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #2b2730; }
.btn-ghost {
  border: 1px solid rgb(255 255 255 / 0.5);
  color: var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }

.strip {
  background: var(--canvas);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.35rem 1.6rem;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.section { padding: 5.2rem 0; }
.section h2 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.section .lead {
  margin: 0 0 2.6rem;
  max-width: 46ch;
  color: var(--slate);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.split h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.split p { color: var(--slate); margin: 1rem 0 0; max-width: 42ch; }
.checks { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.checks li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.checks li:last-child { border-bottom: 1px solid var(--line); }

.stage {
  position: relative;
  width: min(32rem, 100%);
  aspect-ratio: 1;
  height: auto;
  justify-self: end;
}
.hero-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 28px 64px rgb(8 4 20 / 0.42);
}
.shot-phone {
  position: absolute;
  width: min(11.2rem, 38%);
  height: auto;
  right: -0.35rem;
  bottom: -1.1rem;
  border-radius: 1.35rem;
  z-index: 2;
  background: #f2f1f3;
  box-shadow: 0 18px 40px rgb(8 4 20 / 0.48);
  transition: transform 280ms var(--ease);
}
.hero .shot-phone:hover { transform: translateY(-6px); }

.deck {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem 1.3rem;
  align-items: start;
}
.shot-card { margin: 0; }
.shot-card.is-lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 1.4rem 2.2rem;
  align-items: center;
}
.shot-card.is-lead figcaption { padding-top: 0; }
.shot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.35rem;
  background: #e8e6ee;
  box-shadow: 0 18px 40px rgb(23 8 44 / 0.12);
  transition: transform 220ms var(--ease);
}
.shot-card:hover img { transform: translateY(-4px); }
.shot-card figcaption { padding: 1rem 0.15rem 0; }
.shot-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  padding-bottom: 0.08em;
}
.shot-card p {
  margin: 0.45rem 0 0;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.45;
}

.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.who-list li {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.who-list li:last-child { border-bottom: 1px solid var(--line); }
.who-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.who-list p { margin: 0; color: var(--slate); max-width: 46ch; }
.niche-lead { margin: 2.4rem 0 1.3rem; }
.cast {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1rem;
}
.cast figure { margin: 0; }
.cast img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.2rem;
  background: #e8e6ee;
}
.cast figcaption {
  margin-top: 0.55rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3.2rem;
}
.process article {
  min-width: 0;
  padding-top: 1.1rem;
  border-top: 3px solid var(--violet);
}
.num {
  margin: 0 0 0.7rem;
  font-family: var(--num);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--violet);
}
.process h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.process article > p:not(.num) { margin: 0; color: var(--slate); }

.specs {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.about .checks { max-width: 40rem; }
.examples {
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
}
.example-phone {
  width: min(11.2rem, 46%);
  height: auto;
  border-radius: 1.4rem;
  background: #f2f1f3;
  box-shadow: 0 18px 40px rgb(23 8 44 / 0.16);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.4rem;
}
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}

.cta {
  background: var(--canvas);
  color: var(--ink);
  padding: 4.4rem 0 5rem;
  text-align: left;
  border-top: 1px solid var(--line);
}
.cta h2 {
  margin: 0;
  max-width: 12.5em;
  hyphens: none;
  overflow-wrap: normal;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.nowrap { white-space: nowrap; }
.cta p { margin: 0.9rem 0 0; max-width: 42ch; color: var(--slate); }
.cta-row {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}

.site-footer {
  background: var(--canvas);
  color: var(--slate);
  padding: 2.1rem 0 2.4rem;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: center;
}
.foot a { text-decoration: underline; text-underline-offset: 0.18em; }
.foot a:hover { color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }

.doc {
  background: var(--canvas);
  min-height: 100dvh;
}
.doc .topbar, .doc .lang, .doc .nav-pills a, .doc .nav-pills .current, .doc .menu-btn {
  color: var(--ink);
  border-color: rgb(25 23 28 / 0.16);
}
.doc .nav-pills a:hover, .doc .nav-pills .current, .doc .lang:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.doc-main {
  width: min(46rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}
.doc-main h1 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  padding-bottom: 0.06em;
}
.doc-main .meta { color: var(--slate); margin: 0 0 2rem; }
.doc-main h2 {
  margin: 2.1rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.doc-main p, .doc-main li { color: #3a3840; }
.doc-main p { margin: 0 0 0.9rem; }
.doc-main ul { padding-left: 1.15rem; margin: 0 0 0.9rem; }
.doc-main li { margin: 0.28rem 0; }
.doc-main a { color: var(--violet); text-decoration: underline; text-underline-offset: 0.16em; }
.doc-main code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--plum);
  color: var(--white);
  z-index: 50;
  padding: 1.4rem 1.3rem 2rem;
}
.mobile-panel.open { display: block; }
.mobile-panel a, .mobile-panel button {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  width: 100%;
  text-align: left;
}
.panel-close { font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; opacity: 0.7; }

@media (max-width: 980px) {
  .nav-pills { display: none; }
  .menu-btn { display: grid; }
  .hero-grid,
  .split,
  .deck,
  .shot-card.is-lead { grid-template-columns: 1fr; }
  .who-list li,
  .process,
  .specs { grid-template-columns: 1fr; }
  .stage {
    width: min(22rem, 100%);
    justify-self: center;
    margin: 0.8rem auto 2.2rem;
  }
  .shot-phone { right: 0; bottom: -0.8rem; }
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .examples { justify-content: center; margin-bottom: 1.5rem; }
  .section { padding: 3.6rem 0; }
  .hero { min-height: auto; }
  .hero-grid { padding: 1.4rem 0 2.2rem; }
  .hero-copy h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1,
  .hero-copy p,
  .hero-copy .btn { animation: rise 0.7s var(--ease) both; }
  .hero-copy p { animation-delay: 70ms; }
  .hero-copy .btn { animation-delay: 130ms; }
  .hero-art { animation: rise 0.85s var(--ease) both; }
  .shot-phone { animation: rise 0.85s 90ms var(--ease) both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}
@keyframes fan {
  from { opacity: 0; transform: translateY(18px) rotate(var(--rot, 0deg)); }
  to { transform: rotate(var(--rot, 0deg)); }
}
