@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-500.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/newsreader-400.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/newsreader-400-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #2a2438;
  --ink-soft: #2a1e42;
  --violet: #8300e9;
  --violet-deep: #4302ea;
  --violet-bright: #a600fe;
  --teal: #00a781;
  --mint: #3dc6a4;
  --paper: #fbfbf8;
  --mist: #f7f5fa;
  --line: #edeaf3;
  --body: #4a4458;
  --muted: #8a8496;
  --grad: linear-gradient(294deg, #4302ea 0%, #a600fe 100%);
  --grad-hero: linear-gradient(180deg, #0c71c3 0%, #4302ea 55%, #8300e9 100%);
  --grad-sunset: linear-gradient(92deg, #f1ad5c 0%, #e45977 55%, #df3d86 100%);
  --radius: 24px;
  --shadow: 0 24px 48px -24px rgba(42, 36, 56, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Archivo', system-ui, sans-serif;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header { background: rgba(255,255,255,.86); position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
}
.header-in { display: flex; align-items: center; gap: 36px; height: 76px; }
.logo img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a {
  color: #4a445c; font-size: 15px; font-weight: 600; letter-spacing: .01em;
}
.main-nav a:hover { color: var(--violet); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn.white { background: #fff; color: var(--violet); }
.btn.white:hover { filter: none; background: #f3eafd; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { filter: none; background: #fdf3e7; }
.btn.small { padding: 10px 20px; font-size: 14px; }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.45); }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- hero ---------- */
.hero {
  background: var(--paper);
  padding: 84px 0 92px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.hero h1 {
  font-size: clamp(42px, 5.2vw, 62px); line-height: 1.08; font-weight: 700;
  letter-spacing: -0.025em; color: var(--ink); margin: 20px 0 22px;
}
.hero h1 em { font-family: 'Newsreader', serif; font-style: italic; font-weight: 500; letter-spacing: -0.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 52ch; }
.hero .signup-note { color: var(--muted); }
.signup { display: flex; gap: 10px; margin-top: 30px; max-width: 520px; }
.signup input {
  flex: 1; min-width: 0; padding: 14px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  font: inherit; font-size: 15px; background: #fff; color: var(--ink);
}
.signup input:focus { outline: 2px solid var(--violet-bright); border-color: transparent; }
.signup-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* ---------- cards ---------- */
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(42,36,56,.22); transition: transform .25s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card img { width: 100%; aspect-ratio: 16/8.2; object-fit: cover; }
.feature-card .card-body { padding: 26px 28px 30px; }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--violet); }
.card-meta .date { color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.feature-card h3 { font-size: 26px; line-height: 1.22; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 12px 0 10px; }
.feature-card p { font-size: 16px; line-height: 1.55; }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--ink); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800;
}

.section { padding: 92px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); line-height: 1.1; }
.section-head .view-all { font-weight: 700; font-size: 15px; color: var(--violet); white-space: nowrap; }
.section-head .view-all:hover { text-decoration: underline; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 16/9.5; object-fit: cover; }
.card .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.018em; color: var(--ink); margin: 10px 0 8px; }
.card p { font-size: 15px; line-height: 1.55; flex: 1; }
.card .byline { margin-top: 16px; font-size: 13.5px; }

/* ---------- band ---------- */
.band { background: transparent; color: var(--ink); padding: 30px 0 84px; position: relative; }
.band .wrap { background: linear-gradient(120deg, #f7f2fd 0%, #fdf4ec 100%); border-radius: 32px; padding: 64px 40px; }
.band::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  display: none;
}
.band .wrap { position: relative; text-align: center; }
.band h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; max-width: 20ch; margin: 0 auto; }
.band p { margin: 18px auto 0; max-width: 56ch; font-size: 17.5px; line-height: 1.6; color: var(--body); }
.band .signup { margin: 32px auto 0; }
.band .signup-note { color: var(--muted); }

/* ---------- flourishing in ministry ---------- */
.fim-section { padding: 0; }
.fim-card {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  padding: 42px 46px; display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: center;
  position: relative; overflow: hidden;
}
.fim-card::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 5px; background: var(--grad); }
.fim-card h2 { font-size: clamp(27px, 3.2vw, 38px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; color: var(--ink); margin: 14px 0 12px; }
.fim-card p { font-size: 17px; line-height: 1.62; color: var(--body); max-width: 58ch; }
.fim-logo { background: var(--mist); border: 1px solid var(--line); border-radius: 24px; padding: 22px 26px; display: flex; align-items: center; justify-content: center; }
.fim-logo img { max-height: 92px; width: auto; max-width: 190px; object-fit: contain; }
@media (max-width: 760px) {
  .fim-card { grid-template-columns: 1fr; padding: 34px 28px; gap: 26px; }
  .fim-logo { justify-content: flex-start; }
  .fim-logo img { max-height: 76px; }
}

/* ---------- partners ---------- */
.partners { padding: 76px 0 84px; background: #fff; border-top: 1px solid var(--line); }
.partner-tier { text-align: center; }
.partner-tier + .partner-tier { margin-top: 52px; }
.partner-tier h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 34px 52px; }
.logo-row img { max-height: 32px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .5; }
.logo-row img.tall { max-height: 42px; }

/* ---------- footer ---------- */
.site-footer { background: var(--mist); color: var(--body); padding: 64px 0 40px; position: relative; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; align-items: flex-start; }
.footer-grid .logo img { height: 30px; }
.footer-nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; }
.footer-nav a { color: var(--ink); } .footer-nav a:hover { color: var(--violet); }
.footer-note { margin-top: 28px; font-size: 14.5px; font-weight: 600; color: var(--body); }
.crisis {
  margin-top: 44px; border: 1px solid var(--line); background: #fff; border-radius: 16px;
  padding: 18px 22px; font-size: 13.5px; line-height: 1.6; color: var(--body);
}
.crisis strong { color: var(--ink); }
.footer-base { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.footer-base a:hover { color: var(--violet); }

/* ---------- article ---------- */
.article-hero { padding: 72px 0 0; text-align: center; }
.article-hero .eyebrow { justify-content: center; }
.article-hero h1 {
  font-size: clamp(38px, 4.6vw, 56px); line-height: 1.12; font-weight: 700;
  letter-spacing: -0.025em; color: var(--ink); max-width: 16ch; margin: 20px auto 0;
}
.article-hero .standfirst {
  font-family: 'Newsreader', serif; font-size: 22px; line-height: 1.5; color: var(--body);
  max-width: 58ch; margin: 22px auto 0;
}
.article-byline { display: flex; justify-content: center; margin-top: 28px; }
.article-figure { max-width: 1040px; margin: 48px auto 0; padding: 0 24px; }
.article-figure img { width: 100%; aspect-ratio: 16/7.6; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.article-body { max-width: 700px; margin: 0 auto; padding: 56px 24px 8px; }
.article-body p {
  font-family: 'Newsreader', serif; font-size: 20.5px; line-height: 1.68; color: #24312f; margin-bottom: 26px;
}
.article-body p strong { font-weight: 600; }
.pullquote {
  margin: 44px 0; padding: 6px 0 6px 30px; position: relative;
}
.pullquote::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: var(--grad); }
.pullquote p {
  font-family: 'Newsreader', serif; font-style: italic; font-size: 27px; line-height: 1.42; color: var(--ink); margin: 0;
}
.pullquote cite { display: block; margin-top: 14px; font-family: 'Archivo', sans-serif; font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--violet); }
.steps { margin: 10px 0 6px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.018em; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 19.5px; margin: 0; }
.keep-reading { background: var(--mist); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .section { padding: 64px 0; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
  .signup .btn { justify-content: center; }
  .step { grid-template-columns: 44px 1fr; }
  .step-num { font-size: 30px; }
  .header-in { gap: 18px; }
  .hero { padding: 56px 0 64px; }
}

/* ---------- topic chips ---------- */
.topics { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -18px 0 36px; }
.topics .topics-label { font-size: 12.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
  background: #f4f1f9; border: 1.5px solid transparent; border-radius: 999px; padding: 8px 16px;
  transition: all .18s ease;
}
.chip small { color: var(--muted); font-weight: 700; margin-left: 4px; }
.chip:hover { background: #ece5f8; color: var(--ink); }
.chip.active { background: var(--ink); border-color: transparent; color: #fff; }
.chip.active small { color: rgba(255,255,255,.75); }
.card.is-hidden { display: none; }

/* ---------- care popup ---------- */
.care-fab {
  position: fixed; overflow: visible; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad); color: #fff; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700;
  padding: 14px 22px 14px 17px; border-radius: 999px;
  box-shadow: 0 16px 34px -10px rgba(67,2,234,.55);
  transition: transform .2s ease, opacity .2s ease;
  animation: care-in .6s ease .9s both;
}
.care-fab::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(131,0,233,.28); animation: care-pulse 3.2s ease-out infinite;
}
@keyframes care-pulse {
  0% { box-shadow: 0 0 0 0 rgba(131,0,233,.28); }
  70% { box-shadow: 0 0 0 9px rgba(131,0,233,0); }
  100% { box-shadow: 0 0 0 0 rgba(131,0,233,0); }
}
@keyframes care-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .care-fab { animation: none; }
  .care-fab::after { animation: none; }
}
.care-fab:hover { transform: translateY(-2px); }
.care-fab.hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
.care-fab svg { width: 20px; height: 20px; flex: none; }
.care-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 61; width: min(392px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  box-shadow: 0 32px 64px -20px rgba(33,23,51,.45);
  opacity: 0; pointer-events: none; transform: translateY(14px) scale(.98); transform-origin: bottom right;
  transition: all .22s ease;
}
.care-panel.open { opacity: 1; pointer-events: auto; transform: none; }
.care-head { background: var(--mist); padding: 22px 24px 18px; position: relative; }
.care-head::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.care-head h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; padding-right: 34px; }
.care-head p { font-size: 14px; line-height: 1.5; color: var(--body); margin-top: 7px; }
.care-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: rgba(33,23,51,.07); color: var(--ink); font-size: 16px; cursor: pointer; line-height: 1;
}
.care-close:hover { background: rgba(33,23,51,.14); }
.care-body { padding: 18px 24px 22px; }
.care-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.care-chip {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  background: #fff; color: var(--violet); border: 1.5px solid #e3d5f7; border-radius: 999px; padding: 6px 13px;
}
.care-chip:hover { background: #f6efff; }
.care-chip.active { background: var(--violet); border-color: var(--violet); color: #fff; }
.care-results-wrap { margin-top: 16px; border: 1.5px solid #c9aef5; border-radius: 16px; padding: 4px 16px 12px; background: #f8f4ff; animation: careGlow 2.6s ease-in-out infinite; }
@keyframes careGlow { 0%, 100% { box-shadow: 0 0 0 4px rgba(124,58,237,.10), 0 0 16px rgba(124,58,237,.25); } 50% { box-shadow: 0 0 0 6px rgba(124,58,237,.18), 0 0 34px rgba(124,58,237,.50); } }
.care-results-head { margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); display: flex; align-items: center; gap: 8px; }
.care-results-head::after { content: "\2193"; font-size: 16px; line-height: 1; animation: careBounce 1.6s ease-in-out infinite; }
@keyframes careBounce { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
.care-results.pop .care-item { animation: careIn .32s ease both; }
.care-results.pop .care-item:nth-child(2) { animation-delay: .05s; }
.care-results.pop .care-item:nth-child(3) { animation-delay: .1s; }
.care-results.pop .care-item:nth-child(4) { animation-delay: .15s; }
.care-results.pop .care-item:nth-child(5) { animation-delay: .2s; }
@keyframes careIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .care-results-head::after, .care-results.pop .care-item, .care-results-wrap { animation: none; } }
.care-input {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 15px; background: #fff;
}
.care-input:focus { outline: 2px solid var(--violet-bright); border-color: transparent; }
.care-results { margin-top: 8px; display: flex; flex-direction: column; }
.care-item { padding: 11px 10px; border-radius: 12px; display: block; }
.care-item:hover { background: var(--mist); }
.care-item-title { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.care-item-meta { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 3px; }
.care-empty { font-size: 14px; color: var(--muted); line-height: 1.5; padding: 6px 2px; }
.care-foot { font-size: 12.5px; color: var(--muted); line-height: 1.55; border-top: 1px solid var(--line); padding: 13px 24px 16px; }
.care-foot strong { color: var(--ink); }
@media (max-width: 620px) {
  .care-fab { right: 16px; bottom: 16px; }
  .care-panel { right: 16px; bottom: 16px; }
}

/* ---------- v6 modern layer ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.card img, .feature-card img { transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.card:hover img, .feature-card:hover img { transform: scale(1.05); }
.btn { transition: all .2s ease; }
.btn:active { transform: translateY(0) scale(.98); }
:focus-visible { outline: 2px solid var(--violet-bright); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card img, .feature-card img { transition: none; }
  html { scroll-behavior: auto; }
}

/* topic bento tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: -14px 0 30px; }
.tile {
  font: inherit; text-align: left; cursor: pointer; border: 1.5px solid transparent;
  border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 3px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tile.active { border-color: var(--ink); }
.tile-name { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.tile-count { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile-line { font-size: 14px; line-height: 1.45; color: var(--body); margin-top: 5px; }
.t-lav { background: #f1eafb; } .t-peach { background: #fdeee3; } .t-mint { background: #e9f5ee; }
.t-sky { background: #e9f1fb; } .t-rose { background: #fbeaea; } .t-butter { background: #fbf3dc; }
.topics-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -18px 0 20px; }
.topics-row .topics-label { font-size: 12.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
#filterCount { font-size: 14px; font-weight: 600; color: var(--muted); }
#resetFilter { font: inherit; font-size: 14px; font-weight: 700; color: var(--violet); background: none; border: 0; cursor: pointer; padding: 4px 2px; }
#resetFilter:hover { text-decoration: underline; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } }

/* hero need bar */
.needbar { margin-top: 28px; }
.needbar > span { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.needbar-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.needbar-chips .care-chip { font-size: 13.5px; padding: 8px 15px; }

.care-proof { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--violet); }
.needbar-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* ---------- share (Pass It to a Pastor) ---------- */
.card-shell { position: relative; display: flex; }
.card-shell .card { flex: 1; }
.share-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--violet);
  background: #f6f1fd; border: 1px solid #e7dcfa; border-radius: 999px; padding: 7px 13px; cursor: pointer;
  transition: all .18s ease;
}
.share-btn:hover { background: var(--violet); color: #fff; border-color: var(--violet); }
.share-btn svg { width: 14px; height: 14px; }
.feature-shell { position: relative; }
.share-block {
  max-width: 700px; margin: 8px auto 0; padding: 0 24px 12px; text-align: center;
}
.share-card {
  background: linear-gradient(120deg, #f7f2fd, #fdf4ec); border-radius: 26px; padding: 38px 34px;
}
.share-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.share-card p { font-size: 16px; line-height: 1.55; color: var(--body); margin: 10px auto 20px; max-width: 46ch; }
.share-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(33,23,51,.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.share-overlay.open { opacity: 1; pointer-events: auto; }
.share-dialog {
  background: #fff; border-radius: 26px; width: min(520px, 100%); max-height: 90vh; overflow: auto;
  padding: 30px 30px 26px; position: relative; box-shadow: 0 40px 80px -30px rgba(33,23,51,.5);
  transform: translateY(12px); transition: transform .22s ease;
}
.share-overlay.open .share-dialog { transform: none; }
.share-dialog h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); padding-right: 36px; }
.share-dialog > p { font-size: 14.5px; line-height: 1.55; color: var(--body); margin-top: 8px; }
.share-preview {
  margin-top: 18px; border-radius: 18px; padding: 20px 22px; position: relative;
  background: linear-gradient(120deg, #f7f2fd, #fdf4ec);
}
.share-preview::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--grad); }
.share-preview .sp-brand { font-size: 11.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--violet); }
.share-preview .sp-title { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin-top: 6px; line-height: 1.3; }
.share-note {
  width: 100%; margin-top: 16px; font: inherit; font-size: 15px; line-height: 1.55; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; min-height: 108px; resize: vertical;
}
.share-note:focus { outline: 2px solid var(--violet-bright); border-color: transparent; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.share-actions .btn.ghost-dark { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.share-actions .btn.ghost-dark:hover { border-color: var(--ink); filter: none; }
.share-done { font-size: 13.5px; font-weight: 700; color: var(--teal); margin-top: 12px; min-height: 18px; }

.card-shell.is-hidden { display: none; }

/* generated article bodies */
.article-body h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin: 36px 0 6px; }
.article-body h3:first-child { margin-top: 0; }

/* ---------- article text treatment ---------- */
.article-body .lede::first-letter {
  font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-style: italic;
  font-size: 3.1em; line-height: .82; float: left; padding: 6px 12px 0 0; color: var(--violet);
}
.article-body p.quote-line {
  font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: 20px; line-height: 1.55;
  color: var(--ink); border-left: 3px solid; border-image: linear-gradient(180deg, #a600fe, #4302ea) 1;
  padding: 4px 0 4px 22px; margin: 30px 0;
}
.callout {
  max-width: 700px; margin: 44px auto 0; padding: 0 24px;
}
.callout-in {
  background: #fff; border: 1.5px solid #e7dcfa; border-radius: 20px; padding: 24px 28px;
  display: flex; gap: 18px; align-items: flex-start;
}
.callout-badge {
  flex: 0 0 auto; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--grad); border-radius: 999px; padding: 6px 12px; margin-top: 3px;
}
.callout-in p { font-size: 16.5px; line-height: 1.6; color: var(--body); }
.callout-in p strong { color: var(--ink); }

/* topic pages */
a.tile { text-decoration: none; color: inherit; display: flex; }
.topic-hero { padding: 70px 0 8px; }
.topic-hero .wrap { border-radius: 32px; padding: 54px 44px; }
.topic-hero h1 { font-size: clamp(36px, 4.6vw, 54px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.topic-hero p { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 56ch; margin-top: 12px; }
.topic-hero .tcount { display: inline-block; margin-top: 18px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.library-list { max-width: 760px; }
.library-list a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 17px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
}
.library-list a:hover .lt { color: var(--violet); }
.library-list .lt { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.library-list .ld { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 620px) {
  .care-fab { font-size: 14px; padding: 12px 18px; right: 14px; bottom: 14px; }
  .topic-hero .wrap { padding: 40px 26px; }
}

/* announcement bar (Nov 4): above the header, auto-hides after 10 seconds */
.annbar { background: var(--grad); color: #fff; position: relative; z-index: 60; overflow: hidden; max-height: 64px; transition: opacity .4s ease, max-height .4s ease; }
.annbar p { text-align: center; font-size: 14.5px; font-weight: 600; padding: 11px 48px; margin: 0; color: #fff; }
.annbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; white-space: nowrap; }
.annbar-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; opacity: .85; padding: 6px; }
.annbar-hide { opacity: 0; max-height: 0; }
