:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --text: #17202a;
  --muted: #5d6b7a;
  --line: #d9e1ea;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --code-bg: #101820;
  --code-text: #e8f0f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: var(--accent-dark);
}

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  display: block;
  width: 32px;
  height: 32px;
}

.links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.links a {
  color: var(--muted);
  text-decoration: none;
}

main {
  padding: 56px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 42px;
  align-items: center;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.install {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 0;
  max-width: 690px;
  overflow: hidden;
  border: 1px solid #0f2433;
  border-radius: 8px;
  background: var(--code-bg);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.install code {
  display: block;
  overflow-x: auto;
  padding: 16px 18px;
  color: var(--code-text);
  font-size: 14px;
  white-space: nowrap;
}

.install button {
  display: inline-grid;
  place-items: center;
  min-width: 86px;
  border: 0;
  padding: 0 18px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.install button:hover,
.install button:focus-visible {
  background: var(--accent-dark);
}

.copy-status {
  min-height: 21px;
  margin: 8px 0 0;
  color: var(--accent-dark);
  font-size: 14px;
}

.terminal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 18px 42px rgba(23, 32, 42, 0.14);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: #1f2937;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
}

.dot:nth-child(2) {
  background: #f59e0b;
}

.dot:nth-child(3) {
  background: #10b981;
}

.terminal pre {
  margin: 0;
  padding: 22px;
  color: #d1fae5;
  font-size: 13px;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.feature {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.feature h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  main {
    padding: 36px 0;
  }

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

  .links {
    gap: 12px;
  }

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

  .install button {
    min-height: 48px;
  }
}
