/* Console Quickstart — Setup Guides */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Geist:wght@300;400;500;600&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg: #f4efe2;
  --bg-card: #fbf8ef;
  --ink: #161e2c;
  --ink-soft: #4a5568;
  --rule: #d8d0bb;
  --accent: #b83a26;
  --accent-soft: #e3d4c8;
  --shadow: 0 1px 0 rgba(22, 30, 44, 0.04), 0 8px 24px -12px rgba(22, 30, 44, 0.12);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(184, 58, 38, 0.04) 0%, transparent 35%),
    radial-gradient(circle at 88% 92%, rgba(22, 30, 44, 0.05) 0%, transparent 40%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding: 28px 22px 60px;
}

.wrap {
  max-width: 620px;
  margin: 0 auto;
}

/* ─────────── Header ─────────── */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 36px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--bg);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.brand-text {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-text small {
  display: block;
  font-family: 'Geist Mono', monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 3px;
}

/* ─────────── Hero ─────────── */
.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(36px, 7vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 36px;
}

/* ─────────── Console picker (index) ─────────── */
.picker {
  display: grid;
  gap: 10px;
}

.picker a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.picker a:hover, .picker a:active {
  transform: translateY(-1px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.picker .console-name {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.picker .console-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.picker .arrow {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--accent);
}

/* ─────────── Console pages ─────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 28px;
}
.back-link:hover { color: var(--accent); }

.section {
  margin-bottom: 38px;
}

.section-num {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.steps {
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 16px 0 16px 44px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 17px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.steps strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.steps p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.fix {
  background: var(--bg-card);
  border-left: 2px solid var(--accent);
  padding: 14px 18px;
  margin-bottom: 10px;
  border-radius: 0 8px 8px 0;
}
.fix-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.fix-body {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.note {
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 10px;
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}

/* ─────────── Footer ─────────── */
footer {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ─────────── Reveal animation ─────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.brand, .eyebrow, h1, .lede, .picker a, .section, footer {
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.eyebrow { animation-delay: 0.05s; }
h1 { animation-delay: 0.1s; }
.lede { animation-delay: 0.15s; }
.picker a:nth-child(1) { animation-delay: 0.2s; }
.picker a:nth-child(2) { animation-delay: 0.24s; }
.picker a:nth-child(3) { animation-delay: 0.28s; }
.picker a:nth-child(4) { animation-delay: 0.32s; }

@media (max-width: 480px) {
  body { padding: 22px 18px 50px; }
  h1 { font-size: 34px; }
  h2 { font-size: 23px; }
  .picker .console-name { font-size: 17px; }
}
