/*
 * guide-page.css — Shared styles for all Preparedness Hub guide pages.
 * Each page defines :root variables in its own <style> block.
 * Uses only existing LLV brand tokens (no new colors, fonts, or overrides).
 */

* { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; -webkit-text-size-adjust:100%; }
body {
  font-family:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--bg-darker);
  color:var(--text-primary);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.guide-hero {
  padding:80px 24px 88px;
  background:linear-gradient(160deg,#0a0f1a 0%,#0d1525 55%,#0f1420 100%);
  position:relative;
  overflow:hidden;
}
.guide-hero::before {
  content:'';
  position:absolute;
  top:-120px;right:-60px;
  width:520px;height:520px;
  background:radial-gradient(ellipse,rgba(198,176,138,0.07) 0%,transparent 68%);
  pointer-events:none;
}
.guide-hero-inner {
  max-width:800px;
  margin:0 auto;
  position:relative;
  z-index:1;
}
.guide-breadcrumb {
  font-size:0.75rem;
  color:rgba(198,176,138,0.55);
  margin-bottom:24px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.guide-breadcrumb a { color:rgba(198,176,138,0.55); text-decoration:none; transition:color 0.2s; }
.guide-breadcrumb a:hover { color:rgba(198,176,138,0.9); }
.guide-breadcrumb-sep { color:rgba(240, 237, 232, 0.2); }
.guide-eyebrow {
  font-size:0.62rem;
  font-weight:700;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:18px;
}
.guide-hero-headline {
  font-family:'Poppins',sans-serif;
  font-size:clamp(1.75rem,3vw,2.6rem);
  font-weight:700;
  line-height:1.18;
  color:var(--text-primary);
  margin-bottom:22px;
  letter-spacing:-0.01em;
}
.guide-hero-body {
  font-size:1rem;
  color:rgba(240, 237, 232, 0.56);
  line-height:1.72;
  max-width:62ch;
}

/* ── Content ─────────────────────────────────────────────────────────────── */
.guide-content {
  max-width:800px;
  margin:0 auto;
  padding:72px 24px 80px;
}
.guide-section { margin-bottom:52px; }
.guide-section-label {
  font-size:0.6rem;
  font-weight:700;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:rgba(198,176,138,0.55);
  margin-bottom:20px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,0.07);
}
.guide-h2 {
  font-family:'Poppins',sans-serif;
  font-size:clamp(1.15rem,2vw,1.45rem);
  font-weight:700;
  color:rgba(240, 237, 232,0.93);
  line-height:1.28;
  margin-bottom:14px;
}
.guide-p {
  font-size:0.97rem;
  color:rgba(214,223,238,0.6);
  line-height:1.74;
  margin-bottom:16px;
}
.guide-p strong { color:rgba(240, 237, 232,0.82); font-weight:600; }

/* ── Checklist ───────────────────────────────────────────────────────────── */
.guide-checklist {
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:20px 0 24px;
}
.guide-checklist li {
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:rgba(255,255,255,0.025);
  border:1px solid rgba(255,255,255,0.06);
  border-left:2px solid rgba(198,176,138,0.32);
  border-radius:0 8px 8px 0;
  padding:13px 16px;
  font-size:0.9rem;
  color:rgba(240, 237, 232,0.82);
  line-height:1.45;
  transition:border-left-color 0.2s, background 0.2s;
}
.guide-checklist li:hover {
  border-left-color:rgba(198,176,138,0.6);
  background:rgba(198,176,138,0.03);
}
.guide-checklist li .check-icon {
  width:16px;height:16px;flex-shrink:0;margin-top:2px;
  color:rgba(198,176,138,0.55);
}
.guide-checklist li .check-text strong {
  display:block;font-weight:600;
  color:rgba(240, 237, 232,0.88);margin-bottom:2px;font-size:0.88rem;
}
.guide-checklist li .check-text span {
  font-size:0.8rem;color:rgba(214,223,238,0.45);line-height:1.5;
}

/* ── Callout ─────────────────────────────────────────────────────────────── */
.guide-callout {
  background:rgba(198,176,138,0.05);
  border:1px solid rgba(198,176,138,0.18);
  border-radius:10px;
  padding:22px 24px;
  margin:28px 0;
}
.guide-callout-label {
  font-size:0.6rem;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;
  color:rgba(198,176,138,0.65);margin-bottom:8px;
}
.guide-callout-body {
  font-size:0.92rem;color:rgba(214,223,238,0.65);line-height:1.68;
}
.guide-callout-body strong { color:rgba(240, 237, 232,0.85);font-weight:600; }

/* ── Email CTA section ───────────────────────────────────────────────────── */
.guide-cta-section {
  background:linear-gradient(160deg,#0c1422 0%,#101828 100%);
  border:1px solid rgba(198,176,138,0.16);
  border-radius:14px;
  padding:44px 40px;
  text-align:center;
  margin:56px 0 0;
}
.guide-cta-eyebrow {
  font-size:0.6rem;font-weight:700;letter-spacing:0.2em;text-transform:uppercase;
  color:rgba(198,176,138,0.55);margin-bottom:14px;
}
.guide-cta-headline {
  font-family:'Poppins',sans-serif;
  font-size:clamp(1.2rem,2.2vw,1.6rem);font-weight:700;
  color:var(--text-primary);margin-bottom:12px;line-height:1.25;
}
.guide-cta-body {
  font-size:0.92rem;color:rgba(214,223,238,0.55);line-height:1.65;
  max-width:52ch;margin:0 auto 28px;
}
.guide-form-wrap { max-width:420px;margin:0 auto; }
.guide-form-error {
  display:none;font-size:0.82rem;
  color:rgba(240,130,130,0.9);margin-bottom:12px;
}
.guide-form-wrap input[type="email"],
.guide-form-wrap input[type="text"] {
  width:100%;padding:12px 16px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:8px;color:var(--text-primary);
  font-family:inherit;font-size:0.95rem;
  margin-bottom:12px;outline:none;
  transition:border-color 0.2s;
}
.guide-form-wrap input[type="email"]:focus,
.guide-form-wrap input[type="text"]:focus { border-color:rgba(198,176,138,0.45); }
.guide-form-wrap input[aria-invalid="true"] { border-color:rgba(220,90,90,0.7); }
.guide-form-wrap button[type="submit"] {
  width:100%;padding:13px 24px;
  background:linear-gradient(180deg,#c6b08a 0%,#b79f74 100%);
  color:#1a1a1a;font-family:inherit;
  font-weight:700;font-size:0.95rem;
  border:none;border-radius:8px;
  cursor:pointer;transition:filter 0.2s;
}
.guide-form-wrap button[type="submit"]:hover { filter:brightness(1.07); }
.guide-form-wrap button[type="submit"]:disabled { opacity:0.6;cursor:not-allowed; }
.guide-success-state {
  display:none;padding:20px 0;text-align:center;
}
.guide-success-title {
  font-size:0.97rem;font-weight:600;
  color:rgba(198,176,138,0.9);margin-bottom:8px;
}
.guide-success-body {
  font-size:0.85rem;color:rgba(240, 237, 232, 0.45);line-height:1.6;
}
.guide-success-dl {
  display:inline-block;margin-top:16px;font-size:0.82rem;
  color:rgba(198,176,138,0.65);text-decoration:underline;text-underline-offset:3px;
}
.guide-form-trust {
  font-size:0.75rem;color:rgba(240, 237, 232, 0.3);margin-top:12px;line-height:1.5;
}

/* ── LLV nudge ───────────────────────────────────────────────────────────── */
.guide-llv-nudge {
  margin-top:56px;padding:32px 28px;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.06);
  border-left:3px solid rgba(198,176,138,0.35);
  border-radius:0 10px 10px 0;
}
.guide-llv-nudge-label {
  font-size:0.6rem;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;
  color:rgba(198,176,138,0.5);margin-bottom:10px;
}
.guide-llv-nudge-headline {
  font-family:'Poppins',sans-serif;font-size:1.05rem;font-weight:700;
  color:rgba(240, 237, 232,0.9);margin-bottom:10px;line-height:1.3;
}
.guide-llv-nudge-body {
  font-size:0.88rem;color:rgba(214,223,238,0.52);line-height:1.65;margin-bottom:20px;
}
.guide-llv-nudge-cta {
  display:inline-block;padding:11px 24px;
  background:linear-gradient(180deg,#c6b08a 0%,#b79f74 100%);
  color:#1a1a1a;font-weight:700;font-size:0.88rem;
  border-radius:7px;text-decoration:none;transition:filter 0.2s;
}
.guide-llv-nudge-cta:hover { filter:brightness(1.07); }

/* ── Hub nav ─────────────────────────────────────────────────────────────── */
.guide-hub-nav {
  margin-top:64px;padding-top:40px;
  border-top:1px solid rgba(255,255,255,0.07);
}
.guide-hub-nav-label {
  font-size:0.6rem;font-weight:700;letter-spacing:0.2em;text-transform:uppercase;
  color:rgba(198,176,138,0.45);margin-bottom:20px;
}
.guide-hub-links { display:flex;flex-direction:column;gap:10px; }
.guide-hub-link {
  display:flex;align-items:center;gap:10px;
  text-decoration:none;color:rgba(214,223,238,0.58);font-size:0.88rem;
  transition:color 0.2s;
}
.guide-hub-link:hover { color:rgba(198,176,138,0.88); }
.guide-hub-link svg { width:14px;height:14px;flex-shrink:0; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width:640px) {
  .guide-hero { padding:64px 20px 72px; }
  .guide-content { padding:56px 20px 64px; }
  .guide-cta-section { padding:36px 24px; }

  /* Forms: 16px to stop iOS zoom; comfortable tap height. */
  .guide-form-wrap input[type="email"],
  .guide-form-wrap input[type="text"] {
    font-size: 16px;
    min-height: 48px;
    padding: 12px 16px;
  }
  .guide-form-wrap button[type="submit"] {
    min-height: 52px;
    font-size: 1rem;
  }

  /* Hub nav links easier to tap. */
  .guide-hub-link {
    min-height: 44px;
    padding: 4px 0;
  }

  /* CTA buttons full-width on small screens for safer thumbs. */
  .guide-llv-nudge-cta {
    display: block;
    width: 100%;
    text-align: center;
    min-height: 52px;
    padding: 14px 20px;
    box-sizing: border-box;
  }
}
