:root {
  --brand: oklch(0.8008 0.0805 138.86);
  --gray-50: oklch(0.985 0 0);
  --gray-100: oklch(0.97 0 0);
  --gray-200: oklch(0.922 0 0);
  --gray-300: oklch(0.87 0 0);
  --gray-400: oklch(0.708 0 0);
  --gray-500: oklch(0.556 0 0);
  --gray-600: oklch(0.439 0 0);
  --gray-700: oklch(0.371 0 0);
  --gray-800: oklch(0.269 0 0);
  --gray-900: oklch(0.205 0 0);
  --gray-950: oklch(0.145 0 0);

  --bg: var(--gray-950);
  --surface: var(--gray-800);
  --text: var(--gray-50);
  --text-muted: var(--gray-300);
  --border: var(--gray-700);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(6rem, 20vh, 12rem) 2rem;
}

.container {
  max-width: 520px;
  width: 100%;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.logo {
  width: 40px;
  height: 40px;
}

h1 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.install-section {
  margin-bottom: 2rem;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: auto;
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.copy-button:hover {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.copy-button:active {
  background: var(--gray-800);
}

.copy-button:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.copy-button:focus:not(:focus-visible) {
  outline: none;
}

.copy-button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.copy-button code {
  flex: 1;
  text-align: left;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.875rem;
  color: var(--text);
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.copy-button:hover .icon {
  color: var(--brand);
}

.copy-button.copied .icon {
  color: var(--brand);
}

@media (prefers-reduced-motion: no-preference) {
  .copy-button.copied .icon {
    animation: pop 0.25s ease;
  }
}

.links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.link:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.link:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.link:focus:not(:focus-visible) {
  outline: none;
}

.link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.link-sep {
  color: var(--gray-600);
  font-size: 0.875rem;
  user-select: none;
}

@keyframes pop {
  0% { transform: scale(0.9); opacity: 0.6; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}

@media (max-width: 640px) {
  body {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.25rem;
  }

  .tagline {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }

  .copy-button {
    padding: 0.75rem 0.875rem;
  }

  .copy-button code {
    font-size: 0.8rem;
  }

  body {
    padding: clamp(5rem, 14vh, 8rem) 1.5rem;
  }

  .icon {
    width: 15px;
    height: 15px;
  }
}
