:root {
  color-scheme: light dark;
  --bg: #f7f7f8;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --text: #18191d;
  --muted: #666971;
  --faint: #8b8e95;
  --line: rgba(20, 22, 27, 0.12);
  --accent: #30926c;
  --accent-strong: #1e7253;
  --accent-soft: rgba(48, 146, 108, 0.1);
  --shadow: 0 24px 70px rgba(24, 25, 29, 0.08);
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1013;
    --surface: rgba(25, 27, 32, 0.76);
    --surface-strong: #191b20;
    --text: #f2f2f3;
    --muted: #a9abb1;
    --faint: #777a82;
    --line: rgba(255, 255, 255, 0.11);
    --accent: #5fc49b;
    --accent-strong: #8bd8b9;
    --accent-soft: rgba(95, 196, 155, 0.11);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 4%, var(--accent-soft), transparent 27rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 9px 13px;
  border-radius: 7px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

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

.site-header,
.site-footer,
.page {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 92px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent);
  color: var(--text);
}

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #07150f;
}

.button--primary:hover {
  color: #07150f;
  filter: brightness(1.06);
}

.page {
  padding-block: 86px 100px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: clamp(44px, 8vw, 94px);
  align-items: end;
  padding-bottom: 76px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 7.5vw, 78px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(27px, 4vw, 42px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero__lede {
  max-width: 750px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 22px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__fact {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero__fact strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.hero__fact p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding-block: 70px;
  border-top: 1px solid var(--line);
}

.section__intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.section__intro p,
.prose p,
.card p,
.note p {
  color: var(--muted);
}

.section__intro p {
  margin: 0;
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.card p {
  margin: 0;
}

.card--accent {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
  background: var(--accent-soft);
}

.tick-list,
.plain-list,
.source-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list {
  display: grid;
  gap: 12px;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.tick-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 800;
}

.plain-list {
  display: grid;
  gap: 11px;
}

.plain-list li {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.plain-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

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

.kbd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.kbd-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 45px;
  border-bottom: 1px solid var(--line);
}

.kbd-row span:first-child {
  color: var(--muted);
}

.keys {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
  white-space: nowrap;
}

kbd {
  min-width: 26px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-bottom-color: color-mix(in srgb, var(--text) 28%, var(--line));
  border-radius: 5px;
  background: var(--surface-strong);
  color: var(--text);
  font: 650 12px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
  box-shadow: 0 1px 0 var(--line);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

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

th:last-child,
td:last-child {
  border-right: 0;
}

tr:last-child td {
  border-bottom: 0;
}

thead th {
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
  color: var(--text);
  font-size: 13px;
}

tbody th {
  color: var(--text);
  font-weight: 680;
}

td {
  color: var(--muted);
}

.yes {
  color: var(--accent-strong);
  font-weight: 720;
}

.qualified {
  color: var(--text);
  font-weight: 600;
}

.note {
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.note p {
  margin: 0;
  font-size: 14px;
}

.source-list {
  display: grid;
  gap: 10px;
}

.source-list li {
  color: var(--muted);
  font-size: 14px;
}

.source-list a {
  font-weight: 650;
}

.updated {
  color: var(--faint);
  font-size: 13px;
}

.cta {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 8px;
  font-size: clamp(25px, 3.5vw, 36px);
}

.cta p {
  margin: 0;
  color: var(--muted);
}

.cta .hero__actions {
  flex: none;
  margin: 0 0 0 auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-block: 34px 46px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero__fact {
    max-width: 540px;
  }

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

  .cta {
    display: block;
  }

  .cta .hero__actions {
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .page {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    align-items: flex-start;
    padding-block: 20px;
  }

  .site-nav {
    display: none;
  }

  .site-header > .button {
    margin-left: auto;
  }

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

  .hero {
    gap: 34px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: clamp(39px, 13vw, 58px);
  }

  .section {
    padding-block: 52px;
  }

  .grid,
  .kbd-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 21px;
  }

  .cta {
    padding: 25px;
  }

  .site-footer nav {
    width: 100%;
    margin-left: 0;
  }
}

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