:root {
  color-scheme: dark;
  --bg: #10111f;
  --bg-deep: #090a12;
  --surface: #181a28;
  --text: #f7f8f4;
  --muted: #b7bac4;
  --lime: #c8f13f;
  --mint: #55dfa9;
  --sun: #ffd563;
  --ink: #11131b;
  --line: rgba(255, 255, 255, 0.14);
  --page: min(1120px, calc(100% - 40px));
  font-family: "Manrope", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: #f4f6f0;
  color: var(--ink);
}

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

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--lime);
  color: var(--ink);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 10, 18, 0.94);
  color: var(--text);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.brand-accent {
  color: var(--mint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.download-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.download-link svg {
  width: 16px;
  height: 16px;
}

.info-hero {
  background: var(--bg-deep);
  color: var(--text);
}

.info-hero-inner {
  width: var(--page);
  min-height: 390px;
  margin: 0 auto;
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.36fr);
  gap: 70px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.info-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.info-hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d2d4cf;
  font-size: 18px;
  line-height: 1.7;
}

.revision {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

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

.info-main {
  background: #f4f6f0;
}

.info-grid {
  width: var(--page);
  margin: 0 auto;
  padding: 82px 0 110px;
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 80px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 104px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.toc-title {
  margin: 0 0 14px;
  color: #6a6f69;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.toc nav {
  display: grid;
  gap: 9px;
}

.toc a {
  color: #555b56;
  font-size: 13px;
  line-height: 1.45;
}

.toc a:hover {
  color: #12694f;
}

.prose {
  min-width: 0;
}

.prose section {
  scroll-margin-top: 100px;
  padding: 0 0 48px;
}

.prose section + section {
  padding-top: 48px;
  border-top: 1px solid rgba(17, 19, 27, 0.16);
}

.prose h2 {
  margin: 0 0 20px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: 0;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 19px;
  line-height: 1.4;
}

.prose p,
.prose li {
  color: #4f554f;
  font-size: 16px;
  line-height: 1.82;
}

.prose p {
  margin: 0 0 17px;
}

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

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

.prose a {
  color: #12694f;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.notice {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid #2f9d78;
  background: #e5f4ec;
}

.notice.warning {
  border-left-color: #c59618;
  background: #fff4cf;
}

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

.provider-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0;
  border-top: 1px solid rgba(17, 19, 27, 0.18);
}

.provider-item {
  min-width: 0;
  padding: 20px 22px 20px 0;
  border-bottom: 1px solid rgba(17, 19, 27, 0.18);
}

.provider-item:nth-child(even) {
  padding-left: 22px;
  border-left: 1px solid rgba(17, 19, 27, 0.18);
}

.provider-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 15px;
}

.provider-item span {
  color: #626761;
  font-size: 13px;
  line-height: 1.6;
}

.contact-band {
  background: var(--lime);
  color: var(--ink);
}

.contact-inner {
  width: var(--page);
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.contact-inner h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
}

.contact-inner p {
  max-width: 660px;
  margin: 14px 0 0;
  color: #3d4239;
  font-size: 15px;
  line-height: 1.7;
}

.contact-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(17, 19, 27, 0.28);
  border-radius: 6px;
  background: var(--ink);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.contact-button svg {
  width: 18px;
  height: 18px;
}

footer {
  background: var(--bg-deep);
  color: var(--text);
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

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

@media (max-width: 860px) {
  :root {
    --page: min(100% - 32px, 700px);
  }

  .nav-links {
    display: none;
  }

  .download-link {
    margin-left: auto;
  }

  .info-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 72px 0 56px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 58px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 560px) {
  :root {
    --page: calc(100% - 28px);
  }

  .site-header {
    height: 64px;
  }

  .brand {
    font-size: 18px;
  }

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

  .download-link span {
    display: none;
  }

  .download-link {
    width: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
  }

  .info-hero-inner {
    padding-top: 56px;
  }

  .info-hero h1 {
    font-size: 48px;
  }

  .provider-list {
    grid-template-columns: 1fr;
  }

  .provider-item,
  .provider-item:nth-child(even) {
    padding: 18px 0;
    border-left: 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-button {
    width: 100%;
    justify-content: center;
  }

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

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

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

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