:root {
  --bg: #141414;
  --surface: #1a1a1a;
  --line: #2a2a2a;
  --text: #ffffff;
  --muted: #a7a7a7;
  --accent: #eba000;
  --accent-strong: #ffbc2e;
  --max: 1220px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: #ffffff;
  color: #141414;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

*,
*::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;
}

.metrika-pixel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

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(20, 20, 20, 0.96);
  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;
}

.logo img {
  width: 152px;
}

.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,
.footer-action {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 0 22px;
  color: var(--accent);
  font-weight: 600;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  line-height: 1;
  text-align: center;
}

.telegram-link,
.footer-action {
  background-color: var(--bg);
}

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

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

.telegram-link:focus-visible,
.primary-action:focus-visible,
.footer-action:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.telegram-link:disabled,
.primary-action:disabled,
.footer-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.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.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0;
}

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

.hero-copy {
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

.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: 60px;
  line-height: 1.04;
  font-weight: 650;
}

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

h2 {
  margin-bottom: 18px;
  font-size: 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;
}

.answer-summary {
  max-width: 640px;
  margin-top: 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.answer-summary p {
  margin: 0;
  color: #d4d4d4;
}

.answer-summary strong {
  color: var(--accent);
}

.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: 4px;
}

.hero-media,
.feature-media {
  position: relative;
}

.hero-media::after,
.feature-media::after {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 58px;
  height: 58px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  content: "";
  pointer-events: none;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #101010;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid > div {
  display: grid;
  gap: 3px;
  min-height: 108px;
  align-content: center;
  padding: 20px 30px;
  border-left: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid strong {
  color: var(--accent);
  font-size: 14px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 14px;
}

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

.feature:nth-of-type(odd) {
  background: var(--surface);
}

.feature-reverse {
  background: var(--surface);
}

.feature:not(.feature-reverse) {
  background: var(--bg);
}

.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: var(--surface);
  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);
}

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

.intent-grid section {
  min-width: 0;
}

.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);
}

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

@media (max-width: 860px) {
  .header-inner,
  .footer-inner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 0;
  }

  .site-nav {
    display: none;
  }

  .primary-action,
  .footer-action {
    width: 100%;
  }

  .telegram-link {
    width: auto;
    min-height: 42px;
    padding: 0 15px;
    font-size: 14px;
  }

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

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 36px;
  }

  .subhero {
    padding: 48px 0;
  }

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

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div,
  .trust-grid > div:last-child {
    min-height: 82px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

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

  .intent-grid {
    grid-template-columns: 1fr;
  }

  .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;
  }

  h2 {
    font-size: 30px;
  }

  .logo img {
    width: 126px;
    height: auto;
  }

  .telegram-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-grid {
    padding: 38px 0;
  }

  .hero-copy {
    padding-left: 16px;
  }

  .hero-media {
    display: none;
  }

  .quick-list {
    gap: 7px;
    margin-top: 22px;
  }

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

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

/* Sherloksbott variant: familiar media, distinct editorial structure. */
.hero-console .hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  min-height: 680px;
}

.logo img {
  width: 176px;
}

.hero-console .hero-copy {
  border-left-width: 3px;
}

.hero-console h1 {
  max-width: 620px;
  font-size: 56px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 26px;
  border: 1px solid var(--line);
  width: fit-content;
}

.hero-facts span {
  min-width: 104px;
  padding: 9px 14px;
  border-right: 1px solid var(--line);
  color: #d4d4d4;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.hero-facts span:last-child {
  border-right: 0;
}

.action-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.console-frame {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  background: #111111;
}

.console-frame::before,
.console-frame::after {
  position: absolute;
  width: 52px;
  height: 52px;
  content: "";
  pointer-events: none;
}

.console-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.console-frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.console-frame video {
  width: 100%;
  aspect-ratio: 673 / 420;
  object-fit: cover;
}

.frame-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 6px 9px;
  background: #111111;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.signal-strip {
  border-bottom: 1px solid var(--line);
  background: #111111;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-grid > div {
  min-height: 96px;
  padding: 20px 24px;
  border-left: 1px solid var(--line);
}

.signal-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.signal-grid small,
.signal-grid strong {
  display: block;
}

.signal-grid small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.signal-grid strong {
  color: var(--accent);
  font-size: 16px;
}

.workflow,
.guide,
.use-table {
  border-bottom: 1px solid var(--line);
}

.workflow {
  padding: 76px 0;
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.workflow-list li {
  min-height: 214px;
  padding: 26px;
  border-left: 1px solid var(--line);
}

.workflow-list li:last-child {
  border-right: 1px solid var(--line);
}

.workflow-list li > span {
  display: block;
  margin-bottom: 40px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.workflow-list p,
.feature-copy p,
.guide-content p {
  color: #c7c7c7;
}

.report-first {
  background: #111111;
}

.media-report,
.media-vehicle,
.media-motion {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
}

.media-report img,
.media-vehicle img,
.media-motion video {
  width: 100%;
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--line);
  color: #d4d4d4;
}

.check-list li::before {
  position: absolute;
  top: 16px;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  content: "";
}

.guide {
  padding: 88px 0;
  background: var(--surface);
}

.guide-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.guide-index {
  position: sticky;
  top: 104px;
  display: grid;
  border-top: 2px solid var(--accent);
}

.guide-index span,
.guide-index strong {
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}

.guide-index span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.guide-index strong {
  color: var(--muted);
  font-size: 14px;
}

.guide-content {
  max-width: 900px;
}

.guide-content > p {
  max-width: 800px;
  font-size: 18px;
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 38px;
  margin-top: 46px;
}

.topic-grid section {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.editorial-note {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  margin-top: 50px;
  padding: 24px 0;
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--line);
}

.editorial-note strong {
  color: var(--accent);
  text-transform: uppercase;
}

.editorial-note p {
  margin: 0;
}

.use-table {
  padding: 80px 0;
  background: #111111;
}

.compact-heading {
  margin-bottom: 26px;
}

.data-table {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.data-row {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 1.5fr;
}

.data-row > * {
  min-width: 0;
  padding: 17px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.data-row span {
  color: #c5c5c5;
}

.data-head {
  background: var(--surface);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  padding: 88px 0;
}

.faq-layout .section-heading {
  margin: 0;
}

.faq-list details:first-child {
  border-top: 2px solid var(--accent);
}

@media (max-width: 960px) {
  .hero-console .hero-grid,
  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-console .hero-grid {
    min-height: 0;
  }

  .guide-index {
    position: static;
    grid-template-columns: repeat(4, 1fr);
  }

  .guide-index span,
  .guide-index strong {
    padding: 12px;
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .hero-console h1 {
    font-size: 40px;
  }

  .signal-grid,
  .workflow-list,
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-list li:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .guide-index {
    grid-template-columns: 1fr 1fr;
  }

  .data-row {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .data-row > *:last-child {
    grid-column: 1 / -1;
  }

  .data-head > *:last-child {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-console h1 {
    font-size: 34px;
  }

  .hero-facts {
    width: 100%;
  }

  .hero-facts span {
    width: 50%;
    min-width: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts span:nth-child(2) {
    border-right: 0;
  }

  .hero-facts span:nth-child(n+3) {
    border-bottom: 0;
  }

  .signal-grid,
  .workflow-list,
  .topic-grid,
  .editorial-note {
    grid-template-columns: 1fr;
  }

  .signal-grid > div,
  .signal-grid > div:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .workflow-list li,
  .workflow-list li:last-child {
    min-height: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .workflow-list li:nth-child(3) {
    grid-column: auto;
  }

  .workflow-list li > span {
    margin-bottom: 22px;
  }
}
