/* Long-form Solve guides and white papers */
.content-main { padding-top: 82px; }
.content-hero { padding: 72px 0 54px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fcfaf6 0%, #f4f0e8 100%); }
.content-hero .container { max-width: 980px; }
.content-hero h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(2.65rem, 5.4vw, 4.9rem); }
.content-hero .lede { max-width: 760px; margin-bottom: 24px; color: var(--ink-soft); font-size: 1.12rem; line-height: 1.72; }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: .78rem; font-weight: 650; }
.breadcrumbs a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.content-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.content-tags span { padding: 7px 11px; border: 1px solid #d7d1c6; border-radius: 999px; background: rgba(255,255,255,.48); color: var(--ink-soft); font-size: .76rem; font-weight: 700; }
.content-shell { width: min(1080px, calc(100vw - 48px)); margin: 0 auto; padding: 62px 0 88px; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; align-items: start; }
.article-body { min-width: 0; }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin: 54px 0 18px; font-size: clamp(1.8rem, 3.3vw, 2.65rem); }
.article-body h3 { margin: 34px 0 12px; color: var(--green-dark); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.15rem; font-weight: 800; }
.article-body p, .article-body li { color: #44524b; font-size: 1rem; line-height: 1.78; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 25px; padding-left: 24px; }
.article-body li { margin-bottom: 9px; }
.article-body a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }
.article-body code { padding: 2px 6px; border: 1px solid #ddd7cc; border-radius: 6px; background: #f0ede6; color: #2d493d; font-size: .9em; }
.article-body pre { overflow-x: auto; margin: 24px 0; padding: 20px; border-radius: 14px; background: #22332c; color: #f9f7f2; font-size: .88rem; line-height: 1.6; }
.callout { margin: 30px 0; padding: 23px 25px; border: 1px solid #ccd7ca; border-left: 5px solid var(--green); border-radius: 14px; background: #eef2ea; }
.callout.warning { border-color: #dfd2bd; border-left-color: #a67c3f; background: #f6f0e5; }
.callout p:last-child { margin-bottom: 0; }
.callout-title { margin-bottom: 7px !important; color: var(--green-dark) !important; font-size: .78rem !important; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.checklist { margin: 26px 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }
.step-list { counter-reset: steps; margin: 28px 0; padding: 0; list-style: none; }
.step-list li { counter-increment: steps; position: relative; margin-bottom: 22px; padding: 18px 18px 18px 58px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,249,.68); }
.step-list li::before { content: counter(steps); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: .78rem; font-weight: 850; }
.decision-table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: .91rem; }
.decision-table th, .decision-table td { padding: 13px 14px; border: 1px solid #ddd7cc; text-align: left; vertical-align: top; }
.decision-table th { background: #e8ede4; color: var(--green-dark); font-weight: 800; }
.decision-table tr:nth-child(even) td { background: rgba(255,253,249,.6); }
.content-aside { position: sticky; top: 112px; display: grid; gap: 18px; }
.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: 0 12px 34px rgba(56,48,38,.045); }
.aside-card h3 { margin-bottom: 9px; font-family: Georgia, "Times New Roman", serif; font-size: 1.34rem; font-weight: 500; }
.aside-card p { margin-bottom: 16px; color: var(--ink-soft); font-size: .86rem; line-height: 1.58; }
.aside-card .button { width: 100%; }
.aside-links { display: grid; gap: 10px; }
.aside-links a { color: var(--green-dark); font-size: .82rem; font-weight: 700; line-height: 1.35; }
.aside-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.resource-section { padding: 80px 0; border-top: 1px solid var(--line); background: #f3f0e9; }
.resource-heading { max-width: 720px; margin-bottom: 34px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card { padding: 25px; border: 1px solid #d9d3c8; border-radius: 18px; background: rgba(255,253,249,.8); }
.resource-card h3 { margin-bottom: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; }
.resource-card p { color: var(--ink-soft); font-size: .88rem; line-height: 1.6; }
.resource-card a { color: var(--green-dark); font-size: .84rem; font-weight: 800; }
.resource-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hub-hero { padding-bottom: 62px; }
.hub-grid { width: min(1080px, calc(100vw - 48px)); margin: 0 auto; padding: 62px 0 90px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hub-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 12px 35px rgba(56,48,38,.04); }
.hub-card .eyebrow { margin-bottom: 11px; }
.hub-card h2 { margin-bottom: 13px; font-size: 2rem; }
.hub-card p { color: var(--ink-soft); font-size: .93rem; line-height: 1.62; }
.hub-card a { color: var(--green-dark); font-size: .86rem; font-weight: 800; }
.hub-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.whitepaper-cover { margin: 34px 0; padding: 32px; border: 1px solid #cbd4c7; border-radius: 20px; background: linear-gradient(135deg, #e7ede3 0%, #f8f4ec 100%); }
.whitepaper-cover .eyebrow { margin-bottom: 10px; }
.whitepaper-cover h2 { max-width: 700px; margin-bottom: 12px; }
.whitepaper-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.source-list { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.source-list h2 { margin-top: 0; font-size: 1.7rem; }
.source-list li { font-size: .87rem; word-break: break-word; }
.print-note { color: var(--muted); font-size: .78rem; }

/* Captive white paper gates */
.gate-shell { width: min(1080px, calc(100vw - 48px)); margin: 0 auto; padding: 58px 0 92px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr); gap: 58px; align-items: start; }
.gate-copy h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.gate-copy p, .gate-copy li { color: var(--ink-soft); font-size: 1rem; line-height: 1.72; }
.gate-copy ul { margin: 24px 0 0; padding-left: 0; list-style: none; }
.gate-copy li { position: relative; margin-bottom: 12px; padding-left: 29px; }
.gate-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.gate-card { overflow: hidden; border: 1px solid #d7d1c6; border-radius: 20px; background: var(--white); box-shadow: 0 18px 46px rgba(56,48,38,.07); }
.gate-card-header { padding: 25px 26px 18px; border-bottom: 1px solid #ece7dd; background: #f8f5ef; }
.gate-card-header h2 { margin-bottom: 7px; font-size: 1.7rem; }
.gate-card-header p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.55; }
.gate-form-wrap { padding: 18px 20px 22px; }
.gate-form-wrap iframe { width: 100%; min-height: 520px; border: 0; border-radius: 12px; background: #fff; }
.gate-privacy { margin: 12px 2px 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.gate-privacy a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.gate-fallback { width: 100%; margin-top: 12px; }
.gate-unlocked { padding: 30px; text-align: center; background: linear-gradient(145deg, #e6ede2 0%, #f7f2e9 100%); }
.gate-unlocked h2 { margin-bottom: 10px; font-size: 2rem; }
.gate-unlocked p { margin: 0 auto 20px; max-width: 520px; color: var(--ink-soft); }
.gate-unlocked .button { min-width: 220px; }
.gate-unlocked.is-unlocked { animation: gateReveal .28s ease both; }
.gate-badge { display: inline-flex; margin-bottom: 13px; padding: 7px 10px; border-radius: 999px; color: var(--green-dark); background: #dfe8da; font-size: .72rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.gate-note { margin-top: 20px; padding: 17px 19px; border: 1px solid #ddd7cc; border-radius: 14px; background: rgba(255,253,249,.7); color: var(--ink-soft); font-size: .86rem; line-height: 1.55; }
.gate-note strong { color: var(--ink); }
@keyframes gateReveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 920px) {
  .content-shell { grid-template-columns: 1fr; gap: 36px; }
  .content-aside { position: static; grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .gate-shell { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .content-main { padding-top: 72px; }
  .content-hero { padding: 48px 0 38px; }
  .content-hero h1 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .content-shell, .hub-grid, .gate-shell { width: min(100% - 32px, 1080px); padding-top: 42px; }
  .hub-grid, .resource-grid, .content-aside { grid-template-columns: 1fr; }
  .decision-table { display: block; overflow-x: auto; white-space: nowrap; }
  .gate-form-wrap { padding-inline: 12px; }
}
@media print {
  .site-header, .site-footer, .content-aside, .resource-section, .whitepaper-actions, .print-note, .gate-card { display: none !important; }
  .content-main { padding-top: 0; }
  .content-hero { padding: 20px 0; background: white; }
  .content-shell { width: 100%; display: block; padding: 20px 0; }
  body { background: white; color: #111; }
  .article-body p, .article-body li { color: #222; }
  a { text-decoration: none !important; }
}
