:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #070b10;
  color: #f4f7fb;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  background: #070b10;
}

a {
  color: #4de0ad;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: #ffffff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #62e6b7;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 12px;
  border-radius: 4px;
  background: #f4f7fb;
  color: #070b10;
  font-weight: 800;
  transform: translateY(-140%);
}

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

.site-header {
  border-bottom: 1px solid #27303d;
  background: #0b1016;
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 184px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #dfe7f1;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: #4de0ad;
}

.page {
  padding: 52px 0 72px;
}

.breadcrumbs {
  margin-bottom: 28px;
  color: #8f9baa;
  font-size: 14px;
  line-height: 1.5;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: #586577;
  content: "/";
}

.breadcrumbs a {
  color: #aeb9c8;
}

.eyebrow {
  margin: 0 0 12px;
  color: #4de0ad;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  max-width: 760px;
  margin-top: 0;
  color: #f4f7fb;
}

h1 {
  margin-bottom: 20px;
  font-size: 38px;
  line-height: 1.16;
}

h2 {
  margin: 42px 0 14px;
  font-size: 25px;
  line-height: 1.25;
}

h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

p,
li {
  max-width: 760px;
  color: #c6cfdb;
  font-size: 17px;
  line-height: 1.72;
}

p {
  margin: 0 0 20px;
}

.lede {
  max-width: 820px;
  color: #dfe7f1;
  font-size: 20px;
  line-height: 1.6;
}

ul,
ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

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

.guide-index {
  margin-top: 40px;
  border-top: 1px solid #27303d;
}

.guide-link {
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #27303d;
  text-decoration: none;
}

.guide-link strong {
  display: block;
  margin-bottom: 6px;
  color: #f4f7fb;
  font-size: 19px;
  line-height: 1.35;
}

.guide-link span:first-child span {
  display: block;
  max-width: 720px;
  color: #aeb9c8;
  font-size: 15px;
  line-height: 1.55;
}

.guide-link__arrow {
  color: #4de0ad;
  font-size: 24px;
}

.guide-link:hover strong {
  color: #4de0ad;
}

.note {
  max-width: 760px;
  margin: 32px 0;
  padding: 18px 20px;
  border-left: 3px solid #4de0ad;
  background: #0d141c;
}

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

.next-guides {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #27303d;
}

.next-guides h2 {
  margin-top: 0;
  font-size: 20px;
}

.next-guides__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.site-footer {
  border-top: 1px solid #27303d;
  background: #0b1016;
}

.site-footer__inner {
  min-height: 94px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8f9baa;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.site-footer a {
  color: #aeb9c8;
}

@media (max-width: 680px) {
  .site-header__inner,
  .page,
  .site-footer__inner {
    width: min(100% - 32px, 960px);
  }

  .site-header__inner {
    min-height: 68px;
    gap: 14px;
  }

  .brand img {
    width: 142px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  .page {
    padding: 38px 0 56px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    margin-top: 36px;
    font-size: 22px;
  }

  .lede {
    font-size: 18px;
  }

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

  .guide-link {
    padding: 20px 0;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

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