/* Open Source Pageants: shared styles for /osp/ pages. OSP has its own look on purpose; it is not a Bombyhead page. */
:root {
	--paper: #ffffff; --panel: #f1f5f2; --ink: #16212a; --soft: #55626c;
	--green: #1d5c4b; --green-deep: #123d32; --mark: #e2a52e; --rule: #d7dde0;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Public Sans", Helvetica, Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
.bar { background: var(--green-deep); color: #fff; }
.bar-in { max-width: 920px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.01em; font-size: 17px; }
.logo i { width: 26px; height: 26px; border: 2.5px solid var(--mark); border-radius: 50%; display: inline-grid; place-items: center; font-style: normal; font-size: 12px; color: var(--mark); font-weight: 800; }
.draft { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--mark); color: var(--green-deep); padding: 5px 10px; border-radius: 3px; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px 80px; }
.hero { padding: 54px 0 30px; border-bottom: 1px solid var(--rule); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
h1 { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: clamp(34px, 6.4vw, 56px); line-height: 1.06; letter-spacing: -0.01em; margin: 12px 0 18px; max-width: 22ch; }
.lede { font-size: 19px; line-height: 1.6; color: var(--soft); max-width: 62ch; margin: 0 0 14px; }
.belief { margin: 26px 0 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--green); max-width: 64ch; }
.belief b { display: block; font-family: "Source Serif 4", Georgia, serif; font-size: 26px; line-height: 1.2; color: var(--green-deep); margin-bottom: 6px; }
.belief p { font-size: 17px; margin: 0; }
.ask { border: 1.5px dashed var(--green); border-radius: 6px; padding: 12px 16px; margin: 18px 0 8px; max-width: 70ch; font-size: 16px; line-height: 1.5; }
.want { margin-right: 8px; white-space: nowrap; vertical-align: 1px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--green); padding: 3px 8px; border-radius: 3px; }
.core { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 2px 7px; border-radius: 3px; white-space: nowrap; vertical-align: 4px; margin-left: 8px; font-family: "Public Sans", Helvetica, Arial, sans-serif; }
h2 .core { vertical-align: 7px; }
.sub { font-size: 20px; font-weight: 700; color: var(--green); margin: -6px 0 16px; }
.note { background: var(--panel); border-left: 4px solid var(--mark); padding: 14px 18px; margin: 22px 0 0; line-height: 1.6; font-size: 15px; max-width: 70ch; }
.toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 26px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: t; }
.toc li { counter-increment: t; border-top: 1px solid var(--rule); padding: 9px 0; font-size: 15px; }
.toc li::before { content: counter(t, decimal-leading-zero); color: var(--mark); font-weight: 800; margin-right: 10px; font-size: 13px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--green); text-decoration: underline; }
h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: clamp(26px, 4vw, 34px); line-height: 1.15; margin: 68px 0 12px; scroll-margin-top: 16px; }
h2 .n { display: block; font-family: "Public Sans", Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: var(--mark); margin-bottom: 6px; }
h3 { font-size: 18px; font-weight: 800; margin: 30px 0 8px; color: var(--green-deep); }
p, li { line-height: 1.65; }
p { margin: 0 0 12px; max-width: 68ch; }
.big { font-size: 19px; line-height: 1.55; max-width: 64ch; }
ul, ol { margin: 6px 0 16px; padding-left: 1.3em; max-width: 70ch; }
li { margin-bottom: 7px; }
ul.check { list-style: none; padding-left: 0; }
ul.check li { position: relative; padding-left: 32px; }
ul.check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border: 2px solid var(--green); border-radius: 3px; background: #fff; }
.prop { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); background: var(--mark); padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.practices { list-style: none; padding: 0; counter-reset: p; max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.practices li { counter-increment: p; background: var(--panel); border-radius: 6px; padding: 18px 18px 14px; margin: 0; }
.practices li::before { content: counter(p); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.practices b { display: block; font-size: 17px; line-height: 1.35; margin-bottom: 6px; }
.practices span { color: var(--soft); font-size: 15px; line-height: 1.55; display: block; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 14px 0 18px; }
.cards div { border: 1px solid var(--rule); border-top: 4px solid var(--green); border-radius: 6px; padding: 16px 16px 10px; }
.cards b { display: block; font-size: 16px; margin-bottom: 4px; }
.cards p { font-size: 15px; color: var(--soft); line-height: 1.55; }
.tbl { overflow-x: auto; margin: 12px 0 18px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th { text-align: left; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); border-bottom: 2px solid var(--ink); padding: 8px 14px 8px 0; white-space: nowrap; }
td { border-bottom: 1px solid var(--rule); padding: 10px 14px 10px 0; vertical-align: top; line-height: 1.5; }
td:first-child { font-weight: 700; }
table.wide { min-width: 600px; }
.weeks { list-style: none; padding: 0; max-width: none; }
.weeks > li { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; border-top: 1px solid var(--rule); padding: 16px 0 6px; margin: 0; }
.weeks .when { font-weight: 800; color: var(--green); font-size: 15px; }
.weeks ul.check { margin: 0 0 6px; }
@media (max-width: 600px) { .weeks > li { grid-template-columns: 1fr; } }
.faq { margin: 4px 0 8px; max-width: 70ch; }
.faq dt { font-weight: 800; font-size: 16.5px; margin-top: 16px; }
.faq dd { margin: 4px 0 0; line-height: 1.65; color: var(--ink); }
.help { margin-top: 70px; background: var(--green-deep); color: #fff; border-radius: 8px; padding: 26px 24px 18px; }
.help h2 { margin: 0 0 10px; color: #fff; }
.help p { color: #e3ece8; }
.foot { margin-top: 30px; font-size: 13px; color: var(--soft); line-height: 1.6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--rule); padding-top: 16px; }
.foot a { color: var(--soft); }
@media print {
	.bar, .toc, .help, .note { display: none; }
	h2 { margin-top: 34px; page-break-after: avoid; }
	.practices li, .cards div { break-inside: avoid; }
}

.logo { color: #fff; text-decoration: none; }
.pages { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 700; }
.pages a { color: #fff; text-decoration: none; padding: 6px 12px; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 999px; }
.pages a:hover { border-color: #fff; }
.pages a[aria-current="page"] { background: var(--mark); border-color: var(--mark); color: var(--green-deep); }
/* Links to another OSP document: a labeled chip with an arrow, so they never read as plain text. */
.wrap p a[href$=".html"], .wrap li a[href$=".html"], .wrap dd a[href$=".html"], .wrap td a[href$=".html"], .wrap p a[href="./"], .foot a[href="./"] {
	display: inline-block; padding: 1px 10px 2px; margin: 1px 0; border: 1.5px solid var(--green); border-radius: 999px;
	background: var(--panel); color: var(--green-deep); font-weight: 700; text-decoration: none; white-space: nowrap; line-height: 1.45;
}
.wrap p a[href$=".html"]::after, .wrap li a[href$=".html"]::after, .wrap dd a[href$=".html"]::after, .wrap td a[href$=".html"]::after, .wrap p a[href="./"]::after, .foot a[href="./"]::after { content: " \2192"; }
.wrap p a[href$=".html"]:hover, .wrap li a[href$=".html"]:hover, .wrap dd a[href$=".html"]:hover, .wrap p a[href="./"]:hover, .foot a[href="./"]:hover { background: var(--green); color: #fff; }
/* Links within the same page: underlined. */
.wrap p a[href^="#"], .wrap li a[href^="#"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.companions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 24px 0 0; }
.companions a { display: block; text-decoration: none; color: var(--ink); border: 1.5px solid var(--green); border-radius: 8px; padding: 14px 16px 12px; background: #fff; }
.companions a:hover { background: var(--panel); }
.companions .k { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.companions b { display: block; font-size: 17px; margin: 3px 0 4px; }
.companions b::after { content: " \2192"; color: var(--green); }
.companions span.d { display: block; font-size: 14px; color: var(--soft); line-height: 1.45; }
pre.tpl { background: var(--panel); border-left: 4px solid var(--green); padding: 16px 18px; white-space: pre-wrap; font-family: "Public Sans", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.6; max-width: 72ch; margin: 10px 0 18px; overflow-x: auto; }
.tpl-note { font-size: 14px; color: var(--soft); }
table.num td:not(:first-child) { text-align: right; }
@media print { .pages { display: none; } }
.wrap .toc a { text-decoration: none; font-weight: 400; }
