/* HATS Live Setup Demo — minimal stylesheet.
   The look stays restrained on purpose: the demo is about
   showing real outputs, not decorating them. */

:root {
  --bg: #0b0f1a;
  --card: #131a2c;
  --ink: #e9edf4;
  --muted: #93a0bb;
  --accent: #41d18e;
  --accent-soft: #1b5d3f;
  --attention: #f5b840;
  --error: #ee5a5a;
  --border: #28324d;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

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

.page-header {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.banner {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.banner strong {
  display: block;
}

.banner span {
  display: block;
  color: var(--ink);
  font-weight: 400;
  margin-top: 0.25rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
}

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.hidden {
  display: none !important;
}

.start-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0;
}

.start-form label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input[type="text"] {
  font: inherit;
  padding: 0.7rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
}

input[type="text"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

button {
  font: inherit;
  cursor: pointer;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  border: 0;
}

button.primary {
  background: var(--accent);
  color: #03150a;
  font-weight: 600;
}

button.primary:hover {
  filter: brightness(1.05);
}

button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.fineprint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* stepper */

.progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

#step-counter {
  font-size: 0.85rem;
  color: var(--muted);
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

#progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 200ms ease;
}

.step-output {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section h3 {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section .headline {
  margin: 0 0 0.4rem;
  font-weight: 500;
  font-size: 1.05rem;
}

.section ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section.attention .headline {
  color: var(--attention);
}

.section.evidence summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
}

.section.evidence ul {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.action-row {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-row .why {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1 1 280px;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.downloads a {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--accent);
}

.verifier-command {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.verifier-command pre {
  background: var(--bg);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--accent);
  overflow-x: auto;
}

.error {
  border-color: var(--error);
}

.error h2 {
  color: var(--error);
}

.page-footer {
  text-align: center;
  padding: 1.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.page-footer code {
  font-family: var(--mono);
  background: var(--card);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}
