:root {
  --bg: #0b0b0e;
  --fg: #e9e9ee;
  --muted: #b6b6c2;
  --brand: #7c5cff;
  --card: #14141a;
  --alt: #0f1015;
  --max: 1120px;
  --rad: 16px;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  font: 16px/1.6 system-ui, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px 12px 0px 0px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 14, 0.7);
  backdrop-filter: saturate(1.2) blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #1d1e26;
}
.nav .brand {
  font-weight: 700;
}
.nav nav a {
  margin-left: 18px;
  color: var(--muted);
}
.nav nav a:hover {
  color: var(--fg);
}
.hero {
  position: relative;
  min-height: 60vh;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #1d1e26;
}
.hero__content {
  max-width: var(--max);
  width: 100%;
  padding: 64px 20px;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 8px;
}
.hero p {
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 20px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.25), transparent 40%),
    radial-gradient(
      800px 400px at 80% -10%,
      rgba(124, 92, 255, 0.25),
      transparent 60%
    ),
    url("/assets/img/cover-hero.jpg") center/cover no-repeat;
  opacity: 0.35;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #2a2b35;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}
.btn.ghost {
  background: transparent;
}
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 20px;
}
.section.alt {
  background: var(--alt);
  border-block: 1px solid #1d1e26;
}
h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid #1d1e26;
  border-radius: var(--rad);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__body {
  padding: 14px;
}
.card__body h3 {
  margin: 2px 0 6px;
}
.card__body p {
  margin: 0 0 12px;
  color: var(--muted);
}
.tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.tags span {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid #2a2b35;
  border-radius: 999px;
  padding: 2px 8px;
}
.card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.footer {
  border-top: 1px solid #1d1e26;
  padding: 24px 20px;
  text-align: center;
  color: var(--muted);
}
@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: transform 0.15s ease;
  }
}
