/* ==========================================================================
   Guide / article page — extends css/style.css with readable long-form type
   ========================================================================== */

.nav--sticky {
  position: sticky;
  top: 0;
}

.guide-header {
  padding: 64px 0 60px;
  border-bottom: 1px solid var(--line);
}

.guide-header .eyebrow { margin-bottom: 22px; }

.guide-header h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 16ch;
  margin-bottom: 20px;
}

.guide-header p {
  color: var(--text-mid);
  font-size: 17px;
  max-width: 60ch;
}

.guide-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-low);
  letter-spacing: 0.06em;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  padding: 64px 0 120px;
}

@media (min-width: 980px) {
  .guide-layout { grid-template-columns: 200px 1fr; }
}

.guide-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  display: none;
}

@media (min-width: 980px) {
  .guide-toc { display: block; }
}

.guide-toc h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-low);
  margin-bottom: 14px;
}

.guide-toc ul { display: flex; flex-direction: column; gap: 10px; }

.guide-toc a {
  font-size: 13px;
  color: var(--text-mid);
  transition: color 0.2s ease;
}
.guide-toc a:hover { color: var(--cyan); }

.guide-body {
  max-width: 74ch;
}

.guide-body h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 600;
  margin: 56px 0 18px;
  padding-top: 8px;
  scroll-margin-top: 100px;
}

.guide-body h2:first-child { margin-top: 0; }

.guide-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 30px 0 12px;
  color: var(--cyan);
}

.guide-body p {
  color: var(--text-mid);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.guide-body p strong { color: var(--text-hi); font-weight: 600; }

.guide-body ul, .guide-body ol {
  margin: 0 0 20px 0;
  padding-left: 22px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.8;
}

.guide-body li { margin-bottom: 6px; }
.guide-body li::marker { color: var(--cyan); }

.guide-body code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--cyan);
}

.guide-body pre {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px 20px;
  overflow-x: auto;
  margin-bottom: 22px;
  border-radius: 2px;
}

.guide-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.6;
}

.prompt-card {
  border: 1px solid var(--line);
  background: rgba(10, 13, 22, 0.5);
  padding: 18px 20px;
  margin-bottom: 16px;
  border-left: 2px solid var(--violet);
}

.prompt-card__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--violet);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.prompt-card p {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0;
}

.guide-callout {
  border: 1px solid var(--cyan-dim);
  background: var(--cyan-soft);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14.5px;
  color: var(--text-hi);
  border-radius: 2px;
}

.guide-callout strong { color: var(--cyan); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  margin-bottom: 26px;
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--cyan); }

.guide-divider {
  height: 1px;
  background: var(--line);
  margin: 44px 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}

.spec-table th, .spec-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-low);
  text-transform: uppercase;
}

.spec-table td { color: var(--text-mid); }
.spec-table td:first-child { color: var(--text-hi); font-family: var(--font-mono); font-size: 13px; }

.swatch-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.swatch {
  width: 130px;
  border: 1px solid var(--line);
}
.swatch__chip { height: 60px; }
.swatch__label {
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-mid);
}
.swatch__label span { display: block; color: var(--text-hi); }
