:root {
  color-scheme: light;
  --navy-950: #07152f;
  --navy-900: #102a56;
  --blue-700: #194fb6;
  --blue-100: #dce8ff;
  --blue-50: #f2f6ff;
  --gold: #ffce36;
  --ink: #16213a;
  --muted: #5c677d;
  --line: #dfe4ee;
  --paper: #ffffff;
  --off-white: #f7f8fb;
  --missing-bg: #eceff4;
  --missing-ink: #5b6474;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(7, 21, 47, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 206, 54, 0.14), transparent 22rem),
    linear-gradient(180deg, #f4f7ff 0, var(--off-white) 34rem);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-700);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-950);
  text-decoration-thickness: 2px;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.intro {
  max-width: 960px;
  padding: 72px 0 70px;
}

.review-warning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 32px;
  padding: 18px 22px;
  color: #561d0b;
  background: #fff0c2;
  border: 2px solid #e49b19;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(122, 46, 19, 0.1);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.review-warning strong {
  color: #561d0b;
  font-weight: 850;
}

.review-warning span {
  flex: 0 0 auto;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.15rem, 4.2vw, 3.65rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.lede {
  max-width: 780px;
  margin: 30px 0 0;
  color: #3f4b64;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.legal-note {
  position: relative;
  max-width: 900px;
  margin-top: 40px;
  padding: 22px 26px 22px 30px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.legal-note::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--gold);
  content: "";
}

.legal-note + .legal-note {
  margin-top: 14px;
}

.legal-note.privacy-note::before {
  background: var(--blue-700);
}

.legal-note p,
.meta-row p,
.section-note,
.contribute p,
footer p {
  margin: 0;
}

.legal-note blockquote {
  margin: 12px 0 0;
  color: #303c55;
  font-size: 0.96rem;
  line-height: 1.6;
}

.legal-note blockquote p + p {
  margin-top: 8px;
}

.legal-note-title {
  color: var(--navy-950);
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  max-width: 900px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.tag-key {
  max-width: 900px;
  margin-top: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.tag-key-title {
  margin: 0 0 12px;
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tag-key-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 22px;
}

.tag-key-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.tag-key-item > :first-child {
  flex: 0 0 auto;
  margin-top: 1px;
}

.table-section {
  padding: 34px 0 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.table-shell {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.scope-notes {
  margin-top: 22px;
  padding: 24px 26px;
  color: #303c55;
  background: var(--blue-50);
  border: 1px solid #cfdbf3;
  border-radius: 12px;
}

.scope-notes h3 {
  margin: 0 0 14px;
  color: var(--navy-950);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

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

.scope-notes p {
  margin: 0;
}

.scope-disclaimer {
  margin-top: 16px !important;
  padding-top: 14px;
  color: var(--muted);
  border-top: 1px solid #cfdbf3;
  font-size: 0.82rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

thead {
  color: #fff;
  background: var(--navy-900);
}

th,
td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
}

thead th {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

thead th:first-child,
tbody th {
  width: 19%;
}

thead th:nth-child(2) {
  width: 46%;
}

thead th:last-child {
  width: 35%;
}

tbody tr {
  border-bottom: 1px solid var(--line);
}

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

tbody tr:nth-child(even) {
  background: #fafbfe;
}

tbody tr:hover {
  background: var(--blue-50);
}

tbody th {
  color: var(--navy-950);
  font-size: 1rem;
  font-weight: 800;
}

.app-link {
  display: block;
  margin-top: 3px;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.35;
}

.release-tag {
  display: table;
  margin-top: 7px;
  padding: 3px 8px;
  color: #07563a;
  background: #d9f8ea;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.participation-tag {
  display: table;
  margin-top: 7px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.participation-eea,
.tag-eea {
  color: #194589;
  background: #dce8ff;
}

.participation-candidate,
.tag-candidate {
  color: #7a2851;
  background: #f8ddeb;
}

.tag-face {
  color: #8f1d1d;
  background: #ffdbdb;
}

tbody td {
  color: #303c55;
}

.qualifier {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.tag,
.missing {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tag {
  margin-right: 4px;
}

.tag-demo {
  color: #714700;
  background: #fff0c2;
}

.tag-limited {
  color: #7a2e13;
  background: #ffe1d5;
}

.tag-released {
  color: #07563a;
  background: #d9f8ea;
}

.tag-certified {
  color: #56308c;
  background: #eee4ff;
}

.missing {
  color: var(--missing-ink);
  background: var(--missing-bg);
}

.link-separator {
  padding-inline: 0.28rem;
  color: #98a1b2;
}

.contribute {
  position: relative;
  margin-bottom: 80px;
  padding: clamp(34px, 6vw, 64px);
  overflow: hidden;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contribute::after {
  position: absolute;
  top: -75px;
  right: -45px;
  width: 260px;
  height: 260px;
  background: repeating-conic-gradient(var(--gold) 0 6deg, transparent 6deg 30deg);
  border-radius: 50%;
  content: "";
  opacity: 0.15;
}

.contribute .eyebrow {
  color: #a8c3ff;
}

.contribute h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.contribute p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-top: 20px;
  color: #dce6f9;
}

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 12px 18px;
  color: var(--navy-950);
  background: var(--gold);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  color: var(--navy-950);
  background: #ffdb66;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  main,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .intro {
    padding: 64px 0 54px;
  }

  .review-warning {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .legal-note {
    padding: 20px 20px 20px 24px;
  }

  .meta-row,
  .section-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .tag-key-items {
    grid-template-columns: 1fr;
  }

  .table-shell {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  tbody tr,
  tbody tr:nth-child(even) {
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(7, 21, 47, 0.05);
  }

  tbody tr:hover {
    background: var(--paper);
  }

  tbody th {
    width: 100%;
    padding: 17px 18px;
    color: #fff;
    background: var(--navy-900);
  }

  tbody th .app-link {
    color: #a8c3ff;
  }

  tbody td {
    position: relative;
    width: 100%;
    min-height: 58px;
    padding: 28px 18px 16px;
    border-top: 1px solid var(--line);
  }

  tbody td::before {
    position: absolute;
    top: 8px;
    left: 18px;
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .table-section {
    padding-bottom: 68px;
  }

  .scope-notes-grid {
    grid-template-columns: 1fr;
  }

  .contribute {
    margin-bottom: 48px;
  }
}

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