:root {
  color-scheme: dark;
  --bg: #11151c;
  --panel: #161b22;
  --panel-2: #131821;
  --text: #edf1f7;
  --muted: #8f98a6;
  --subtle: #6f7884;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --green: #63c97b;
  --blue: #73a7ff;
  --gray: #8a929c;
  --button-blue: #6f9bf4;
  --button-blue-text: #08101a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(123, 209, 182, 0.06), transparent 10px) top/100% 4px no-repeat,
    var(--bg);
}

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

code,
pre {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

code {
  padding: 0.14em 0.38em;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 36px;
}

.hero,
.section {
  background: transparent;
}

.hero {
  padding: 18px 0 24px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.92rem;
}

.chip--green {
  color: var(--green);
  border-color: rgba(99, 201, 123, 0.38);
}

.chip--blue {
  color: var(--blue);
  border-color: rgba(115, 167, 255, 0.38);
}

.chip--gray {
  color: var(--gray);
}

h1,
h2,
h3,
p,
ol {
  margin: 0;
}

h1 {
  margin-top: 22px;
  max-width: 8ch;
  font-size: clamp(2.9rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 62ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.inline-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: var(--text);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button--primary {
  background: var(--button-blue);
  color: var(--button-blue-text);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
  color: var(--text);
}

.section {
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
}

.section + .section {
  margin-top: 18px;
}

.section h2 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  letter-spacing: -0.04em;
}

.section p {
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.78;
}

.section p + p {
  margin-top: 12px;
}

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

.cards {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.card {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.card__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(115, 167, 255, 0.55);
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
}

.card h3 {
  font-size: 1.06rem;
  line-height: 1.45;
}

.card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.72;
}

.terminal {
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel-2);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.terminal__dot--red {
  background: #ff5f56;
}

.terminal__dot--amber {
  background: #ffbd2e;
}

.terminal__dot--green {
  background: #27c93f;
}

.terminal__label {
  margin-left: 8px;
  color: var(--subtle);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.9rem;
}

.terminal pre {
  margin: 0;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: auto;
}

.terminal pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

pre {
  margin-top: 0;
}

.quick-note {
  margin-top: 12px;
  color: var(--subtle);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.92rem;
  line-height: 1.6;
}

.section--footer {
  padding-top: 26px;
  padding-bottom: 8px;
}

.footer-license {
  margin-top: 14px;
  color: var(--subtle);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-license a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page {
    width: min(100% - 20px, 980px);
    padding-top: 14px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
