/* Quikora Icons — guide design, 5 Dec 2026.
   Makes /guides/ pages look like the rest of the site: same topbar-style
   header, hero band, cards and CTA as the homepage (lime #c5f36b / ink
   #242721 / DM Sans / Manrope). Loaded after brand.css so it wins ties.
   Uses the :root vars from style.css — no new fonts, no new requests. */

/* --- Header: same shape as the homepage topbar --- */
.doc-header{position:sticky;top:0;z-index:50;display:flex;flex-wrap:wrap;align-items:center;gap:8px 26px;padding:13px clamp(18px,4vw,44px);background:var(--bg);border-bottom:1px solid var(--line)}
.doc-header .brand{font-size:22px}
.doc-header nav{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin-left:auto}
.doc-header nav a{padding:9px 13px;border-radius:999px;font-weight:650;font-size:13px;text-decoration:none;color:var(--ink)}
.doc-header nav a:hover{background:var(--soft)}
.doc-header nav a.nav-active{background:var(--lime);color:#1d2b12}
.doc-header .header-cta{margin-left:4px;background:var(--lime);color:#1d2b12;font-weight:750;padding:10px 16px;border-radius:999px;text-decoration:none;font-size:13px;white-space:nowrap}
.doc-header .header-cta:hover{background:#b8ec55;color:#1d2b12}

/* --- Hero band: eyebrow + H1 + lead + meta in one card --- */
.guide-hero{background:linear-gradient(180deg,#edf3e2,#fafbf7);border:1px solid var(--line);border-top:4px solid var(--lime);border-radius:22px;padding:clamp(26px,4vw,44px);margin:26px 0 36px}
.guide-hero .breadcrumb{margin:0 0 18px;font-size:13px}
.guide-hero .doc-eyebrow{color:#477b2d;font-weight:800;letter-spacing:1.6px;font-size:11px;text-transform:uppercase}
.guide-hero h1{font:800 clamp(30px,4.4vw,52px)/1.12 'Manrope',sans-serif;letter-spacing:-1.4px;margin:12px 0 16px;max-width:840px;color:var(--ink)}
.guide-hero .lead{font-size:clamp(16px,2vw,19px);line-height:1.65;color:#3d4a37;max-width:780px;margin:0 0 14px}
.guide-hero .article-meta{color:var(--muted);font-size:13px;margin:0}

/* --- Prose: readable measure, clear hierarchy, green links --- */
.guide-prose{max-width:780px}
.guide-prose p{font-size:16px;line-height:1.85;color:#2c352a}
.guide-prose h2{font:800 clamp(24px,3vw,34px)/1.2 'Manrope',sans-serif;letter-spacing:-1px;margin:46px 0 14px;color:var(--ink)}
.guide-prose h2:first-of-type{margin-top:6px}
.guide-prose h3{font:800 20px/1.35 'Manrope',sans-serif;letter-spacing:-.4px;margin:30px 0 10px}
.guide-prose a{color:#3e6522;text-underline-offset:3px;font-weight:600}
.guide-prose a:hover{color:#2c4d16}
.guide-prose ul,.guide-prose ol{font-size:16px;line-height:1.8;color:#2c352a}
.guide-prose li{margin:6px 0}
.guide-prose li::marker{color:#477b2d}
.guide-prose code{background:#eef3e6;border:1px solid var(--line);border-radius:6px;padding:2px 6px;font-size:14px}
.guide-prose pre code{background:none;border:0;padding:0;font-size:13px}
.guide-prose figure{margin:28px 0}
.guide-prose figcaption{font-size:13px;color:#7d8b6f;margin-top:10px;line-height:1.6}

/* Tables and code: CSS owns the look now — no inline styles in the HTML. */
.guide-prose table{width:100%;border-collapse:collapse;margin:22px 0;font-size:14px}
.guide-prose th,.guide-prose td{padding:12px 14px;text-align:left;border-bottom:1px solid #dce5d3;vertical-align:top}
.guide-prose th{color:#344b2a;background:#eef5e5;font-weight:750}
.guide-prose tr:hover td{background:#f7faf2}
.guide-prose pre{background:#e8efe0;border:1px solid #dbe7cf;border-radius:12px;padding:16px;overflow-x:auto;font-size:14px;line-height:1.7}

/* --- FAQ: one white card per question --- */
.faq{margin:44px 0}
.faq>h2{font:800 clamp(24px,3vw,34px)/1.2 'Manrope',sans-serif;letter-spacing:-1px;margin:0 0 18px}
.faq-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 22px;margin:0 0 12px}
.faq-card h3{font:800 17px/1.4 'Manrope',sans-serif;margin:0 0 8px;letter-spacing:-.3px}
.faq-card p{margin:0;font-size:15px;line-height:1.75;color:#3d4a37}

/* --- CTA band: dark card, lime button --- */
.guide-cta{display:flex;flex-wrap:wrap;gap:18px 28px;align-items:center;justify-content:space-between;background:#242721;color:#fafbf7;border-radius:22px;padding:clamp(26px,3.5vw,38px);margin:46px 0 8px}
.guide-cta h2{color:#fafbf7;margin:0 0 8px;font:800 clamp(22px,3vw,30px)/1.2 'Manrope',sans-serif;letter-spacing:-.8px}
.guide-cta p{color:#c9d2bd;margin:0;font-size:15px;line-height:1.7;max-width:520px}
.guide-cta .cta-buttons{display:flex;flex-wrap:wrap;gap:10px}
.guide-cta .button.primary{background:var(--lime);color:#1d2b12;border-radius:999px;padding:13px 22px;font-weight:750;text-decoration:none}
.guide-cta .button.primary:hover{background:#b8ec55}
.guide-cta .button.ghost{border:1px solid #5a6b52;color:#eef3e6;border-radius:999px;padding:13px 22px;font-weight:650;text-decoration:none}
.guide-cta .button.ghost:hover{border-color:#c5f36b;color:#c5f36b}

/* --- Related guides: three white cards --- */
.related-guides{margin:46px 0 10px}
.related-guides>h2{font:800 clamp(24px,3vw,32px)/1.2 'Manrope',sans-serif;letter-spacing:-1px;margin:0 0 18px}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.related-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;display:flex;flex-direction:column}
.related-card h3{font:800 17px/1.35 'Manrope',sans-serif;margin:0 0 8px;letter-spacing:-.3px}
.related-card h3 a{text-decoration:none;color:var(--ink)}
.related-card h3 a:hover{color:#3e6522}
.related-card p{font-size:13.5px;color:#566348;line-height:1.7;margin:0 0 14px;flex:1}
.related-card a.more{font-size:12px;font-weight:700;color:#3e6522;text-underline-offset:3px}

/* --- Footer: match the homepage footer --- */
.doc-footer{border-top:1px solid var(--line);margin-top:56px;padding:34px clamp(18px,4vw,44px) 40px;background:var(--soft)}
.doc-footer nav{display:flex;flex-wrap:wrap;gap:6px 20px;margin:16px 0}
.doc-footer nav a{font-size:13px;color:#4c5a45;text-decoration:none;font-weight:600}
.doc-footer nav a:hover{color:#2c4d16}
.doc-footer p{font-size:13px;color:#6b7a62;line-height:1.7;max-width:640px}
.doc-footer .footer-email{font-size:14px}

@media(max-width:760px){
  .doc-header{gap:8px 14px;padding:12px 16px}
  .doc-header nav{order:3;width:100%;margin-left:0}
  .doc-header .header-cta{margin-left:auto}
  .related-grid{grid-template-columns:1fr}
  .guide-cta{flex-direction:column;align-items:flex-start}
  .guide-prose p,.guide-prose ul,.guide-prose ol{font-size:15px}
  .guide-prose table{font-size:13px}
}
