@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit_300Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit_500Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --night-top: #1a3e4e;
  --night: #163644;
  --night-deep: #122e3a;
  --panel: #22505f;
  --panel-raised: #2c5d6e;
  --line: #3a6b7b;
  --hot-pink: #ff7ad9;
  --lime: #e4f78a;
  --mist: #c9dde3;
  --white: #ffffff;
  --gutter: 20px;
  --content-width: 720px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--night-top) 0%, var(--night) 320px, var(--night-deep) 100%);
  background-color: var(--night);
  color: var(--mist);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--white);
}

a:focus-visible {
  outline: 2px solid var(--hot-pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-header {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: block;
  line-height: 0;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-weight: 400;
  font-size: 16px;
}

.site-nav a {
  color: var(--mist);
  text-decoration: none;
}

.site-nav a[aria-current='page'] {
  color: var(--lime);
}

.site-nav a:hover {
  color: var(--white);
}

main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}

h1,
h2,
h3 {
  color: var(--white);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 44px;
  margin: 40px 0 8px;
}

h2 {
  font-size: 25px;
  margin: 48px 0 12px;
  scroll-margin-top: 24px;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

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

li {
  margin-bottom: 8px;
}

li::marker {
  color: var(--hot-pink);
}

strong {
  color: var(--white);
  font-weight: 500;
}

.updated {
  color: var(--mist);
  opacity: 0.8;
  font-size: 15px;
  margin-bottom: 32px;
}

.summary {
  background: var(--panel);
  border-radius: 24px;
  padding: 24px 24px 12px;
  margin: 32px 0 8px;
}

.summary h2 {
  margin-top: 0;
  color: var(--lime);
  font-size: 21px;
}

.contents {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0 12px;
  margin: 32px 0;
  font-size: 16px;
}

.contents ol {
  columns: 2;
  column-gap: 32px;
}

.contents li {
  break-inside: avoid;
  margin-bottom: 6px;
}

.contents a {
  color: var(--mist);
  text-decoration: none;
}

.contents a:hover {
  color: var(--lime);
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--white);
  font-weight: 500;
  background: var(--panel);
}

td:first-child {
  color: var(--white);
  font-weight: 400;
  width: 40%;
}

.placeholder {
  background: var(--lime);
  color: var(--night-deep);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 500;
}

.site-footer {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 24px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.hero {
  text-align: center;
  padding: 48px 0 24px;
}

.hero-buddy {
  width: 168px;
  height: 168px;
  margin: 0 auto 8px;
  display: block;
}

.hero h1 {
  font-size: 52px;
  margin: 16px 0 12px;
}

.hero-lead {
  font-size: 21px;
  color: var(--mist);
  max-width: 520px;
  margin: 0 auto 32px;
}

.hero-pill {
  display: inline-block;
  background: var(--hot-pink);
  color: var(--night-deep);
  font-weight: 500;
  border-radius: 999px;
  padding: 10px 22px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-list li {
  background: var(--panel);
  border-radius: 24px;
  padding: 20px;
  margin: 0;
}

.feature-list h2 {
  font-size: 19px;
  margin: 0 0 6px;
  color: var(--lime);
}

.feature-list p {
  margin: 0;
  font-size: 16px;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-logo img {
    height: 36px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 22px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .contents ol {
    columns: 1;
  }

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

  .summary {
    padding: 20px 18px 8px;
  }

  td:first-child {
    width: auto;
  }
}
