:root {
  --bg: #0c0c11;
  --bg-alt: #101019;
  --line: #22222e;
  --card: #14141d;
  --text: #ececf3;
  --muted: #9a9ab0;
  --accent: #9b7bff;
  --accent-hover: #b29bff;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 940px;
  --pad: 1.5rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }

img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 12, 17, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand:hover { text-decoration: none; }
.brand-logo { width: 26px; height: 26px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { color: var(--accent) !important; font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero (centered) */
.hero { padding-block: 5rem 4.5rem; text-align: center; }
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo { width: 88px; height: 88px; margin-bottom: 1.5rem; }

.tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 0.9rem;
  letter-spacing: 0.02em;
}
.tag::before { content: "// "; opacity: 0.55; }

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.25rem);
  margin: 0 0 1.25rem;
}

.lead {
  max-width: 580px;
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-note {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  margin: 2.25rem 0 0;
}
.hero-note::before { content: "$ "; color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #17112b; }
.btn-primary:hover { background: var(--accent-hover); color: #17112b; }
.btn-line { border-color: var(--line); color: var(--text); background: var(--card); }
.btn-line:hover { border-color: var(--accent); color: var(--text); }

/* Sections */
.section { padding-block: 4rem; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-heading {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  margin: 0 0 0.5rem;
  text-align: center;
}
.section-intro {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  text-align: center;
}
.section-foot {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 1.5rem auto 0;
  text-align: center;
  max-width: 560px;
}

/* Numbered rows */
.rows {
  max-width: 720px;
  margin: 2.25rem auto 0;
  display: flex;
  flex-direction: column;
}
.row {
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.row:first-child { border-top: 0; }
.row-idx {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  padding-top: 0.25rem;
  min-width: 1.75rem;
}
.row-body h3 { margin: 0 0 0.4rem; font-size: 1.12rem; }
.row-body p { margin: 0; color: var(--muted); }

/* Get a build */
.get-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 560px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  background: var(--card);
}
.get-meta { display: flex; flex-direction: column; gap: 0.15rem; }
.get-label { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.get-version { font-family: var(--mono); font-size: 1.25rem; font-weight: 700; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about .section-heading { text-align: left; }
.about-main p { color: var(--muted); margin-top: 0; }
.about-main p:last-child { margin-bottom: 0; }
.about-side { display: flex; flex-direction: column; gap: 0.65rem; padding-top: 0.35rem; }
.about-side-label { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.about-side a { color: var(--text); }
.about-side a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.site-footer p { margin: 0.25rem 0; }
.footer-note { font-size: 0.8rem; opacity: 0.7; }

/* Responsive */
@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 0.6rem 0; }
  .hero { padding-block: 3.5rem 3rem; }
  .get-box { flex-direction: column; align-items: stretch; text-align: center; }
  .get-box .btn { text-align: center; }
}
