:root {
  color-scheme: light;
  --blue: #0d4efa;
  --blue-dark: #0837b7;
  --ink: #111827;
  --muted: #5f6b7a;
  --soft: #f5f9fc;
  --soft-2: #eef4fb;
  --surface: #ffffff;
  --line: #e3e9f2;
  --line-strong: #c8d2df;
  --code-bg: #101827;
  --code-text: #f8fbff;
  --ok: #0f766e;
  --warn: #b7791f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #8bb7ff;
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--ink);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.nav-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 183px;
  height: auto;
  display: block;
}

.main-nav,
.footer-links,
.legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 6vw, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 900px;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 830px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.76rem 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--blue);
}

.button.secondary:hover {
  background: var(--soft-2);
  color: var(--blue-dark);
}

.status-card,
.panel,
.notice,
.release-entry {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.status-card {
  padding: 22px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

.status-card dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}

.status-card dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.status-card dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8f7f4;
  color: var(--ok);
  font-weight: 800;
}

.section {
  padding: clamp(42px, 7vw, 78px) 0;
}

.section.soft {
  background: var(--soft);
}

.section-header {
  max-width: 850px;
  margin-bottom: 26px;
}

.section-header p {
  margin-top: 12px;
  color: var(--muted);
}

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

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

.panel {
  padding: 22px;
}

.panel h3 + p,
.panel h3 + ul {
  margin-top: 12px;
}

.panel p,
.panel li,
.notice p,
.release-entry p {
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 6px;
}

.notice {
  padding: 18px 20px;
  border-left: 5px solid var(--blue);
}

.notice.warn {
  border-left-color: var(--warn);
  background: #fffaf0;
}

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

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

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

th {
  background: var(--soft);
  color: var(--ink);
  font-size: 0.92rem;
}

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

.code-wrap {
  position: relative;
  margin-top: 16px;
}

pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre;
  border-radius: 8px;
  background: var(--code-bg);
  color: var(--code-text);
  padding: 20px 58px 20px 20px;
  font: 0.92rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.copy {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid #59657a;
  border-radius: 6px;
  background: #202a3a;
  color: #ffffff;
  padding: 7px 10px;
  cursor: pointer;
  font: 0.8rem/1 system-ui, sans-serif;
}

.release-list {
  display: grid;
  gap: 18px;
}

.release-entry {
  padding: 22px;
}

.release-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  padding: 30px 0 42px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-links a,
.legal-links a {
  color: var(--muted);
}

.small {
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 880px) {
  .hero-grid,
  .grid,
  .grid.two,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .nav-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .main-nav,
  .footer-links,
  .legal-links {
    gap: 12px;
  }

  pre {
    padding-right: 20px;
  }

  .copy {
    position: static;
    margin-top: 8px;
  }
}
