/* GEO-01 G8: the landing's inner pages (/features/, /bots/, /faq/, /news/, /press/, /about/). They load styles.css first
   and add only what a page of reading needs: a header band, prose, screenshots, a fact table. */

/* the current page in the one header (tools/landing/header.html) lives in styles.css now */

.page-hero {
  padding: calc(72px + clamp(36px, 6vw, 72px)) 0 clamp(28px, 4vw, 44px);
  background: linear-gradient(var(--parchment-dark), var(--parchment));
  border-bottom: 1px solid var(--parchment-line);
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero__lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 46em; }

.page-body { padding: clamp(32px, 5vw, 64px) 0; }

.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin: 1.3em 0 .35em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose a, .feature a, .shot a, .honest a { color: var(--leather); }
.prose code { font: .92em/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--parchment-dark); padding: .05em .3em; border-radius: 4px; }
.prose pre {
  background: var(--wood); color: var(--on-wood); border-radius: var(--radius); padding: 16px 18px; overflow-x: auto;
  font: .86rem/1.55 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; margin: 0 0 1em;
}
.prose pre code { background: none; padding: 0; color: inherit; }
.prose blockquote {
  margin: 0 0 1em; padding: 12px 18px; background: var(--parchment-light);
  border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
}

.faq-page h3 { font-family: var(--font-ui); font-size: 1.12rem; font-weight: 700; }
.faq-page p { color: var(--ink-soft); }

.feature-index { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-left: 1.2em; margin: 0 0 clamp(28px, 4vw, 48px); font-weight: 600; }
.feature-index a { color: var(--leather); }
.feature {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(20px, 4vw, 48px); align-items: start;
  padding: clamp(24px, 4vw, 44px) 0; border-top: 1px solid var(--parchment-line);
}
.feature__num { font: 700 1rem/1 var(--font-ui); color: var(--leather); letter-spacing: .08em; margin-bottom: .4em; }
.feature__shots { display: grid; gap: 18px; }
.feature__shots:empty { display: none; }
.feature:has(.feature__shots:empty) { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

.shot { margin: 0; }
.shot img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.shot figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: 6px; }
.shots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: clamp(24px, 4vw, 40px); }
@media (max-width: 760px) { .shots-grid { grid-template-columns: 1fr; } }

.honest { margin-top: clamp(24px, 4vw, 40px); padding-top: 18px; border-top: 1px solid var(--parchment-line); color: var(--ink-soft); }

.facts { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.facts th, .facts td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--parchment-line); vertical-align: top; }
.facts th { width: 9em; color: var(--ink-soft); font-weight: 600; }
.downloads { list-style: none; padding-left: 0 !important; }

.news-entry { padding-bottom: 1.2em; border-bottom: 1px solid var(--parchment-line); margin-bottom: 1.6em; }
.news-entry__date { color: var(--leather); font-weight: 600; margin-bottom: .2em; }
.news-entry h2 a { color: inherit; text-decoration: none; }

.page-cta { background: var(--parchment-light); border-top: 1px solid var(--parchment-line); padding: clamp(36px, 5vw, 60px) 0; text-align: center; }
.page-cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Features, "Three tribes": each tribe's capital, its name and six of its units */
.tribe-units { display: grid; gap: 14px; padding: 14px; background: var(--parchment-dark); border-radius: 8px; }
.tribe-units__row { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.tribe-units__home { grid-row: 1 / 3; width: 64px; height: 64px; object-fit: contain; }
.tribe-units__name { margin: 0; font: 700 1.05rem/1.2 var(--font-display); }
.tribe-units__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.tribe-units__list li { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: .72rem; line-height: 1.15; color: var(--ink-soft); }
.tribe-units__list img { width: 100%; max-width: 64px; height: auto; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 480px) { .tribe-units__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shot--tribes .tribe-units img { box-shadow: none; border-radius: 0; }
.shot--tribes .tribe-units__home { width: 64px; }
/* #1158: a tribe's ten units together (Art#63), across both columns of its feature */
.shot--team { grid-column: 1 / -1; }
