/* Guide / article page — extends style.css tokens */

.guide-body {
  background: var(--black);
}

.guide-header {
  padding: clamp(7rem, 14vw, 10rem) 0 4rem;
  border-bottom: 1px solid var(--line-soft);
}
.guide-header .eyebrow { display: block; margin-bottom: 1.6rem; }
.guide-header h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-style: italic;
  font-weight: 340;
  max-width: 16ch;
}
.guide-header .guide-sub {
  margin-top: 1.6rem;
  max-width: 60ch;
  font-size: 1.05rem;
}
.guide-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 2.4rem;
}
.guide-back:hover { color: var(--brass-light); }

.guide-article {
  max-width: 780px;
  margin: 0 auto;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: 8rem;
}
.guide-article > * + * { margin-top: 1.6rem; }

.guide-article h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-style: italic;
  margin-top: 4rem;
  margin-bottom: 0.6rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line-soft);
}
.guide-article h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.guide-article h3 {
  font-size: 1.2rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--brass-light);
  margin-top: 2.2rem;
  font-style: normal;
}

.guide-article p, .guide-article li { color: var(--cream-dim); }

.guide-article ul, .guide-article ol {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.guide-article ul { list-style: none; }
.guide-article ul li { position: relative; padding-left: 1.2rem; }
.guide-article ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass-dim);
}
.guide-article ol { list-style: decimal; }
.guide-article ol li::marker { color: var(--brass); }

.prompt-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.6rem 1.8rem;
  margin-top: 1.4rem;
}
.prompt-card .p-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.8rem;
  display: block;
}
.prompt-card .p-prompt {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--cream);
  font-size: 0.98rem;
  line-height: 1.7;
}
.prompt-card .p-why {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1.4rem;
}
.tech-card {
  border: 1px solid var(--line-soft);
  padding: 1.5rem 1.6rem;
}
.tech-card h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brass-light);
  margin-bottom: 0.6rem;
  font-weight: 400;
}
.tech-card p { font-size: 0.92rem; margin-top: 0; }

code, .inline-code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.86em;
  background: rgba(198,166,100,0.1);
  color: var(--brass-light);
  padding: 0.15em 0.45em;
  border-radius: 3px;
}

pre {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.4rem 1.6rem;
  overflow-x: auto;
  margin-top: 1rem;
}
pre code {
  background: none;
  padding: 0;
  color: var(--cream-dim);
  font-size: 0.85rem;
  line-height: 1.7;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.guide-table th, .guide-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--cream-dim);
}
.guide-table th {
  color: var(--brass);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 700px) {
  .tech-grid { grid-template-columns: 1fr; }
}
