/* Harness download site — matches app dark palette */

:root {
  color-scheme: dark;

  --bg: #111;
  --fg: #ccc;
  --fg-muted: #999;
  --accent: #5b9cf5;
  --btn-primary-bg: #2e4463;
  --btn-primary-fg: #87b5f4;
  --btn-primary-bg-hover: #355178;
  --border-edge: #222;

  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
}

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

/* --- Page shell --- */

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-md);
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  width: min(100%, 40ch);
  text-align: center;
}

.stack__icon {
  width: 80px;
  height: 80px;
  border-radius: 2px;
}

.stack__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--fg);
}

.stack__manifesto {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* --- Principles --- */

.principles {
  display: grid;
  gap: var(--space-md);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.principles__item {
  display: grid;
  gap: var(--space-sm);
}

.principles__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.principles__desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* --- CTA --- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-sm);
  padding: 0.625rem 1.25rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--btn-primary-fg);
  background: var(--btn-primary-bg);
  border: 1px solid var(--border-edge);
  transition:
    background 150ms ease,
    color 150ms ease;
}

.cta:hover {
  background: var(--btn-primary-bg-hover);
  color: var(--btn-primary-fg);
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
