@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-tight.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: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/inter.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;
}

:root {
  --bg: #070908;
  --surface: #0c0f0e;
  --surface-2: #111614;
  --line: rgba(236, 241, 238, 0.08);
  --line-strong: rgba(236, 241, 238, 0.16);
  --text: #eceff0;
  --muted: #8b9490;
  --dim: #5f6864;
  --accent: #2fd08a;
  --accent-ink: #03140b;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: 8px; }
.skip:focus { left: 8px; }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1 var(--font-body);
  white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #4fe0a0; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: rgba(236, 241, 238, 0.36); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* шапка */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.header.is-scrolled, .menu-open .header { background: rgba(7, 9, 8, 0.96); border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 19px/1 var(--font-display); letter-spacing: -0.02em; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.header__cta { display: flex; gap: 10px; }
.menu-toggle { display: none; }

/* hero */
.hero { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); padding-bottom: clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.hero__label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.hero__label::before { content: ''; width: 18px; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(40px, 4.4vw, 68px); max-width: 12.5em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { margin-top: 24px; max-width: 520px; font-size: clamp(16px, 1.25vw, 18px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__points li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.hero__points svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.media { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 640px; margin-left: auto; }
.media img, .media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, rgba(0, 0, 0, 0.5) 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 58%, rgba(0, 0, 0, 0.5) 80%, transparent 100%);
}
.media video { opacity: 0; transition: opacity .8s var(--ease); }
.media.is-playing video { opacity: 1; }

/* секции */
.section { padding: clamp(80px, 10vw, 136px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(32px, 3.2vw, 48px); max-width: 14em; text-wrap: balance; }
.section-head p { color: var(--muted); max-width: 480px; justify-self: end; }
.kicker { display: block; font-size: 14px; color: var(--accent); margin-bottom: 16px; font-family: var(--font-body); letter-spacing: 0; font-weight: 500; }

/* каталог */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .3s var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.card h3 { font-size: 20px; letter-spacing: -0.015em; }
.card p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { padding: 28px 0 0; border-top: 1px solid var(--line-strong); }
.step__num { font: 500 14px/1 var(--font-body); color: var(--accent); }
.step h3 { margin-top: 28px; font-size: 22px; }
.step p { margin-top: 12px; color: var(--muted); max-width: 360px; }

/* защита */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.split__aside h2 { font-size: clamp(32px, 3.2vw, 48px); }
.split__aside p { margin-top: 20px; color: var(--muted); max-width: 440px; }
.features { border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature__icon { width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 12px; display: grid; place-items: center; color: var(--accent); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; letter-spacing: -0.01em; }
.feature p { margin-top: 6px; color: var(--muted); }

/* продавцам */
.panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px);
  padding: clamp(32px, 5vw, 64px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.panel h2 { font-size: clamp(30px, 3vw, 44px); }
.panel__lead { margin-top: 18px; color: var(--muted); max-width: 460px; }
.panel .btn { margin-top: 32px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.checklist li:first-child { padding-top: 0; }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.checklist strong { display: block; font-weight: 500; }
.checklist span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { max-width: 920px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font: 500 clamp(17px, 1.4vw, 19px)/1.4 var(--font-display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 48px 26px 0; color: var(--muted); max-width: 760px; }

/* контакт */
.contact { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; }
.contact h2 { font-size: clamp(32px, 3.6vw, 56px); max-width: 12em; }
.contact p { margin-top: 16px; color: var(--muted); }
.contact p a { color: var(--text); border-bottom: 1px solid var(--line-strong); transition: border-color .2s var(--ease); }
.contact p a:hover { border-color: var(--accent); }

/* футер */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer__about p { margin-top: 16px; color: var(--muted); max-width: 340px; }
.footer h4 { margin: 0 0 16px; font: 500 14px/1.4 var(--font-body); color: var(--text); }
.footer li + li { margin-top: 10px; }
.footer li a { color: var(--muted); transition: color .2s var(--ease); }
.footer li a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--dim); }

/* место под реквизиты юрлица; класс legal--placeholder снять, когда впишем реальные данные */
.legal { display: grid; gap: 4px; line-height: 1.5; }
.legal__name { color: var(--muted); }
.legal--placeholder { padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: 10px; }

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

@media (min-width: 1800px) {
  :root { --container: 1440px; }
}

@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
    background: none; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--text); cursor: pointer;
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  .menu-toggle .i-close { display: none; }
  .menu-open .menu-toggle .i-open { display: none; }
  .menu-open .menu-toggle .i-close { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 20px; border-bottom: 0; color: var(--accent-ink); padding: 0 22px; }

  .hero__grid { grid-template-columns: 1fr; }
  .media { order: -1; max-width: 420px; margin: 0 auto; }
  .section-head, .split, .panel { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .split__aside { position: static; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 24px 0 28px; }
  .step h3 { margin-top: 16px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}

@media (min-width: 961px) {
  .nav .btn { display: none; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 12px); }
  .media { max-width: 260px; }
  .hero__grid { gap: 20px; }
  .hero__label { margin-bottom: 20px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__points { margin-top: 36px; flex-direction: column; }
  .faq details p { padding-right: 0; }
  .contact .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
