:root {
  --bg: #0a0e14;
  --bg-alt: #0d1117;
  --surface: #161b22;
  --surface-2: #1c232c;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #58a6ff;
  --accent-2: #a371f7;
  --green: #7ee787;
  --red: #ff7b72;
  --yellow: #f2cc60;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.2; font-weight: 700; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,14,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  color: var(--accent); font-size: 20px;
  transform: rotate(-12deg);
  display: inline-block;
}
.brand-name { font-size: 17px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: color .15s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn { color: var(--text); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--border-strong);
  color: var(--text); background: var(--surface);
  cursor: pointer; transition: all .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.22); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent; color: #ffffff;
}
.btn-primary:hover { filter: brightness(1.1); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* HERO */
.hero { padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(88,166,255,0.10), transparent 70%),
    radial-gradient(700px 300px at 80% 20%, rgba(163,113,247,0.08), transparent 70%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero-badge {
  display: inline-block;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--muted); margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 900px;
}
.grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  font-size: 19px; color: var(--muted);
  max-width: 640px; margin-bottom: 36px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; max-width: 700px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 32px; font-weight: 700; color: var(--text);
  line-height: 1; letter-spacing: -0.03em;
}
.hero-stats span { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 18px; margin-bottom: 48px; }
.section-sub.left { margin-bottom: 24px; }

/* GRID */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--border-strong); }
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.card-num {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 12px; color: var(--accent); font-weight: 600;
  margin-bottom: 14px; letter-spacing: 0.05em;
}

/* SPLIT */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.checklist { list-style: none; }
.checklist li {
  padding: 10px 0 10px 30px; position: relative;
  color: var(--muted); font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "→"; position: absolute; left: 0; top: 10px;
  color: var(--accent); font-weight: 700;
}

/* TERMINAL PANEL */
.panel {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.panel-title {
  margin-left: 10px; font-size: 12px; color: var(--muted);
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}
.panel-body {
  padding: 20px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 12.5px; line-height: 1.7;
  color: var(--green);
  overflow-x: auto;
  white-space: pre;
}

/* CTA BAND */
.cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(88,166,255,0.08), rgba(163,113,247,0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.cta-band p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

/* PAGE HEAD */
.page-head {
  padding: 80px 0 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 30% 0%, rgba(88,166,255,0.08), transparent 70%);
  pointer-events: none;
}
.page-head > .container { position: relative; }
.page-title { font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; max-width: 900px; }
.page-sub { color: var(--muted); font-size: 18px; max-width: 620px; }

/* ABOUT */
.founder {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  align-items: start; max-width: 720px;
}
.founder-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; color: #ffffff;
}
.founder-name { font-size: 22px; margin-bottom: 4px; }
.founder-role { color: var(--accent); font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.founder-bio { color: var(--muted); font-size: 15px; margin-bottom: 12px; }

/* CONTACT */
.contact-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.contact-block:last-child { border-bottom: none; }
.contact-block h3 { font-size: 15px; margin-bottom: 8px; color: var(--text); }
.contact-block p { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.contact-block a { font-size: 15px; }
.muted { color: var(--muted); font-size: 13.5px; }

/* LEGAL */
.legal h2 { font-size: 20px; margin: 32px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 60px 0 30px;
  margin-top: 0;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 3fr;
  gap: 60px; margin-bottom: 40px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.footer-tag { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 260px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 14px; font-weight: 600;
}
.footer-cols a {
  display: block; color: var(--text); font-size: 14px;
  margin-bottom: 8px; text-decoration: none; opacity: 0.85;
}
.footer-cols a:hover { opacity: 1; text-decoration: none; color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 60px 0 50px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section { padding: 60px 0; }
  .cta-band { padding: 60px 0; }
  .page-head { padding: 60px 0 30px; }
}