*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0d1117; --bg-secondary: #161b22; --bg-tertiary: #1c2128;
  --border: #30363d; --border-light: #484f58;
  --text: #e6edf3; --text-secondary: #8b949e; --text-muted: #6e7681;
  --accent: #58a6ff; --accent-hover: #79c0ff;
  --green: #3fb950; --orange: #d29922; --red: #f85149; --purple: #bc8cff;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
code, pre { font-family: 'JetBrains Mono', 'Fira Code', monospace; }
.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 17, 23, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav .container {
  display: flex; align-items: center; justify-content: space-between; height: 60px;
  max-width: 1100px;
}
.nav-logo { font-weight: 700; font-size: 1.2rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.nav-logo img { height: 28px; width: 28px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
main { padding: 64px 0 96px; }
h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; margin: 48px 0 16px; color: var(--text); }
h3 { font-size: 1.15rem; font-weight: 600; margin: 32px 0 12px; color: var(--text); }
p { margin-bottom: 16px; color: var(--text-secondary); }
.lead { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 32px; }
.meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
ul, ol { margin: 16px 0 16px 24px; color: var(--text-secondary); }
li { margin-bottom: 8px; }
strong { color: var(--text); font-weight: 600; }
code {
  background: var(--bg-secondary); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 4px; font-size: 0.88em; color: var(--accent);
}
pre {
  background: var(--bg-secondary); border: 1px solid var(--border);
  padding: 20px 24px; border-radius: 8px; overflow-x: auto;
  font-size: 0.85rem; line-height: 1.6; color: var(--text-secondary);
  white-space: pre-wrap; word-wrap: break-word; margin: 16px 0;
}
table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-tertiary); color: var(--text); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
tr:last-child td { border-bottom: none; }
td { color: var(--text-secondary); font-size: 0.92rem; }
.callout {
  border: 1px solid var(--border); background: var(--bg-secondary);
  padding: 20px 24px; border-radius: 8px; margin: 24px 0;
  border-left: 3px solid var(--accent);
}
.callout p:last-child { margin-bottom: 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin: 32px 0;
}
.tier {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px; transition: border-color 0.2s, transform 0.2s;
}
.tier:hover { border-color: var(--border-light); transform: translateY(-2px); }
.tier.featured { border-color: var(--accent); }
.tier-name { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; }
.tier-price { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.tier-price small { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.tier-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 20px; min-height: 40px; }
.tier ul { list-style: none; margin: 0 0 24px; padding: 0; }
.tier li { padding: 6px 0; font-size: 0.9rem; color: var(--text-secondary); }
.tier li::before { content: "✓ "; color: var(--green); font-weight: bold; }
.tier-cta {
  display: block; width: 100%; padding: 12px; background: var(--bg-tertiary);
  border: 1px solid var(--border); border-radius: 6px; text-align: center;
  color: var(--text); font-weight: 600; cursor: pointer;
}
.tier.featured .tier-cta { background: var(--accent); color: #000; border-color: var(--accent); }
footer {
  border-top: 1px solid var(--border); padding: 40px 0; margin-top: 80px;
  color: var(--text-muted); font-size: 0.85rem;
}
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--text-muted); margin-right: 18px; }
footer a:hover { color: var(--text); }
@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.25rem; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.8rem; }
}
