:root {
  color-scheme: light;
  --sky-0: #f8fdff;
  --sky-1: #eaf8ff;
  --sky-2: #d4efff;
  --aqua: #8fe6ee;
  --blue: #458ddd;
  --deep-blue: #2855a7;
  --violet: #8c78df;
  --rose: #f4a8c2;
  --gold: #ffd778;
  --leaf: #77c996;
  --ink: #233256;
  --muted: #667499;
  --line: rgba(74, 133, 196, 0.18);
  --glass: rgba(255, 255, 255, 0.76);
  --shadow: 0 22px 60px rgba(63, 112, 181, 0.18);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.98) 0 5%, transparent 6%),
    radial-gradient(circle at 80% 16%, rgba(255, 215, 120, 0.58) 0 3%, transparent 4%),
    radial-gradient(circle at 72% 58%, rgba(244, 168, 194, 0.4), transparent 28%),
    linear-gradient(180deg, #e9f8ff 0%, #fff8fb 52%, #f8fdff 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(69, 141, 221, 0.22) 0 1px, transparent 1.8px),
    linear-gradient(115deg, transparent 0 46%, rgba(255, 255, 255, 0.44) 47% 48%, transparent 49% 100%);
  background-size: 74px 74px, 180px 180px;
  opacity: 0.72;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--deep-blue);
  color: #fff;
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 86px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(248, 253, 255, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 238px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--deep-blue);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-name {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1.02;
}

.brand-name span:first-child {
  color: var(--deep-blue);
  font-size: 14px;
}

.brand-name span:last-child {
  color: #3f6fa9;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.brand-mark {
  flex: 0 0 48px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(69, 141, 221, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 68% 26%, rgba(255, 255, 255, 0.96) 0 9%, transparent 10%),
    linear-gradient(140deg, rgba(225, 248, 255, 0.95), rgba(255, 255, 255, 0.9) 48%, rgba(255, 227, 240, 0.9));
  box-shadow: 0 10px 28px rgba(69, 141, 221, 0.18);
}

.brand-mark svg {
  width: 38px;
  height: 38px;
}

.brand-gem {
  fill: url("#brandSky");
  stroke: #255aa6;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-leaf {
  fill: rgba(119, 201, 150, 0.72);
  stroke: #2b7f9d;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.brand-star {
  fill: #ffffff;
  stroke: #458ddd;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.brand-orbit {
  fill: none;
  stroke: #f3a8c8;
  stroke-linecap: round;
  stroke-width: 2.2;
}

.top-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  overflow: visible;
}

.header-actions {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.nav-group {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.nav-group::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  display: block;
  width: calc(100% + 24px);
  height: 12px;
}

.nav-link,
.nav-trigger {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #405d9a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.nav-trigger {
  font-family: inherit;
}

.nav-trigger::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  opacity: 0.62;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"],
.nav-trigger:hover,
.nav-trigger:focus-visible,
.nav-trigger[aria-current="page"],
.nav-group[data-open="true"] .nav-trigger {
  border-color: rgba(69, 141, 221, 0.2);
  background: rgba(255, 255, 255, 0.78);
  color: var(--deep-blue);
  outline: none;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  z-index: 40;
  display: grid;
  min-width: 178px;
  padding: 10px;
  border: 1px solid rgba(69, 141, 221, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(69, 141, 221, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu,
.nav-group[data-open="true"] .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-menu a,
.nav-menu-note {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #405d9a;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  background: rgba(225, 248, 255, 0.82);
  color: var(--deep-blue);
  outline: none;
}

.nav-menu-note {
  color: rgba(64, 93, 154, 0.52);
  cursor: default;
}

.language-control {
  flex: 0 0 170px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid rgba(69, 141, 221, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #405d9a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.language-control select {
  max-width: 86px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--deep-blue);
  font: inherit;
  outline: none;
  cursor: pointer;
}

main,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 5vw, 58px);
  align-items: center;
  min-height: calc(100dvh - 86px);
  padding: clamp(32px, 7vw, 78px) 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-art {
  position: relative;
  min-height: 520px;
  border-radius: 28px 28px 52px 52px;
  background:
    radial-gradient(circle at 60% 24%, rgba(255, 255, 255, 0.9) 0 4%, transparent 5%),
    radial-gradient(circle at 48% 44%, rgba(143, 230, 238, 0.72), transparent 20%),
    linear-gradient(160deg, #bfeeff 0%, #f8fdff 44%, #ffdbea 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50% 48% 44% 52%;
  background:
    radial-gradient(circle at 46% 42%, rgba(255, 255, 255, 0.88) 0 9%, transparent 10%),
    radial-gradient(circle at 48% 66%, rgba(255, 255, 255, 0.68) 0 5%, transparent 6%),
    linear-gradient(180deg, rgba(69, 141, 221, 0.15), rgba(140, 120, 223, 0.08));
}

.hero-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 30%;
  background:
    linear-gradient(150deg, transparent 0 26%, rgba(119, 201, 150, 0.82) 27% 40%, transparent 41%),
    linear-gradient(210deg, transparent 0 40%, rgba(69, 141, 221, 0.28) 41% 52%, transparent 53%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88));
}

.star,
.planet,
.creature-shape {
  position: absolute;
  display: block;
}

.star {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.95);
}

.star-one {
  left: 18%;
  top: 18%;
}

.star-two {
  right: 22%;
  top: 34%;
}

.star-three {
  left: 32%;
  bottom: 28%;
}

.planet {
  right: 15%;
  top: 13%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff5ba, var(--gold));
  box-shadow: 0 0 36px rgba(255, 215, 120, 0.74);
}

.creature-shape {
  left: 25%;
  bottom: 19%;
  width: 150px;
  height: 112px;
  border-radius: 48% 52% 42% 58%;
  background:
    radial-gradient(circle at 36% 42%, #2e579c 0 4%, transparent 5%),
    radial-gradient(circle at 64% 42%, #2e579c 0 4%, transparent 5%),
    linear-gradient(160deg, #ffffff, #c6f4fb 54%, #9cd6ee);
  box-shadow: 0 18px 38px rgba(69, 141, 221, 0.24);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: #1d2d55;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  color: #243760;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: #273a66;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

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

.hero-copy > p:not(.eyebrow),
.page-hero > p:not(.eyebrow),
.section-head p {
  max-width: 680px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 12px 26px rgba(69, 141, 221, 0.26);
}

.button.ghost {
  border-color: rgba(69, 141, 221, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--deep-blue);
}

.button:focus-visible {
  outline: 3px solid rgba(255, 215, 120, 0.72);
  outline-offset: 3px;
}

.section {
  padding: clamp(38px, 7vw, 76px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.module-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.module-card,
.info-card,
.source-link,
.source-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 14px 38px rgba(63, 112, 181, 0.12);
  backdrop-filter: blur(12px);
}

.module-card {
  position: relative;
  min-height: 260px;
  padding: 22px;
  overflow: hidden;
  text-decoration: none;
}

.module-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  opacity: 0.7;
}

.release-card::after {
  background: #ffdf84;
}

.wiki-card::after {
  background: #91e6ef;
}

.tools-card::after {
  background: #9ad99e;
}

.about-card::after {
  background: #c5b8ff;
}

.character-card::after {
  background: #f7a8c5;
}

.kibo-card::after {
  background: #91e6ef;
}

.guides-card::after {
  background: #9ad99e;
}

.sources-card::after {
  background: #c5b8ff;
}

.faq-card::after {
  background: #9fe6d4;
}

.codes-card::after {
  background: #ffd778;
}

.module-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--deep-blue);
  font-weight: 900;
}

.module-card p,
.info-card p,
.source-link span,
.source-list span {
  color: var(--muted);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: stretch;
}

.split-panel > div,
.source-link {
  padding: 26px;
}

.split-panel > div {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
}

.source-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.source-link strong {
  color: var(--deep-blue);
  font-size: 24px;
}

.page-shell {
  padding: clamp(30px, 6vw, 72px) 0;
}

.page-hero {
  min-height: 360px;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.88) 0 4%, transparent 5%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(221, 245, 255, 0.72));
  box-shadow: var(--shadow);
}

.release-page {
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 215, 120, 0.78) 0 8%, transparent 9%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(215, 239, 255, 0.78));
}

.character-page {
  background:
    radial-gradient(circle at 82% 22%, rgba(244, 168, 194, 0.72) 0 11%, transparent 12%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(226, 235, 255, 0.78));
}

.kibo-page {
  background:
    radial-gradient(circle at 82% 22%, rgba(143, 230, 238, 0.86) 0 11%, transparent 12%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(226, 249, 245, 0.78));
}

.guides-page {
  background:
    radial-gradient(circle at 82% 22%, rgba(119, 201, 150, 0.74) 0 10%, transparent 11%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(239, 249, 226, 0.78));
}

.sources-page {
  background:
    radial-gradient(circle at 82% 22%, rgba(140, 120, 223, 0.62) 0 10%, transparent 11%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(239, 235, 255, 0.78));
}

.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.info-card {
  min-height: 220px;
  padding: 22px;
}

.label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.label.confirmed {
  background: #e0f7ff;
  color: #236da9;
}

.label.beta {
  background: #f3eaff;
  color: #7057c9;
}

.label.unknown {
  background: #fff1cc;
  color: #92651b;
}

.source-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.source-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 20px;
}

.source-list strong {
  color: var(--deep-blue);
}

.update-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(69, 141, 221, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 900;
}

.status-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.status-summary article,
.article-panel,
.faq-list details,
.source-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 14px 38px rgba(63, 112, 181, 0.1);
  backdrop-filter: blur(12px);
}

.status-summary article {
  min-height: 190px;
  padding: 18px;
}

.status-summary strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.release-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.article-panel {
  padding: 24px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.platform-list span,
.platform-list a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid rgba(69, 141, 221, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 900;
}

.platform-list a {
  text-decoration: none;
}

.faq-section {
  margin-top: 40px;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.source-note {
  margin-top: 28px;
  padding: 24px;
}

.database-section {
  margin-top: 34px;
}

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

.schema-grid article,
.record-grid article,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 14px 38px rgba(63, 112, 181, 0.1);
  backdrop-filter: blur(12px);
}

.schema-grid article {
  min-height: 150px;
  padding: 20px;
}

.schema-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
}

.schema-grid span {
  color: var(--muted);
}

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

.record-grid article {
  min-height: 170px;
  padding: 18px;
}

.record-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.record-link:focus-visible {
  outline: 3px solid rgba(69, 141, 221, 0.38);
  outline-offset: 4px;
}

.record-grid strong {
  display: block;
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.16;
}

.record-link-text {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  margin-top: auto;
  padding: 6px 10px;
  border: 1px solid rgba(69, 141, 221, 0.2);
  border-radius: 999px;
  color: var(--deep-blue);
  font-size: 12px;
  font-weight: 900;
}

.detail-hero {
  min-height: 320px;
}

.detail-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.detail-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.detail-labels .label {
  margin-bottom: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  gap: 18px;
  margin-top: 28px;
}

.detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 14px 38px rgba(63, 112, 181, 0.1);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.detail-wide {
  margin-top: 18px;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.fact-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(69, 141, 221, 0.14);
}

.fact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.source-chip-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.source-chip-list li {
  padding: 12px 14px;
  border: 1px solid rgba(69, 141, 221, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-top: 18px;
  color: var(--deep-blue);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.empty-state {
  margin-top: 24px;
  padding: 28px;
}

code {
  padding: 2px 6px;
  border: 1px solid rgba(69, 141, 221, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--deep-blue);
  font-size: 0.92em;
}

.site-footer {
  padding: 30px 0 46px;
  border-top: 1px solid rgba(74, 133, 196, 0.14);
}

.site-footer p {
  margin-bottom: 4px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
}

.footer-links a {
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 360px;
    order: 2;
  }

  .module-grid,
  .content-grid,
  .status-summary,
  .release-body,
  .schema-grid,
  .record-grid,
  .detail-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  main,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    padding: 14px 12px;
  }

  .brand {
    align-items: flex-start;
    flex-basis: auto;
    width: 100%;
  }

  .brand-name {
    max-width: calc(100vw - 92px);
  }

  .top-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .header-actions {
    width: 100%;
  }

  .nav-group,
  .nav-link,
  .nav-trigger {
    width: 100%;
  }

  .nav-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-group::after {
    display: none;
  }

  .nav-link,
  .nav-trigger {
    text-align: center;
  }

  .nav-group .nav-trigger {
    grid-column: 1 / -1;
  }

  .nav-menu {
    position: static;
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
    visibility: visible;
  }

  .nav-group:focus-within .nav-menu,
  .nav-group:hover .nav-menu {
    transform: none;
  }

  .nav-group[data-open="true"] .nav-menu {
    display: grid;
  }

  .language-control {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-copy,
  .page-hero {
    padding: 20px;
  }

  .hero-art {
    min-height: 280px;
  }

  h1 {
    font-size: clamp(38px, 14vw, 56px);
  }

  .module-grid,
  .content-grid,
  .status-summary,
  .release-body,
  .schema-grid,
  .record-grid,
  .detail-title-row,
  .detail-layout,
  .source-list article {
    grid-template-columns: 1fr;
  }

  .detail-labels {
    justify-content: flex-start;
  }

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

  .module-card {
    min-height: 210px;
  }
}
