:root {
  color-scheme: dark;
  --bg: #070910;
  --panel: #101521;
  --panel-2: #151b28;
  --line: rgba(0, 238, 255, 0.28);
  --text: #f1f7fb;
  --muted: #99a8b7;
  --cyan: #00eaff;
  --magenta: #ff38d1;
  --yellow: #ffd84a;
  --green: #73ff71;
  font-family: Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(rgba(0, 234, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 234, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(255, 56, 209, 0.2), transparent 32rem),
    radial-gradient(circle at top right, rgba(0, 234, 255, 0.18), transparent 34rem),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 16, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid var(--cyan);
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.45), inset 0 0 16px rgba(0, 234, 255, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a:hover {
  color: var(--cyan);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: min(740px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: center;
  padding: 56px 0 44px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  color: #c9d4df;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 800;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
}

.button.primary {
  border-color: var(--cyan);
  background: rgba(0, 234, 255, 0.16);
  box-shadow: 0 0 24px rgba(0, 234, 255, 0.16);
}

.button.subtle {
  color: var(--muted);
}

.hero-panel,
.project-card,
.list-item,
.status-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(16, 21, 33, 0.94), rgba(10, 13, 22, 0.94));
  box-shadow: 0 0 30px rgba(0, 234, 255, 0.08);
}

.hero-panel {
  padding: 18px;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row span,
.status-grid span {
  color: var(--muted);
}

.panel-row strong {
  color: var(--yellow);
  font-family: "JetBrains Mono", monospace;
}

.section {
  padding: 30px 0 58px;
}

.section-head {
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0;
}

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

.project-card {
  padding: 22px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--muted);
}

.badge.live {
  color: var(--green);
  border-color: rgba(115, 255, 113, 0.45);
}

.project-card h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.project-card p {
  color: var(--muted);
  line-height: 1.6;
  min-height: 78px;
}

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

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.list-item strong,
.list-item small {
  display: block;
}

.list-item small {
  color: var(--muted);
  margin-top: 6px;
}

.list-item b {
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
}

.list-item.muted b {
  color: var(--muted);
}

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

.status-grid > div {
  min-height: 120px;
  padding: 16px;
}

.status-grid strong,
.status-grid span {
  display: block;
}

.status-grid strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.status-grid span {
  margin-top: 16px;
  line-height: 1.45;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 42px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .card-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

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

  .project-card p {
    min-height: 0;
  }
}
