:root {
  --bg-0: #0e0d0c;
  --bg-1: #1a1715;
  --text: rgba(244, 240, 234, 0.92);
  --muted: rgba(244, 240, 234, 0.55);
  --hairline: rgba(244, 240, 234, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse at 50% 30%, var(--bg-1) 0%, var(--bg-0) 70%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
               Inter, Roboto, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  gap: 28px;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

.demo {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--hairline);
  object-fit: cover;
  display: block;
}

.email-capture {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.email-input {
  width: 100%;
  max-width: 320px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 120ms ease, background 120ms ease;
}

.email-input::placeholder {
  color: var(--muted);
}

.email-input:focus {
  border-color: rgba(244, 240, 234, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.trust {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  max-width: 520px;
  line-height: 1.55;
}

.download {
  padding: 12px 22px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.download:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(244, 240, 234, 0.18);
}

.download:active { transform: translateY(1px); }

.download--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: auto;
}

.download--disabled:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline);
}

.first-launch {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  max-width: 460px;
  line-height: 1.5;
}

.install {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.install-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--hairline);
  border-radius: 999px;
}

.install-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.install-tab:hover { color: var(--text); }

.install-tab.is-active {
  background: rgba(244, 240, 234, 0.10);
  color: var(--text);
}

.is-hidden { display: none !important; }

.install-cmd {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  max-width: 100%;
  text-align: left;
  transition: border-color 120ms ease, background 120ms ease;
}

.install-cmd:hover {
  border-color: rgba(244, 240, 234, 0.18);
  background: rgba(0, 0, 0, 0.55);
}

.install-cmd:active { transform: translateY(1px); }

.install-cmd code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow-x: auto;
  max-width: 100%;
}

.install-cmd-action {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  transition: color 120ms ease;
}

.install-cmd--copied .install-cmd-action {
  color: rgba(120, 200, 140, 0.95);
}

.install-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
