:root {
  --bg: #0f1117;
  --surface: #171b24;
  --surface-2: #1e2430;
  --text: #f4f7fb;
  --muted: #b5c0d0;
  --border: rgba(255, 255, 255, 0.12);
  --primary: #6dd3ff;
  --primary-2: #4f8cff;
  --ok: #41c98f;
  --warn: #ffb454;
  --max: 1080px;
  --radius: 16px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #0c1016 0%, #101521 100%);
  color: var(--text);
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(15, 17, 23, 0.9);
  border-bottom: 1px solid var(--border);
}

.header-container,
.container,
.footer-container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

.header-container {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #081019;
  font-weight: 800;
}

nav ul {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-weight: 600;
}

.container {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.hero {
  padding: 32px 0 16px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(109, 211, 255, 0.25);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(109, 211, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  margin: 16px 0 12px;
}

.subtitle {
  color: var(--muted);
  max-width: 760px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #07131d;
  border: none;
}

.btn-secondary {
  color: var(--text);
  background: var(--surface);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-2);
}

.card,
.info-box,
pre.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card {
  padding: var(--space-3);
}

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

.card p,
.content-section p,
.content-section li,
.content-section td,
.content-section th {
  color: var(--muted);
}

.content-section {
  margin-top: var(--space-4);
}

.content-section h2 {
  margin-bottom: 16px;
  font-size: 32px;
}

.content-section h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 22px;
}

.info-box {
  padding: var(--space-2);
  margin: 18px 0;
}

.info-box.success {
  border-color: rgba(65, 201, 143, 0.45);
  background: rgba(65, 201, 143, 0.08);
}

.info-box.warning {
  border-color: rgba(255, 180, 84, 0.45);
  background: rgba(255, 180, 84, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

ul,
ol {
  padding-left: 22px;
}

pre.notice {
  padding: var(--space-2);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--muted);
  font-size: 14px;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
}

.footer-container {
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 700px) {
  .header-container {
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-direction: column;
  }

  nav ul {
    gap: 12px;
  }
}
