:root {
  color-scheme: dark;
  --ink: #f7fbf9;
  --muted: #a9bab2;
  --surface: #101a16;
  --surface-raised: #17241e;
  --line: #2b3c34;
  --accent: #8cffc7;
  --accent-ink: #07130e;
  --warm: #ffc978;
  --page: #07100c;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% -10%, rgba(70, 228, 154, 0.14), transparent 33rem), var(--page);
  color: var(--ink);
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--warm);
  color: #201500;
  font-weight: 800;
  transform: translateY(-200%);
}

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

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(140, 255, 199, 0.16);
  background: rgba(7, 16, 12, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 820;
  letter-spacing: -0.02em;
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a[aria-current='page'],
.site-nav a:hover {
  background: var(--surface-raised);
  color: var(--ink);
}

.language-switch {
  display: inline-flex;
  margin-left: 0.6rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch button {
  min-width: 2.7rem;
  padding: 0.4rem 0.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button[aria-pressed='true'] {
  background: var(--accent);
  color: var(--accent-ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.policy-hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.lead {
  max-width: 62ch;
  margin: 1.6rem 0 0;
  color: #c6d5ce;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: linear-gradient(145deg, #1a2b23, #0d1712);
}

.hero-card::after {
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(140, 255, 199, 0.1);
  content: '';
}

.score-ring {
  display: grid;
  width: 9rem;
  height: 9rem;
  margin-bottom: 2rem;
  place-items: center;
  border: 12px solid rgba(140, 255, 199, 0.15);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  border-radius: 50%;
  font-size: 2.6rem;
  font-weight: 850;
}

.hero-card strong {
  display: block;
  font-size: 1.25rem;
}

.hero-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: 2rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.prose {
  max-width: 72ch;
}

.prose p,
.prose li {
  color: #bdcbc5;
  line-height: 1.72;
}

.prose h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.prose h3:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgba(140, 255, 199, 0.35);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(140, 255, 199, 0.12), rgba(140, 255, 199, 0.03));
}

.contact-panel h2 {
  margin: 0 0 0.7rem;
}

.contact-panel p {
  max-width: 60ch;
  margin: 0;
  color: #c6d5ce;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.note {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--warm);
  border-radius: 0 0.8rem 0.8rem 0;
  background: rgba(255, 201, 120, 0.08);
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.5rem;
  color: var(--muted);
}

.site-footer {
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.js-enabled [data-lang] {
  display: none;
}

.js-enabled[data-locale='en'] [data-lang='en'],
.js-enabled[data-locale='ru'] [data-lang='ru'] {
  display: block;
}

@media (max-width: 800px) {
  .hero,
  .section-head,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .hero-card {
    max-width: 32rem;
  }

  .contact-panel .button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 1.25rem, 1120px);
  }

  .header-inner {
    min-height: 68px;
    gap: 0.35rem;
  }

  .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .site-nav a {
    padding-inline: 0.5rem;
    font-size: 0.86rem;
  }

  .language-switch {
    margin-left: 0.1rem;
  }

  .language-switch button {
    min-width: 2.25rem;
    padding-inline: 0.35rem;
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4.5rem);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
