:root {
  color-scheme: dark;
  --bg: #060606;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #f4f4f4;
  --muted: #b9b9c2;
  --accent: #ff335f;
  --accent-2: #7b2ff7;
  --accent-soft: rgba(255, 51, 95, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --max-width: 920px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top right, rgba(255, 51, 95, 0.16), transparent 22%),
    radial-gradient(circle at bottom left, rgba(123, 47, 247, 0.18), transparent 20%),
    linear-gradient(180deg, #0c0c0f 0%, #050505 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.brand-copy p,
.brand-copy h1 {
  margin: 0;
}

.brand-copy p {
  color: var(--muted);
  font-size: 0.95rem;
}

.brand-copy h1 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nav a:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.document {
  padding: clamp(22px, 4vw, 40px);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffd5de;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lede {
  max-width: 64ch;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 28px;
}

.meta-chip {
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
}

.document h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.document p {
  margin: 0 0 14px;
}

.document ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.document li {
  margin: 0 0 10px;
}

.footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 18px;
  }

  .document {
    padding: 22px 18px;
  }

  .brand-copy h1 {
    font-size: 1.9rem;
  }
}
