:root {
  color-scheme: dark;

  --bg:            oklch(0.16 0.018 265);
  --bg-deep:       oklch(0.13 0.018 265);
  --card:          oklch(0.205 0.022 265);
  --card-hover:    oklch(0.235 0.028 265);
  --border:        oklch(0.295 0.030 265);
  --border-hover:  oklch(0.42 0.090 265);

  --fg:            oklch(0.97 0.005 265);
  --fg-dim:        oklch(0.74 0.018 265);
  --fg-mute:       oklch(0.60 0.020 265);
  --fg-faint:      oklch(0.62 0.020 265);

  --blue:          oklch(0.66 0.180 265);
  --blue-deep:     oklch(0.46 0.170 265);
  --blue-soft:     oklch(0.32 0.090 265);

  --shipping:      oklch(0.78 0.150 150);
  --beta:          oklch(0.82 0.150 85);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Subtle ambient blue glow, off-page */
body::before {
  content: '';
  position: fixed;
  inset: -20% -20% auto auto;
  width: 60vw; height: 60vw;
  background: radial-gradient(closest-side, oklch(0.45 0.12 265 / 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: auto auto -30% -20%;
  width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, oklch(0.40 0.10 265 / 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 56px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Header ───────────────────────────────────────── */
.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 88px;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
}
.mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand-text .tag {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--fg-mute);
  margin-top: 3px;
  letter-spacing: 0;
}

.contact {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px;
}
.contact a {
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.15s ease;
  position: relative;
}
.contact a:hover { color: var(--fg); }
.contact a.email { color: var(--fg); }
.contact a.email:hover { color: var(--blue); }

/* ── Bento ────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 20px;
  justify-content: center;
  align-content: center;
  flex: 1;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.card::before {
  /* soft inner highlight */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.02), transparent 30%);
  pointer-events: none;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.icon {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--blue);
}
.icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
[data-product="nekzus"] .icon img {
  padding: 10px;
  background: #111111;
  border-radius: 14px;
  box-sizing: border-box;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  background: oklch(0.18 0.020 265);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--fg-dim);
}

.card-body { margin-top: auto; padding-top: 20px; }
.card h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--fg);
}
.card p {
  color: var(--fg-dim);
  font-size: 13px;
  line-height: 1.5;
  text-wrap: pretty;
}

.card-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute);
}
.card-foot .repo { color: var(--fg-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 65%; }
.card-foot .arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* ── Footer ───────────────────────────────────────── */
.foot-note {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--fg-faint);
}
.more-soon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.more-soon::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--fg-faint);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 820px) {
  .page { padding: 28px 24px 24px; }
  .head { margin-bottom: 56px; flex-wrap: wrap; gap: 20px; }
  .contact { gap: 18px; font-size: 11.5px; }
  .grid { grid-template-columns: minmax(0, 320px); gap: 16px; }
  .card { padding: 22px; }
  .card h2 { font-size: 20px; }
  .foot-note { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ── Reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .card-foot .arrow { transition: none; }
}

.card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.brand:focus-visible,
.contact a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
