/* Guides + module landing pages.
   Extends styles.css — every colour, font and space below is a token already
   defined there. Nothing here introduces a new palette value. */

.guide { padding: calc(var(--bay) * 0.55) 0 var(--bay); }
.guide__shell { max-width: 72ch; }

.guide__crumb {
  font-size: var(--t-sm);
  color: var(--steel);
  margin-bottom: 1.25rem;
}
.guide__crumb a { color: var(--rust-ink); }
.guide__crumb span { margin: 0 0.4rem; color: var(--line); }

.guide h1 {
  font-size: var(--t-2xl);
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.guide__lede {
  font-size: var(--t-lg);
  color: var(--ink);
  margin-top: 1rem;
  max-width: 58ch;
  text-wrap: pretty;
}

.guide__meta {
  margin-top: 0.9rem;
  font-size: var(--t-sm);
  color: var(--steel);
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

/* ── numbered steps ─────────────────────────────────────────────────────── */
/* Counter rather than default markers so the number can sit in the gutter at
   a size that reads as structure, not decoration. */

.guide__steps {
  list-style: none;
  counter-reset: step;
  margin: 2.5rem 0 0;
  padding: 0;
}

.guide__steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3.25rem;
  padding-bottom: 1.9rem;
}

.guide__steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.15rem;
  width: 2.25rem;
  text-align: right;
  font-size: var(--t-lg);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--rust-ink);
}

/* The spine. Stops at the last step rather than trailing into nothing. */
.guide__steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.08rem;
  top: 1.9rem;
  bottom: 0.35rem;
  width: 1px;
  background: var(--line);
}

.guide__steps h2 {
  font-size: var(--t-base);
  font-weight: 700;
  font-stretch: 105%;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
}

.guide__steps p { margin: 0; color: var(--steel); }
.guide__steps b { color: var(--ink); font-weight: 700; }

/* ── the troubleshooting block ──────────────────────────────────────────── */

.guide__notes {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.guide__notes h2 {
  font-size: var(--t-base);
  font-weight: 700;
  margin: 0 0 0.9rem;
}
.guide__notes ul { margin: 0; padding-left: 1.1rem; }
.guide__notes li { color: var(--steel); margin-bottom: 0.7rem; }
.guide__notes li:last-child { margin-bottom: 0; }
.guide__notes b { color: var(--ink); }

.guide__ask, .guide__back { margin-top: 2rem; font-size: var(--t-sm); color: var(--steel); }
.guide__ask a, .guide__back a { color: var(--rust-ink); }

/* ── index ──────────────────────────────────────────────────────────────── */

.guide-cols {
  margin-top: 3rem;
  display: grid;
  gap: 3rem;
}
@media (min-width: 62rem) {
  .guide__shell:has(.guide-cols) { max-width: 92ch; }
  .guide-cols { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

.guide-col > h2 { font-size: var(--t-xl); font-stretch: 108%; letter-spacing: -0.015em; }
.guide-col > p { color: var(--steel); margin-top: 0.4rem; font-size: var(--t-sm); }

.guide-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.guide-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.guide-list a { text-decoration: none; flex: 1; }
.guide-list__title {
  display: block;
  font-weight: 700;
  color: var(--ink);
}
.guide-list a:hover .guide-list__title { color: var(--rust-ink); }
.guide-list__lede {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--t-sm);
  color: var(--steel);
}
.guide-list__mins {
  flex: none;
  font-size: var(--t-xs);
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

/* ── module landing pages ───────────────────────────────────────────────── */

.lander__shell { max-width: 74ch; }

.lander__kicker {
  font-size: var(--t-sm);
  font-weight: 650;
  color: var(--rust-ink);
  letter-spacing: 0.01em;
}

.lander h1 { margin-top: 0.5rem; }

.lander__sub {
  font-size: var(--t-lg);
  margin-top: 1.1rem;
  max-width: 56ch;
  color: var(--steel);
  text-wrap: pretty;
}

.lander__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.lander__cta-note { font-size: var(--t-sm); color: var(--steel); }

.lander__pain {
  margin: 3rem 0 0;
  padding: 1.5rem 1.75rem;
  border-left: 0;
  background: var(--deep);
  color: var(--ink-on-deep);
  border-radius: var(--r-lg);
}
.lander__pain p { color: var(--ink-on-deep); margin: 0; font-size: var(--t-lg); text-wrap: pretty; }
.lander__pain p + p { margin-top: 0.9rem; color: var(--steel-dim); font-size: var(--t-base); }

.lander h2 {
  font-size: var(--t-xl);
  font-stretch: 108%;
  letter-spacing: -0.015em;
  margin: 3rem 0 1rem;
}

.lander__does { list-style: none; margin: 0; padding: 0; }
.lander__does li {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}
.lander__does b { display: block; font-weight: 700; color: var(--ink); }
.lander__does span { display: block; margin-top: 0.25rem; color: var(--steel); }

.lander__with {
  margin: 0;
  padding: 1.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.lander__with ul { margin: 0.75rem 0 0; padding-left: 1.1rem; }
.lander__with li { color: var(--steel); margin-bottom: 0.55rem; }
.lander__with li:last-child { margin-bottom: 0; }
.lander__with b { color: var(--ink); }

.lander__proof {
  margin-top: 1.25rem;
  font-size: var(--t-sm);
  color: var(--steel);
}

.lander__foot-cta {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* Secondary link out of a suite card to its full page. Sits under the primary
   CTA — someone ready to sign up shouldn't have to step past a "read more". */
.suite-card__more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: var(--t-sm);
  color: var(--rust-ink);
}

/* Live-usage ticker. Absent until build-ticker.mjs decides the numbers are
   true, so this may style nothing for a while — that is intended. */
.venues__ticker {
  margin: 0;
  font-size: var(--t-lg);
  color: var(--ink-on-deep);
}
.venues__ticker b { color: var(--rust-bright); font-variant-numeric: tabular-nums; }
.venues__asof {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: var(--t-xs);
  color: var(--steel-dim);
}

/* Legal documents. Long-form, table-heavy, read once under pressure. */
.doc .guide__shell { max-width: 78ch; }
.doc h1 { margin-top: 0.5rem; }
.doc h2 { font-size: var(--t-xl); font-stretch: 108%; letter-spacing: -0.015em; margin: 2.5rem 0 0.75rem; }
.doc h3 { font-size: var(--t-lg); font-weight: 700; margin: 1.75rem 0 0.5rem; }
.doc p  { color: var(--steel); margin: 0 0 1rem; }
.doc strong { color: var(--ink); }
.doc ul { margin: 0 0 1.25rem; padding-left: 1.15rem; }
.doc li { color: var(--steel); margin-bottom: 0.5rem; }
.doc blockquote {
  margin: 1.25rem 0; padding: 1rem 1.25rem;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--steel);
}
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.doc code { font-size: 0.9em; background: var(--bg-raised); padding: 0.1em 0.35em; border-radius: var(--r-sm); }
/* Wide tables scroll inside their own box; the page never scrolls sideways. */
.doc-table { overflow-x: auto; margin: 0 0 1.5rem; }
.doc-table table { border-collapse: collapse; width: 100%; font-size: var(--t-sm); }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 0.6rem 0.75rem; text-align: left; vertical-align: top; }
.doc-table th { background: var(--bg-raised); color: var(--ink); font-weight: 700; }
.doc-table td { color: var(--steel); }
