/*
Theme Name: Bored Billionaire Bill
Description: Lightweight, fast theme for the Bored Billionaire Bill platform. Pairs with the "Bored Billionaire Bill — Core Platform" plugin.
Version: 1.1.0
Requires PHP: 8.0
Author: Bored Billionaire Bill
Text Domain: bbb-theme
*/
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bbb-bg, #fafaf9); color: var(--bbb-ink, #111418); font-family: var(--bbb-font, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--bbb-ink, #111418); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #111; color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 250, 249, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(17, 20, 24, .06); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header .bbb-wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: #111418; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: #111418; color: #fff; display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.site-nav a { white-space: nowrap; padding: 8px 12px; border-radius: 10px; color: #3b424b; text-decoration: none; font-weight: 500; font-size: 15px; transition: background .15s, color .15s; }
.site-nav a:hover, .site-nav a[aria-current] { background: rgba(17, 20, 24, .05); color: #111418; }
.site-actions { display: flex; align-items: center; gap: 10px; }
.site-actions .signin { color: #3b424b; text-decoration: none; font-weight: 500; padding: 8px 10px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid #e6e7e9; border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: #111418; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.bbb-nav-open .nav-toggle span { background: transparent; }
.bbb-nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.bbb-nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1060px) {
	.nav-toggle { display: inline-flex; }
	.site-nav, .site-actions { display: none; }
	.bbb-nav-open .site-header .bbb-wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 16px; }
	.bbb-nav-open .site-nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3; flex-basis: 100%; }
	.bbb-nav-open .site-nav a { padding: 12px; font-size: 17px; }
	.bbb-nav-open .site-actions { display: flex; order: 4; width: 100%; flex-direction: column; align-items: stretch; }
	.bbb-nav-open .site-actions .bbb-btn { width: 100%; }
	.site-header .bbb-wrap { gap: 12px; }
}

/* Content pages */
.prose-page { padding: 56px 0 88px; }
.prose-page .bbb-wrap { max-width: 760px; }
.prose-page h1 { font-size: clamp(32px, 4.5vw, 48px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 24px; }
.prose { font-size: 17px; line-height: 1.7; color: #2a2f36; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; color: #111418; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; color: #111418; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: #0f7b5f; }
.prose .bbb-lead { max-width: none; }
.prose-crumbs { font-size: 14px; color: #5d6570; margin-bottom: 18px; }
.prose-crumbs a { color: #5d6570; text-decoration: none; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid #e6e7e9; padding: 64px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #5d6570; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #2a2f36; text-decoration: none; }
.footer-grid a:hover { color: #0f7b5f; }
.footer-about p { color: #5d6570; max-width: 32ch; margin: 14px 0 0; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #e6e7e9; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #5d6570; font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: span 2; } }
.not-found { padding: 96px 0; text-align: center; }
