/* Content pages (service, free check, Learn). Same brand as the landing: cream, ink, orange; one theme. */
:root {
  color-scheme: light;
  --ink: #1d1a16; --cream: #fbf6ec; --paper: #ffffff; --orange: #e8541d; --orange-deep: #b93d0f;
  --yellow: #ffd84a; --sky: #bfe3ff; --peach: #ffc9b3; --muted: #6f675b; --line: #1d1a16; --soft: #efe6d4;
  --disp: 'Bricolage Grotesque', 'Arial Black', Impact, sans-serif;
  --body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; }
p, li { text-wrap: pretty; }
a { color: var(--orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
.disp { font-family: var(--disp); font-weight: 800; letter-spacing: -0.03em; }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
button, input { font: inherit; color: inherit; }

/* nav */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 28px; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 28px; font-weight: 500; }
.nav-links a, .nav-signin { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-signin:hover { text-decoration: underline; color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--orange); }
.nav-end { display: flex; align-items: center; gap: 18px; }
.pill-btn { display: inline-block; border: 0; cursor: pointer; border-radius: 999px; font-weight: 700; padding: 13px 22px; background: var(--ink); color: var(--cream); white-space: nowrap; text-decoration: none; }
.pill-btn:hover { background: #000; color: var(--cream); }
.pill-btn.orange { background: var(--orange); color: #fff; }
.pill-btn.orange:hover { background: var(--orange-deep); }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 480px) { .nav .pill-btn { padding: 10px 14px; font-size: 14px; } .brand { font-size: 24px; } .nav-end { gap: 10px; } }

/* page head */
.crumbs { font-size: 14px; color: var(--muted); margin: 8px 0 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.page-head { padding-block: 12px 36px; max-width: 980px; }
.page-head h1 { font-size: clamp(36px, 5.6vw, 68px); margin: 0 0 22px; }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; margin: 0; max-width: 820px; }
.meta { font-size: 14px; color: var(--muted); margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 2px solid var(--line); }
.chip.fill { background: var(--yellow); border-color: var(--yellow); }

/* layout: text column + sticky aside */
.doc { display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 300px); gap: 64px; align-items: start; padding-bottom: 56px; }
@media (max-width: 1000px) { .doc { grid-template-columns: minmax(0, 1fr); gap: 32px; } .toc { display: none; } }
.toc { position: sticky; top: 20px; font-size: 15px; border-left: 3px solid var(--line); padding-left: 18px; }
.toc b { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc .pill-btn { font-size: 15px; }

/* prose */
.prose { min-width: 0; }
.prose h2 { font-family: var(--disp); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(28px, 3.2vw, 40px); margin: 56px 0 16px; scroll-margin-top: 16px; }
.prose h3 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--orange); font-weight: 700; }
.prose > :first-child { margin-top: 0; }
.answer { background: var(--paper); border: 3px solid var(--line); border-radius: 22px; padding: 22px 26px; margin: 0 0 28px; }
.answer > :last-child { margin-bottom: 0; }
.answer .k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); display: block; margin-bottom: 6px; }
.note { background: var(--soft); border-radius: 16px; padding: 16px 20px; font-size: 16px; margin: 0 0 22px; }
.note > :last-child { margin-bottom: 0; }
.stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 8px 0 26px; }
.stat > div { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.stat .n { font-family: var(--disp); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -0.03em; display: block; margin-bottom: 6px; }
.stat span:not(.n) { font-size: 15px; color: var(--muted); }
.tbl { overflow-x: auto; margin: 0 0 26px; border: 2px solid var(--line); border-radius: 16px; background: var(--paper); }
.tbl table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.45; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--soft); }
.tbl th { background: var(--soft); font-size: 14px; letter-spacing: .02em; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .ex { font-size: 14px; color: var(--muted); }
.tbl td:first-child { min-width: 200px; }
.tbl caption { caption-side: bottom; text-align: left; font-size: 14px; color: var(--muted); padding: 10px 14px; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.steps > li { counter-increment: s; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 16px 20px 16px 64px; position: relative; margin: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps > li > b:first-child { display: block; margin-bottom: 4px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0 0 26px; }
.cards > div { border-radius: 20px; padding: 18px 20px; border: 2px solid var(--line); background: var(--paper); }
.cards > div:nth-child(4n+1) { background: var(--sky); }
.cards > div:nth-child(4n+2) { background: var(--peach); }
.cards > div:nth-child(4n+3) { background: var(--yellow); }
.cards h3 { margin: 0 0 8px; font-size: 20px; }
.cards p, .cards ul { font-size: 16px; margin: 0; }
.cards ul { padding-left: 18px; }
figure.diagram { margin: 0 0 26px; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 18px; }
figure.diagram svg { width: 100%; height: auto; display: block; }
figure.diagram figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.sources { font-size: 15px; color: var(--muted); }
.sources li { margin-bottom: 4px; }

/* FAQ */
.faq details { border-top: 2px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 2px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--orange); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }

/* CTA */
.cta { background: var(--ink); color: var(--cream); border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; margin: 48px 0 0; }
.cta .disp { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; }
.cta p { color: #cfc6b6; margin: 12px 0 0; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }
.urlform { display: flex; background: var(--paper); border: 3px solid var(--line); border-radius: 999px; padding: 6px; gap: 6px; width: 100%; }
.urlform input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 13px 18px; font-size: 18px; outline: none; color: var(--ink); }
.urlform input::placeholder { color: #8a8175; }
.urlform button { flex: none; border: 0; cursor: pointer; background: var(--orange); color: #fff; border-radius: 999px; padding: 13px 24px; font-weight: 700; font-size: 17px; }
.urlform button:hover { background: var(--orange-deep); }
.urlform:focus-within { box-shadow: 0 0 0 4px var(--yellow); }
.form-hint { font-size: 14px; color: var(--muted); padding-left: 22px; margin: 10px 0 0; }
.cta .form-hint { color: #cfc6b6; }
@media (max-width: 560px) { .urlform { flex-direction: column; border-radius: 22px; } .urlform button { width: 100%; } }

/* related + hub */
.related { padding-block: 8px 48px; }
.related h2 { font-family: var(--disp); font-weight: 800; font-size: 28px; margin: 0 0 16px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.rel-grid a { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.rel-grid a:hover { background: var(--yellow); color: var(--ink); }
.rel-grid b { display: block; font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
.rel-grid span { font-size: 15px; color: var(--muted); }

/* footer */
footer.site { border-top: 2px solid var(--line); padding-block: 32px 44px; font-size: 15px; color: var(--muted); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
footer.site b { display: block; color: var(--ink); margin-bottom: 8px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer.site a { color: var(--muted); }
