/* Shared styles for the /learn explainer articles.
   The marketing pages inline their CSS; the article section shares one sheet
   because every page here uses the identical layout. */
* { box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    margin: 0; color: #1a2a22; background: #f5f7f5; line-height: 1.65;
}
a { color: #1f3a2e; }
.topbar {
    background: #1f3a2e; color: #fff; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.topbar a.home { color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.3px; }
.topbar .tag { color: #a9d6bf; font-size: 13px; font-weight: 600; }
.topbar a.run {
    background: #a9d6bf; color: #14291f; text-decoration: none; font-weight: 700;
    font-size: 14px; padding: 8px 15px; border-radius: 8px;
}
.crumb { max-width: 760px; margin: 0 auto; padding: 18px 22px 0; font-size: 13.5px; color: #8a978f; }
.crumb a { color: #5a6b62; text-decoration: none; font-weight: 600; }
.crumb a:hover { text-decoration: underline; }
article { max-width: 760px; margin: 0 auto; padding: 10px 22px 20px; }
article h1 { font-size: 30px; color: #1f3a2e; letter-spacing: -0.5px; margin: 10px 0 6px; line-height: 1.25; }
article .standfirst { font-size: 18px; color: #5a6b62; margin: 0 0 26px; }
article h2 { font-size: 22px; color: #1f3a2e; margin: 34px 0 10px; letter-spacing: -0.2px; }
article h3 { font-size: 17px; color: #1f3a2e; margin: 24px 0 6px; }
article p { margin: 0 0 14px; }
article ul, article ol { margin: 0 0 16px; padding-left: 22px; }
article li { margin-bottom: 7px; }
article strong { color: #14291f; }
table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; }
th, td { border: 1px solid #dde5e0; padding: 9px 11px; text-align: left; vertical-align: top; }
th { background: #eef6f1; color: #1f3a2e; font-weight: 700; }
.callout {
    background: #fff; border: 1px solid #e2e8e4; border-left: 4px solid #1f3a2e;
    border-radius: 10px; padding: 15px 18px; margin: 20px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: #b5541f; background: #fdf7f3; }
.callout .lbl {
    display: block; font-size: 11px; font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; color: #8a978f; margin-bottom: 5px;
}
.cta-box {
    background: #1f3a2e; color: #fff; border-radius: 14px; padding: 22px 24px; margin: 34px 0 10px;
}
.cta-box h3 { color: #fff; margin: 0 0 6px; font-size: 19px; }
.cta-box p { margin: 0 0 14px; opacity: .9; font-size: 15px; }
.cta-box a {
    display: inline-block; background: #a9d6bf; color: #14291f; text-decoration: none;
    font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 9px;
}
/* Ad slot — units are placed manually, never inside article prose. */
#ad-slot { margin: 26px 0 0; min-height: 0; }
.related { border-top: 1px solid #e2e8e4; margin-top: 34px; padding-top: 20px; }
.related h3 { margin: 0 0 10px; font-size: 16px; color: #1f3a2e; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin-bottom: 7px; }
.related a { font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }
.sources { font-size: 14px; color: #5a6b62; }
footer { border-top: 1px solid #e2e8e4; margin-top: 30px; padding: 22px; text-align: center; font-size: 14px; color: #5a6b62; }
footer a { color: #1f3a2e; text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }
.muted { color: #8a978f; font-size: 13px; margin-top: 10px; }
@media (max-width: 560px) { article h1 { font-size: 25px; } .topbar .tag { display: none; } }
