:root {
  color-scheme: dark;
  --bg: #0b1220;
  --panel: #111b2f;
  --panel-2: #0f172a;
  --border: rgba(148, 163, 184, 0.18);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #2dd4bf;
  --accent-2: #38bdf8;
  --danger: #f87171;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: radial-gradient(1000px 600px at 20% -10%, rgba(45, 212, 191, 0.14), transparent 55%),
              radial-gradient(900px 500px at 85% 0%, rgba(56, 189, 248, 0.10), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

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

.hero {
  padding: 3.2rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.5rem 0;
}

.hero p.lead {
  margin: 0.25rem 0 1.25rem 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 58ch;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(17, 27, 47, 0.65);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  border-color: rgba(45, 212, 191, 0.55);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.95), rgba(56, 189, 248, 0.85));
  border: 0;
  color: #0b1220;
}

.btn-primary:hover {
  filter: brightness(1.02);
}

.btn-ghost {
  background: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

.card {
  background: rgba(17, 27, 47, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card.pad {
  padding: 1.1rem;
}

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

.kicker {
  color: var(--muted);
  margin: 0 0 0.35rem 0;
  font-weight: 650;
  font-size: 0.95rem;
}

.section {
  padding: 1.25rem 0;
}

.section h2 {
  margin: 0 0 0.75rem 0;
  font-size: 1.35rem;
}

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

.tile h3 {
  margin: 0 0 0.35rem 0;
  font-size: 1.05rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
}

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

.note {
  border-left: 3px solid rgba(45, 212, 191, 0.55);
  padding-left: 0.85rem;
  color: var(--muted);
}

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

code {
  background: rgba(148, 163, 184, 0.10);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 0.1rem 0.35rem;
  border-radius: 8px;
  color: #e2e8f0;
}

pre {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  overflow: auto;
  margin: 0.75rem 0;
  color: #e2e8f0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  margin-top: 2rem;
  color: var(--muted);
}

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

.footer a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.small {
  font-size: 0.92rem;
}

.hr {
  height: 1px;
  background: var(--border);
  margin: 1.2rem 0;
}

.screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
