:root {
    --navy: #1F3A5F;
    --navy-deep: #16293F;
    --gold: #8A6D3B;
    --gold-light: #C9A45C;
    --paper: #FAF9F7;
    --white: #FFFFFF;
    --ink: #1D232E;
    --ink-soft: #4A5260;
    --ink-faint: #7A8290;
    --rule: #E3E1DC;
    --card: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--navy); line-height: 1.2; }
h1 { font-size: 2.6rem; font-weight: 700; }
h2 { font-size: 1.9rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin-bottom: 1.1rem; }
a { color: var(--navy); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.logo-img { height: 44px; width: auto; display: block; }
.site-nav { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.site-nav a:hover { color: var(--navy); }
.nav-cta { background: var(--navy); color: var(--white) !important; padding: 8px 18px; border-radius: 3px; }
.nav-cta:hover { background: var(--navy-deep); }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--rule); padding: 84px 0 76px; }
.hero h1 { max-width: 780px; margin-bottom: 1.2rem; }
.hero .lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 720px; margin-bottom: 1.8rem; }
.hero-rule { width: 64px; height: 3px; background: var(--gold); margin-bottom: 1.8rem; border: none; }
.kicker { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 12px 26px; border-radius: 3px; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { border: 1px solid var(--navy); color: var(--navy); margin-left: 12px; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* Sections */
.section { padding: 68px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2 { color: var(--white); }
.section-navy p { color: #C7D2E0; }
.section-header { margin-bottom: 2.4rem; max-width: 720px; }
.section-header .lead { color: var(--ink-soft); font-size: 1.08rem; }

/* Masthead cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 30px 28px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 0.4rem; }
.card .card-sub { flex: 0 0 auto; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.9rem; }
.card p { font-size: 0.96rem; color: var(--ink-soft); flex: 1; }
.card a.card-link { font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.card a.card-link:hover { text-decoration: underline; }

/* Tier cards */
.tier-flag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; margin-bottom: 1rem; }
.flag-now { background: #E7F0E9; color: #2E6B45; }
.flag-soon { background: #F4EDE0; color: var(--gold); }
.flag-later { background: #E8EDF4; color: var(--navy); }
.tier-list { list-style: none; margin: 0 0 1rem; }
.tier-list li { padding: 7px 0 7px 22px; position: relative; font-size: 0.95rem; color: var(--ink-soft); border-bottom: 1px solid var(--rule); }
.tier-list li:last-child { border-bottom: none; }
.tier-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 9px; height: 2px; background: var(--gold); }

/* Feature list */
.feature-list { list-style: none; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; max-width: 100% !important; }
.feature-list li { padding: 9px 0 9px 22px; position: relative; font-size: 0.97rem; color: var(--ink-soft); border-bottom: 1px solid var(--rule); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 9px; height: 2px; background: var(--gold); }
.feature-list li strong { color: var(--navy); font-weight: 600; }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } }

/* Standards page */
.standards h2 { margin-top: 2.6rem; margin-bottom: 0.8rem; }
.standards h2:first-of-type { margin-top: 0; }
.prose { max-width: 760px; }
.container.prose { max-width: 1080px; }
.container.prose > * { max-width: 760px; }
.prose .opening { font-size: 1.12rem; color: var(--ink-soft); }

/* Guarantee strip */
.guarantee { border-left: 3px solid var(--gold); padding: 6px 0 6px 22px; margin: 1.6rem 0; }
.guarantee p { margin-bottom: 0.4rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #B9C4D4; margin-top: 40px; }
.footer-inner { display: flex; gap: 60px; padding: 54px 24px 34px; flex-wrap: wrap; }
.footer-brand { max-width: 300px; }
.footer-logo { width: 220px; height: auto; display: block; margin-bottom: 14px; border: 1px solid rgba(255,255,255,0.14); border-radius: 3px; }
.footer-tag { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: var(--gold-light); font-size: 1rem; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h3 { font-family: 'Inter', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8FA0B5; margin-bottom: 0.9rem; }
.footer-col a { display: block; color: #C7D2E0; text-decoration: none; font-size: 0.92rem; margin-bottom: 0.55rem; }
.footer-col a:hover { color: var(--white); }
.footer-base { border-top: 1px solid #2A4363; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-base p { font-size: 0.82rem; color: #8FA0B5; margin: 0; }

/* Contact */
.contact-block { background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: 34px; max-width: 560px; }
.contact-block h3 { margin-bottom: 0.3rem; }
.contact-block p { color: var(--ink-soft); font-size: 0.96rem; }
.contact-email { font-size: 1.1rem; font-weight: 600; }

@media (max-width: 760px) {
    h1 { font-size: 2rem; }
    .site-header { position: static; }
    .btn-ghost { margin-left: 0; margin-top: 12px; }
    h2 { font-size: 1.5rem; }
    .hero { padding: 56px 0 48px; }
    .header-inner { flex-direction: column; gap: 12px; }
    .site-nav { justify-content: center; gap: 16px; }
    .logo-img { height: 38px; }
    .footer-inner { gap: 34px; }
}

/* Masthead logos on the Mastheads page */
.mh-sitelogo { margin-bottom: 6px; }
.sr-h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tmf-sitewordmark { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 2.1rem; letter-spacing: -0.015em; color: #1a1d24; vertical-align: middle; }
.tmf-siteaccent { color: #B8202A; }

/* Coverage stat strip */
.statstrip { padding: 34px 0 26px; background: var(--paper, #FAF9F7); }
.statstrip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.statcard { background: #1F3A5F; border-radius: 6px; padding: 22px 22px 18px; }
.statcard-n { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: #C9A45C; margin: 0 0 6px; }
.statcard-l { font-size: 0.85rem; color: #C7D2E0; line-height: 1.45; margin: 0; }
.statstrip-date { font-size: 0.75rem; color: #9AA1AC; margin: 10px 2px 0; }
@media (max-width: 760px) { .statstrip-grid { grid-template-columns: 1fr; } }

.aiframe { max-width: 780px; margin-bottom: 26px; }
.aiframe h2 { margin-bottom: 10px; }
.aiframe p { color: var(--ink-soft, #4A5260); }

.counterweight-section { padding-top: 12px; padding-bottom: 8px; }
.counterweight { max-width: 780px; border-left: 3px solid var(--gold, #8A6D3B); padding-left: 22px; color: var(--ink-soft, #4A5260); font-size: 1.02rem; }
