/* iterate — slate + lime, modern editorial */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #131c2e;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;

  --lime:      #a3e635;
  --lime-400:  #bef264;
  --lime-300:  #d9f99d;
  --lime-dim:  rgba(163,230,53,0.08);
  --lime-glow: rgba(163,230,53,0.18);
  --lime-border: rgba(163,230,53,0.2);

  --sky:   #38bdf8;
  --amber: #fbbf24;
  --rose:  #fb7185;
  --violet:#a78bfa;

  --bg:      var(--slate-950);
  --surface: var(--slate-900);
  --surface2: var(--slate-850);
  --border:  var(--slate-800);
  --border2: var(--slate-700);
  --text:    var(--slate-400);
  --bright:  var(--slate-200);
  --dim:     var(--slate-600);

  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lime); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--lime-400); }
strong { color: var(--bright); font-weight: 600; }
code {
  font-family: var(--mono);
  font-size: 0.82em;
  background: rgba(163,230,53,0.07);
  color: var(--lime-400);
  padding: 0.1em 0.45em;
  border-radius: 4px;
  border: 1px solid var(--lime-border);
}

/* ── scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--slate-700); border-radius: 3px; }

/* ── nav ── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2,6,23,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.nav-icon {
  width: 30px;
  height: 30px;
  background: var(--lime);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-950);
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--lime-glow);
}

.nav-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dim);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--bright); background: var(--surface); }
.nav-links a.nav-active { color: var(--lime); }

.nav-gh {
  background: var(--surface) !important;
  color: var(--slate-300) !important;
  border: 1px solid var(--border) !important;
  margin-left: 0.5rem;
}
.nav-gh:hover {
  border-color: var(--lime-border) !important;
  color: var(--lime) !important;
  background: var(--lime-dim) !important;
}

/* ── page wrap ── */

.page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── hero ── */

.hero {
  padding: 9rem 0 7rem;
  position: relative;
  overflow: hidden;
}

/* background grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(163,230,53,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163,230,53,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
  pointer-events: none;
}

/* glow blob */
.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  left: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(163,230,53,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--lime);
  background: var(--lime-dim);
  border: 1px solid var(--lime-border);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-dot {
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--lime);
  animation: livepulse 2s ease-in-out infinite;
}

@keyframes livepulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.eyebrow-tag {
  font-size: 0.72rem;
  color: var(--dim);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--bright);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
}

.hero h1 .hl {
  color: var(--lime);
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--slate-400);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.hero-pill {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate-500);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.9rem;
  letter-spacing: 0.01em;
  transition: border-color 0.15s, color 0.15s;
}
.hero-pill:hover {
  border-color: var(--border2);
  color: var(--slate-400);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  transition: all 0.18s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-lime {
  background: var(--lime);
  color: var(--slate-950);
}
.btn-lime:hover {
  background: var(--lime-400);
  color: var(--slate-950);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(163,230,53,0.35), 0 0 0 1px rgba(163,230,53,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--slate-300);
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  background: var(--surface);
  color: var(--bright);
  border-color: var(--slate-600);
}

/* hero card */

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), #86efac, var(--sky), var(--lime));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--lime-dim) 0%, transparent 70%);
  pointer-events: none;
}

.card-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--mono);
  margin-bottom: 0.5rem;
}

.card-day {
  font-size: 5rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.05em;
  font-family: var(--mono);
  text-shadow: 0 0 40px var(--lime-glow);
}

.card-day-sub {
  font-size: 0.72rem;
  color: var(--dim);
  margin-top: 0.25rem;
  font-family: var(--mono);
}

.card-sep {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.card-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.card-stat { text-align: center; }

.card-stat-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bright);
  font-family: var(--mono);
  line-height: 1;
}

.card-stat-lbl {
  font-size: 0.6rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* ── stats strip ── */

.stats-strip {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.stat-num {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--bright);
  font-family: var(--mono);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.45rem;
  font-family: var(--mono);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── how it works ── */

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.how-step {
  background: var(--surface);
  padding: 2rem 1.75rem;
  position: relative;
  transition: background 0.15s;
  border-top: 2px solid var(--step-color, var(--lime));
}
.how-step:hover { background: var(--surface2); }

.how-step:nth-child(1) { --step-color: var(--lime); }
.how-step:nth-child(2) { --step-color: var(--sky); }
.how-step:nth-child(3) { --step-color: var(--violet); }
.how-step:nth-child(4) { --step-color: var(--amber); }
.how-step:nth-child(5) { --step-color: #4ade80; }
.how-step:nth-child(6) { --step-color: var(--rose); }

.step-num {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--step-color, var(--lime));
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.step-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--step-color, var(--lime));
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.step-body {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.75;
}


/* ── features bento ── */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bento-cell {
  background: var(--surface);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.15s;
}
.bento-cell:hover { background: var(--surface2); }
.bento-cell.wide { grid-column: span 2; }

.b-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.bento-cell:nth-child(1) .b-icon { background: rgba(163,230,53,0.08); border-color: rgba(163,230,53,0.2); color: var(--lime); }
.bento-cell:nth-child(2) .b-icon { background: rgba(56,189,248,0.08); border-color: rgba(56,189,248,0.2); color: var(--sky); }
.bento-cell:nth-child(3) .b-icon { background: rgba(167,139,250,0.08); border-color: rgba(167,139,250,0.2); color: var(--violet); }
.bento-cell:nth-child(4) .b-icon { background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.2); color: var(--amber); }
.bento-cell:nth-child(5) .b-icon { background: rgba(45,212,191,0.08); border-color: rgba(45,212,191,0.2); color: #2dd4bf; }

.b-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.b-body {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.75;
}

.b-code {
  margin-top: 1.25rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--slate-700);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--slate-400);
  line-height: 2.1;
  overflow-x: auto;
  white-space: pre;
}
.b-code .kw  { color: var(--violet); }
.b-code .fn  { color: var(--lime); font-weight: 600; }
.b-code .str { color: var(--amber); }
.b-code .cm  { color: var(--slate-500); font-style: italic; }

/* ── section headings ── */

.sec-h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--bright);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.sec-sub {
  font-size: 0.95rem;
  color: var(--text);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── section ── */

section { padding: 8rem 0; }

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

.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: var(--mono);
  white-space: nowrap;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

/* ── journal ── */

.journal-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.entry {
  background: var(--surface);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2rem;
  align-items: start;
  transition: background 0.15s;
  position: relative;
}

.entry:hover { background: var(--surface2); }

.entry:hover .entry-day-num { color: var(--lime); }

.entry-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.2rem;
}

.entry-day-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--slate-600);
  font-family: var(--mono);
  line-height: 1;
  transition: color 0.15s;
}

.entry-day-lbl {
  font-size: 0.58rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
  font-family: var(--mono);
}

.entry-pip {
  width: 2px;
  height: 100%;
  min-height: 20px;
  background: var(--border);
  margin-top: 0.75rem;
  border-radius: 1px;
  flex: 1;
}

.entry-right { min-width: 0; }

.entry-meta {
  font-size: 0.68rem;
  color: var(--dim);
  font-family: var(--mono);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.entry-meta::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--entry-dot, var(--lime));
  flex-shrink: 0;
}

.entry:nth-child(4n+1) { --entry-dot: var(--lime); }
.entry:nth-child(4n+2) { --entry-dot: var(--sky); }
.entry:nth-child(4n+3) { --entry-dot: var(--violet); }
.entry:nth-child(4n+4) { --entry-dot: var(--amber); }

.entry-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bright);
  line-height: 1.4;
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}

.entry-body {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.8;
}

.timeline-empty {
  padding: 3rem 2rem;
  color: var(--dim);
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
}

/* ── identity ── */

.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.id-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.15s;
}
.id-card:hover { border-color: var(--border2); }

.id-card.span2 { grid-column: 1 / -1; }

.id-card-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--mono);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.id-card-label::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--lime);
  border-radius: 1px;
}

.mission {
  font-size: 1.05rem;
  color: var(--slate-300);
  line-height: 1.85;
  font-weight: 400;
}

.identity-text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}
.identity-text:last-child { margin-bottom: 0; }

.rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 0;
}

.rules li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0;
  background: var(--surface);
  transition: background 0.15s;
  align-items: start;
}
.rules li:hover { background: var(--surface2); }

.rule-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.08em;
  padding: 1.1rem 0 1.1rem 1.1rem;
  padding-top: 1.15rem;
}

.rule-content {
  padding: 1rem 1.25rem 1rem 0.75rem;
  border-left: 1px solid var(--border);
}

.rule-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bright);
  line-height: 1.4;
  margin-bottom: 0.2rem;
}

.rule-sub {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.6;
}

/* ── cta ── */

.cta-section {
  padding: 6rem 0 0;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--lime-border);
  border-radius: var(--radius-xl);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(163,230,53,0.05), inset 0 1px 0 rgba(163,230,53,0.08);
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(163,230,53,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% -10%, rgba(56,189,248,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% -10%, rgba(167,139,250,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--bright);
  letter-spacing: -0.04em;
  margin-bottom: 0.85rem;
  position: relative;
}

.cta-sub {
  font-size: 0.95rem;
  color: var(--text);
  max-width: 380px;
  margin: 0 auto 2.25rem;
  line-height: 1.75;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── footer ── */

footer {
  margin-top: 7rem;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 4rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-icon {
  width: 24px;
  height: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--lime);
}

.footer-text { font-size: 0.75rem; color: var(--dim); }

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

.footer-link {
  font-size: 0.75rem;
  color: var(--dim);
}
.footer-link:hover { color: var(--lime); }

.footer-rss {
  font-family: var(--mono);
  font-size: 0.7rem;
}

/* ── scroll reveal ── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.visible { animation: fadeInUp 0.55s cubic-bezier(0.16,1,0.3,1) forwards; }

/* ── quickstart ── */

.qs-terminal {
  max-width: 640px;
  background: #0a0f1a;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.qs-terminal-bar {
  background: var(--slate-800);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qs-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.qs-dot.red    { background: #ff5f57; }
.qs-dot.yellow { background: #febc2e; }
.qs-dot.green  { background: #28c840; }

.qs-terminal-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--dim);
  margin-left: 0.5rem;
}

.qs-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.25rem 1.25rem;
}

.qs-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.qs-prompt {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--lime);
  flex-shrink: 0;
  user-select: none;
}

.qs-num {
  display: none;
}

.qs-content { flex: 1; }

.qs-label {
  display: none;
}

.qs-code {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.qs-code code {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--slate-200);
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
}

.copy-btn {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--slate-500);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--slate-700);
  border-radius: 4px;
  padding: 0.18rem 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.copy-btn:hover { color: var(--bright); border-color: var(--slate-500); background: rgba(255,255,255,0.08); }
.copy-btn.copied { color: var(--lime); border-color: var(--lime-border); background: var(--lime-dim); }

.qs-note {
  font-size: 0.85rem;
  color: var(--dim);
  margin-top: 0.5rem;
}

.qs-note code {
  font-size: 0.8rem;
}

/* ── hamburger ── */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--slate-400);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-hamburger:hover span { background: var(--bright); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── responsive ── */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-cell.wide { grid-column: span 2; }
  .identity-grid { grid-template-columns: 1fr; }
  .id-card.span2 { grid-column: 1; }
  .stats-strip { gap: 0; }
  .stat-item { padding: 0 1rem; }
}

@media (max-width: 600px) {
  .page-wrap, .nav-inner, .footer-inner { padding: 0 1.25rem; }
  .hero { padding: 4.5rem 0 4rem; }
  .hero h1 { font-size: 2.4rem; }
  .stats-strip { flex-wrap: wrap; gap: 0; padding: 1.75rem 0; }
  .stat-item { flex: 0 0 50%; padding: 1rem 1.25rem; }
  .stat-divider { display: none; }
  .how-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-cell.wide { grid-column: 1; }
  .entry { grid-template-columns: 52px 1fr; gap: 1.25rem; padding: 1.25rem; }
  .entry-day-num { font-size: 1.5rem; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 58px; left: 0; right: 0;
    background: rgba(2,6,23,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0.5rem; font-size: 0.9rem; }
  .footer-inner { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
}
