:root {
  --bg: #15171a;
  --bg-elevated: #1a1d22;
  --bg-control: #1f2329;
  --bg-control-hover: #282d35;
  --border: #262b33;
  --border-hairline: #22262e;
  --border-panel: #2a2f38;
  --border-strong: #303640;
  --text-strong: #f0f4f8;
  --text-heading: #e4e8ee;
  --text: #dcdfe4;
  --text-muted: #9aa4b2;
  --text-dim: #7c8490;
  --accent: #335d8a;
  --accent-hover: #3d6da1;
  --accent-border: #487bb0;
  --accent-ink: #6187b0;
  --font-sans: "IBM Plex Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
}

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

a:hover {
  color: var(--text-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-border);
  outline-offset: 2px;
}

code,
kbd {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background-color: var(--bg-control);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--text-heading);
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand img {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid var(--border-panel);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13.5px;
}

.site-nav a {
  color: var(--text-muted);
  transition: color 120ms ease;
}

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

/* Hero */
.hero {
  padding: 56px 0 40px;
}

.hero h1 {
  margin: 0 0 16px;
  max-width: 24ch;
  color: var(--text-strong);
  font-size: clamp(1.75rem, 3.2vw, 2.3rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.lead {
  margin: 0 0 28px;
  max-width: 58ch;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.btn-primary {
  background-color: var(--accent);
  border: 1px solid var(--accent-border);
  color: var(--text-strong);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--text-strong);
}

.btn-secondary {
  background-color: var(--bg-control);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 500;
}

.btn-secondary:hover {
  background-color: var(--bg-control-hover);
  border-color: var(--accent-border);
  color: var(--text-strong);
}

.btn-compact {
  padding: 4px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.meta {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* Preview */
.preview {
  margin: 0;
}

.preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-panel);
  border-radius: 6px;
  background-color: var(--bg-elevated);
}

.preview figcaption {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* Sections */
.section {
  padding: 64px 0 0;
}

.section-label {
  margin: 0 0 18px;
  color: var(--text-dim);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

.feature-item {
  border-top: 1px solid var(--border-hairline);
  padding: 20px 0;
}

.feature-item h3 {
  margin: 0 0 6px;
  color: var(--text-heading);
  font-size: 15px;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Usage */
.usage-split {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  gap: 36px;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: baseline;
  border-top: 1px solid var(--border-hairline);
  padding: 16px 0;
}

.steps li:last-child {
  border-bottom: 1px solid var(--border-hairline);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-ink);
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.steps strong {
  color: var(--text-heading);
  font-weight: 600;
}

.launcher-figure {
  margin: 0;
}

.launcher-figure img {
  display: block;
  width: 100%;
  max-width: 422px;
  height: auto;
  border: 1px solid var(--border-panel);
  border-radius: 6px;
  background-color: var(--bg-elevated);
}

/* Notes panel */
.notes-panel {
  margin: 28px 0 0;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-panel);
  border-radius: 6px;
  padding: 16px 20px;
}

.note-row {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid var(--border-hairline);
}

.note-row:first-child {
  border-top: none;
  padding-top: 2px;
}

.note-row:last-child {
  padding-bottom: 2px;
}

.note-row dt {
  color: var(--text-heading);
  font-size: 13px;
  font-weight: 600;
}

.note-row dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.note-row dd.note-row-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--border-hairline);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border-hairline);
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--text-heading);
  font-size: 15px;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  max-width: 68ch;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item p + p {
  margin-top: 10px;
}

.faq-item strong {
  color: var(--text-heading);
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--border-hairline);
  padding: 24px 0 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--text-dim);
  font-size: 12.5px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: var(--text-dim);
}

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

@media (max-width: 760px) {
  .hero {
    padding: 40px 0 32px;
  }

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

  .usage-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .launcher-figure img {
    max-width: 100%;
  }

  .note-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 18px;
  }

  .site-header {
    padding: 16px 0;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .section {
    padding-top: 48px;
  }
}
