/* Shared styles for the static guide articles.
   These pages ship as plain HTML with no JS on purpose: they exist to rank,
   so instant render and perfect Core Web Vitals matter more than interactivity.
   Brand tokens mirror src/index.css. */

:root {
  --chocolate: #4d1c13;
  --naranja: #e58b18;
  --crema: #f5efe3;
  --texto: #2a1108;
  --texto-medio: #6b4a3f;
  --borde: #e8ddd0;
  --blanco: #ffffff;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blanco);
  color: var(--texto);
  font-family: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ── Header ─────────────────────────────────────────────────────────── */
.guide-nav {
  border-bottom: 1px solid var(--borde);
  background: var(--blanco);
}
.guide-nav-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.guide-nav a.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.guide-nav .brand img { height: 44px; width: auto; display: block; }
.guide-nav .cta {
  background: var(--naranja);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.guide-nav .cta:hover { background: #d17e10; }

/* ── Article ────────────────────────────────────────────────────────── */
.guide-wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--naranja);
  margin: 0 0 0.75rem;
}

.guide-wrap h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--chocolate);
  margin: 0 0 1rem;
  text-wrap: balance;
}

.guide-wrap h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  line-height: 1.25;
  color: var(--chocolate);
  margin: 2.75rem 0 0.85rem;
  text-wrap: balance;
}

.guide-wrap h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--chocolate);
  margin: 2rem 0 0.6rem;
}

.guide-wrap p { margin: 0 0 1.15rem; }
.guide-wrap a { color: var(--naranja); }

.lede {
  font-size: 1.1875rem;
  color: var(--texto-medio);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.meta {
  font-size: 0.8125rem;
  color: var(--texto-medio);
  border-bottom: 1px solid var(--borde);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.guide-wrap ul, .guide-wrap ol { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.guide-wrap li { margin-bottom: 0.6rem; }

blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.4rem;
  border-left: 3px solid var(--naranja);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--chocolate);
}

/* ── Inline CTA card ────────────────────────────────────────────────── */
.cta-card {
  margin: 2.75rem 0;
  padding: 1.75rem;
  border: 1px solid rgba(229, 139, 24, 0.3);
  border-radius: 1.25rem;
  background: var(--crema);
}
.cta-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.cta-card p {
  margin: 0 0 1.15rem;
  font-size: 0.9375rem;
  color: var(--texto-medio);
}
.cta-card a.btn {
  display: inline-block;
  background: var(--naranja);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.cta-card a.btn:hover { background: #d17e10; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.guide-footer {
  border-top: 1px solid var(--borde);
  background: var(--crema);
  padding: 2.5rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--texto-medio);
}
.guide-footer a { color: var(--chocolate); font-weight: 600; }
.guide-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Keyboard focus stays visible everywhere */
a:focus-visible {
  outline: 2px solid var(--naranja);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
