:root {
  color-scheme: light;
  --bg: #0b1020;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --muted-2: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --accent: #6a5cff;
  --accent-2: #00c2ff;
  --radius: 16px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(106, 92, 255, 0.35), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(0, 194, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #070a14 0%, var(--bg) 55%, #070a14 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

code {
  font-size: 0.92em;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #111;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 20, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  transform: scale(1.18);
  transform-origin: left center;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-link {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 560;
  letter-spacing: 0.1px;
}

.nav-link:hover {
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(90deg, rgba(106, 92, 255, 0.35), rgba(0, 194, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  border-radius: 12px;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}

.nav-toggle:focus {
  outline: 2px solid rgba(106, 92, 255, 0.8);
  outline-offset: 2px;
}

.nav-toggle-lines {
  width: 22px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after,
.nav-toggle-lines {
  background: transparent;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: transform 180ms ease, top 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines::before {
  top: 2px;
}

.nav-toggle-lines::after {
  top: 10px;
}

.hero {
  padding: 4rem 0 2.25rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  color: var(--muted-2);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 0.75rem;
}

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.35rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 650;
  letter-spacing: 0.15px;
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
}

.button.primary {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(90deg, rgba(106, 92, 255, 0.55), rgba(0, 194, 255, 0.3));
}

.button.ghost {
  background: transparent;
}

.hero-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  padding: 1.2rem 1.1rem;
}

.card-title {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
}

.pill-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.pill {
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.card-note {
  margin: 0.85rem 0 0;
  color: var(--muted-2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.section {
  padding: 3.25rem 0;
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.05rem 1.05rem;
}

.panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--muted);
  line-height: 1.6;
}

.bullets {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.code {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  overflow: auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.55;
}

.code-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.copy {
  flex: 0 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  padding: 0 0.9rem;
  cursor: pointer;
  font-weight: 650;
  min-width: 88px;
  transition: background 120ms ease;
}

.copy:hover {
  background: rgba(255, 255, 255, 0.09);
}

.copy:focus {
  outline: 2px solid rgba(106, 92, 255, 0.8);
  outline-offset: 2px;
}

.kv {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.kv li {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.93rem;
}

.kv .k {
  min-width: 140px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
}

.kv .v {
  color: var(--muted);
}

.table-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  overflow: auto;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.25);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.table th,
.table td {
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
  font-size: 0.88rem;
}

.table th {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 0;
}

.link-card {
  display: block;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  padding: 1rem 1rem;
  transition: transform 120ms ease, background 120ms ease;
}

.link-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.lc-title {
  display: block;
  font-weight: 720;
  letter-spacing: -0.01em;
}

.lc-sub {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 10, 20, 0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.to-top {
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    right: 1rem;
    top: 64px;
    width: min(92vw, 420px);
    padding: 0.6rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 10, 20, 0.92);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 0.8rem;
  }

  .nav-cta {
    text-align: center;
  }

  .site-header {
    position: sticky;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .link-card {
    transition: none;
  }
}
