/* ==========================================================================
   1. ROOT VARIABLES
   ========================================================================== */
:root {
    --neon-green: #00FF41;
    --dim-green: #0D9488;
    --dark-bg: #0A0A0A;
    --text-main: #F5F5F5;
    --text-muted: #9CA3AF;
    --text-secondary: #c9d1d9;
    --border-muted: #30363d;
    --card-bg: rgba(26, 26, 26, 0.72);
    --amber: #F59E0B;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', monospace;
}

/* --- BODY & LAYOUT --- */
html, body {
    background-color: var(--dark-bg) !important;
    color: var(--text-main) !important;
    font-family: var(--font-sans) !important;
    min-height: 100vh;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Force backgrounds of all structural Ghost containers to be transparent/dark */
.gh-viewport, .gh-main, .gh-canvas, .gh-article, .article-content, .gh-head {
    background-color: transparent !important;
    color: var(--text-main) !important;
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .gh-article-title, .gh-about-title, .gh-header-title {
    font-family: var(--font-mono) !important;
    color: var(--neon-green) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

h1, .gh-article-title, .gh-header-title {
    font-size: 2.2rem;
    border-bottom: 1px solid var(--border-muted);
    padding-bottom: 0.5rem;
}

pre, code, .kg-code-card, .kg-code-card code {
    font-family: var(--font-mono) !important;
    color: var(--neon-green) !important;
    background-color: rgba(63, 185, 80, 0.07) !important;
}

pre {
    padding: 1rem 1.25rem;
    border: 1px dashed var(--dim-green);
    overflow-x: auto;
}

/* Body text */
p, li, .gh-card-excerpt, .gh-article-content,
.gh-header-description, .gh-no-posts {
    font-family: var(--font-sans) !important;
    color: var(--text-main) !important;
}

/* ==========================================================================
   3. LINKS
   ========================================================================== */
a {
    color: var(--neon-green) !important;
    text-decoration: none;
    border-bottom: 1px dashed rgba(63, 185, 80, 0.4);
}

a:hover {
    background-color: rgba(63, 185, 80, 0.1);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.cta-button:focus-visible,
.cta-primary:focus-visible,
.path-option:focus-visible,
.gh-head-menu .nav li a:focus-visible,
.gh-head-actions a:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(63, 185, 80, 0.18);
}

/* Nav and card links — no underline */
.gh-head-menu .nav li a,
.gh-head-actions a,
.gh-button,
.gh-card-title a,
.gh-card-readmore,
.gh-article-nav a,
.gh-article-tag {
    border-bottom: none;
}

/* ==========================================================================
   4. NAVIGATION & HEADER
   ========================================================================== */
.gh-head {
    border-bottom: 1px dashed var(--border-muted) !important;
}

.gh-head-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 4vmin;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.gh-head-brand,
.gh-head-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    border-bottom: none !important;
}

.gh-head-brand-lockup {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.gh-head-brand-name {
    font-family: var(--font-mono);
    color: var(--text-main);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gh-head-brand-tag {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

.gh-head-menu {
    margin-left: auto !important;
    margin-right: 2rem !important;
}

.gh-head-menu .nav {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-head-menu .nav li a {
    text-transform: uppercase;
    text-decoration: none;
}

/* Nav Brackets */
.gh-head-menu .nav li a::before { content: "["; opacity: 0.7; color: var(--dim-green); }
.gh-head-menu .nav li a::after  { content: "]"; opacity: 0.7; color: var(--dim-green); }

.gh-head-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.gh-head-actions a, .gh-button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-transform: uppercase;
}

.gh-head-actions a::before, .gh-button::before { content: "["; opacity: 0.7; color: var(--dim-green); margin-right: 4px; }
.gh-head-actions a::after,  .gh-button::after  { content: "]"; opacity: 0.7; color: var(--dim-green); margin-left: 4px; }

/* Primary header CTA — distinct border */
.gh-head-cta {
    border: 1px solid var(--neon-green) !important;
    padding: 0.3rem 0.6rem !important;
}

/* ==========================================================================
   5. CUSTOM SVG LOGO STYLES & ANIMATIONS
   ========================================================================== */
.cyber-logo-svg {
    width: 200px;
    height: auto;
}
.cyber-line { fill: none; stroke: var(--neon-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cyber-fill { fill: var(--neon-green); }

@keyframes lightBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}
@keyframes fastBlink {
    0%, 100% { opacity: 1; }
    25%       { opacity: 0; }
    50%       { opacity: 1; }
    75%       { opacity: 0; }
}
.light-1 { animation: lightBlink 2s infinite; }
.light-2 { animation: fastBlink 1.5s infinite; }
.light-3 { animation: lightBlink 3s infinite 1s; }
.light-4 { animation: fastBlink 0.8s infinite; }
.light-5 { animation: lightBlink 2.5s infinite 0.5s; }

/* ==========================================================================
   6. POST FEED (index.hbs)
   ========================================================================== */
.gh-postfeed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 4vmin;
    max-width: 860px;
    margin: 0 auto;
}

.gh-card {
    border: 1px dashed var(--border-muted);
    padding: 1.5rem;
}

.gh-card:hover {
    border-color: var(--neon-green);
    background-color: rgba(63, 185, 80, 0.03);
}

.gh-card-title {
    margin: 0 0 0.5rem;
}

.gh-card-excerpt {
    margin: 0.5rem 0;
    color: var(--text-muted);
}

.gh-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.85em;
    align-items: center;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.gh-card-readmore {
    margin-left: auto;
}

.gh-header-description {
    color: var(--text-muted);
    margin: 0.5rem 0 2rem;
}

.gh-no-posts {
    color: var(--text-muted);
    padding: 2rem 4vmin;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    font-size: 0.9em;
}

/* ==========================================================================
   7. SYSTEM ALERT / CTA BLOCK
   ========================================================================== */
.system-alert {
    border-left: 4px solid var(--neon-green);
    background: rgba(63, 185, 80, 0.05);
    padding: 1.5rem;
    margin: 2rem auto;
    border-radius: 0 4px 4px 0;
    max-width: 860px;
}

.system-alert h2, .system-alert h3 {
    margin-top: 0;
    border-bottom: none;
}

.cta-button, a.cta-button {
    display: inline-block;
    font-family: var(--font-mono);
    background: transparent;
    color: var(--neon-green) !important;
    border: 1px solid var(--neon-green) !important;
    border-bottom: 1px solid var(--neon-green) !important;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 0.9em;
}

.cta-button:hover, a.cta-button:hover {
    background: var(--neon-green);
    color: var(--dark-bg) !important;
}

/* ==========================================================================
   8. SINGLE POST (post.hbs)
   ========================================================================== */
.gh-article {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 4vmin;
}

.gh-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0 2rem;
    font-size: 0.85em;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.gh-article-image {
    margin: 0 0 2rem;
}

.gh-article-image img {
    width: 100%;
    height: auto;
    border: 1px dashed var(--border-muted);
}

.gh-article-content {
    line-height: 1.8;
}

.gh-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-muted);
    font-size: 0.9em;
    font-family: var(--font-mono);
}

.gh-article-nav a {
    max-width: 45%;
}

/* ==========================================================================
   9. KOENIG EDITOR REQUIRED CLASSES
   ========================================================================== */
.kg-width-wide {
    margin-left: calc(50% - 50vw + 2rem);
    margin-right: calc(50% - 50vw + 2rem);
    max-width: calc(100vw - 4rem);
}

.kg-width-full {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}

.kg-width-wide img,
.kg-width-full img {
    width: 100%;
    height: auto;
    border: 1px dashed var(--border-muted);
}

/* ==========================================================================
   10. HERO SECTION
   ========================================================================== */
.hero-terminal {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 4vmin 2rem;
}

.hero-prompt {
    font-family: var(--font-mono);
    color: var(--dim-green);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: block;
}

.hero-prompt::after {
    content: "\2588";
    animation: blink-cursor 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero-headline {
    font-size: 2.6rem !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-top: 0.5rem !important;
    line-height: 1.15;
}

.hero-subline {
    font-family: var(--font-sans);
    color: var(--text-main);
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 1rem 0 1.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Filled primary CTA button */
.cta-primary, a.cta-primary {
    display: inline-block;
    font-family: var(--font-mono);
    background: var(--neon-green);
    color: var(--dark-bg) !important;
    border: 1px solid var(--neon-green) !important;
    border-bottom: 1px solid var(--neon-green) !important;
    padding: 0.6rem 1.25rem;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
}

.cta-primary:hover, a.cta-primary:hover {
    background: transparent;
    color: var(--neon-green) !important;
    box-shadow: 0 0 14px rgba(63, 185, 80, 0.35);
}

/* ==========================================================================
   11. PAIN SECTION
   ========================================================================== */
.pain-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 4vmin;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pain-card {
    border: 1px dashed var(--border-muted);
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.pain-card:hover {
    border-color: var(--neon-green);
    background-color: rgba(63, 185, 80, 0.03);
}

.pain-card h3 {
    font-size: 1rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.pain-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.pain-icon {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ==========================================================================
   12. PROOF BAR
   ========================================================================== */
.proof-bar {
    display: flex;
    justify-content: space-around;
    border-top: 1px dashed var(--neon-green);
    border-bottom: 1px dashed var(--neon-green);
    padding: 2rem 4vmin;
    max-width: 860px;
    margin: 0 auto;
}

.proof-stat {
    text-align: center;
}

.proof-number {
    display: block;
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.proof-label {
    display: block;
    font-family: var(--font-sans);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.4rem;
}

/* ============================================================
   HOMEPAGE PROOF SHOWCASE + STATUS MATRIX
   ============================================================ */
.proof-showcase {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 4vmin 2rem;
}

.proof-showcase-copy h2 {
    margin-top: 0.25rem !important;
    border-bottom: none !important;
}

.proof-showcase-copy p {
    max-width: 700px;
    color: var(--text-muted);
    margin: 0.5rem 0 1.5rem;
}

.proof-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.proof-panel {
    padding: 1.35rem;
    border: 1px dashed var(--border-muted);
    background: var(--card-bg);
}

.proof-panel-cloud {
    border-color: rgba(248, 81, 73, 0.45);
    background: rgba(248, 81, 73, 0.05);
}

.proof-panel-local {
    border-color: rgba(63, 185, 80, 0.5);
    background: rgba(63, 185, 80, 0.05);
}

.proof-panel-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.proof-line,
.proof-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.86rem;
}

.proof-line {
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--border-muted);
    color: var(--text-main);
}

.proof-line strong,
.proof-total strong {
    color: var(--text-main);
    font-weight: 700;
}

.proof-total {
    margin-top: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.proof-total-good strong {
    color: var(--neon-green);
}

.proof-log {
    margin: 0;
    min-height: 172px;
    font-size: 0.8rem;
    line-height: 1.8;
    background: rgba(13, 17, 23, 0.9) !important;
}

.proof-cta-strip {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px dashed var(--border-muted);
    background: rgba(63, 185, 80, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.proof-cta-strip a {
    border-bottom: none;
}

.status-matrix {
    border: 1px dashed var(--border-muted);
    background: var(--card-bg);
    margin-top: 1.5rem;
}

.status-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px dashed var(--border-muted);
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

.status-matrix-four .status-row {
    grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
}

.status-row:last-child {
    border-bottom: none;
}

.status-header {
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.status-bad {
    color: #ff7b72;
}

.status-good {
    color: var(--neon-green);
}

/* ==========================================================================
   13. CASE STUDY / BEFORE-AFTER
   ========================================================================== */
.case-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 4vmin;
}

.case-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.case-before {
    border: 1px dashed var(--border-muted);
    padding: 1.5rem;
    background: rgba(248, 81, 73, 0.04);
}

.case-after {
    border: 1px solid var(--neon-green);
    padding: 1.5rem;
    background: rgba(63, 185, 80, 0.05);
}

.case-label {
    font-size: 0.85rem !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    letter-spacing: 2px;
}

.case-before .case-label {
    color: rgba(248, 81, 73, 0.8) !important;
}

.case-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 2.2;
    color: var(--text-muted);
}

.case-after .case-list {
    color: var(--text-main);
}

/* ==========================================================================
   14. OFFER CARD (AUDIT)
   ========================================================================== */
.offer-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 4vmin;
}

.offer-card {
    border: 2px solid var(--neon-green);
    padding: 2rem;
    background: rgba(63, 185, 80, 0.05);
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.offer-header h2 {
    margin: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.offer-price-block {
    text-align: right;
}

.offer-price {
    display: block;
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.offer-price-note {
    display: block;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.offer-deliverables {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.offer-deliverables li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--border-muted);
    color: var(--text-main);
}

.offer-deliverables li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   15. LEAD MAGNET
   ========================================================================== */
.lead-magnet {
    max-width: 860px;
    margin: 2rem auto;
    border: 2px dashed var(--neon-green);
    padding: 2.5rem 2rem;
    background: rgba(63, 185, 80, 0.07);
}

.lead-magnet h2 {
    margin-top: 0 !important;
    border-bottom: none !important;
}

.lead-magnet-contents {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.lead-magnet-contents li {
    padding: 0.3rem 0;
    color: var(--text-main);
}

.lead-magnet-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    font-family: var(--font-mono);
}

/* ==========================================================================
   16. BLOG SECTION HEADING
   ========================================================================== */
.blog-section {
    max-width: 860px;
    margin: 2rem auto 0;
    padding: 0 4vmin;
}

.blog-section-heading {
    margin-bottom: 0 !important;
}

/* ==========================================================================
   17. TIER CARDS (START HERE PAGE)
   ========================================================================== */
.tier-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 4vmin;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tier-card {
    border: 1px dashed var(--border-muted);
    padding: 1.5rem;
}

.tier-card.featured {
    border: 2px solid var(--neon-green);
    background: rgba(63, 185, 80, 0.05);
}

.tier-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--dark-bg);
    background: var(--neon-green);
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.tier-price {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    margin: 0.5rem 0 0.25rem;
}

.tier-name {
    font-size: 0.95rem !important;
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
}

.tier-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 2;
}

/* ==========================================================================
   18. RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
    .pain-grid,
    .case-compare,
    .tier-grid,
    .proof-split {
        grid-template-columns: 1fr;
    }

    .hero-headline {
        font-size: 1.8rem !important;
    }

    .proof-bar {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .offer-header {
        flex-direction: column;
    }

    .offer-price-block {
        text-align: left;
    }

    .status-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .status-matrix-four .status-row {
        grid-template-columns: 1fr;
    }
}

/* ─── SITE FOOTER ──────────────────────────────────────────── */
.site-footer {
    border-top: 1px dashed var(--border-muted);
    margin-top: 4rem;
    padding: 2rem 4vmin;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}
.footer-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.5rem;
}
.footer-label {
    color: var(--text-muted);
    white-space: nowrap;
}
.footer-link {
    color: var(--neon-green) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-bottom: none !important;
}
.footer-link:hover { text-decoration: underline dashed; }
.footer-tag {
    color: var(--text-muted);
    font-size: 0.7rem;
}
.footer-copy {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.footer-divider { color: var(--border-muted); }
.footer-audit-link {
    color: var(--neon-green) !important;
    text-decoration: none;
}
.footer-audit-link:hover { text-decoration: underline dashed; }

@media (max-width: 600px) {
    .footer-stack { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

/* ============================================================
   SCROLL PADDING — compensates for sticky announcement bar
   ============================================================ */
html {
    scroll-padding-top: 42px;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(63, 185, 80, 0.07);
    border-bottom: 1px solid var(--neon-green);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.announcement-label {
    color: var(--neon-green);
    font-weight: 600;
}
.announcement-msg {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    text-align: center;
    max-width: 980px;
}
.announcement-cta {
    color: var(--neon-green) !important;
    text-decoration: none;
    border: 1px solid var(--neon-green);
    padding: 0.15rem 0.5rem;
    white-space: nowrap;
    transition: background 0.15s;
}
.announcement-cta:hover {
    background: rgba(63, 185, 80, 0.15);
    text-decoration: none !important;
}
@media (max-width: 480px) {
    .announcement-msg { font-size: 0.72rem; }
    .announcement-bar { gap: 0.4rem; }
}

/* ============================================================
   BLUEPRINT 3-COLUMN GRID (Homepage lead magnet)
   ============================================================ */
.blueprint-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 0 0 0.5rem;
}
.blueprint-card {
    border: 1px dashed var(--border-muted);
    padding: 1.25rem;
    background: var(--card-bg);
    transition: border-color 0.2s;
}
.blueprint-card:hover {
    border-color: var(--neon-green);
}
.blueprint-card h3 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--neon-green);
    letter-spacing: 0.06em;
    margin: 0.5rem 0 0.6rem;
    text-transform: uppercase;
}
.blueprint-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}
.blueprint-image-placeholder {
    border: 1px dashed var(--border-muted);
    background: rgba(13, 17, 23, 0.6);
    padding: 0.75rem;
    margin: 0.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}
.blueprint-image-placeholder span { display: block; }
@media (max-width: 768px) {
    .blueprint-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AUDIT SAMPLE — blurred "Look Inside" deliverable
   ============================================================ */
.audit-sample-wrapper {
    position: relative;
    border: 1px dashed var(--border-muted);
    overflow: hidden;
    border-radius: 4px;
}
.audit-sample-blur {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}
.audit-sample-doc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.audit-sample-section {
    padding: 1.25rem 1.5rem;
    border-right: 1px dashed var(--border-muted);
    border-bottom: 1px dashed var(--border-muted);
    background: rgba(13, 17, 23, 0.8);
}
.audit-sample-section:nth-child(even) { border-right: none; }
.audit-sample-section:nth-last-child(-n+2) { border-bottom: none; }
.audit-sample-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}
.audit-sample-section h4 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.5rem;
}
.audit-sample-section p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}
.audit-sample-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(13, 17, 23, 0.55);
    backdrop-filter: blur(1px);
}
.audit-sample-overlay-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}
@media (max-width: 600px) {
    .audit-sample-doc { grid-template-columns: 1fr; }
    .audit-sample-section { border-right: none; }
    .audit-sample-section:nth-last-child(-n+2) { border-bottom: 1px dashed var(--border-muted); }
    .audit-sample-section:last-child { border-bottom: none; }
}

/* ============================================================
   FUNNEL STEPS (Start Here linear path)
   ============================================================ */
.funnel-steps {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 4vmin;
}
.funnel-steps h2 {
    margin-bottom: 2rem;
}
.funnel-step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem;
    border: 1px dashed var(--border-muted);
    background: rgba(63, 185, 80, 0.02);
    transition: border-color 0.2s;
}
.funnel-step:hover {
    border-color: var(--neon-green);
    background: rgba(63, 185, 80, 0.05);
}
.funnel-step-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-green);
    letter-spacing: 0.06em;
    padding-top: 0.2rem;
}
.funnel-step-body h3 {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.5rem;
}
.funnel-step-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
    line-height: 1.6;
}
.funnel-step-connector {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--border-muted);
    text-align: center;
    padding: 0.4rem 0;
    letter-spacing: 0.05em;
}
@media (max-width: 600px) {
    .funnel-step { grid-template-columns: 1fr; gap: 0.5rem; }
    .funnel-step-number { padding-top: 0; }
}

/* ============================================================
   NAV SUBTEXT — injected via CSS, Ghost Admin stays editable
   ============================================================ */
.nav-blueprint > a::after,
.nav-briefings > a::after,
.nav-hardware > a::after,
.nav-assess > a::after {
    color: var(--text-muted);
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    font-weight: 400;
}
.nav-blueprint > a::after  { content: "] // DIY_PLAN"; }
.nav-briefings > a::after  { content: "] // CASE_STUDIES"; }
.nav-hardware > a::after   { content: "] // HARDWARE_STACK"; }
.nav-assess > a::after     { content: "] // INFRASTRUCTURE_SERVICE"; }

/* ============================================================
   SYSTEM STATS — practitioner social proof strip
   ============================================================ */
.system-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto;
    padding: 0.9rem 4vmin;
    background: rgba(63, 185, 80, 0.03);
    border-bottom: 1px dashed var(--border-muted);
    gap: 1.5rem;
}
.system-stat { text-align: center; }
.system-stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--neon-green);
    letter-spacing: 0.05em;
}
.system-stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
}
@media (max-width: 600px) {
    .system-stats { justify-content: flex-start; gap: 1rem; }
}

/* ============================================================
   TIER HELPER — "Which Tier?" quick-scan self-selector table
   ============================================================ */
.tier-helper {
    max-width: 860px;
    margin: 0 auto 1.5rem;
    border: 1px dashed var(--border-muted);
    font-family: var(--font-mono);
}
.tier-helper-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 0.7fr;
    padding: 0.55rem 1rem;
    border-bottom: 1px dashed var(--border-muted);
    font-size: 0.82rem;
    gap: 0.5rem;
    align-items: center;
}

.tier-helper-four .tier-helper-row {
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
}
.tier-helper-row:last-child { border-bottom: none; }
.tier-helper-header { color: var(--text-muted); font-size: 0.72rem; }
.tier-helper-row:not(.tier-helper-header) { color: var(--text-main); }
.tier-helper-row:not(.tier-helper-header):hover { background: rgba(63, 185, 80, 0.04); }
@media (max-width: 600px) {
    .tier-helper-row { grid-template-columns: 1fr; gap: 0.15rem; }
    .tier-helper-four .tier-helper-row { grid-template-columns: 1fr; }
    .tier-helper-row span:first-child { color: var(--text-muted); font-size: 0.72rem; }
}

/* ============================================================
   BOTTOM CTA — no dead ends at page bottom
   ============================================================ */
.bottom-cta {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 4vmin 2rem;
    border-top: 1px dashed var(--border-muted);
    text-align: center;
}
.bottom-cta .hero-ctas { justify-content: center; }

/* ==========================================================================
   TOUCH TARGETS — TikTok / mobile (Apple HIG: 44px minimum)
   ========================================================================== */
.cta-button, a.cta-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
}

.announcement-cta {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   POST FOOTER CTA — subscribe block at end of every article
   ========================================================================== */
.post-subscribe-cta {
    border-left: 4px solid var(--neon-green);
    background: rgba(63, 185, 80, 0.05);
    padding: 1.75rem 1.5rem;
    margin: 3rem 0 1.5rem;
    border-radius: 0 4px 4px 0;
}

.post-subscribe-cta .post-cta-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    letter-spacing: 0.05em;
}

.post-subscribe-cta h3 {
    margin: 0 0 0.5rem;
    border-bottom: none;
    font-size: 1.2rem;
}

.post-subscribe-cta p {
    color: var(--text-muted);
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   ACCESSIBILITY — respect prefers-reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   DUAL LEAD MAGNET CARDS + 3-PATH SELECTOR + BEGINNER HERO SUBLINE
   ========================================================================== */

/* Beginner subline in hero */
.hero-subline-beginner {
    font-size: 0.88em;
    color: var(--text-muted);
    margin-top: 0.4rem;
}
.hero-beginner-link {
    color: var(--neon-green);
    text-decoration: none;
}
.hero-beginner-link:hover { text-decoration: underline; }

/* Dual persona lead magnet cards */
.lead-magnet-dual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.lead-magnet-card {
    background: var(--card-bg);
    border: 1px solid var(--border-muted);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.lead-magnet-card h3 {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--neon-green);
    letter-spacing: 0.08em;
    border-bottom: none;
}
.lead-magnet-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    flex: 1;
}
.lead-magnet-card .cta-primary,
.lead-magnet-card .cta-button {
    align-self: flex-start;
    margin-top: 0.5rem;
}
@media (max-width: 640px) {
    .lead-magnet-dual { grid-template-columns: 1fr; }
}

/* 3-path selector (bottom CTA) */
.path-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
    width: 100%;
}
.path-option {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem;
    border: 1px solid var(--border-muted);
    background: var(--card-bg);
    text-decoration: none;
    transition: border-color 0.2s;
}
.path-option:hover { border-color: var(--neon-green); }
.path-option-primary {
    border-color: var(--neon-green);
}
.path-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}
.path-action {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--neon-green);
    letter-spacing: 0.04em;
}
.path-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}
@media (max-width: 700px) {
    .path-selector { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    .gh-head-menu {
        margin: 0 !important;
        width: 100%;
        order: 3;
    }

    .gh-head-menu .nav {
        flex-wrap: wrap;
        gap: 0.8rem 1rem;
    }

    .gh-head-actions {
        margin-left: auto;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .gh-head-brand-lockup {
        display: none;
    }

    .gh-head-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
