:root {
  --bg: #06111a;
  --bg-deep: #040c13;
  --surface: #0a1722;
  --surface-strong: #0d1d2a;
  --line: #213342;
  --line-soft: rgba(150, 180, 199, .16);
  --text: #f3f6f8;
  --muted: #9aabb8;
  --muted-strong: #c4ced5;
  --cyan: #46c9de;
  --red: #f04b31;
  --red-hover: #ff5a3d;
  --max: 1220px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(4, 12, 19, .94);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav-links a,
.footer-nav a {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.footer-nav a:hover,
.text-link:hover {
  color: var(--text);
}

.cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid #ff684f;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.cta:hover {
  border-color: #ff826d;
  background: var(--red-hover);
  transform: translateY(-1px);
}

.cta-small {
  min-height: 42px;
  padding: 0 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--cyan);
  padding-bottom: 4px;
}

.text-link::after {
  content: "\2192";
  color: var(--cyan);
  font-size: 18px;
}

.mobile-menu {
  display: none;
}

.hero,
.container,
.page-hero,
.article-layout,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  align-items: center;
  gap: 54px;
  padding: 78px 0 60px;
}

.eyebrow,
.section-label,
.meta-label {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: -.035em;
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(44px, 4.1vw, 58px);
  font-weight: 790;
}

.hero-copy > p {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.process-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.process-mini span:not(:last-child)::after {
  content: "\2192";
  margin-left: 12px;
  color: #526676;
}

.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  background: #07131d;
  overflow: hidden;
}

.hero-visual::before {
  content: "Исследование профиля  ·  публичный запрос";
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  color: #a4b2bc;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.source-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  color: var(--cyan);
  font-size: 12px;
}

.source-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}

.proof-item {
  min-height: 124px;
  padding: 26px 30px;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 17px;
}

.proof-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 100px 0;
}

.section-compact {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-head h2,
.article-callout h2 {
  max-width: 740px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 760;
}

.section-head p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
}

.capability-list {
  border-top: 1px solid var(--line);
}

.capability-row {
  display: grid;
  grid-template-columns: 80px minmax(250px, .8fr) 1.2fr;
  gap: 32px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.capability-row .index {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.capability-row h3 {
  margin: 0;
  font-size: 23px;
}

.capability-row p {
  margin: 0;
  color: var(--muted-strong);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 56px;
}

.steps {
  display: grid;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 0 0 34px;
}

.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(70, 201, 222, .62);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.step h3 {
  margin: 4px 0 8px;
  font-size: 19px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.report-panel,
.article-callout,
.toc,
.info-panel {
  border: 1px solid var(--line);
  background: var(--surface);
}

.report-panel {
  padding: 30px;
}

.report-panel h3 {
  margin-bottom: 22px;
  font-size: 22px;
}

.check-list,
.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted-strong);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 900;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.knowledge-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease;
}

.knowledge-card:hover {
  border-color: #3b6074;
  transform: translateY(-3px);
}

.knowledge-card .meta-label {
  margin-bottom: 28px;
  color: #7f94a3;
  font-size: 10px;
}

.knowledge-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.25;
}

.knowledge-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.knowledge-card .read-time {
  margin-top: auto;
  color: #7f94a3;
  font-size: 11px;
  text-transform: uppercase;
}

.responsibility {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
}

.responsibility-inner {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 36px;
}

.responsibility strong {
  color: var(--text);
}

.responsibility p {
  max-width: 830px;
  margin: 0;
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 24px 44px 24px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 720;
}

.faq-list details p {
  max-width: 760px;
  margin: 0;
  padding: 0 0 24px;
  color: var(--muted-strong);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.5vw, 44px);
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

/* Content pages */
.page-hero {
  padding: 78px 0 48px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: #7e93a2;
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(42px, 6vw, 76px);
}

.page-hero > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(18px, 2vw, 22px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  color: #7e93a2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, var(--reading));
  justify-content: center;
  gap: 64px;
  padding: 64px 0 100px;
}

.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.toc a:hover {
  color: var(--cyan);
}

.article {
  min-width: 0;
}

.article h2 {
  margin: 62px 0 18px;
  font-size: clamp(29px, 3.4vw, 40px);
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  margin: 34px 0 12px;
  font-size: 22px;
}

.article p,
.article li {
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.76;
}

.article a:not(.cta) {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article ul,
.article ol {
  padding-left: 22px;
}

.article li + li {
  margin-top: 10px;
}

.info-panel {
  margin: 34px 0;
  padding: 24px 26px;
}

.info-panel strong {
  color: var(--text);
}

.info-panel p:last-child {
  margin-bottom: 0;
}

.article-callout {
  margin-top: 58px;
  padding: 34px;
}

.article-callout h2 {
  margin-top: 0;
  font-size: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.related-link {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.related-link strong {
  display: block;
  margin-bottom: 5px;
}

.related-link span {
  color: var(--muted);
  font-size: 13px;
}

.policy-layout {
  grid-template-columns: minmax(0, var(--reading));
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.copyright {
  color: #718593;
  font-size: 12px;
}

@media (max-width: 1040px) {
  .nav {
    gap: 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 34px;
  }

  .knowledge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav {
    min-height: 64px;
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    cursor: pointer;
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 750;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu div {
    position: absolute;
    top: 42px;
    right: 0;
    width: 220px;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
  }

  .mobile-menu a {
    display: block;
    padding: 11px;
    color: var(--muted-strong);
    font-size: 14px;
  }

  .nav > .cta {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-copy > p {
    max-width: 680px;
  }

  .hero-visual {
    max-width: 680px;
  }

  .proof-strip,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .proof-item + .proof-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .capability-row {
    grid-template-columns: 52px 1fr;
  }

  .capability-row p {
    grid-column: 2;
  }

  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .toc {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero,
  .container,
  .page-hero,
  .article-layout,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    gap: 38px;
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(39px, 12.5vw, 58px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .hero-actions .cta {
    width: 100%;
  }

  .process-mini {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .process-mini span:not(:last-child)::after {
    content: "";
  }

  .hero-visual::before {
    font-size: 8px;
  }

  .section,
  .section-compact {
    padding: 70px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .capability-row {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .method-grid {
    gap: 30px;
  }

  .knowledge-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-card {
    min-height: 220px;
  }

  .responsibility-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .cta-band .cta {
    width: 100%;
  }

  .page-hero {
    padding: 54px 0 38px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .article-layout {
    padding: 38px 0 72px;
  }

  .article p,
  .article li {
    font-size: 16px;
  }

  .footer-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
