:root {
  color-scheme: light dark;
  --bg: #f5f7fa;
  --panel: #ffffff;
  --panel-2: #eef3f8;
  --text: #142033;
  --muted: #5f6d80;
  --line: #d8e0ea;
  --accent: #167a5c;
  --accent-2: #2364aa;
  --warn: #aa6a20;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141c;
    --panel: #151d29;
    --panel-2: #101722;
    --text: #edf3fb;
    --muted: #a8b5c6;
    --line: #2b3646;
    --accent: #53c99d;
    --accent-2: #7db4ff;
    --warn: #e0b15c;
  }
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(12px);
}
.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}
.mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.nav a {
  padding: 8px 10px;
  border-radius: 6px;
}
.nav a:hover, .nav a[aria-current="page"] {
  background: var(--panel-2);
  color: var(--text);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: 34px;
  align-items: center;
  padding: 56px 0 42px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}
.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}
.hero-art {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.hero-art img {
  width: 100%;
  display: block;
  aspect-ratio: 1200 / 520;
  object-fit: cover;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: var(--panel);
  font-size: 14px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.section { padding: 34px 0; }
.section h2, .page h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}
.section p, .page p {
  color: var(--muted);
  margin: 0 0 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
  min-height: 154px;
}
.card h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.table th, .table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table th {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.table tr:last-child td { border-bottom: 0; }
.page {
  padding: 48px 0 56px;
}
.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
  color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 26px 0;
  font-size: 14px;
}
@media (max-width: 860px) {
  .topbar { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .grid { grid-template-columns: 1fr; }
}
