* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --background: #0F0F14;
  --surface: #171722;
  --surface-2: #1E1E2A;
  --text-primary: #F8FAFC;
  --text-secondary: #A1A1AA;
  --border: rgba(255, 255, 255, 0.08);
  --gradient-start: #6366F1;
  --gradient-end: #8B5CF6;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(139, 92, 246, 0.12), transparent 55%),
    radial-gradient(800px 500px at 50% 120%, rgba(99, 102, 241, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

a:hover {
  color: var(--gradient-end);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 72px;
  width: 100%;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 18px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.35);
}

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

.nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}

.hero {
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.12)), var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-secondary);
  max-width: 720px;
}

.meta {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-weight: 600;
}

.section {
  margin-top: 28px;
}

.section h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.section p {
  color: var(--text-secondary);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.card ul {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.card li {
  list-style: none;
  color: var(--text-secondary);
  font-size: 14px;
  padding-left: 18px;
  position: relative;
}

.card li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.list-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.list-item .label {
  font-weight: 600;
  margin-bottom: 4px;
}

.icon-badge {
  width: 40px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid var(--border);
  color: var(--text-primary);
  flex: 0 0 auto;
}

.list-item .text {
  color: var(--text-secondary);
  font-size: 14px;
}

.callout {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 16px;
  padding: 18px;
  color: var(--text-secondary);
}

.support-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.support-id-value {
  color: var(--text-primary);
  font-weight: 600;
  word-break: break-word;
}

.support-id-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.copy-icon-button {
  appearance: none;
  -webkit-appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(23, 23, 34, 0.9);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.copy-icon-button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.copy-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.copy-status {
  min-width: 54px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.copy-status.is-visible {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}

.table th,
.table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

.table th {
  color: var(--text-secondary);
  font-weight: 600;
}

.footer {
  margin-top: 48px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

.footer a {
  color: var(--primary);
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: 30px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
