/* Topic pages built for search (therapist matching and those that follow). Builds on styles.css. */
.seo h2 { margin: 0 0 14px; font-size: clamp(1.625rem, 3vw, 2.125rem); line-height: 1.2; color: var(--text); }
.seo h3 { margin: 0 0 6px; font-size: 1.125rem; color: var(--brand-text); }
.seo p { line-height: 1.6; }
.seo-center { text-align: center; margin-left: auto; margin-right: auto; max-width: 26ch; }

/* Opening: a quiet sky, like the other pages */
.seo-hero { position: relative; overflow: hidden; padding: 40px 0 130px; background: linear-gradient(180deg, var(--sky-top), var(--sky-mid)); }
.seo-hero__sky { position: absolute; inset: 0; pointer-events: none; }
.seo-cloud--a { top: 60px; right: 9%; width: 110px; } .seo-cloud--b { top: 150px; right: 26%; width: 70px; opacity: 0.85; }
.seo-far { top: 110px; right: 18%; width: 20px; }
.seo-hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 100px; max-width: none; }
.seo-hills .h1 { fill: var(--hill-back); } .seo-hills .h2 { fill: var(--hill-front); }
.seo-hero__inner { position: relative; z-index: 1; }
.seo-hero h1 { margin: 0 0 14px; max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.12; color: var(--brand-text); letter-spacing: -0.01em; }
.seo-hero .lead { margin-bottom: 24px; }
.seo-crumbs { margin: 0 0 22px; color: var(--muted); font-weight: 600; font-size: 0.9375rem; }
.seo-crumbs a { color: var(--brand-text); }
.seo-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.seo-link { color: var(--brand-text); font-weight: 700; }

.seo-sec { padding: 72px 0; }
.seo-sec--soft { background: linear-gradient(to bottom, var(--page), color-mix(in oklab, var(--sky) 45%, var(--page)), var(--page)); }
.seo-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.seo-pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.seo-pains li span { display: inline-block; padding: 10px 16px; border-radius: 14px; background: var(--surface); border: 1px dashed color-mix(in oklab, var(--brand) 30%, var(--border)); color: var(--muted); font-weight: 600; }
.seo-pains li:nth-child(even) { padding-left: 28px; }

.seo-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 32px; padding: 0; }
.seo-steps li { padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.seo-num { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.seo-steps p { margin: 0; color: var(--muted); }

.seo-match { max-width: 620px; margin: 0 auto; padding: 22px 24px; border: 1.5px solid color-mix(in oklab, var(--brand) 30%, var(--border)); border-radius: 22px; background: var(--surface);
  box-shadow: 0 30px 50px -38px color-mix(in oklab, var(--brand) 70%, transparent); }
.seo-match figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.seo-tag { padding: 3px 10px; border-radius: 999px; background: var(--brand-light); color: var(--brand-text); font-size: 0.8125rem; font-weight: 800; }
.seo-strength { padding: 3px 10px; border-radius: 999px; background: color-mix(in oklab, var(--sage) 14%, #fff); color: var(--sage); font-size: 0.8125rem; font-weight: 800; }
.seo-example { margin-left: auto; color: var(--muted); font-size: 0.8125rem; font-weight: 700; font-style: italic; }
.seo-match__who { margin: 12px 0 10px; font-weight: 800; font-size: 1.125rem; }
.seo-fits { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.seo-fits li { display: flex; gap: 10px; align-items: baseline; }
.seo-fits b { flex: none; min-width: 84px; padding: 1px 8px; border-radius: 999px; font-size: 0.75rem; text-align: center; }
.seo-fits .is-yes b { background: color-mix(in oklab, var(--sage) 14%, #fff); color: var(--sage); }
.seo-fits .is-part b { background: color-mix(in oklab, #f6d9a8 50%, #fff); color: #6b4300; }
.seo-match__why { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--brand-lighter); }
.seo-match__why b { color: var(--brand-text); }

.seo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.seo-grid > div { padding: 20px 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.seo-grid p { margin: 0; color: var(--muted); }

.seo-faq .faq__list { max-width: 760px; margin: 24px auto 0; }

.seo-cta { padding: 72px 0 88px; text-align: center; background: linear-gradient(to bottom, var(--page), color-mix(in oklab, var(--brand-light) 55%, var(--page))); }
.seo-cta p { max-width: 54ch; margin: 0 auto 22px; color: var(--muted); }

@media (max-width: 900px) {
  .seo-two, .seo-steps, .seo-grid { grid-template-columns: minmax(0, 1fr); }
  .seo-two { gap: 24px; }
}
@media (max-width: 560px) {
  .seo-hero { padding: 24px 0 100px; }
  .seo-cloud--b, .seo-far { display: none; }
  .seo-cloud--a { top: 10px; right: -20px; width: 70px; opacity: 0.8; }
  .seo-sec { padding: 56px 0; }
  .seo-fits li { flex-direction: column; gap: 2px; }
}

/* Guides (articles) */
.seo-hero--article { padding-bottom: 110px; }
.seo-hero--article h1 { max-width: 26ch; }
.seo-meta { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.seo-article { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 56px; align-items: start; padding-top: 40px; padding-bottom: 80px; }
.seo-prose { max-width: 70ch; }
.seo-prose h2 { margin: 40px 0 12px; font-size: 1.5rem; scroll-margin-top: 90px; }
.seo-prose p, .seo-prose li { font-size: 1.0625rem; line-height: 1.7; }
.seo-prose ul { padding-left: 1.3em; }
.seo-prose li { margin: 6px 0; }
.seo-prose li::marker { color: var(--brand); }
.seo-prose b { color: var(--brand-text); }
.seo-prose a { color: var(--brand-text); font-weight: 600; }
.seo-tldr { padding: 16px 20px; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; background: var(--brand-lighter); }
.seo-check { margin: 44px 0 0; padding: 22px 26px; border-radius: 20px; background: color-mix(in oklab, var(--sage) 10%, #fff); border: 1px solid color-mix(in oklab, var(--sage) 25%, #fff); }
.seo-check h2 { margin-top: 0; }
.seo-check ul { list-style: none; padding: 0; columns: 2; column-gap: 28px; }
.seo-check li { break-inside: avoid; padding-left: 26px; position: relative; }
.seo-check li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 800; }
.seo-plug { margin: 44px 0 0; padding: 26px; border-radius: 22px; background: var(--surface); border: 1.5px solid color-mix(in oklab, var(--brand) 25%, var(--border)); }
.seo-plug h2 { margin-top: 0; }
.seo-article .seo-faq .faq__list { margin-top: 12px; }
.seo-toc { position: sticky; top: 96px; padding-left: 18px; border-left: 2px solid var(--border); }
.seo-toc p { margin: 0 0 8px; color: var(--muted); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.seo-toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.seo-toc a { color: var(--muted); font-weight: 600; text-decoration: none; }
.seo-toc a:hover { color: var(--brand-text); }
@media (max-width: 900px) {
  .seo-article { grid-template-columns: minmax(0, 1fr); }
  .seo-toc { display: none; }
  .seo-check ul { columns: 1; }
}
.seo-prose a.button { color: #fff; }
.seo-related { margin: 28px auto 0; max-width: 760px; text-align: center; color: var(--muted); }
.seo-related a { color: var(--brand-text); font-weight: 700; }

/* A day with IntakeBird */
.seo-day { list-style: none; max-width: 820px; margin: 28px auto 0; padding: 0; display: grid; gap: 14px; position: relative; }
.seo-day::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(var(--brand-light), color-mix(in oklab, var(--sage) 35%, #fff)); }
.seo-day li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 18px; align-items: start; }
.seo-day .seo-num { margin: 4px 0 0; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--page); }
.seo-day li > div { padding: 16px 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.seo-day p { margin: 0; color: var(--muted); }
.seo-day b { color: var(--brand-text); }
.seo-honest { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.seo-honest li { padding: 14px 18px; border-radius: 16px; background: color-mix(in oklab, var(--sky) 55%, var(--surface)); line-height: 1.55; }
.seo-honest b { color: var(--brand-text); }

/* Guides hub */
.seo-hub { padding-top: 40px; padding-bottom: 40px; }
.seo-hubgroup { margin: 0 0 40px; }
.seo-hubgroup h2 { margin: 0 0 14px; font-size: 1.375rem; }
.seo-hubcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.seo-hubcards a { display: flex; flex-direction: column; height: 100%; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); color: inherit; text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.seo-hubcards a:hover { border-color: color-mix(in oklab, var(--brand) 40%, var(--border)); box-shadow: 0 16px 32px -26px color-mix(in oklab, var(--brand) 70%, transparent); }
.seo-hubcards h3 { margin: 10px 0 6px; }
.seo-hubcards p { margin: 0 0 14px; color: var(--muted); flex: 1; }
.seo-hubkind { align-self: flex-start; padding: 2px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 800; }
.seo-hubkind--guide { background: color-mix(in oklab, var(--sage) 14%, #fff); color: var(--sage); }
.seo-hubkind--feature { background: var(--brand-light); color: var(--brand-text); }
.seo-hubgo { color: var(--brand-text); font-weight: 700; }
.seo-hubnote { padding: 20px 24px; border-radius: 18px; background: var(--sky); }
.seo-hubnote h2 { margin: 0 0 6px; font-size: 1.1875rem; }
.seo-hubnote p { margin: 0; }
.seo-hubnote a { color: var(--brand-text); font-weight: 700; }
@media (max-width: 900px) { .seo-hubcards { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .seo-hubcards a { transition: none; } }
.seo-fits .is-no b { background: color-mix(in oklab, #e8b4b0 45%, #fff); color: #8a2c22; }
.seo-tag--alt { background: var(--surface); border: 1.5px solid var(--border); }
.seo-tag--no { background: color-mix(in oklab, #e8b4b0 45%, #fff); color: #8a2c22; }
.seo-match--prose { margin: 18px 0; }
.seo-match--prose .seo-fits { margin-bottom: 0; }
.seo-match--prose .seo-match__who + .seo-fits { margin-bottom: 14px; }
.seo-answer { max-width: 760px; margin: 0 auto 28px; }
.seo-compare-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1.5px solid var(--border); border-radius: 18px; background: var(--surface); }
.seo-compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }
.seo-compare th, .seo-compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--border); }
.seo-compare thead th { border-top: 0; background: var(--brand-lighter); color: var(--brand-text); font-weight: 800; }
.seo-compare tbody th { width: 22%; font-weight: 700; }
.seo-small { margin-top: 28px; color: var(--muted); font-size: 0.8125rem; }
.seo-helplist { columns: 2; column-gap: 28px; }
.seo-helplist li { break-inside: avoid; }
@media (max-width: 640px) { .seo-helplist { columns: 1; } }
.seo-explain .seo-match { margin: 18px auto; }
.seo-explain__lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.seo-grid--explain { list-style: none; padding: 0; margin: 20px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-grid--explain > li { padding: 20px 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.seo-grid--explain h3 { margin-top: 0; }
@media (max-width: 900px) { .seo-grid--explain { grid-template-columns: minmax(0, 1fr); } }
