:root {
  color-scheme: dark;
  --bg: #11121a;
  --panel-strong: #202333;
  --text: #f4f1e8;
  --muted: #b7b0a2;
  --subtle: #7f8799;
  --line: rgba(244, 241, 232, 0.12);
  --accent: #7dd3fc;
  --accent-2: #facc15;
  --good: #86efac;
  --danger: #fca5a5;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 4%, rgba(125, 211, 252, 0.11), transparent 32rem),
    linear-gradient(180deg, #10111a 0%, #14151e 44%, #11121a 100%);
  color: var(--text);
  letter-spacing: 0;
}

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

.site-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(244, 241, 232, 0.08);
  background: rgba(17, 18, 26, 0.78);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.45);
  background: #161927;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 44px;
  align-items: center;
  padding: 82px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--good);
  box-shadow: 0 0 22px rgba(134, 239, 172, 0.7);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: 740;
}

.button.primary {
  border-color: rgba(125, 211, 252, 0.42);
  background: var(--accent);
  color: #07111a;
}

.button:hover {
  transform: translateY(-1px);
}

.install {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 720px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(7, 11, 18, 0.74);
  box-shadow: var(--shadow);
}

.install code {
  min-width: 0;
  padding: 16px;
  overflow-x: auto;
  color: #e9f8ff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: nowrap;
}

.copy-hint {
  display: grid;
  min-width: 82px;
  place-items: center;
  border-left: 1px solid rgba(244, 241, 232, 0.1);
  color: var(--subtle);
  font-size: 12px;
  text-transform: uppercase;
}

.terminal-frame {
  border: 1px solid rgba(244, 241, 232, 0.14);
  border-radius: 8px;
  background: #171925;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(244, 241, 232, 0.1);
  color: var(--subtle);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--danger);
}

.dot:nth-child(2) {
  background: var(--accent-2);
}

.dot:nth-child(3) {
  background: var(--good);
  margin-right: 8px;
}

.demo-gif {
  display: block;
  width: 100%;
  height: auto;
  background: #11121a;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
  border-top: 1px solid rgba(244, 241, 232, 0.1);
}

.stat {
  padding: 14px;
  border: 1px solid rgba(244, 241, 232, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 20px;
}

.stat span {
  color: var(--subtle);
  font-size: 13px;
}

.section {
  padding: 72px 0;
  border-top: 1px solid rgba(244, 241, 232, 0.08);
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(244, 241, 232, 0.11);
  border-radius: 8px;
  background: rgba(24, 26, 37, 0.86);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card p {
  margin: 0;
  font-size: 15px;
}

.workflow {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(244, 241, 232, 0.11);
  border-radius: 8px;
  background: rgba(24, 26, 37, 0.75);
  counter-increment: step;
}

.step::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: rgba(125, 211, 252, 0.13);
  color: var(--accent);
  content: counter(step);
  font-weight: 800;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.step p {
  margin: 0;
  font-size: 14px;
}

.code-panel {
  border: 1px solid rgba(244, 241, 232, 0.12);
  border-radius: 8px;
  background: #080d14;
  overflow: hidden;
}

.code-panel pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: #eaf7ff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 1.75;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 14px 16px;
  border: 1px solid rgba(244, 241, 232, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.list strong {
  color: var(--text);
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.13), rgba(250, 204, 21, 0.08));
}

.footer {
  padding: 32px 0 44px;
  border-top: 1px solid rgba(244, 241, 232, 0.08);
  color: var(--subtle);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 920px) {
  .hero,
  .workflow,
  .comparison,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 28px, 1160px);
  }

  .stats,
  .install {
    grid-template-columns: 1fr;
  }

  .copy-hint {
    min-height: 36px;
    border-top: 1px solid rgba(244, 241, 232, 0.1);
    border-left: 0;
  }

  h1 {
    font-size: 42px;
  }
}
