/* =========================================================
   Lisa Smith — Free Resources (resources.lisasmith.com)
   CLONED 1:1 from lisasmith.com (2026-07-10 screenshots):
   cream #FAF5EC everywhere, white rounded cards, gold #BF9544
   accents, navy #1C2B3A bands/footer, NO orange anywhere.
   Headings: hub/article H1 = Hanken Grotesk bold (sans);
   card titles + navy-band title = Newsreader (serif).
   ========================================================= */

:root {
  --gold: #BF9544;
  --gold-soft: #C9A55C;      /* hover */
  --navy: #1C2B3A;           /* header text, footer/band bg */
  --navy-2: #2B3D50;         /* social-circle bg on navy */
  --cream: #FAF5EC;          /* page background (site-wide) */
  --card: #ffffff;
  --text: #22303F;           /* headings-dark body */
  --body: #4A5568;           /* article/body text */
  --muted: #55606E;          /* card descriptions */
  --faint: #8A94A1;          /* "5 MIN READ", small meta */
  --line: #E9E2D3;           /* hairlines on cream/white */
  --line-navy: rgba(255,255,255,.14);

  --maxw: 1180px;
  --font-serif: "Newsreader", Georgia, serif;
  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Back-compat aliases (guide pages reference these) */
  --teal: #BF9544;
  --teal-dark: #1C2B3A;
  --plum: #16263F;
  --purple: #BF9544;
  --slate: #55606E;
  --gray: #c5c9d0;
  --bg: #FAF5EC;
  --bg-soft: #FAF5EC;
  --bg-mint: #FAF7EF;
  --bg-pink: #F5EEDF;
  --font-head: "Newsreader", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Header (cream, logo left, centered nav, navy login pill) ---------- */
.site-header-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
#site-header {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
}
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo { height: 62px; width: auto; display: block; }
.main-nav {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 38px; flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-sans);
  font-size: 16.5px; font-weight: 500; color: var(--navy);
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a.active { border-bottom-color: var(--gold); font-weight: 600; }
.login-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff !important;
  font-family: var(--font-sans); font-size: 15.5px; font-weight: 500;
  padding: 12px 22px; border-radius: 10px; white-space: nowrap;
  transition: background .15s ease;
}
.login-btn:hover { background: #16263F; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; fill: currentColor; display: block; }

/* ---------- Hero (centered, cream — clone of /free-guides/) ---------- */
.hero { background: var(--cream); padding: 84px 0 40px; text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-sans);
  font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.hero h1 {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(38px, 5vw, 58px); letter-spacing: -.01em;
  max-width: 760px; margin: 18px auto 20px;
}
.hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ---------- Controls (search / sort / chips) ---------- */
.controls { padding: 26px 0 4px; }
.controls-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.search-box { flex: 1 1 300px; position: relative; }
.search-box input {
  width: 100%; padding: 14px 18px 14px 44px; font-size: 15px; font-family: var(--font-sans);
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text);
}
.search-box input:focus { outline: none; border-color: var(--gold); }
.search-box::before { content: "⌕"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 19px; color: var(--faint); }
.sort-select {
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--font-sans);
  font-size: 13px; letter-spacing: .05em; text-transform: uppercase; background: #fff; color: var(--muted); cursor: pointer;
}
.guide-count { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding-top: 18px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 0 4px; }
.chip {
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line); background: #fff; color: var(--muted);
  cursor: pointer; transition: all .12s ease;
}
.chip:hover { border-color: var(--gold); color: var(--navy); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Guide cards (white, rounded, 3-col grid — clone) ---------- */
.guide-list {
  padding: 26px 0 64px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.guide-card {
  background: var(--card); border-radius: 14px;
  padding: 34px 32px 26px; display: flex; flex-direction: column;
  box-shadow: 0 1px 3px rgba(28,43,58,.06);
  transition: transform .14s ease, box-shadow .14s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(28,43,58,.10); }
.guide-tags { margin-bottom: 12px; }
.guide-tag {
  display: inline-block; font-family: var(--font-sans);
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-right: 10px;
}
.guide-card h3 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 26px; line-height: 1.25; margin: 0 0 12px; color: var(--navy);
}
.guide-card p { margin: 0 0 22px; color: var(--muted); font-size: 16.5px; line-height: 1.65; flex: 1; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.read-link { font-family: var(--font-sans); font-size: 16px; font-weight: 700; color: var(--gold); }
.guide-card:hover .read-link { color: var(--gold-soft); }
.guide-meta { font-size: 12.5px; letter-spacing: .06em; color: var(--faint); text-transform: uppercase; font-weight: 500; }
.no-results { grid-column: 1 / -1; padding: 50px 0; text-align: center; color: var(--muted); }

/* ---------- Navy community band (clone of "Want more guides like these?") ---------- */
#site-cta { background: var(--navy); padding: 84px 0 90px; text-align: center; margin-top: 30px; }
.cta-kicker {
  font-family: var(--font-sans); font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: #97A2B0; font-weight: 700; margin: 0 0 18px;
}
#site-cta h2 {
  font-family: var(--font-serif); font-weight: 500; color: #fff;
  font-size: clamp(30px, 3.6vw, 42px); margin: 0 0 16px;
}
#site-cta .cta-sub { color: #B8C0CC; font-size: 17.5px; margin: 0 auto 34px; max-width: 560px; }
.btn-gold {
  display: inline-block; background: var(--gold); color: #fff;
  font-family: var(--font-sans); font-size: 16.5px; font-weight: 600;
  padding: 15px 32px; border-radius: 8px; transition: background .15s ease;
}
.btn-gold:hover { background: var(--gold-soft); color: #fff; }

/* ---------- Footer (navy, logo + social circles + legal row — clone) ---------- */
#site-footer { background: var(--navy); color: #B8C0CC; padding: 0 0 34px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 44px 0 30px;
}
.footer-logo { height: 52px; width: auto; display: block; opacity: .95; }
.footer-social { display: flex; gap: 13px; }
.footer-social .gs {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-2); color: #fff; transition: background .15s ease;
}
.footer-social .gs:hover { background: var(--gold); color: #fff; }
.footer-social .gs svg { width: 18px; height: 18px; fill: currentColor; }
.footer-legal {
  border-top: 1px solid var(--line-navy);
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-top: 26px; font-size: 14.5px;
}
.footer-legal a { color: #B8C0CC; margin-right: 26px; }
.footer-legal a:hover { color: #fff; }
.footer-copy { color: #97A2B0; }

/* ---------- Article (single guide) — clone of /free-guides/guide-* ---------- */
.article { padding: 56px 0 30px; background: var(--cream); }
.article-inner { max-width: 720px; margin: 0 auto; padding: 0 28px; }
.breadcrumb { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 30px; font-weight: 600; }
.breadcrumb a { color: var(--gold); }
.article .guide-tag { font-size: 13.5px; margin-right: 0; }
.article h1 {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(34px, 4.6vw, 50px); letter-spacing: -.01em;
  margin: 14px 0 18px;
}
.article .article-meta {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 500;
  margin-bottom: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.guide-social { display: flex; gap: 9px; margin: 16px 0 6px; }
.guide-social .gs {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--navy); transition: all .12s ease; background: #fff;
}
.guide-social .gs:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.guide-social .gs svg { width: 16px; height: 16px; fill: currentColor; }

.article-body { font-size: 17.5px; line-height: 1.8; color: var(--body); overflow-wrap: break-word; }
.article-body p { margin: 0 0 20px; }
.article-body h2 { font-family: var(--font-sans); font-weight: 700; font-size: 28px; margin: 46px 0 14px; }
.article-body h3 { font-family: var(--font-sans); font-weight: 700; font-size: 20px; margin: 32px 0 10px; color: var(--navy); }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--navy); }

/* copy-paste boxes (scripts, prompts) */
.prompt-box {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 22px 24px; margin: 26px 0; font-size: 15px;
  position: relative; overflow-wrap: break-word; overflow: hidden;
}
.prompt-box .prompt-label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 12px; font-family: var(--font-sans); }
.prompt-copy-btn {
  position: absolute; top: 14px; right: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid var(--gold); background: #fff; color: var(--navy);
  cursor: pointer; border-radius: 6px; transition: all .15s ease; white-space: nowrap; font-family: var(--font-sans);
}
.prompt-copy-btn:hover, .prompt-copy-btn.copied { background: var(--navy); color: #fff; border-color: var(--navy); }
.prompt-box code, .prompt-box p { font-family: "SF Mono", Menlo, Consolas, monospace; color: var(--text); white-space: pre-wrap; margin: 0; line-height: 1.6; }
.callout { background: var(--bg-pink); border-left: 4px solid var(--gold); border-radius: 10px; padding: 20px 22px; margin: 26px 0; color: var(--text); }

.sources { margin: 44px 0 0; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--faint); border-radius: 10px; }
.sources h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); margin: 0 0 12px; font-weight: 600; font-family: var(--font-sans); }
.sources ol { margin: 0; padding-left: 20px; }
.sources li { font-size: 14px; color: var(--muted); margin-bottom: 9px; line-height: 1.5; }
.sources a { color: var(--navy); text-decoration: underline; }

.ghl-optin { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .guide-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .guide-list { grid-template-columns: 1fr; }
  #site-header { justify-content: space-between; gap: 14px; padding: 12px 20px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .main-nav { display: none; width: 100%; flex: none; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    padding-top: 12px; border-top: 1px solid var(--line); margin-top: 6px;
  }
  .main-nav.open a { padding: 12px 2px; font-size: 16px; width: 100%; border-bottom: none; }
  .login-btn { padding: 10px 16px; font-size: 14px; }
  .brand-logo { height: 48px; }
  .hero { padding: 54px 0 26px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}
