:root {
  --paper: #f3f0e9;
  --surface: #fbfaf6;
  --ink: #1c2420;
  --muted: #5a5f58;
  --line: #ddd7ca;
  --green: #127a63;
  --green-light: #5fd3b2;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --font-brand: "Red Hat Mono", var(--font-mono);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 4px;
}

.page {
  display: flex;
  width: min(100% - 48px, 960px);
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
}

.topbar,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.topbar {
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--green-light);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 8;
}

.hero {
  display: flex;
  max-width: 760px;
  margin: auto 0;
  flex-direction: column;
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.intro {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.secondary {
  padding: 0 2px;
  color: var(--ink);
}

.command {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  margin: 28px 0 0;
  overflow-x: auto;
  border-radius: 10px;
  background: var(--ink);
  color: #edeae0;
  box-shadow: 0 22px 60px rgba(28, 36, 32, 0.14);
}

code {
  display: block;
  min-width: 0;
  padding: 20px 0 20px 22px;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre;
}

.copy-button {
  min-height: 38px;
  margin-right: 10px;
  padding: 0 14px;
  flex: 0 0 auto;
  border: 1px solid #2d3832;
  border-radius: 8px;
  background: #243029;
  color: var(--green-light);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.copy-button:hover,
.copy-button:focus-visible {
  background: #2c3b33;
}

.copy-button.is-copied {
  color: #f3f0e9;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.3;
}

footer {
  margin-top: auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 32px, 960px);
  }

  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 54px 0 72px;
  }

  .intro {
    font-size: 18px;
  }

  .command {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  code {
    width: 100%;
    padding: 20px 22px 10px;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .copy-button {
    margin: 0 0 14px 22px;
  }
}
