/* EntryLane organizer guides — long-form article shell.
   Kinetic-industrial: square corners, Saira display at regular weight,
   Titillium body, JetBrains Mono data, one accent. Shared by /guides and
   every article. Colors are the kinetic carbon tokens (surface-darker /
   surface-dark / on-dark-muted) so guides match the landing page and
   tutorials, not a private palette. */

:root {
  --bg: #09090A;            /* kinetic --surface-darker */
  --panel: #1A1A1B;         /* kinetic --surface-dark */
  --accent: #58A0D8;        /* kinetic --primary */
  --accent-press: #3F86C2;  /* kinetic --primary-deep */
  --ink: #ffffff;           /* kinetic --on-dark */
  --body-copy: #d4d4d8;     /* long-form article text on carbon */
  --muted: #a1a1aa;         /* kinetic --on-dark-muted */
  --line: rgba(255,255,255,0.08);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif; line-height: 1.7;
}
::selection { background: var(--accent); color: #ffffff; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.g-wrap { max-width: var(--shell-content, 760px); margin: 0 auto; padding: var(--sp-48) var(--sp-24) var(--sp-80); }
.g-wrap--wide { max-width: 1100px; }

.g-crumbs {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.06em; color: var(--muted); margin: 0 0 2rem;
  text-transform: uppercase;
}
.g-crumbs a { color: var(--muted); }
.g-crumbs a:hover { color: var(--accent); }

.g-eyebrow {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 0.6rem;
}
/* Headings are Saira at regular weight with positive tracking — the
   pit-lane signage voice (kinetic .h-lg / .h-md / .h-sm), never 800. */
h1 {
  font-family: 'Archivo Black', 'Archivo', sans-serif; font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 2.6rem); letter-spacing: 0.01em;
  margin: 0 0 0.75rem; text-transform: uppercase; line-height: 1.05;
  text-wrap: balance;
}
.g-lede { color: var(--muted); font-size: 1.125rem; line-height: 1.6; margin: 0 0 2.5rem; }
.g-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0 0 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line);
}

article h2 {
  font-family: 'Archivo Black', 'Archivo', sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.01em; font-size: 1.6rem; line-height: 1.1; margin: 3rem 0 0.9rem;
  padding-top: 1.2rem; border-top: 1px solid var(--line);
  text-wrap: balance;
}
article h3 {
  font-family: 'Archivo', sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 1.2rem; line-height: 1.15; margin: 2rem 0 0.6rem;
}
article p, article li { color: var(--body-copy); }
article strong { color: var(--ink); }
article ul, article ol { padding-left: 1.4rem; }
article li { margin-bottom: 0.45rem; }

/* Numbered checklist blocks — the "do this" spine of each guide.
   Full hairline border on a panel; the accent head label is the signal. */
.g-callout {
  background: var(--panel); border: 1px solid var(--line);
  padding: 1.1rem 1.3rem; margin: 1.6rem 0;
}
/* Guide tables + TOC head stay Saira 700 label voice (0.72rem is the
   kinetic .label-sm floor, never smaller). */
.g-callout-head {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 0.4rem;
}
.g-callout p:last-child, .g-callout ul:last-child { margin-bottom: 0; }

article table {
  width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.95rem;
}
article th {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  text-align: left; padding: 0.55rem 0.8rem; border-bottom: 2px solid var(--accent);
}
article td {
  padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--line);
  color: var(--body-copy); vertical-align: top;
}

/* Table of contents */
.g-toc {
  background: var(--panel); border: 1px solid var(--line);
  padding: 1.1rem 1.3rem; margin: 0 0 2.5rem;
}
.g-toc-head {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 0.5rem;
}
.g-toc ol { margin: 0; padding-left: 1.3rem; }
.g-toc li { margin-bottom: 0.25rem; }
.g-toc a { color: var(--body-copy); }
.g-toc a:hover { color: var(--accent); }

/* CTA band at the foot of each article */
.g-cta {
  margin-top: 3.5rem; background: var(--panel);
  border: 1px solid var(--line); border-top: 3px solid var(--accent);
  padding: 1.8rem 1.6rem;
}
.g-cta h2 {
  font-family: 'Archivo Black', 'Archivo', sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.01em; font-size: 1.6rem; line-height: 1.1;
  border: 0; padding: 0; margin: 0 0 0.5rem; text-wrap: balance;
}
.g-cta p { margin: 0 0 1.2rem; color: var(--muted); }
/* Platform button scheme: Titillium sentence case (kinetic .btn-primary),
   orange fill, stamped solid-offset lift on hover — not Saira caps. */
.g-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 1.05rem 2.2rem;
  font-family: 'Archivo', system-ui, sans-serif; font-weight: 600;
  font-size: 0.98rem; letter-spacing: 0.01em;
  background: var(--accent); color: #0D0D12;
  transition: filter 0.12s, transform 0.12s var(--ease-out-quint),
              box-shadow 0.12s var(--ease-out-quint);
}
.g-cta-btn:hover {
  text-decoration: none; filter: brightness(1.06);
  transform: translateY(-2px); box-shadow: 0 6px 0 var(--accent-press);
}
.g-cta-btn:active { transform: translateY(1px) scale(0.99); box-shadow: 0 2px 0 var(--accent-press); }

/* Related-guides footer links */
.g-related { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.g-related-head {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 0.7rem;
}
.g-related ul { list-style: none; padding: 0; margin: 0; }
.g-related li { margin-bottom: 0.4rem; }

/* Guides index cards — top-stripe grammar shared with the landing page's
   guide chips; hover lifts with the stamped solid offset. */
.g-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem; margin-top: 2.5rem;
}
.g-card {
  background: var(--panel); border: 1px solid var(--line);
  border-top: 3px solid var(--accent); padding: 1.4rem 1.4rem 1.5rem;
  display: block; color: var(--ink);
  transition: transform 0.2s var(--ease-out-quint),
              box-shadow 0.2s var(--ease-out-quint), border-color 0.2s;
}
.g-card:hover {
  text-decoration: none; border-color: rgba(88, 160, 216,0.5);
  border-top-color: var(--accent);
  transform: translateY(-3px); box-shadow: 0 6px 0 #000;
}
.g-card-kicker {
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 0.5rem;
}
/* Card titles take the kinetic .h-sm voice (Saira 400, 0.08em) so they sit
   in the same family as the page h1 instead of reading as a bolder font. */
.g-card-title {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.2rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.4rem;
  line-height: 1.15;
}
.g-card-sub { color: var(--muted); font-size: 0.92rem; margin: 0; }

.g-foot {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .g-cta-btn { transition: filter 0.12s; }
  .g-cta-btn:hover, .g-cta-btn:active { transform: none; box-shadow: none; }
  .g-card { transition: border-color 0.2s; }
  .g-card:hover { transform: none; box-shadow: none; }
}
