/* Shared styles for the inner pages (blog, funding). The homepage keeps its own inline styles. */
:root {
  --navy: #1E3A5F;
  --blue: #2B4C7E;
  --coral: #FF6B6B;
  --yellow: #FFD93D;
  --mint: #6BCB77;
  --text-dark: #1A2B40;
  --text-mid: #3A5472;
  --off-white: #F4F8FF;
  --line: rgba(30,58,95,0.12);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Outfit', sans-serif; background: var(--off-white); color: var(--text-dark); line-height: 1.7; }
a { color: var(--navy); }

.site-header { background: var(--navy); padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-header .logo { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.site-header .logo img { width: 34px; height: 34px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-header nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: #fff; }
.site-header > .cta { background: var(--coral); color: #fff; padding: 7px 16px; border-radius: 100px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }

main { max-width: 760px; margin: 0 auto; padding: 44px 20px 72px; }
h1 { font-family: 'Fraunces', serif; font-size: clamp(2rem, 6vw, 2.7rem); line-height: 1.15; margin: 0 0 10px; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 4px; }
p, li { color: var(--text-mid); font-size: 1.02rem; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.lede { font-size: 1.15rem; color: var(--text-dark); }

.eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: rgba(255,217,61,0.55); border-radius: 100px; padding: 4px 12px; margin-bottom: 14px; }
.meta { font-size: 0.88rem; color: var(--text-mid); opacity: 0.8; margin: 0 0 22px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.tags li { margin: 0; }
.tag-link, .tag-filter { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 4px 12px; text-decoration: none; font-family: inherit; cursor: pointer; }
.tag-filter[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.post-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 8px; margin: 0; }
.post-card h2 { margin: 0 0 6px; font-size: 1.25rem; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { margin: 0 0 12px; }
.post-card .meta { margin: 0 0 12px; }
.post-card .tags { margin-bottom: 14px; }

.callout { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 14px; padding: 18px 20px; margin: 32px 0; }
.callout p { margin: 0 0 10px; }
.callout p:last-child { margin-bottom: 0; }
.btn { display: inline-block; background: var(--coral); color: #fff; font-weight: 600; text-decoration: none; padding: 11px 22px; border-radius: 100px; }
.btn:hover { opacity: 0.9; }

.sources { font-size: 0.9rem; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 16px; }
.sources li, .sources p { font-size: 0.9rem; }
.small { font-size: 0.85rem; opacity: 0.8; }

.site-footer { background: #111E30; color: rgba(255,255,255,0.55); text-align: center; padding: 32px 20px; font-size: 0.85rem; line-height: 1.9; }
.site-footer a { color: inherit; }
.socials { display: flex; justify-content: center; gap: 16px; margin-bottom: 10px; }
.socials a { color: rgba(255,255,255,0.75); display: inline-flex; }
.socials a:hover { color: #fff; }
@media (max-width: 480px) {
  .site-header { padding: 10px 16px; }
  .site-header .logo img { width: 30px; height: 30px; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: 0.8rem; }
  .site-header > .cta { padding: 6px 12px; font-size: 0.8rem; }
}

.download-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.download { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 28px 0; }
.download-list .download { margin: 0; }
.download img { width: 102px; height: auto; border: 1px solid var(--line); border-radius: 6px; flex-shrink: 0; }
.download p { margin: 0 0 10px; }
.download p:last-child { margin-bottom: 0; }
.dl-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); }
.dl-title, .download h2.dl-title { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin: 0 0 6px; }
@media (max-width: 480px) { .download img { width: 76px; } .download { gap: 14px; padding: 14px; } }

.post-hero { display: block; width: 100%; height: auto; border-radius: 16px; border: 2px solid #16182B; margin: 0 0 26px; }
.post-card .thumb { display: block; margin: -22px -22px 16px; }
.post-card .thumb img { display: block; width: 100%; height: auto; border-radius: 17px 17px 0 0; }
.related { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 6px; }
.related h2 { font-size: 1.1rem; }
.related ul { margin: 0; }
table.swap { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 0.95rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.swap th, table.swap td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--text-mid); }
table.swap th { background: var(--navy); color: #fff; font-weight: 600; }
table.swap tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
  .site-header { row-gap: 8px; }
  .site-header nav { order: 3; width: 100%; justify-content: center; margin-left: 0; gap: 18px; }
  .site-header > .cta { margin-left: auto; }
}

/* Free shareables page */
main.wide { max-width: 1080px; }
main.wide .post-hero { max-width: 760px; margin: 0 auto 26px; }
main.wide h1, main.wide > .lede { text-align: center; }
main.wide > .lede { max-width: 680px; margin-left: auto; margin-right: auto; }
.share-steps { list-style: none; padding: 0; margin: 22px auto 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.share-steps li { display: flex; align-items: center; gap: 9px; margin: 0; font-weight: 600; color: var(--text-dark); }
.share-steps span { width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; border: 2px solid #16182B; }
.share-grid { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.share-card { margin: 0; background: #FFF8E7; border: 2.5px solid #16182B; border-radius: 16px; box-shadow: 5px 5px 0 #16182B; overflow: hidden; display: flex; flex-direction: column; }
.share-preview { display: block; background: #E8EEF7; padding: 18px 18px 0; border-bottom: 2.5px solid #16182B; }
.share-preview img { display: block; width: 72%; height: auto; margin: 0 auto; border-radius: 8px 8px 0 0; box-shadow: 0 -2px 12px rgba(0,0,0,0.12); transition: transform 0.2s; }
.share-card:hover .share-preview img { transform: translateY(-4px); }
.share-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.share-body h2 { margin: 0 0 6px; font-size: 1.2rem; }
.share-body p { margin: 0 0 12px; font-size: 0.96rem; }
.share-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.share-open { font-weight: 600; font-size: 0.92rem; }
