:root {
  --bg: #101010;
  --surface: #171717;
  --line: #303030;
  --text: #ffffff;
  --muted: #a7a7a7;
  --accent: #eba000;
  --accent-strong: #ffbc2e;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(16, 16, 16, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--accent);
}

.telegram-link,
.primary-action,
.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 0 22px;
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
}

.primary-action {
  width: fit-content;
  margin-top: 32px;
  background: var(--accent);
  color: var(--bg);
}

.telegram-link:hover,
.primary-action:hover,
.site-footer a:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--bg);
}

.hero {
  border-bottom: 1px solid var(--line);
}

.subhero {
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}

.hero-grid,
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0;
}

.hero-copy,
.feature-copy {
  min-width: 0;
}

.eyebrow,
.section-number {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 650;
}

h1 span {
  color: var(--accent);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 650;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 650;
}

.lead {
  max-width: 620px;
  color: #d4d4d4;
  font-size: 20px;
  line-height: 1.55;
}

.quick-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.quick-list li {
  position: relative;
  padding-left: 18px;
}

.quick-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  content: "";
}

.hero-media video,
.feature-media video,
.feature-media img {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.feature {
  border-bottom: 1px solid var(--line);
}

.feature:nth-of-type(odd) {
  background: #131313;
}

.feature-reverse .feature-copy {
  order: 2;
}

.feature-copy p:not(.section-number),
.text-flow p {
  color: var(--muted);
}

.seo-text,
.faq {
  padding: 76px 0;
}

.faq {
  background: #151515;
  border-top: 1px solid var(--line);
}

.text-flow {
  max-width: 980px;
}

.text-flow > p {
  max-width: 840px;
  font-size: 18px;
}

.text-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.text-columns section {
  padding-left: 18px;
  border-left: 2px solid var(--accent);
}

.legal-block,
.expert-layout,
.expert-quote {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.facts-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.indexed-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.indexed-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.indexed-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  content: "";
}

.facts-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}

.facts-list dt {
  color: var(--muted);
  font-weight: 600;
}

.facts-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 650;
}

.facts-list a {
  color: var(--accent);
}

.expert-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: start;
}

.expert-photo {
  width: 220px;
  margin: 0;
}

.expert-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  object-fit: cover;
}

.expert-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.expert-quote {
  max-width: 820px;
  padding-left: 22px;
  border-left: 2px solid var(--accent);
}

.expert-quote p {
  color: #d4d4d4;
  font-size: 20px;
}

.expert-quote cite {
  color: var(--accent);
  font-style: normal;
  font-weight: 650;
}

details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  color: var(--text);
  font-size: 20px;
  font-weight: 650;
}

summary::marker {
  color: var(--accent);
}

details p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  min-height: 42px;
  padding: 0 18px;
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-left: 0;
  }

  .telegram-link,
  .primary-action,
  .site-footer a {
    width: 100%;
  }

  .hero-grid,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 0;
  }

  .subhero {
    padding: 48px 0;
  }

  .feature-reverse .feature-copy {
    order: 0;
  }

  .text-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .facts-list div,
  .expert-layout {
    grid-template-columns: 1fr;
  }

  .expert-photo {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 24px, var(--max));
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
