:root {
  --bg: #0c0d10;
  --surface: #14161c;
  --surface-hover: #1a1d26;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --muted: #8b919d;
  --accent: #6ee7b7;
  --accent-dim: rgba(110, 231, 183, 0.15);
  --placeholder: rgba(232, 234, 239, 0.45);
  --radius: 14px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -40%, rgba(110, 231, 183, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(99, 102, 241, 0.08), transparent);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-size: 0.88em;
  padding: 0.12em 0.35em;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

header.site-header {
  padding: 1.75rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  color: var(--text);
}

.hero {
  padding: 3.5rem 0 3rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero-lead {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
  padding-bottom: 4rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a.card,
a.card:visited {
  color: inherit;
  text-decoration: none;
}

a.card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.card:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

a.card.card--link:hover {
  border-color: rgba(110, 231, 183, 0.35);
}

.card.placeholder {
  border-style: dashed;
  opacity: 0.92;
}

.card.placeholder:hover,
.card.card--nohref:hover {
  transform: none;
}

.card.card--nohref {
  border-color: rgba(255, 180, 100, 0.25);
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card-desc {
  margin: 0 0 1rem;
  flex: 1;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.path-hint {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-family: ui-monospace, monospace;
  color: var(--muted);
  word-break: break-all;
  opacity: 0.85;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.tag {
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 6px;
}

.card-actions {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
}

.card-link[aria-disabled="true"] {
  color: var(--placeholder);
  pointer-events: none;
}

.badge-soon {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
}

footer.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
