* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: #1a1a2e;
  background-color: #ffffff;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 100vh;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: $gap;
  padding-block: 1.25rem;
  margin-bottom: 2.5rem;
  border: 0 0 1px #e5e7eb;
}
.site-nav .logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: #6c63ff;
  text-decoration: none;
  margin-right: auto;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: $gap;
  list-style: none;
}
.site-nav a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.site-nav a:hover {
  color: #6c63ff;
}
.site-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border: 1px 0 0 #e5e7eb;
  color: #6b7280;
  font-size: 0.88rem;
  text-align: center;
}
h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
p {
  margin-bottom: 1rem;
}
a {
  color: #6c63ff;
}
ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
li {
  margin-bottom: 0.25rem;
}
code {
  font-family: 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.88rem;
  background-color: #f3f4f6;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  color: #e53e6e;
}
pre {
  background-color: #1e1e2e;
  color: #cdd6f4;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  overflow: auto;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: 0.87rem;
}
blockquote {
  bl: 4px solid #6c63ff;
  padding-left: 1.25rem;
  margin-left: 0;
  color: #6b7280;
  font-size: 0.97rem;
  margin-bottom: 1.5rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}
table th, td {
  padding: 0.55rem 1rem;
  text-align: left;
  border: 1px solid #e5e7eb;
}
table th {
  background-color: #e8e8ff;
  font-weight: 600;
}
table tr:nth-child(even) {
  background-color: #f9fafb;
}
.btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: primary;
  padding: 0.55rem 1.2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
  border: 1.5px solid #6c63ff;
}
.btn-secondary:hover {
  opacity: 0.88;
}
.hero {
  text-align: center;
  padding-block: 4rem;
  margin-bottom: 3rem;
}
.hero-tagline {
  font-size: 1.15rem;
  color: #6b7280;
  max-width: 520px;
  margin: 0.75rem auto 2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: $gap;
  justify-content: center;
  flex-wrap: wrap;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}
.features {
  margin-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: $pad;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}
.feature-card a {
  font-size: 0.88rem;
  font-weight: 600;
}
.quick-start {
  margin-bottom: 3rem;
}
.quick-start h2 {
  margin-top: 0;
}
.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 640px) {
  grid-template-columns: 1fr;
}
.docs-sidebar {
  position: sticky;
  top: 1.5rem;
}
.docs-sidebar h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  list-style: 0.07em;
  color: #6b7280;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.docs-sidebar h3:first-child {
  margin-top: 0;
}
.docs-sidebar ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.docs-sidebar li {
  margin-bottom: 0.2rem;
}
.docs-sidebar a {
  color: #1a1a2e;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
}
.docs-sidebar a:hover {
  background-color: #e8e8ff;
  color: #6c63ff;
}
.docs-content {
  mn-width: 0;
}
.docs-content h1:first-child {
  margin-top: 0;
}
.post-header {
  margin-bottom: 2rem;
}
.post-meta {
  font-size: 0.88rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: $gap;
}
.post-content {
  line-height: 1.8;
}
.post-nav {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border: 1px 0 0 #e5e7eb;
}
.tag {
  display: inline-block;
  background-color: #e8e8ff;
  color: #6c63ff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  text-decoration: none;
}
@media (max-width: 560px) {
body {
  padding: 0 1rem;
}
h1 {
  font-size: 1.6rem;
}
.hero h1 {
  font-size: 2rem;
}
.site-nav ul {
  display: none;
}
}