:root {
  --bg: #050711;
  --bg-elevated: #0d1020;
  --bg-soft: #141729;
  --border: #1e2235;
  --text: #ffffff;
  --text-muted: #a7a9b8;
  --text-dim: #626575;
  --primary: #9b43e3;
  --primary-soft: rgba(155, 67, 227, 0.16);
  --accent-hot: #bb2e91;
  --pink: #d95ac8;
  --success: #39c65a;
  --max: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(155, 67, 227, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(187, 46, 145, 0.12), transparent),
    var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: Outfit, "DM Sans", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent-hot));
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 24px rgba(155, 67, 227, 0.35);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(155, 67, 227, 0.35);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a {
  color: var(--text-muted);
}

.nav a[aria-current="page"] {
  color: var(--text);
}

h1 {
  font-family: Outfit, "DM Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.78rem;
}

article section {
  margin-bottom: 1.75rem;
}

h2 {
  font-family: Outfit, "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.65rem;
}

h3 {
  font-family: Outfit, "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 1.1rem 0 0.4rem;
}

p,
ul {
  margin: 0 0 0.85rem;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.35rem;
}

li::marker {
  color: var(--primary);
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-top: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent-hot));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(155, 67, 227, 0.28);
}

.cta:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  .site-header {
    align-items: flex-start;
  }
}
