:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #141517;
  color: #f0f1f3;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  background: #141517;
}

a {
  color: #d9dde3;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid #ff10f0;
  outline-offset: 4px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f0f1f3;
  color: #17191d;
  transform: translateY(-160%);
}

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

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner,
.site-footer__inner,
.page,
.landing,
.share-fallback {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: #f0f1f3;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-nav a,
.site-footer a {
  color: #989ea8;
  font-size: 13px;
}

.site-nav a {
  text-decoration: none;
}

.page {
  padding-block: 72px 96px;
}

.page-heading {
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-heading__meta {
  margin: 0;
  color: #989ea8;
  font-size: 13px;
}

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

h1 {
  max-width: 930px;
  margin-bottom: 0;
  margin-top: 22px;
  font-size: clamp(38px, 7vw, 70px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) 260px;
  gap: 92px;
  padding-top: 52px;
}

.prose section + section {
  margin-top: 46px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.prose h2 {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.prose p,
.prose li {
  color: #aeb2ba;
  font-size: 16px;
  line-height: 1.8;
}

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

.prose ul,
.prose ol {
  margin: 20px 0 0;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 12px;
}

.facts {
  position: sticky;
  top: 28px;
  align-self: start;
  padding-left: 20px;
  border-left: 2px solid #d9dde3;
}

.facts h2 {
  margin-bottom: 20px;
  font-size: 14px;
}

.facts dl {
  display: grid;
  gap: 20px;
}

.facts dt {
  color: #989ea8;
  font-size: 13px;
}

.facts dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.facts__contact {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.facts__contact p {
  margin: 0 0 8px;
  color: #989ea8;
  font-size: 13px;
}

.standards-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 54px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: standards;
}

.standards-list li {
  counter-increment: standards;
}

.standards-list li::before {
  content: counter(standards);
  display: block;
  margin-bottom: 12px;
  color: #7fbf9e;
  font-size: 13px;
  font-weight: 600;
}

.standards-list h2 {
  margin-bottom: 8px;
  font-size: 17px;
}

.standards-list p {
  margin-bottom: 0;
  color: #989ea8;
  font-size: 14px;
  line-height: 1.65;
}

.contact-address {
  display: inline-block;
  margin-top: 14px;
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.landing {
  min-height: calc(100svh - 82px);
  padding-block: 80px;
}

.landing h1 {
  max-width: 820px;
}

.landing__intro {
  max-width: 620px;
  margin-top: 28px;
  color: #989ea8;
  font-size: 18px;
  line-height: 1.7;
}

.landing__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 88px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.landing__links a {
  color: #f0f1f3;
  font-size: 17px;
  font-weight: 600;
}

.landing__links p {
  margin: 10px 0 0;
  color: #989ea8;
  font-size: 14px;
  line-height: 1.6;
}

.share-fallback {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 164px);
  padding-block: 64px;
}

.share-fallback__content {
  width: min(100%, 430px);
  text-align: center;
}

.share-fallback__icon {
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.share-fallback h1 {
  margin-top: 28px;
  font-size: clamp(32px, 8vw, 42px);
}

.share-fallback p {
  margin-top: 18px;
  color: #989ea8;
  font-size: 15px;
  line-height: 1.7;
}

.button {
  display: block;
  margin-top: 30px;
  padding: 17px 20px;
  border-radius: 16px;
  background: #d9dde3;
  color: #17191d;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.small-note {
  font-size: 12px !important;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 110px;
}

.site-footer p {
  margin: 0 auto 0 0;
  color: #989ea8;
  font-size: 13px;
}

@media (max-width: 760px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-block: 18px;
  }

  .site-nav {
    gap: 18px;
  }

  .page {
    padding-block: 48px 72px;
  }

  .page-heading {
    padding-bottom: 40px;
  }

  .page-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 40px;
  }

  .facts {
    position: static;
    grid-row: 1;
  }

  .standards-list,
  .landing__links {
    grid-template-columns: 1fr;
  }

  .landing {
    padding-block: 52px 72px;
  }

  .landing__links {
    gap: 30px;
    margin-top: 58px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 28px;
  }
}

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