:root {
  color-scheme: light dark;
  --ink: #0e1512;
  --soot: #17201d;
  --canvas: #f2f5f3;
  --surface: #ffffff;
  --muted: #5f6a65;
  --faint: #7a8680;
  --line: #d6e0db;
  --accent: #246b56;
  --accent-strong: #184b3b;
  --on-dark: #dce7e2;
  --radius: 16px;
  --shadow: 0 20px 60px rgb(17 20 23 / 0.08);
  font-family:
    "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgb(214 224 219 / 0.9);
  background: rgb(242 245 243 / 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img,
footer img {
  border-radius: 10px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--accent);
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.intro {
  display: grid;
  align-content: center;
  min-height: min(660px, calc(100dvh - 72px));
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.article-header > p:first-child,
.summary > p {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.2vw, 92px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.intro > p:not(.eyebrow) {
  max-width: 670px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.intro-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.intro-links a:first-child {
  border-color: var(--accent);
  background: var(--accent);
  color: #f8faff;
}

.intro-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.intro-links a:first-child:hover {
  color: #f8faff;
  background: var(--accent-strong);
}

.summary {
  display: grid;
  grid-template-columns: 0.6fr 2fr;
  gap: 64px;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.summary dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 64px;
  margin: 0;
}

.summary dt {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.summary dd {
  margin: 0;
  color: var(--muted);
}

article {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.6fr);
  gap: clamp(58px, 9vw, 140px);
  scroll-margin-top: 96px;
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.article-header {
  position: sticky;
  top: 112px;
  align-self: start;
}

.article-header h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1;
}

.article-header > p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

article > section,
.support-grid,
.choice-list {
  grid-column: 2;
}

article > section {
  padding: 0 0 40px;
}

article > section + section {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 730;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

article p,
article li {
  color: var(--muted);
}

article p {
  max-width: 70ch;
}

article ul {
  max-width: 68ch;
  padding-left: 22px;
}

article li + li {
  margin-top: 8px;
}

.choice-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choice-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.choice-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.choice-list li > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.choice-list h3 {
  color: var(--ink);
}

.choice-list p {
  margin-bottom: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.support-grid section {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.support-grid p {
  margin-bottom: 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 144px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

footer div {
  display: flex;
  align-items: center;
  gap: 11px;
}

footer p {
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf5f1;
    --soot: #dce7e2;
    --canvas: #0e1512;
    --surface: #17201d;
    --muted: #b8c7c0;
    --faint: #94a79e;
    --line: #33423b;
    --accent: #7dd0b1;
    --accent-strong: #9addc4;
    --on-dark: #dce7e2;
    --shadow: 0 20px 60px rgb(0 0 0 / 0.3);
  }

  .site-header {
    border-color: rgb(52 59 65 / 0.9);
    background: rgb(17 20 23 / 0.92);
  }

  .intro-links a:first-child {
    color: #0e1512;
  }

  .intro-links a:first-child:hover {
    color: #0e1512;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    min-height: 92px;
    padding: 13px 18px;
  }

  .brand {
    margin-top: 5px;
  }

  nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 16px;
  }

  nav a {
    min-height: 32px;
    font-size: 12px;
  }

  main,
  footer {
    width: min(100% - 36px, 680px);
  }

  .intro {
    min-height: calc(100dvh - 92px);
    padding: 64px 0 54px;
  }

  h1 {
    font-size: clamp(45px, 15vw, 68px);
  }

  .summary {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 56px 0;
  }

  .summary dl {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  article {
    grid-template-columns: 1fr;
    gap: 46px;
    scroll-margin-top: 110px;
    padding: 80px 0;
  }

  .article-header {
    position: static;
  }

  article > section,
  .support-grid,
  .choice-list {
    grid-column: 1;
  }

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

  .support-grid section {
    min-height: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--canvas);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
