:root {
  color-scheme: dark;
  --bg: #0b0f12;
  --panel: #121719;
  --panel-raised: #172022;
  --panel-soft: rgba(255, 255, 255, 0.05);
  --border: rgba(226, 232, 240, 0.16);
  --border-strong: rgba(226, 232, 240, 0.28);
  --text: #f8fafc;
  --muted: #a8b3c4;
  --gold: #f4b735;
  --gold-strong: #ffcc55;
  --green: #45c0b0;
  --red: #e56b5f;
  --blue: #6aa9ff;
  --container: min(1120px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(69, 192, 176, 0.07), transparent 30%),
    linear-gradient(315deg, rgba(244, 183, 53, 0.08), transparent 40%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
p { color: var(--muted); }

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 5rem;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.25rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 { margin-bottom: 12px; font-size: 1.15rem; line-height: 1.25; }

.no-break { white-space: nowrap; }

.site-header, .site-footer, .hero, .section, .visual-section {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 0;
  background: rgba(11, 15, 18, 0.92);
  backdrop-filter: blur(16px);
}

.brand, .nav-links, .footer-links, .button { display: inline-flex; align-items: center; }
.brand { gap: 10px; color: var(--text); font-weight: 800; }

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #111827;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links, .footer-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.button {
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.button-primary {
  background: var(--gold);
  color: #111827;
  box-shadow: 0 14px 32px rgba(244, 183, 53, 0.18);
}

.button-primary:hover { background: var(--gold-strong); }

.button-secondary {
  border-color: var(--border-strong);
  background: var(--panel-soft);
  color: var(--text);
}

.button-secondary:hover { border-color: rgba(244, 183, 53, 0.48); }
.split { display: grid; align-items: center; }

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terminal-panel, .visual-section {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.section { padding: 96px 0; }

.section-muted {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  border-block: 1px solid var(--border);
  background: rgba(18, 23, 25, 0.74);
}

.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading p, .visual-copy p:last-child, .cta p { font-size: 1.08rem; }

.three-column, .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card, .feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-soft);
}

.card:nth-child(1) { border-top-color: var(--red); }
.card:nth-child(2) { border-top-color: var(--gold); }
.card:nth-child(3) { border-top-color: var(--blue); }
.card p, .feature p, .visual-copy p:last-child { margin-bottom: 0; }

.proof-section {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.proof-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-soft);
}

.proof-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 3rem;
  line-height: 1;
}

.proof-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-card p {
  margin-bottom: 0;
}

.proof-note {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 0.92rem;
}

.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 64px;
}

.steps {
  display: grid;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 48px;
  padding-left: 64px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(244, 183, 53, 0.36);
  border-radius: 50%;
  background: rgba(244, 183, 53, 0.12);
  color: var(--gold);
  font-weight: 900;
}

.steps strong, .steps span { display: block; }
.steps strong { margin-bottom: 4px; color: var(--text); font-size: 1.05rem; }
.steps span { color: var(--muted); }
.steps a, .install-note a, .prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 0.18em; }
.terminal-panel { background: rgba(8, 11, 14, 0.78); }

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
}

.terminal-bar span:nth-child(2) { background: var(--gold); }
.terminal-bar span:nth-child(3) { background: var(--green); }
.conversation { display: grid; gap: 22px; padding: 28px; }
.question, .answer { margin: 0; padding: 18px; border-radius: 8px; }
.question { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.answer { border: 1px solid rgba(69, 192, 176, 0.28); background: rgba(69, 192, 176, 0.08); }
.answer p { margin-bottom: 14px; color: var(--text); }
.answer ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: var(--muted); }

.visual-section {
  position: relative;
  display: grid;
  min-height: 520px;
  margin-top: 96px;
  margin-bottom: 96px;
}

.visual-section img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.48;
}

.visual-copy {
  position: absolute;
  inset: auto 0 0;
  max-width: 760px;
  padding: 48px;
  background: linear-gradient(0deg, rgba(11, 15, 18, 0.94), transparent);
}

.cta { max-width: 760px; text-align: center; }
.cta p { margin-bottom: 28px; }

.page-hero {
  width: var(--container);
  margin: 0 auto;
  padding: 92px 0 56px;
}

.page-hero h1 {
  max-width: 880px;
  font-size: 4.8rem;
}

.page-hero .hero-text { max-width: 760px; }

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-section {
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.48fr);
  gap: 28px;
  align-items: start;
}

.content-panel, .side-panel, .callout {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-soft);
}

.content-panel { padding: 34px; }
.side-panel { padding: 24px; position: sticky; top: 96px; }
.callout { padding: 22px; border-color: rgba(69, 192, 176, 0.3); background: rgba(69, 192, 176, 0.08); }

.prose {
  display: grid;
  gap: 30px;
}

.prose h2 {
  margin-bottom: 12px;
  font-size: 2.3rem;
}

.prose h3 { margin-bottom: 10px; font-size: 1.18rem; }
.prose p, .prose li { color: var(--muted); }
.prose ol, .prose ul { margin: 0; padding-left: 1.25rem; }
.prose li + li { margin-top: 10px; }
.prose strong { color: var(--text); }

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

.detail-list li {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.side-panel h2 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.side-panel nav, .side-panel .link-list {
  display: grid;
  gap: 10px;
}

.side-panel a, .link-list a {
  color: var(--muted);
  font-weight: 750;
}

.side-panel a:hover, .link-list a:hover { color: var(--text); }

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.check-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-soft);
}

.check-card p { margin-bottom: 0; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
}

.site-footer p { margin: 0; font-size: 0.92rem; }

@media (max-width: 900px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 2.7rem; }
  .proof-card strong { font-size: 2.6rem; }
  .page-hero h1 { font-size: 3.8rem; }
  .prose h2 { font-size: 2rem; }
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; }
  .split, .three-column, .feature-grid, .proof-grid, .page-grid, .check-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .visual-section, .visual-section img { min-height: 460px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  :root { --container: min(100vw - 28px, 1120px); }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  .no-break { white-space: normal; }
  .proof-card strong { font-size: 2.25rem; }
  .page-hero h1 { font-size: 3rem; }
  .prose h2 { font-size: 1.72rem; }
  .site-header .button, .button { width: 100%; }
  .nav-links, .footer-links { flex-wrap: wrap; gap: 16px; }
  .section, .section-muted { padding-top: 68px; padding-bottom: 68px; }
  .card, .feature, .conversation, .content-panel { padding: 20px; }
  .page-hero { padding-top: 54px; }
  .page-actions .button { width: 100%; }
  .steps li { padding-left: 54px; }
  .steps li::before { width: 36px; height: 36px; }
  .visual-section { margin-top: 68px; margin-bottom: 68px; }
  .visual-copy { padding: 28px; }
}
