:root {
  color-scheme: dark;
  --bg: #071014;
  --surface: #0e1a20;
  --surface-2: #13242b;
  --line: #233a43;
  --text: #eef7f5;
  --muted: #9bb1b5;
  --brand: #68f5bd;
  --brand-dark: #0d3c31;
  --danger: #ff8e8e;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 80% 0, #12362f 0, transparent 28rem), var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a {
  color: inherit;
}
.site-header {
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(7, 16, 20, 0.84);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 4;
}
.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
  text-decoration: none;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
nav a:hover,
nav a:focus-visible {
  color: var(--brand);
}
.shell {
  width: min(1160px, 90vw);
  margin: 0 auto;
  padding: 4rem 0 6rem;
}
footer {
  color: var(--muted);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--line);
}
h1,
h2 {
  line-height: 1.14;
  margin-top: 0;
}
h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.2rem;
}
.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
}
.muted,
small {
  color: var(--muted);
}
.hero,
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.status-pill,
.status {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-dark);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.muted-pill,
.status.revoked {
  color: var(--muted);
  background: var(--surface-2);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.metrics article,
.panel,
.auth-card,
.secret-once {
  background: linear-gradient(145deg, rgba(20, 38, 45, 0.96), rgba(11, 24, 29, 0.96));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}
.metrics span {
  color: var(--muted);
  display: block;
}
.metrics strong {
  display: block;
  font-size: 2.3rem;
  margin-top: 0.4rem;
}
.grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.auth-card {
  width: min(480px, 100%);
  margin: 4vh auto;
  padding: clamp(1.5rem, 5vw, 3rem);
}
.auth-card h1 {
  font-size: 2.3rem;
}
.stack {
  display: grid;
  gap: 1rem;
}
label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.82rem 0.9rem;
  background: #071217;
  color: var(--text);
  font: inherit;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(104, 245, 189, 0.22);
  border-color: var(--brand);
}
button,
.button {
  border: 0;
  border-radius: 10px;
  padding: 0.78rem 1rem;
  background: var(--brand);
  color: #042019;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button:hover,
.button:hover {
  filter: brightness(0.92);
}
.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.danger {
  background: #402020;
  color: var(--danger);
}
.small {
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem;
}
.notice {
  padding: 0.8rem 1rem;
  margin: 1rem 0;
  border-radius: 10px;
  background: var(--brand-dark);
  color: var(--brand);
}
.notice.error {
  background: #3a1b1b;
  color: var(--danger);
}
.secret-once {
  margin: 1rem 0;
  border-color: var(--brand);
}
.secret-once code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1.15rem;
  color: var(--brand);
  margin: 0.8rem 0;
}
.table-panel {
  overflow-x: auto;
  margin-top: 1rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
th,
td {
  text-align: left;
  padding: 0.9rem 0.65rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
td small {
  display: block;
}
.inline-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.inline-form input,
.inline-form select {
  padding: 0.5rem;
}
dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
}
.release {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding-block: 1rem;
    flex-direction: column;
  }
  .shell {
    padding-top: 2.5rem;
  }
  .metrics,
  .grid.two {
    grid-template-columns: 1fr;
  }
  .hero,
  .page-heading,
  .release {
    flex-direction: column;
  }
  .inline-form {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
