/* FunnelLeaders editorial article pages */
:root {
  --coral:#c74334;
  --coral-bright:#e85a4c;
  --coral-soft:#fae8e3;
  --ink:#111827;
  --muted:#526071;
  --paper:#f7f5f1;
  --soft:#f1f3f5;
  --border:#d9dde3;
  --dark:#111319;
  --green:#176b52;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img { display:block; max-width:100%; height:auto; }
a { color:inherit; }
[id] { scroll-margin-top:104px; }
.container { width:min(calc(100% - 40px),1180px); margin-inline:auto; }
.btn {
  display:inline-flex;
  min-height:46px;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 18px;
  border:1px solid transparent;
  border-radius:10px;
  font-weight:760;
  line-height:1.2;
  text-decoration:none;
}
.btn-coral { color:#fff; background:var(--coral); box-shadow:0 10px 24px rgba(199,67,52,.2); }
.btn-coral:hover { background:var(--coral-bright); }
.btn-ghost { border-color:rgba(17,24,39,.2); background:#fff; }

/* Shared navigation */
header.site-header {
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(17,24,39,.1);
  background:rgba(247,245,241,.94);
  backdrop-filter:blur(16px);
}
.nav-inner { display:flex; min-height:76px; align-items:center; justify-content:space-between; gap:16px; }
.logo-link { display:flex; align-items:center; flex:0 0 auto; }
.logo-link img { width:auto; height:46px; }
.nav-menu { display:none; align-items:center; gap:2px; margin:0; padding:4px 8px; list-style:none; border:1px solid rgba(17,24,39,.14); border-radius:14px; background:rgba(255,255,255,.86); }
.nav-menu > li { position:relative; }
.nav-link,.nav-drop-btn {
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:6px;
  padding:10px 11px;
  border:0;
  border-radius:8px;
  color:var(--muted);
  background:none;
  font:inherit;
  font-size:14px;
  font-weight:650;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}
.nav-link:hover,.nav-drop-btn:hover,.nav-menu > li.active > .nav-drop-btn { color:var(--coral); background:rgba(17,24,39,.045); }
.car { width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px); }
.nav-drop-btn[aria-expanded="true"] .car { transform:rotate(-135deg) translateY(-1px); }
.nav-dropdown {
  position:absolute;
  top:calc(100% + 7px);
  left:0;
  z-index:110;
  display:none;
  min-width:260px;
  padding:9px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  box-shadow:0 22px 56px rgba(15,23,42,.13);
}
.nav-dropdown.open { display:block; }
.nav-dropdown a { display:block; min-height:42px; padding:10px 12px; border-radius:8px; font-size:14px; font-weight:560; line-height:1.45; text-decoration:none; }
.nav-dropdown a:hover,.nav-dropdown a[aria-current="page"] { color:var(--coral); background:var(--coral-soft); }
.nav-dropdown .dd-all { margin-top:6px; padding-top:12px; border-top:1px solid var(--border); color:var(--coral); font-weight:750; }
.nav-cta { display:none; white-space:nowrap; }
.nav-burger { display:flex; width:44px; height:44px; flex-direction:column; justify-content:center; gap:5px; padding:10px; border:0; background:none; cursor:pointer; }
.nav-burger span { height:2px; border-radius:10px; background:var(--ink); }
.mobile-menu { display:none; position:fixed; inset:76px 0 0; z-index:99; overflow-y:auto; padding:16px 24px 48px; background:#fff; }
.mobile-menu.open { display:block; }
.mm-group { border-bottom:1px solid var(--border); }
.mm-toggle { display:flex; width:100%; min-height:52px; align-items:center; justify-content:space-between; padding:12px 4px; border:0; background:none; color:var(--ink); font:inherit; font-weight:750; }
.mm-panel { display:none; padding:0 4px 12px; }
.mm-panel.open { display:block; }
.mm-panel a,.mm-link { display:block; min-height:44px; padding:11px 8px; border-radius:8px; color:var(--muted); font-size:15px; text-decoration:none; }
.mm-link { padding:16px 4px; border-bottom:1px solid var(--border); border-radius:0; color:var(--ink); font-weight:750; }
.mm-cta { width:100%; margin-top:20px; }
body.menu-open { overflow:hidden; }
@media (min-width:1024px) {
  .nav-menu { display:flex; }
  .nav-cta { display:inline-flex; }
  .nav-burger { display:none; }
}
@media (min-width:1024px) and (max-width:1180px) {
  .nav-link,.nav-drop-btn { padding-inline:8px; font-size:13px; }
  .logo-link img { height:40px; }
  .nav-cta { padding-inline:13px; font-size:13px; }
}

/* Editorial hero */
.article-hero {
  overflow:hidden;
  padding:82px 0 56px;
  border-bottom:1px solid rgba(17,24,39,.1);
  background:
    radial-gradient(circle at 88% 8%,rgba(199,67,52,.15),transparent 33%),
    radial-gradient(circle at 8% 92%,rgba(124,58,237,.06),transparent 34%),
    var(--paper);
}
.article-crumbs { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:22px; color:var(--muted); font-size:13px; font-weight:650; }
.article-crumbs a { text-decoration:none; }
.article-crumbs a:hover { color:var(--coral); }
.article-hero-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:34px; align-items:end; }
.article-kicker { margin:0 0 13px; color:var(--coral); font-size:12px; font-weight:850; letter-spacing:.14em; text-transform:uppercase; }
.article-hero h1 { max-width:900px; margin:0 0 20px; font-size:clamp(38px,5.5vw,70px); line-height:1.01; letter-spacing:-.06em; text-wrap:balance; }
.article-dek { max-width:760px; margin:0 0 26px; color:var(--muted); font-size:clamp(17px,2vw,20px); line-height:1.62; }
.article-meta { display:flex; flex-wrap:wrap; gap:9px 18px; align-items:center; color:var(--muted); font-size:13px; }
.article-meta strong { color:var(--ink); }
.article-hero-image { overflow:hidden; border:1px solid rgba(17,24,39,.14); border-radius:22px; background:#fff; box-shadow:0 26px 65px rgba(15,23,42,.13); }
.article-hero-image img { width:100%; height:auto; object-fit:contain; background:#fff; }
.article-hero-image figcaption { padding:12px 15px; border-top:1px solid var(--border); color:var(--muted); font-size:11.5px; line-height:1.45; }
@media (min-width:960px) {
  .article-hero-grid { grid-template-columns:minmax(0,1.45fr) minmax(320px,.7fr); }
}

/* Reading area */
.article-shell { padding:72px 0 90px; }
.article-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:46px; align-items:start; }
.article-toc { padding:22px; border:1px solid var(--border); border-radius:16px; background:var(--paper); }
.article-toc p { margin:0 0 10px; color:var(--coral); font-size:11px; font-weight:850; letter-spacing:.13em; text-transform:uppercase; }
.article-toc ol { display:grid; gap:5px; margin:0; padding:0; list-style:none; counter-reset:toc; }
.article-toc li { counter-increment:toc; }
.article-toc a { display:grid; grid-template-columns:24px 1fr; gap:4px; padding:7px 0; color:var(--muted); font-size:13px; font-weight:620; line-height:1.4; text-decoration:none; }
.article-toc a::before { content:counter(toc,decimal-leading-zero); color:var(--coral); font-size:10px; font-weight:850; letter-spacing:.08em; }
.article-toc a:hover { color:var(--ink); }
.article-body { min-width:0; max-width:790px; }
.article-body > p:first-child { margin-top:0; color:var(--ink); font-size:20px; line-height:1.62; }
.article-body p { margin:0 0 20px; color:#334155; font-size:17px; line-height:1.78; }
.article-body h2 { margin:50px 0 16px; color:var(--ink); font-size:clamp(27px,3.2vw,38px); line-height:1.12; letter-spacing:-.045em; text-wrap:balance; }
.article-body h3 { margin:30px 0 12px; font-size:20px; line-height:1.25; letter-spacing:-.025em; }
.article-body ul,.article-body ol { display:grid; gap:10px; margin:0 0 24px; padding-left:23px; color:#334155; }
.article-body li { padding-left:4px; font-size:16.5px; line-height:1.65; }
.article-body strong { color:var(--ink); }
.article-body a { color:var(--coral); font-weight:650; text-underline-offset:3px; }
.article-body code { padding:2px 6px; border:1px solid var(--border); border-radius:6px; background:var(--soft); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.86em; }
.article-callout { margin:34px 0; padding:26px 26px 24px; border:1px solid rgba(199,67,52,.24); border-left:4px solid var(--coral); border-radius:14px; background:#fff8f6; }
.article-callout .callout-label { margin:0 0 8px; color:var(--coral); font-size:11px; font-weight:850; letter-spacing:.13em; text-transform:uppercase; }
.article-callout p { margin:0; color:#253247; font-size:15px; line-height:1.68; }
.article-checklist { margin:28px 0; padding:26px; border:1px solid var(--border); border-radius:16px; background:var(--paper); }
.article-checklist h3 { margin:0 0 14px; }
.article-checklist ul { margin:0; padding:0; list-style:none; }
.article-checklist li { position:relative; padding:8px 0 8px 28px; border-top:1px solid rgba(17,24,39,.08); }
.article-checklist li:first-child { border-top:0; }
.article-checklist li::before { content:'✓'; position:absolute; left:0; color:var(--green); font-weight:900; }
.article-disclosure { margin-top:14px !important; color:var(--muted) !important; font-size:13px !important; line-height:1.58 !important; }
.article-sources { margin-top:50px; padding-top:26px; border-top:1px solid var(--border); }
.article-sources h2 { margin-top:0; font-size:22px; }
.article-sources li,.article-sources p { font-size:14px; }
.article-next { margin-top:56px; padding:30px; border-radius:20px; background:var(--dark); color:#fff; }
.article-next p { margin:0 0 8px; color:rgba(255,255,255,.66); font-size:12px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.article-next h2 { margin:0 0 18px; color:#fff; font-size:clamp(23px,3vw,31px); }
.article-next a { display:inline-flex; align-items:center; gap:8px; color:#fff; font-size:15px; font-weight:800; text-decoration:none; }
.article-next a:hover { color:#ffb0a8; }
@media (min-width:980px) {
  .article-layout { grid-template-columns:230px minmax(0,790px); justify-content:center; }
  .article-toc { position:sticky; top:102px; }
}

/* Related / conversion */
.article-cta { padding:82px 0; background:var(--paper); border-top:1px solid var(--border); }
.article-cta-card { display:grid; gap:24px; align-items:center; padding:clamp(28px,4vw,48px); border:1px solid rgba(17,24,39,.15); border-radius:24px; background:#fff; box-shadow:0 24px 60px rgba(15,23,42,.08); }
.article-cta h2 { max-width:720px; margin:0 0 12px; font-size:clamp(29px,4vw,45px); line-height:1.08; letter-spacing:-.05em; text-wrap:balance; }
.article-cta p { max-width:690px; margin:0; color:var(--muted); font-size:16px; }
.article-cta-actions { display:flex; flex-wrap:wrap; gap:10px; }
@media (min-width:860px) { .article-cta-card { grid-template-columns:minmax(0,1fr) auto; } }

/* Footer */
footer.site-footer { padding:56px 0 38px; background:var(--dark); color:rgba(255,255,255,.65); }
.footer-grid { display:grid; grid-template-columns:1fr; gap:30px; margin-bottom:34px; }
.footer-brand { margin-bottom:10px; color:#ff766a; font-size:18px; font-weight:900; letter-spacing:-.02em; }
.footer-tagline { max-width:290px; margin:0; font-size:13.5px; }
.footer-col h4 { margin:0 0 12px; color:#fff; font-size:12px; letter-spacing:.12em; text-transform:uppercase; }
.footer-col a { display:block; padding:5px 0; color:rgba(255,255,255,.7); font-size:13.5px; text-decoration:none; }
.footer-col a:hover { color:#fff; }
.footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); font-size:12.5px; color:rgba(255,255,255,.46); }
@media (min-width:760px) { .footer-grid { grid-template-columns:1.4fr 1fr 1fr 1fr; } }

@media (max-width:680px) {
  .container { width:min(calc(100% - 32px),1180px); }
  .nav-inner { min-height:66px; }
  .mobile-menu { inset-block-start:66px; }
  .logo-link img { height:40px; }
  .article-hero { padding:58px 0 46px; }
  .article-hero h1 { font-size:clamp(37px,12vw,54px); }
  .article-shell { padding:52px 0 68px; }
  .article-body > p:first-child { font-size:18px; }
  .article-body p { font-size:16px; }
  .article-body h2 { margin-top:42px; }
  .article-callout,.article-checklist,.article-next { padding:22px 20px; }
  .article-cta { padding:58px 0; }
}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; }
}
