:root {
    --navy: #0B132B;
    --navy-2: #131D3B;
    --ink: #0F172A;
    --body: #334155;
    --muted: #64748B;
    --line: #E2E8F0;
    --line-dark: #26324F;
    --paper: #FFFFFF;
    --mist: #F8FAFC;
    --accent: #2563EB;
    --accent-dark: #1D4ED8;
    --tint: #DBEAFE;
    --tint-ink: #1E3A8A;
    --radius: 6px;
    --head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
address { font-style: normal; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--paper); color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 1rem; line-height: 1; padding: 16px 26px; border-radius: var(--radius); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn-sm { padding: 12px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.text-link { font-family: var(--head); font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.eyebrow { font-family: var(--head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow-light { color: #A9B4CC; }
.muted { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.wordmark .emblem { width: 34px; height: 34px; flex: 0 0 34px; }
.wordmark-text { font-family: var(--head); font-size: .95rem; letter-spacing: .16em; font-weight: 500; white-space: nowrap; }
.wordmark-text strong { font-weight: 800; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 6px; background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 12px 10px; cursor: pointer; }
.nav-toggle-bar { width: 22px; height: 2px; background: #fff; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--navy); border-bottom: 1px solid var(--line-dark); padding: 12px 20px 24px; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.site-nav li a { display: block; padding: 14px 0; color: #D6DCEA; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-dark); }
.site-nav li a:hover, .site-nav li a.is-active { color: #fff; }
.site-nav li a.is-active { box-shadow: inset 0 -2px 0 var(--accent); }

.hero { background: var(--navy); color: #C9D1E3; padding: 56px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 { color: #fff; max-width: 22ch; font-size: clamp(2rem, 3.4vw, 3rem); }
.hero-lead { font-size: 1.15rem; max-width: 56ch; color: #C9D1E3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { margin: 0; border: 1px solid var(--line-dark); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.hero-media img { width: 100%; height: 320px; object-fit: cover; object-position: center 88%; }

.proof { border-bottom: 1px solid var(--line); background: var(--paper); }
.proof-grid { gap: 0; grid-template-columns: repeat(2, 1fr); }
.proof-item { padding: 22px 12px 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.proof-item:nth-last-child(-n+2) { border-bottom: 0; }
.proof-value { font-family: var(--head); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.proof-label { color: var(--muted); font-size: .95rem; }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0 72px; }
.section-muted { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); color: #C9D1E3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-lead { font-size: 1.1rem; color: var(--muted); }
.section-more { margin: 32px 0 0; }

.card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card-terms { font-family: var(--head); font-size: .85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card-dark { background: var(--navy-2); border-color: var(--line-dark); }
.step-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 32px; padding: 0 10px; margin-bottom: 18px; border-radius: 4px; background: var(--tint); color: var(--tint-ink); font-family: var(--head); font-weight: 800; font-size: .9rem; }
.pillar-index { display: block; font-family: var(--head); font-weight: 800; color: #8FA0C4; margin-bottom: 18px; letter-spacing: .1em; }

.brand-cat { font-family: var(--head); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; margin-bottom: 8px; }

.split { display: grid; gap: 40px; align-items: start; }
.leader { display: flex; flex-direction: column; gap: 16px; }
.monogram { aspect-ratio: 4 / 5; max-width: 360px; width: 100%; background: var(--navy); border: 1px solid var(--line-dark); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.monogram span { font-family: var(--head); font-size: 5rem; font-weight: 800; letter-spacing: .04em; color: #fff; }
.leader-name { font-family: var(--head); font-weight: 800; font-size: 1.2rem; color: var(--ink); margin: 0; }
.leader-role { color: var(--muted); margin: 0; }
.thesis p { font-size: 1.08rem; max-width: 62ch; }

.chart-card { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.chart-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 16px; font-size: .9rem; }
.chart-label { font-family: var(--head); font-weight: 700; color: var(--ink); }
.chart-legend { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-left: 10px; }
.dot-a { background: #94A3B8; }
.dot-b { background: var(--accent); }
.chart-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

.image-band img { width: 100%; height: 320px; object-fit: cover; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px; background: var(--paper); }
.faq summary { cursor: pointer; padding: 20px 0; font-family: var(--head); font-weight: 700; color: var(--ink); list-style-position: outside; }
.faq details p { padding-bottom: 20px; margin: 0; }

.prose h2 { font-size: 1.4rem; margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }

.cta-band { background: var(--navy); border-top: 1px solid var(--line-dark); }
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.cta-title { font-family: var(--head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -0.02em; color: #fff; max-width: 28ch; margin: 0; }

.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0; }

.apply-grid { display: grid; gap: 40px; align-items: start; }
.apply-why h2 { font-size: 1.5rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { position: relative; padding: 0 0 18px 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.check-list strong { color: var(--ink); }
.apply-note { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.apply-note p { margin: 0; }
.apply-note-title { font-family: var(--head); font-weight: 700; color: var(--ink); }
.apply-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; background: var(--paper); }
.form-title { font-size: 1.35rem; margin-bottom: 24px; }
.form-row { display: grid; gap: 0 20px; grid-template-columns: 1fr; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid #CBD5E1; border-radius: var(--radius); padding: 13px 14px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.field [aria-invalid="true"] { border-color: #B91C1C; }
.field-error { color: #B91C1C; font-size: .9rem; margin: 6px 0 0; }
.form-legal { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.alert-success, .alert-error { border: 1px solid; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.alert-success { border-color: #86EFAC; background: #F0FDF4; color: #14532D; }
.alert-error { border-color: #FCA5A5; background: #FEF2F2; color: #7F1D1D; }
.alert-success p, .alert-error p { margin: 0; }
.alert-title { font-weight: 700; margin-bottom: 4px !important; }

.site-footer { background: #070D1F; color: #A9B4CC; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 48px; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.wordmark-light { color: #fff; }
.footer-title { font-family: var(--head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .site-footer address { color: #A9B4CC; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-base { border-top: 1px solid var(--line-dark); padding-top: 22px; padding-bottom: 22px; }
.footer-base p { margin: 0; font-size: .88rem; }

@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
    .proof-item { padding: 28px 24px 28px 0; }
    .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .apply-form { padding: 36px; }
}

@media (min-width: 900px) {
}

@media (min-width: 1024px) {
    body { font-size: 17.5px; }
    .nav-toggle { display: none; }
    .site-nav { display: flex; position: static; align-items: center; gap: 36px; padding: 0; border: 0; background: none; }
    .site-nav ul { display: flex; gap: 32px; margin: 0; }
    .site-nav li a { padding: 25px 0; border: 0; font-size: .97rem; }
    .hero { padding-top: 0; }
    .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: stretch; gap: 64px; min-height: 560px; }
    .hero-copy { padding: 64px 0; align-self: center; }
    .hero-media { position: relative; border-radius: 0; border-top: 0; border-bottom: 0; margin-right: calc((100vw - min(100vw, 1240px)) / -2 - 20px); }
    .hero-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
    .proof-grid { grid-template-columns: repeat(4, 1fr); }
    .proof-item { border-bottom: 0; border-right: 1px solid var(--line); padding: 36px 28px; }
    .proof-item:first-child { padding-left: 0; }
    .proof-item:last-child { border-right: 0; }
    .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
    .section { padding: 104px 0; }
    .section-tight { padding: 64px 0 104px; }
    .split { grid-template-columns: 4fr 7fr; gap: 72px; }
    .split-even { grid-template-columns: 1fr 1fr; align-items: center; }
    .apply-grid { grid-template-columns: 5fr 7fr; gap: 72px; }
    .apply-why { position: sticky; top: 104px; }
    .page-hero { padding: 96px 0 56px; }
    .image-band img { height: 460px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .site-nav { gap: 20px; }
    .site-nav ul { gap: 20px; }
    .site-nav li a, .site-nav .btn { white-space: nowrap; }
    .site-nav .btn { padding-left: 14px; padding-right: 14px; }
    .wordmark-text { letter-spacing: .1em; }
}

.grid-12 { display: grid; gap: 20px; grid-template-columns: 1fr; }
.brand-card, .niche-card, .post-card { display: flex; flex-direction: column; }
.brand-card h3, .niche-card h3, .post-card h3 { margin-bottom: 6px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-dark); }
.brand-domain { margin: 0 0 14px; font-size: .88rem; }
.brand-domain a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.brand-domain a:hover { color: var(--accent-dark); border-bottom-color: var(--accent-dark); }
.brand-line { margin: 0; font-size: .97rem; }
.niche-card p:not(.brand-cat) { font-size: .97rem; }
.niche-card .text-link, .post-card .text-link { margin-top: auto; padding-top: 6px; }
.group-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: 40ch; margin-bottom: 28px; }
.post-media { display: block; margin: -28px -28px 20px; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--mist); }
.post-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pager-item { font-family: var(--head); font-weight: 600; font-size: .92rem; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; background: var(--paper); }
a.pager-item:hover { border-color: #94A3B8; }
.pager-item.is-off { color: var(--muted); }
.empty-card { max-width: 640px; }
.article { max-width: 760px; }
.article-media { margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-media img { display: block; width: 100%; height: auto; }
.article-body h2 { margin-top: 40px; }
.article-body h3 { margin-top: 28px; }
.article-body img { max-width: 100%; height: auto; }
.article-body ul, .article-body ol { padding-left: 1.2em; }

@media (min-width: 640px) {
    .grid-12.per-2, .grid-12.per-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .grid-12.per-1 .brand-card { flex-direction: row; align-items: center; gap: 48px; }
    .grid-12.per-1 .brand-head { flex: 0 0 34%; }
    .grid-12.per-1 .brand-domain { margin-bottom: 0; }
}

@media (min-width: 1024px) {
    .grid-12, .grid-12.per-2, .grid-12.per-4 { grid-template-columns: repeat(12, 1fr); }
    .grid-12 > .span-3 { grid-column: span 3; }
    .grid-12 > .span-4 { grid-column: span 4; }
    .grid-12 > .span-6 { grid-column: span 6; }
    .grid-12 > .span-12 { grid-column: span 12; }
}

.auth-section { background: var(--mist); }
.auth-card { max-width: 440px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px 32px; }
.auth-title { margin: 0 0 8px; font-size: 1.75rem; line-height: 1.2; text-align: center; }
.auth-lead { margin: 0 0 28px; color: var(--muted); text-align: center; }
.auth-field { margin-bottom: 18px; }
.auth-field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.auth-card input[type="email"], .auth-card input[type="text"], .auth-card input[type="password"] { display: block; width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-size: 1rem; box-shadow: none; }
.auth-card input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.auth-card .is-invalid { border-color: #B42318; }
.auth-error { margin-top: 6px; color: #B42318; font-size: .92rem; }
.auth-alert { margin-bottom: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
.auth-alert-ok { color: #166534; }
.auth-alert-error { color: #B42318; }
.auth-pass { position: relative; }
.auth-pass input { padding-right: 72px; }
.auth-toggle { position: absolute; top: 0; right: 0; height: 48px; padding: 0 14px; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: .9rem; cursor: pointer; }
.auth-toggle:hover, .auth-toggle:focus { color: var(--accent-dark); outline: none; }
.auth-check { display: flex; align-items: center; gap: 8px; margin: 4px 0 22px; color: var(--muted); }
.auth-check input { width: 16px; height: 16px; margin: 0; }
.auth-actions { display: flex; justify-content: center; margin-top: 8px; }
.auth-actions .btn { min-width: 200px; }

@media (max-width: 575.98px) {
    .auth-card { padding: 28px 18px 24px; }
}
