/* Speedy Sites — Default theme */

:root {
    --brand-navy: #0a2540;
    --brand-gold: #d4a04d;
    --text-primary: #1a1a1a;
    --text-secondary: #5c5c5c;
    --paper: #fbfaf7;
    --line: #e8e4d8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Arial, "Helvetica Neue", sans-serif;
    color: var(--text-primary);
    background: var(--paper);
    line-height: 1.6;
}
a { color: var(--brand-navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-gold); }

/* ── Site chrome ──────────────────────────────────────────────────────── */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.site-title {
    color: var(--brand-navy);
    font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
    text-decoration: none;
}
.site-title:hover { color: var(--brand-navy); }
.site-tagline { color: var(--text-secondary); font-size: 13px; font-style: italic; }
.site-nav a {
    color: var(--text-primary);
    font-size: 14px; font-weight: 500;
    margin-left: 22px;
    text-decoration: none;
}
.site-nav a:hover { color: var(--brand-gold); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow .wrap { max-width: 680px; }
.wide .wrap { max-width: 1280px; }

/* ── Page body ───────────────────────────────────────────────────────── */
.page-hero {
    padding: 56px 0 32px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
    color: var(--brand-gold);
    font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
    margin-bottom: 8px;
}
.page-hero h1 {
    color: var(--brand-navy);
    font-size: 42px; font-weight: 700; letter-spacing: -0.015em;
    margin: 0 0 8px; line-height: 1.15;
}
.page-hero .lede { color: var(--text-secondary); font-size: 17px; max-width: 640px; font-style: italic; }

.page-body { padding: 40px 0 80px; }
.page-body h2 { color: var(--brand-navy); font-size: 28px; margin: 36px 0 14px; }
.page-body h3 { color: var(--brand-navy); font-size: 22px; margin: 30px 0 12px; }
.page-body p, .page-body li { font-size: 16px; line-height: 1.7; }
.page-body ul, .page-body ol { padding-left: 22px; }
.page-body img { max-width: 100%; height: auto; border-radius: 4px; }
.page-body blockquote {
    border-left: 3px solid var(--brand-gold);
    padding: 4px 0 4px 18px;
    margin: 22px 0;
    color: var(--text-secondary); font-style: italic;
}
.page-body code {
    background: var(--line);
    padding: 1px 6px; border-radius: 3px;
    font-family: ui-monospace, monospace; font-size: 14px;
}
.page-body table {
    width: 100%; border-collapse: collapse; margin: 18px 0;
    font-size: 15px;
}
.page-body th, .page-body td {
    padding: 10px 12px; text-align: left;
    border-bottom: 1px solid var(--line);
}
.page-body th { background: var(--brand-navy); color: #fff; font-weight: 600; }

/* ── Site footer ─────────────────────────────────────────────────────── */
.site-footer {
    background: var(--brand-navy);
    color: rgba(255,255,255,.85);
    padding: 32px 0 18px;
    margin-top: 60px;
    font-size: 14px;
}
.site-footer a { color: var(--brand-gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .grid {
    display: grid; grid-template-columns: 2fr 1fr; gap: 32px; margin-bottom: 24px;
}
.site-footer h4 {
    color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px;
}
.site-footer .bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 14px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: rgba(255,255,255,.55);
}
.attribution { color: rgba(255,255,255,.55); }

/* ── Under Construction ──────────────────────────────────────────────── */
.uc-wrap {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 32px;
    background: linear-gradient(180deg, var(--paper) 0%, #f4f1e8 100%);
}
.uc-card {
    max-width: 540px;
}
.uc-card .eyebrow {
    color: var(--brand-gold);
    font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
    margin-bottom: 14px;
}
.uc-card h1 {
    color: var(--brand-navy);
    font-size: 44px; font-weight: 700; letter-spacing: -0.015em;
    margin: 0 0 14px; line-height: 1.15;
}
.uc-card p { font-size: 17px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 8px; }
.uc-card .small { color: #999; font-size: 12px; margin-top: 32px; }

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .site-header .wrap { flex-direction: column; gap: 10px; }
    .site-nav a { margin: 0 10px; }
    .page-hero h1 { font-size: 30px; }
    .site-footer .grid { grid-template-columns: 1fr; }
    .site-footer .bottom { flex-direction: column; gap: 6px; }
    .uc-card h1 { font-size: 32px; }
}
