/* Shared stylesheet for static SEO guide pages under /guides/*.
   Plain CSS, no build step — brand tokens copied from src/pages/minefield/MinefieldHome.tsx
   (the current app's dashboard theme). Fonts match the brand set loaded in the root index.html:
   Anton (display), Saira Condensed (subheads/nav), Source Serif 4 (body prose), Space Mono
   (labels/eyebrows), Archivo (UI). Inter/Fraunces are banned brand-wide — see INVARIANTS.md #19/#21 —
   do NOT add them here even though this file sits outside the build-enforced src/ check. */

:root {
  --ink: #181712;
  --panel: #15281f;
  --card: #FFFDF7;
  --champagne: #FAF6EE;
  --oxblood: #9b3b30;
  --gold: #b8924a;
  --teal: #0d9488;
  --muted: #6e655a;
  --faint: #9b9384;
  --border: #e4dac3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--champagne);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
}

.guide-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 4rem;
}

.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.guide-header img { display: block; }

.guide-eyebrow {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

h1 {
  font-family: 'Anton', sans-serif;
  font-size: 2.3rem;
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin: 0 0 0.9rem;
  color: var(--ink);
}

h2 {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--oxblood);
  margin: 2.4rem 0 1rem;
}

h3 {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 1.6rem 0 0.6rem;
}

p { margin: 0 0 1.1rem; color: #2a2a2a; }

.guide-intro {
  font-size: 1.15rem;
  color: var(--ink);
}

a { color: var(--teal); }

.guide-table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--border);
}

th {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--champagne);
}

.guide-example {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1.3rem;
  margin: 0 0 1.5rem;
}

.guide-example-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border);
  font-family: 'Space Mono', monospace;
  font-size: 0.88rem;
}
.guide-example-row:last-child { border-bottom: none; font-weight: 700; padding-top: 0.6rem; }

details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.9rem;
}
summary {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}
details p { margin: 0.75rem 0 0; color: #444; }

.guide-cta {
  margin: 2.5rem 0;
  background: var(--panel);
  color: var(--champagne);
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
  text-align: center;
}
.guide-cta p { color: var(--champagne); opacity: 0.85; margin-bottom: 1rem; }
.guide-cta a {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #d9b53f);
  color: var(--ink);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
}

.guide-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.guide-footer a { color: var(--muted); }

.guide-disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  padding-left: 0.9rem;
  margin: 1.5rem 0;
}
