/* Shared styling for the static guide pages under /guias/.
 *
 * These pages are plain files that Cloudflare Pages serves directly — React
 * never runs on them, so they cannot use Tailwind or anything from the bundle.
 * One stylesheet beats three copies of the same 80 lines.
 *
 * Colours are the brand's, taken from index.css: forest #17372b, cream
 * #f8f5ed, gold #8a7a45. Light only, matching Home.tsx which forces .light. */

:root {
  --ink: #17372b;
  --muted: #5c6b62;
  --rule: #ddd6c8;
  --cream: #f8f5ed;
  --gold: #8a7a45;
  --paper: #fffdf8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

header.site {
  background: #08271e;
  color: #f4efe2;
  padding: 1rem 0;
}
header.site a { color: #f4efe2; text-decoration: none; font-weight: 600; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
header.site nav a { font-weight: 400; opacity: .85; margin-left: 1.25rem; font-size: .93rem; }
header.site nav a:hover { opacity: 1; text-decoration: underline; }

article { padding: 3rem 0 1rem; }

h1 {
  font: 500 clamp(2rem, 5vw, 2.7rem)/1.12 "Fraunces", Georgia, serif;
  letter-spacing: -.02em;
  margin: .4rem 0 1rem;
}
h2 {
  font: 500 clamp(1.35rem, 3vw, 1.7rem)/1.25 "Fraunces", Georgia, serif;
  margin: 2.75rem 0 .75rem;
}
h3 { font-size: 1.05rem; margin: 1.75rem 0 .4rem; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0;
}
.standfirst { font-size: 1.12rem; color: var(--muted); }

p, li { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .5rem; }

a { color: #1d5c46; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.5rem;
  font-size: .95rem;
}
th, td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; background: var(--cream); }
.scroller { overflow-x: auto; }

.note {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.15rem;
  margin: 1.75rem 0;
  font-size: .97rem;
}
.note p:last-child { margin-bottom: 0; }

.cta {
  border: 1px solid var(--rule);
  background: var(--cream);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin: 2.75rem 0 1rem;
}
.cta p:last-child { margin-bottom: 0; }

footer.site {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding: 1.75rem 0 3rem;
  font-size: .88rem;
  color: var(--muted);
}
footer.site a { color: var(--muted); }
