/* ============================================
   PRACHAR THEME — ankitdwivedi.com
   Dark portfolio theme for Product Marketing

   TYPOGRAPHY UPDATE: "bigger focus, less cognitive load, next-gen"
   All changes marked with CHANGED or ADDED comments.
   ============================================ */

/* --- Self-hosted Inter Font --- */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- Page Transition --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 18px;
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    background: #090909;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    /* CHANGED: line-height 1.6 -> 1.7 — dark backgrounds need more generous leading */
    line-height: 1.7;
    /* ADDED: slight positive letter-spacing on body for dark-bg legibility */
    letter-spacing: 0.005em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    /* CHANGED: line-height 1.15 -> 1.2 — more breathing room on dark bg */
    line-height: 1.2;
    /* CHANGED: letter-spacing -0.02em -> -0.035em — tighter, more commanding headlines */
    letter-spacing: -0.035em;
}

/* --- Layout --- */
.pr-main {
    max-width: 1200px;
    margin: 0 auto;
    /* CHANGED: padding 0 24px -> 0 32px — more breathing room */
    padding: 0 32px;
}

/* --- Header / Navigation --- */
.pr-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(9, 9, 9, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pr-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    /* CHANGED: padding 16px 24px -> 18px 32px — taller, more spacious header */
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pr-logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.pr-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.pr-nav-link {
    /* CHANGED: font-size 0.85rem -> 0.88rem */
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.pr-nav-link:hover {
    color: #fff;
}

.pr-nav-cta {
    color: #090909 !important;
    background: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.pr-nav-cta:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.pr-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.pr-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s;
}

.pr-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.pr-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.pr-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.pr-hero {
    /* CHANGED: padding 160px 0 100px -> 180px 0 120px — more vertical space */
    padding: 180px 0 120px;
    animation: fadeIn 0.6s ease-out;
    position: relative;
}

.pr-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(ellipse at 20% 50%, rgba(74, 222, 128, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.pr-hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -5%;
    width: 40%;
    height: 50%;
    background: radial-gradient(ellipse at 80% 40%, rgba(96, 165, 250, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* --- Work Sections --- */

.pr-section {
    /* CHANGED: margin-bottom 80px -> 100px — stronger visual separation */
    margin-bottom: 100px;
}

.pr-section-title {
    /* CHANGED: 2.5rem -> clamp(2rem, 4vw, 3rem) — fluid, bigger on desktop, anchor points */
    font-size: clamp(2rem, 4vw, 3rem);
    /* CHANGED: color 0.4 -> 0.55 — section titles now visible anchor points */
    color: rgba(255, 255, 255, 0.55);
    /* CHANGED: margin-bottom 40px -> 48px */
    margin-bottom: 48px;
    letter-spacing: -0.03em;
    /* ADDED: line-height for large headings */
    line-height: 1.15;
}

/* --- Grid --- */
.pr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* CHANGED: gap 24px -> 28px */
    gap: 28px;
}

/* --- Case Study Card --- */
.pr-card {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pr-card-accent {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.pr-card[data-accent="positioning-gtm"] .pr-card-accent { background: #4ADE80; }
.pr-card[data-accent="demand-gen"] .pr-card-accent { background: #60A5FA; }
.pr-card[data-accent="sales-enablement"] .pr-card-accent { background: #F472B6; }

.pr-card-content {
    /* CHANGED: padding 28px -> 32px — more internal breathing room */
    padding: 32px;
}

.pr-card-tag {
    display: inline-block;
    /* CHANGED: font-size 0.7rem -> 0.75rem */
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    /* CHANGED: color 0.4 -> 0.55 — WCAG AA */
    color: rgba(255, 255, 255, 0.55);
    /* CHANGED: margin-bottom 12px -> 14px */
    margin-bottom: 14px;
}

.pr-card[data-accent="positioning-gtm"] .pr-card-tag { color: #4ADE80; }
.pr-card[data-accent="demand-gen"] .pr-card-tag { color: #60A5FA; }
.pr-card[data-accent="sales-enablement"] .pr-card-tag { color: #F472B6; }

.pr-card-title {
    /* CHANGED: font-size 1.35rem -> 1.5rem — glanceable readability */
    font-size: 1.5rem;
    font-weight: 700;
    /* CHANGED: margin-bottom 8px -> 12px */
    margin-bottom: 12px;
    /* CHANGED: letter-spacing -0.02em -> -0.03em — tighter headlines */
    letter-spacing: -0.03em;
    /* CHANGED: line-height 1.3 -> 1.35 — dark-bg leading */
    line-height: 1.35;
}

.pr-card-excerpt {
    /* CHANGED: font-size 0.88rem -> 0.95rem — readability at a glance */
    font-size: 0.95rem;
    /* CHANGED: color 0.6 -> 0.65 — better contrast */
    color: rgba(255, 255, 255, 0.65);
    /* CHANGED: line-height 1.55 -> 1.65 — generous dark-bg leading */
    line-height: 1.65;
}

.pr-card-arrow {
    /* CHANGED: margin-top 16px -> 20px */
    margin-top: 20px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s, transform 0.3s;
}

.pr-card:hover .pr-card-arrow {
    color: #fff;
}

/* Fallback — show cards immediately if JS disabled.
   Scroll reveal opacity/transform is set in premium.css section 10. */
.no-js .pr-card {
    opacity: 1;
    transform: none;
}

/* --- Post Layout --- */
.pr-post {
    /* CHANGED: padding 120px 0 80px -> 140px 0 100px */
    padding: 140px 0 100px;
    /* CHANGED: max-width 680px -> 720px — slightly wider, more comfortable reading */
    max-width: 720px;
    margin: 0 auto;
}

.pr-post-header {
    /* CHANGED: margin-bottom 48px -> 56px */
    margin-bottom: 56px;
}

.pr-back-link {
    display: inline-block;
    /* CHANGED: font-size 0.8rem -> 0.85rem */
    font-size: 0.85rem;
    /* CHANGED: color 0.4 -> 0.55 — WCAG AA */
    color: rgba(255, 255, 255, 0.55);
    /* CHANGED: margin-bottom 24px -> 28px */
    margin-bottom: 28px;
    transition: color 0.2s;
}

.pr-back-link:hover {
    color: #fff;
}

.pr-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    /* CHANGED: margin-bottom 16px -> 20px */
    margin-bottom: 20px;
    /* CHANGED: font-size 0.8rem -> 0.85rem */
    font-size: 0.85rem;
    /* CHANGED: color 0.4 -> 0.55 — WCAG AA */
    color: rgba(255, 255, 255, 0.55);
}

.pr-post-tag {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pr-post-tag[data-accent="positioning-gtm"] { color: #4ADE80; }
.pr-post-tag[data-accent="demand-gen"] { color: #60A5FA; }
.pr-post-tag[data-accent="sales-enablement"] { color: #F472B6; }

.pr-post-title {
    /* CHANGED: 2.8rem -> clamp(2.2rem, 5vw, 3.25rem) — fluid, bigger */
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    /* CHANGED: letter-spacing -0.03em -> -0.04em — tighter for display */
    letter-spacing: -0.04em;
    /* CHANGED: line-height 1.1 -> 1.15 */
    line-height: 1.15;
}

.pr-post-excerpt {
    /* CHANGED: margin-top 16px -> 20px */
    margin-top: 20px;
    /* CHANGED: font-size 1.1rem -> 1.15rem */
    font-size: 1.15rem;
    /* CHANGED: color 0.6 -> 0.65 */
    color: rgba(255, 255, 255, 0.65);
    /* CHANGED: line-height 1.5 -> 1.65 — dark-bg comfort */
    line-height: 1.65;
    /* ADDED: explicit font-weight for excerpt body text */
    font-weight: 400;
}

.pr-post-feature {
    /* CHANGED: margin-bottom 48px -> 56px */
    margin-bottom: 56px;
    border-radius: 8px;
    overflow: hidden;
}

/* Ghost content styles — POST BODY TEXT */
.gh-content {
    /* CHANGED: font-size 1.05rem -> 1.1rem — reading comfort on dark backgrounds */
    font-size: 1.1rem;
    /* CHANGED: line-height 1.75 -> 1.8 — generous dark-bg leading */
    line-height: 1.8;
    /* CHANGED: color 0.85 -> 0.88 — aiming for WCAG AAA (~15:1 contrast) */
    color: rgba(255, 255, 255, 0.88);
    /* ADDED: letter-spacing for body text legibility */
    letter-spacing: 0.005em;
}

.gh-content h2 {
    /* CHANGED: 1.8rem -> clamp(1.6rem, 3vw, 2rem) — fluid */
    font-size: clamp(1.6rem, 3vw, 2rem);
    /* CHANGED: margin 56px 0 20px -> 64px 0 24px — more whitespace */
    margin: 64px 0 24px;
    color: #fff;
    /* ADDED: tighter tracking for sub-headings */
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.gh-content h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    margin: 52px 0 20px;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.gh-content h4 {
    font-size: 1.2rem;
    margin: 40px 0 16px;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.gh-content h5 {
    font-size: 1.05rem;
    margin: 32px 0 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gh-content h6 {
    font-size: 0.9rem;
    margin: 28px 0 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Ghost Koenig wide/full width images */
.gh-content .kg-width-wide {
    max-width: min(1040px, calc(100vw - 64px));
    width: calc(100vw - 64px);
    margin-left: calc(50% - 50vw + 32px);
    margin-right: calc(50% - 50vw + 32px);
}

.gh-content .kg-width-full {
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.gh-content .kg-width-full img {
    border-radius: 0;
}

.gh-content p {
    /* CHANGED: margin-bottom 24px -> 28px */
    margin-bottom: 28px;
}

.gh-content a {
    color: #60A5FA;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gh-content a:hover {
    color: #93C5FD;
}

.gh-content ul, .gh-content ol {
    /* CHANGED: margin 0 0 24px 24px -> 0 0 28px 24px */
    margin: 0 0 28px 24px;
}

.gh-content li {
    /* CHANGED: margin-bottom 8px -> 10px */
    margin-bottom: 10px;
    /* ADDED: line-height for list items */
    line-height: 1.75;
}

.gh-content blockquote {
    border-left: 3px solid #4ADE80;
    /* CHANGED: padding 16px 24px -> 20px 28px */
    padding: 20px 28px;
    /* CHANGED: margin 32px 0 -> 36px 0 */
    margin: 36px 0;
    background: rgba(74, 222, 128, 0.05);
    border-radius: 0 8px 8px 0;
    /* CHANGED: font-size 1.1rem -> 1.15rem */
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    /* ADDED: line-height for blockquote readability */
    line-height: 1.7;
}

.gh-content pre {
    background: rgba(255, 255, 255, 0.05);
    /* CHANGED: padding 20px -> 24px */
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    /* CHANGED: margin-bottom 24px -> 28px */
    margin-bottom: 28px;
    font-size: 0.85rem;
    /* ADDED: line-height for code readability */
    line-height: 1.65;
}

.gh-content code {
    font-family: 'SF Mono', Monaco, Consolas, monospace;
}

.gh-content img {
    border-radius: 8px;
    /* CHANGED: margin 32px 0 -> 40px 0 */
    margin: 40px 0;
}

.gh-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* CHANGED: margin 48px 0 -> 56px 0 */
    margin: 56px 0;
}

.gh-content figcaption {
    text-align: center;
    /* CHANGED: font-size 0.8rem -> 0.82rem */
    font-size: 0.82rem;
    /* CHANGED: color 0.4 -> 0.55 — WCAG AA */
    color: rgba(255, 255, 255, 0.55);
    /* CHANGED: margin-top 8px -> 12px */
    margin-top: 12px;
    /* ADDED: line-height */
    line-height: 1.5;
}

/* Callout cards (Ghost editor bookmark/callout) */
.gh-content .kg-callout-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    /* CHANGED: padding 20px 24px -> 24px 28px */
    padding: 24px 28px;
    /* CHANGED: margin 32px 0 -> 36px 0 */
    margin: 36px 0;
}

/* --- Related Posts --- */
.pr-related {
    /* CHANGED: margin-top 80px -> 96px */
    margin-top: 96px;
    /* CHANGED: padding-top 48px -> 56px */
    padding-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-related-title {
    /* CHANGED: font-size 1.2rem -> 1.3rem */
    font-size: 1.3rem;
    /* CHANGED: color 0.5 -> 0.55 */
    color: rgba(255, 255, 255, 0.55);
    /* CHANGED: margin-bottom 24px -> 32px */
    margin-bottom: 32px;
    /* ADDED: line-height */
    line-height: 1.3;
}

/* --- Page Layout --- */
.pr-page,
.pr-about {
    /* CHANGED: padding 120px 0 80px -> 140px 0 100px */
    padding: 140px 0 100px;
    /* CHANGED: max-width 760px -> 800px */
    max-width: 800px;
    margin: 0 auto;
}

.pr-page-title,
.pr-about-title {
    /* CHANGED: 2.8rem -> clamp(2.2rem, 5vw, 3.25rem) — fluid */
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    /* CHANGED: letter-spacing -0.03em -> -0.04em */
    letter-spacing: -0.04em;
    /* CHANGED: margin-bottom 16px -> 20px */
    margin-bottom: 20px;
}

.pr-about-subtitle {
    /* CHANGED: font-size 1.1rem -> 1.15rem */
    font-size: 1.15rem;
    /* CHANGED: color 0.5 -> 0.55 */
    color: rgba(255, 255, 255, 0.55);
    /* CHANGED: margin-bottom 48px -> 56px */
    margin-bottom: 56px;
    /* ADDED: line-height */
    line-height: 1.65;
}

/* --- Tag Page --- */
.pr-tag-page {
    /* CHANGED: padding 120px 0 80px -> 140px 0 100px */
    padding: 140px 0 100px;
}

.pr-tag-header {
    /* CHANGED: margin-bottom 48px -> 56px */
    margin-bottom: 56px;
}

.pr-tag-title {
    /* CHANGED: 2.5rem -> clamp(2rem, 4vw, 3rem) — fluid */
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.03em;
}

.pr-tag-description {
    margin-top: 8px;
    /* CHANGED: color 0.5 -> 0.55 */
    color: rgba(255, 255, 255, 0.55);
    /* ADDED: line-height */
    line-height: 1.65;
}

/* --- Error Page --- */
.pr-error {
    padding: 200px 0;
    text-align: center;
}

.pr-error-code {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: -0.05em;
}

.pr-error-message {
    margin-top: 16px;
    /* CHANGED: color 0.5 -> 0.55 */
    color: rgba(255, 255, 255, 0.55);
}

.pr-error-link {
    display: inline-block;
    margin-top: 32px;
    font-weight: 600;
    color: #60A5FA;
}

/* --- Footer --- */
.pr-footer {
    /* CHANGED: padding 120px 0 40px -> 140px 0 48px */
    padding: 140px 0 48px;
    max-width: 1200px;
    margin: 0 auto;
    /* CHANGED: padding-left/right 24px -> 32px — consistent with main */
    padding-left: 32px;
    padding-right: 32px;
}

/* ---- Testimonials ---- */

.pr-testimonials {
    margin: 0 auto;
    padding: 100px 0 120px;
}

.pr-testimonials .pr-section-title {
    /* CHANGED: margin-bottom 48px -> 56px */
    margin-bottom: 56px;
}

.pr-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* CHANGED: gap 24px -> 28px */
    gap: 28px;
}

.pr-testimonial {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Last testimonial in odd position: span full width for balance */
.pr-testimonial-grid > .pr-testimonial:last-child:nth-child(even) {
    grid-column: 1 / -1;
}

.pr-testimonial-quote {
    /* CHANGED: font-size 0.95rem -> 1rem */
    font-size: 1rem;
    /* CHANGED: line-height 1.7 -> 1.75 */
    line-height: 1.75;
    /* CHANGED: color 0.7 -> 0.75 — better contrast */
    color: rgba(255, 255, 255, 0.75);
    /* CHANGED: margin 0 0 24px 0 -> 0 0 28px 0 */
    margin: 0 0 28px 0;
    padding: 0;
    border: none;
    font-style: normal;
    /* ADDED: explicit font-weight 400 for body text */
    font-weight: 400;
}

.pr-testimonial-quote::before {
    content: "\201C";
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 8px;
    font-family: Georgia, serif;
}

.pr-testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    /* CHANGED: padding-top 16px -> 20px */
    padding-top: 20px;
}

.pr-testimonial-name {
    font-weight: 600;
    /* CHANGED: font-size 0.9rem -> 0.95rem */
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.pr-testimonial-role {
    /* CHANGED: font-size 0.8rem -> 0.85rem */
    font-size: 0.85rem;
    /* CHANGED: color 0.5 -> 0.55 */
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
    /* ADDED: line-height */
    line-height: 1.5;
}

.pr-testimonial-context {
    /* CHANGED: font-size 0.75rem -> 0.8rem */
    font-size: 0.8rem;
    /* CHANGED: color 0.35 -> 0.45 — WCAG AA improvement */
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
    font-style: italic;
    /* ADDED: line-height */
    line-height: 1.5;
}

@media (max-width: 768px) {
    .pr-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .pr-testimonials {
        padding: 72px 0 96px;
    }
}

/* ---- Footer ---- */

.pr-footer-cta {
    /* CHANGED: margin-bottom 60px -> 72px */
    margin-bottom: 72px;
}

.pr-footer-cta-text {
    /* CHANGED: 3rem -> clamp(2.2rem, 5vw, 3.5rem) — fluid, bigger on desktop */
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    /* CHANGED: letter-spacing -0.03em -> -0.04em */
    letter-spacing: -0.04em;
    color: #fff;
    /* ADDED: line-height */
    line-height: 1.15;
}

.pr-footer-cta-gradient {
    /* CHANGED: 3rem -> clamp(2.2rem, 5vw, 3.5rem) — matching */
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #F59E0B, #60A5FA, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* ADDED: line-height */
    line-height: 1.15;
}

/* CTA Button */
.pr-cta-button {
    display: inline-block;
    /* CHANGED: margin-top 32px -> 40px */
    margin-top: 40px;
    /* CHANGED: padding 14px 36px -> 16px 40px — bigger touch target */
    padding: 16px 40px;
    /* CHANGED: font-size 0.9rem -> 0.95rem */
    font-size: 0.95rem;
    font-weight: 600;
    color: #090909;
    background: #fff;
    border-radius: 8px;
    letter-spacing: -0.01em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.pr-cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

/* --- Footer Contact Links --- */
.pr-footer-contact {
    display: flex;
    align-items: center;
    /* CHANGED: gap 24px -> 28px */
    gap: 28px;
    flex-wrap: wrap;
    /* CHANGED: margin-bottom 40px -> 48px */
    margin-bottom: 48px;
}

.pr-footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    /* CHANGED: color 0.65 -> 0.7 */
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
    min-height: 44px;
    padding: 8px 0;
}

.pr-footer-contact-link:hover {
    color: #fff;
}

.pr-footer-contact-link svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.pr-footer-contact-link:hover svg {
    opacity: 1;
}

.pr-footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.pr-footer-cta-heading {
    margin: 0;
    font-weight: inherit;
}

.pr-footer-cta-heading .pr-footer-cta-text,
.pr-footer-cta-heading .pr-footer-cta-gradient {
    display: block;
}

.pr-footer-contact-link:focus-visible {
    outline: 2px solid #60A5FA;
    outline-offset: 3px;
}

@supports not (backdrop-filter: blur(1px)) {
    .pr-header {
        background: rgba(9, 9, 9, 0.95);
    }
}

@media (forced-colors: active) {
    .pr-footer-cta-gradient {
        -webkit-text-fill-color: unset;
        background: none;
        color: LinkText;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    html { font-size: 16px; }

    .pr-nav {
        display: none;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #090909;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 9999;
        padding: 80px 24px;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .pr-nav.open {
        display: flex;
    }

    .pr-nav-link {
        font-size: 1.3rem;
    }

    .pr-hamburger {
        display: flex;
        position: relative;
        z-index: 10000;
    }

    /* CHANGED: padding 120px 0 60px -> 130px 0 72px */
    .pr-hero { padding: 130px 0 72px; }

    .pr-nav-cta {
        padding: 10px 24px;
        font-size: 1.2rem;
    }

    .pr-grid {
        grid-template-columns: 1fr;
    }

    /* CHANGED: 1.8rem -> 2rem */
    .pr-section-title { font-size: 2rem; }

    /* CHANGED: 2rem -> 2.25rem */
    .pr-post-title { font-size: 2.25rem; }
    .pr-page-title,
    /* CHANGED: 2rem -> 2.25rem */
    .pr-about-title { font-size: 2.25rem; }

    /* CHANGED: 2rem -> 2.25rem */
    .pr-footer-cta-text,
    .pr-footer-cta-gradient { font-size: 2.25rem; }

    /* ADDED: mobile padding consistency */
    .pr-main { padding: 0 24px; }
    .pr-footer { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 480px) {
    /* CHANGED: 1.5rem -> 1.65rem */
    .pr-post-title { font-size: 1.65rem; }
    /* CHANGED: padding 20px -> 24px */
    .pr-card-content { padding: 24px; }
    /* CHANGED: 1.8rem -> 2rem */
    .pr-footer-cta-text,
    .pr-footer-cta-gradient { font-size: 2rem; }
    .pr-footer-contact { flex-direction: column; gap: 12px; align-items: flex-start; }
}


/* ============================================
   ACCESSIBILITY FIXES (WCAG 2.1 AA)
   ============================================ */

/* Focus indicators */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #60A5FA;
    outline-offset: 3px;
    border-radius: 4px;
}

.pr-card:focus-visible {
    outline: 2px solid #60A5FA;
    outline-offset: 2px;
    border-color: rgba(96, 165, 250, 0.4);
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.pr-nav-cta:focus-visible {
    outline: 2px solid #090909;
    outline-offset: 3px;
}

.pr-cta-button:focus-visible {
    outline: 2px solid #60A5FA;
    outline-offset: 3px;
}

/* Contrast fixes — all bumped to WCAG AA minimum (4.5:1 on #090909) */
.pr-card-tag {
    color: rgba(255, 255, 255, 0.55);
}

.pr-card-arrow {
    color: rgba(255, 255, 255, 0.45);
}

.pr-footer-copy {
    color: rgba(255, 255, 255, 0.45);
}

.pr-back-link {
    color: rgba(255, 255, 255, 0.55);
}

.pr-post-meta {
    color: rgba(255, 255, 255, 0.55);
}

.pr-testimonial-context {
    color: rgba(255, 255, 255, 0.45);
}

.gh-content figcaption {
    color: rgba(255, 255, 255, 0.55);
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .pr-hero {
        animation: none;
    }

    .pr-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .pr-card:hover {
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }

    .pr-mobile-cta {
        transition: none !important;
    }
}


/* --- Resume Nav Button (outlined) --- */
.pr-nav-resume {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 14px;
    border-radius: 6px;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.pr-nav-resume:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

/* --- Mobile Sticky CTA Bar --- */
.pr-mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .pr-mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
        background: rgba(9, 9, 9, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 10px 16px;
        gap: 10px;
        justify-content: center;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .pr-mobile-cta.visible {
        transform: translateY(0);
    }

    .pr-mobile-cta-btn {
        flex: 1;
        max-width: 160px;
        text-align: center;
        padding: 12px 16px;
        min-height: 44px;
        font-size: 0.8rem;
        font-weight: 600;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 0.8);
        transition: background 0.2s, border-color 0.2s;
        letter-spacing: -0.01em;
    }

    .pr-mobile-cta-btn:hover,
    .pr-mobile-cta-btn:active {
        border-color: rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.06);
    }

    .pr-mobile-cta-primary {
        background: #fff;
        color: #090909 !important;
        border-color: #fff;
    }

    .pr-mobile-cta-primary:hover,
    .pr-mobile-cta-primary:active {
        background: #e0e0e0;
        border-color: #e0e0e0;
    }

    /* Bottom padding so content isn't hidden behind sticky bar */
    .pr-footer {
        padding-bottom: 80px;
    }

    /* Resume button in mobile nav overlay */
    .pr-nav-resume {
        font-size: 1.2rem;
        padding: 8px 20px;
    }
}

/* --- Post Page CTA Strip --- */
.pr-post-cta-strip {
    /* CHANGED: margin-top 64px -> 80px */
    margin-top: 80px;
    /* CHANGED: padding 40px 0 -> 48px 0 */
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.pr-post-cta-text {
    /* CHANGED: font-size 1.3rem -> 1.4rem */
    font-size: 1.4rem;
    font-weight: 600;
    /* CHANGED: color 0.7 -> 0.75 */
    color: rgba(255, 255, 255, 0.75);
    /* CHANGED: margin-bottom 12px -> 16px */
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    /* ADDED: line-height */
    line-height: 1.3;
}

.pr-post-cta-link {
    display: inline-block;
    /* CHANGED: font-size 1.05rem -> 1.1rem */
    font-size: 1.1rem;
    font-weight: 600;
    color: #60A5FA;
    transition: color 0.2s;
}

.pr-post-cta-link:hover {
    color: #93C5FD;
}


/* ============================================
   NEXT-GEN DESIGN PATTERNS
   Progressive disclosure, card enhancements.
   Consolidated from 5 agent outputs.
   ============================================ */

/* Ensure main content sits above background effects */
.pr-main {
    position: relative;
    z-index: 1;
}


/* --- Card enhancements (consolidated) --- */

/* Override base card: rounder corners, smoother easing.
   NOTE: No backdrop-filter here — too GPU-heavy for 1vCPU VPS. */
.pr-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease,
                background 0.4s ease,
                opacity 0.4s ease;
}

.pr-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

/* Accent-colored glow on hover (merged — next-gen values win, stronger effect) */
.pr-card[data-accent="positioning-gtm"]:hover {
    box-shadow: 0 20px 60px rgba(74, 222, 128, 0.08),
                0 0 0 1px rgba(74, 222, 128, 0.12);
}
.pr-card[data-accent="demand-gen"]:hover {
    box-shadow: 0 20px 60px rgba(96, 165, 250, 0.08),
                0 0 0 1px rgba(96, 165, 250, 0.12);
}
.pr-card[data-accent="sales-enablement"]:hover {
    box-shadow: 0 20px 60px rgba(244, 114, 182, 0.08),
                0 0 0 1px rgba(244, 114, 182, 0.12);
}

/* Enhanced accent bar glow */
.pr-card[data-accent="positioning-gtm"]:hover .pr-card-accent {
    box-shadow: 0 2px 20px rgba(74, 222, 128, 0.4);
}
.pr-card[data-accent="demand-gen"]:hover .pr-card-accent {
    box-shadow: 0 2px 20px rgba(96, 165, 250, 0.4);
}
.pr-card[data-accent="sales-enablement"]:hover .pr-card-accent {
    box-shadow: 0 2px 20px rgba(244, 114, 182, 0.4);
}


/* Per-category SVG decorative patterns */
.pr-card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.pr-card:hover .pr-card-pattern {
    opacity: 0.6;
}

.pr-card-pattern svg {
    width: 100%;
    height: 100%;
}

/* Card content above pattern */
.pr-card-content {
    position: relative;
    z-index: 1;
}

.pr-card-accent {
    position: relative;
    z-index: 1;
}


/* --- Progressive Disclosure (excerpt reveal on hover) --- */

.pr-card-reveal {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.4s ease;
    opacity: 0;
}

.pr-card-reveal > * {
    overflow: hidden;
}

.pr-card:hover .pr-card-reveal {
    grid-template-rows: 1fr;
    opacity: 1;
}

/* Arrow as inline SVG */
.pr-card-arrow {
    display: inline-flex;
    align-items: center;
}

.pr-card:hover .pr-card-arrow {
    transform: translateX(6px);
}


/* --- Featured testimonial (asymmetric) --- */

.pr-testimonial-featured {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.pr-testimonial-featured .pr-testimonial-quote {
    font-size: 1.1rem;
}

/* Testimonial hover enhancement */
.pr-testimonial {
    border-radius: 16px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.pr-testimonial:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}


/* --- Responsive overrides for new patterns --- */

@media (max-width: 768px) {
    /* Always show excerpts on mobile (no hover) */
    .pr-card-reveal {
        grid-template-rows: 1fr;
        opacity: 1;
    }

    /* Hide card patterns on mobile */
    .pr-card-pattern {
        display: none;
    }
}


/* --- prefers-reduced-motion additions --- */
@media (prefers-reduced-motion: reduce) {
    .pr-card-reveal {
        grid-template-rows: 1fr !important;
        opacity: 1 !important;
        transition: none !important;
    }
}


/* ============================================
   GHOST DARK-MODE OVERRIDES
   Covers ALL Ghost-injected CSS that defaults
   to light mode. Must load AFTER ghost_head
   and /public/cards.min.css.
   Theme: #090909 bg, Inter, rgba(255,255,255,0.85) text
   Accents: green #4ADE80, blue #60A5FA, pink #F472B6
   ============================================ */

/* --- 1. GHOST ACCENT COLOR VARIABLE --- */
:root {
    --ghost-accent-color: #4ADE80 !important;
    --ghost-accent-color-rgb: 74, 222, 128 !important;
}

/* --- 2. KOENIG CARDS (cards.min.css overrides) --- */

/* 2a. Bookmark Card */
.kg-bookmark-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    overflow: hidden;
}
.kg-bookmark-container {
    background: rgba(255, 255, 255, 0.05) !important;
    border: none !important;
    color: #fff !important;
    text-decoration: none !important;
}
.kg-bookmark-container:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}
.kg-bookmark-content {
    padding: 20px !important;
    order: 1;
}
.kg-bookmark-title {
    color: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}
.kg-bookmark-description {
    color: rgba(255, 255, 255, 0.55) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.85rem !important;
    -webkit-line-clamp: 2;
}
.kg-bookmark-metadata {
    color: rgba(255, 255, 255, 0.4) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.8rem !important;
}
.kg-bookmark-icon { filter: brightness(0.9); }
.kg-bookmark-author,
.kg-bookmark-publisher {
    color: rgba(255, 255, 255, 0.4) !important;
}
.kg-bookmark-thumbnail { order: 2; }

/* 2b. Callout Card */
.kg-callout-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.85) !important;
}
.kg-callout-card-grey { background: rgba(255, 255, 255, 0.06) !important; }
.kg-callout-card-white { background: rgba(255, 255, 255, 0.08) !important; }
.kg-callout-card-blue {
    background: rgba(96, 165, 250, 0.1) !important;
    border-color: rgba(96, 165, 250, 0.2) !important;
}
.kg-callout-card-green {
    background: rgba(74, 222, 128, 0.1) !important;
    border-color: rgba(74, 222, 128, 0.2) !important;
}
.kg-callout-card-yellow {
    background: rgba(250, 204, 21, 0.1) !important;
    border-color: rgba(250, 204, 21, 0.2) !important;
}
.kg-callout-card-red {
    background: rgba(248, 113, 113, 0.1) !important;
    border-color: rgba(248, 113, 113, 0.2) !important;
}
.kg-callout-card-pink {
    background: rgba(244, 114, 182, 0.1) !important;
    border-color: rgba(244, 114, 182, 0.2) !important;
}
.kg-callout-card-purple {
    background: rgba(168, 85, 247, 0.1) !important;
    border-color: rgba(168, 85, 247, 0.2) !important;
}
.kg-callout-text {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-callout-text a { color: #60A5FA !important; }
.kg-callout-emoji { font-size: 1.2em; }

/* 2c. Toggle / Accordion Card */
.kg-toggle-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin: 24px 0 !important;
}
.kg-toggle-heading {
    color: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-toggle-heading svg,
.kg-toggle-card-icon {
    fill: rgba(255, 255, 255, 0.5) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}
.kg-toggle-content {
    color: rgba(255, 255, 255, 0.75) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-toggle-content a { color: #60A5FA !important; }

/* 2d. Button Card */
.kg-button-card { margin: 32px 0 !important; }
.kg-btn {
    background: #4ADE80 !important;
    color: #090909 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    transition: opacity 0.2s, transform 0.2s !important;
}
.kg-btn:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}
.kg-btn-accent {
    background: var(--ghost-accent-color, #4ADE80) !important;
    color: #090909 !important;
}

/* 2e. File Card */
.kg-file-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
}
.kg-file-card-container {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
}
.kg-file-card-title {
    color: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-file-card-caption,
.kg-file-card-metadata {
    color: rgba(255, 255, 255, 0.4) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-file-card-icon {
    fill: rgba(255, 255, 255, 0.5) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}
.kg-file-card-medium .kg-file-card-icon svg,
.kg-file-card-small .kg-file-card-icon svg {
    fill: rgba(255, 255, 255, 0.5) !important;
}

/* 2f. Audio Card */
.kg-audio-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 16px !important;
}
.kg-audio-title {
    color: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-audio-player-container {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
}
.kg-audio-play-icon,
.kg-audio-pause-icon {
    fill: #fff !important;
    color: #fff !important;
}
.kg-audio-seek-slider,
.kg-audio-volume-slider {
    background: rgba(255, 255, 255, 0.15) !important;
}
.kg-audio-seek-slider::-webkit-slider-thumb,
.kg-audio-volume-slider::-webkit-slider-thumb {
    background: #fff !important;
}
.kg-audio-seek-slider::-moz-range-thumb,
.kg-audio-volume-slider::-moz-range-thumb {
    background: #fff !important;
}
.kg-audio-current-time,
.kg-audio-duration {
    color: rgba(255, 255, 255, 0.4) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-audio-mute-icon,
.kg-audio-unmute-icon {
    fill: rgba(255, 255, 255, 0.5) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* 2g. Video Card */
.kg-video-card {
    border-radius: 8px !important;
    overflow: hidden;
}
.kg-video-overlay { background: rgba(9, 9, 9, 0.5) !important; }
.kg-video-play-icon svg { fill: #fff !important; }
.kg-video-player-container { background: rgba(9, 9, 9, 0.8) !important; }
.kg-video-title {
    color: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-video-seek-slider { background: rgba(255, 255, 255, 0.2) !important; }
.kg-video-current-time,
.kg-video-duration { color: rgba(255, 255, 255, 0.5) !important; }
.kg-video-volume-slider { background: rgba(255, 255, 255, 0.2) !important; }

/* 2h. Product / NFT Card */
.kg-product-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 24px !important;
}
.kg-product-card-title {
    color: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-product-card-description {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-product-card-rating-star svg { fill: #FBBF24 !important; }
.kg-product-card .kg-product-card-button {
    background: #4ADE80 !important;
    color: #090909 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}
.kg-nft-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
}
.kg-nft-metadata { color: rgba(255, 255, 255, 0.5) !important; }
.kg-nft-creator { color: rgba(255, 255, 255, 0.4) !important; }
.kg-nft-header h4 { color: #fff !important; }

/* 2i. Header Card */
.kg-header-card { background: #090909 !important; }
.kg-header-card h2,
.kg-header-card h3 {
    color: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-header-card-subheading { color: rgba(255, 255, 255, 0.7) !important; }
.kg-header-card-button {
    background: #4ADE80 !important;
    color: #090909 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}
.kg-style-accent { background: var(--ghost-accent-color, #4ADE80) !important; }
.kg-style-accent h2,
.kg-style-accent h3,
.kg-style-accent .kg-header-card-subheading { color: #090909 !important; }
.kg-style-image h2,
.kg-style-image h3,
.kg-style-image .kg-header-card-subheading {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

/* 2j. Gallery Card */
.kg-gallery-card { margin: 32px 0 !important; }
.kg-gallery-container { gap: 8px !important; }
.kg-gallery-row { gap: 8px !important; }
.kg-gallery-image img { border-radius: 4px !important; }
.kg-gallery-card figcaption {
    color: rgba(255, 255, 255, 0.4) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.8rem !important;
    text-align: center;
}

/* 2k. Image Card captions */
.kg-image-card figcaption,
.kg-card figcaption {
    color: rgba(255, 255, 255, 0.4) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.8rem !important;
}

/* 2l. Signup Card (email CTA card in editor) */
.kg-signup-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
}
.kg-signup-card-heading {
    color: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-signup-card-subheading {
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-signup-card input[type="email"] {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.kg-signup-card input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}
.kg-signup-card input[type="email"]:focus {
    border-color: #4ADE80 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2) !important;
}
.kg-signup-card button,
.kg-signup-card .kg-signup-card-button {
    background: #4ADE80 !important;
    color: #090909 !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: none !important;
}
.kg-signup-card-disclaimer { color: rgba(255, 255, 255, 0.3) !important; }
.kg-signup-card-disclaimer a { color: rgba(255, 255, 255, 0.5) !important; }

/* 2m. Embed Card */
.kg-embed-card {
    border-radius: 8px !important;
    overflow: hidden;
    margin: 32px 0 !important;
}

/* 2n. Table (Koenig editor output) */
.gh-content table,
.kg-table-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}
.gh-content table th,
.kg-table-card table th {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.gh-content table td,
.kg-table-card table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.gh-content table tr:hover td,
.kg-table-card table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* 2o. Before/After Card */
.kg-before-after-card {
    border-radius: 8px !important;
    overflow: hidden;
}

/* 2p. Collection Card */
.kg-collection-card { background: transparent !important; }
.kg-collection-card-title { color: #fff !important; }
.kg-collection-card-post-title { color: rgba(255, 255, 255, 0.9) !important; }
.kg-collection-card-post-excerpt { color: rgba(255, 255, 255, 0.5) !important; }


/* --- 3. SODO SEARCH OVERLAY --- */
[data-sodo-search] {
    --sodo-search-bg: #111111 !important;
    --sodo-search-border: rgba(255, 255, 255, 0.1) !important;
    --sodo-search-text: #fff !important;
    --sodo-search-text-secondary: rgba(255, 255, 255, 0.5) !important;
    --sodo-search-input-bg: rgba(255, 255, 255, 0.06) !important;
    --sodo-search-input-text: #fff !important;
}
.sodo-search-container,
.sodo-search-modal {
    background: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}
.sodo-search-input {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.sodo-search-input::placeholder { color: rgba(255, 255, 255, 0.3) !important; }
.sodo-search-result { border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important; }
.sodo-search-result:hover { background: rgba(255, 255, 255, 0.05) !important; }
.sodo-search-result-title { color: #fff !important; }
.sodo-search-result-excerpt { color: rgba(255, 255, 255, 0.5) !important; }
.sodo-search-result-tag { color: rgba(255, 255, 255, 0.3) !important; }


/* --- 4. GHOST PORTAL (MEMBERSHIP) --- */
.gh-portal-notification {
    background: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}
.gh-portal-notification-icon { color: #4ADE80 !important; }


/* --- 5. GHOST NATIVE COMMENTS --- */
.gh-comments,
#ghost-comments-root {
    --comment-bg: #090909 !important;
    --comment-text: rgba(255, 255, 255, 0.85) !important;
    --comment-secondary-text: rgba(255, 255, 255, 0.5) !important;
    --comment-accent: #4ADE80 !important;
    --comment-input-bg: rgba(255, 255, 255, 0.06) !important;
    --comment-input-border: rgba(255, 255, 255, 0.12) !important;
    --comment-separator: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}
.ghost-comments-root { background: transparent !important; }
.ghost-comments-root .comment-content { color: rgba(255, 255, 255, 0.85) !important; }
.ghost-comments-root .comment-author { color: #fff !important; }
.ghost-comments-root .comment-date { color: rgba(255, 255, 255, 0.35) !important; }
.ghost-comments-root .comment-reply-btn,
.ghost-comments-root .comment-like-btn { color: rgba(255, 255, 255, 0.4) !important; }
.ghost-comments-root .comment-reply-btn:hover,
.ghost-comments-root .comment-like-btn:hover { color: #fff !important; }
.ghost-comments-root textarea,
.ghost-comments-root input {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.ghost-comments-root textarea:focus,
.ghost-comments-root input:focus {
    border-color: #4ADE80 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2) !important;
}
.ghost-comments-root button[type="submit"] {
    background: #4ADE80 !important;
    color: #090909 !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 6px !important;
}
.ghost-comments-root .comment-separator { border-color: rgba(255, 255, 255, 0.06) !important; }
.ghost-comments-root .comment-count { color: rgba(255, 255, 255, 0.5) !important; }


/* --- 6. MEMBER / UPGRADE CTA --- */
.gh-post-upgrade-cta {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
}
.gh-post-upgrade-cta-content h2 {
    color: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.gh-post-upgrade-cta-content p { color: rgba(255, 255, 255, 0.6) !important; }
.gh-post-upgrade-cta .gh-btn {
    background: #4ADE80 !important;
    color: #090909 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
}
.gh-post-upgrade-cta .gh-btn:hover { opacity: 0.9 !important; }
.gh-post-upgrade-cta::before {
    background: linear-gradient(transparent, #090909) !important;
}


/* --- 7. GHOST SUBSCRIBE FORMS --- */
.gh-content input[type="email"],
.gh-content input[type="text"],
.subscribe-form input[type="email"],
.subscribe-form input[type="text"] {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.gh-content input[type="email"]::placeholder,
.gh-content input[type="text"]::placeholder,
.subscribe-form input[type="email"]::placeholder,
.subscribe-form input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}
.gh-content input[type="email"]:focus,
.gh-content input[type="text"]:focus,
.subscribe-form input[type="email"]:focus,
.subscribe-form input[type="text"]:focus {
    border-color: #4ADE80 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2) !important;
}
.subscribe-form button,
.gh-content button[type="submit"],
.gh-content input[type="submit"],
.subscribe-form input[type="submit"] {
    background: #4ADE80 !important;
    color: #090909 !important;
    border: none !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    padding: 12px 24px !important;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    transition: opacity 0.2s !important;
}
.subscribe-form button:hover,
.gh-content button[type="submit"]:hover,
.subscribe-form input[type="submit"]:hover {
    opacity: 0.9 !important;
}
.subscribe-form .success,
.subscribe-form .message-success { color: #4ADE80 !important; }
.subscribe-form .error,
.subscribe-form .message-error { color: #F87171 !important; }
.subscribe-form .loading { color: rgba(255, 255, 255, 0.5) !important; }


/* --- 8. GHOST CONTENT INLINE ELEMENTS --- */
.gh-content :not(pre) > code {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #F472B6 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 0.9em !important;
}
.gh-content mark {
    background: rgba(250, 204, 21, 0.2) !important;
    color: #fff !important;
}
.gh-content ::selection {
    background: rgba(74, 222, 128, 0.3);
    color: #fff;
}
.gh-content figure { margin: 32px 0; }
.kg-divider-card hr,
.gh-content .kg-divider-card hr {
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}


/* --- 9. GLOBAL SAFETY NET --- */
body,
.site-content,
.post-content,
.gh-canvas {
    background-color: #090909 !important;
    color: rgba(255, 255, 255, 0.85);
}
a.gh-powered-by {
    color: rgba(255, 255, 255, 0.2) !important;
    font-size: 0.7rem;
}
a.gh-powered-by:hover {
    color: rgba(255, 255, 255, 0.4) !important;
}


/* --- 10. RESPONSIVE OVERRIDES FOR GHOST CARDS --- */
@media (max-width: 768px) {
    .kg-bookmark-card { margin: 24px 0 !important; }
    .kg-bookmark-container { flex-direction: column !important; }
    .kg-bookmark-thumbnail {
        width: 100% !important;
        min-height: 160px !important;
    }
    .kg-toggle-card { padding: 12px 16px !important; }
    .kg-callout-card { padding: 16px !important; }
    .kg-product-card { padding: 16px !important; }
    .kg-audio-card { padding: 12px !important; }
    .gh-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* --- 11. CASE STUDY POST COMPONENTS --- */

/* Key Results callout card */
.gh-content .pr-callout {
    background: rgba(74, 222, 128, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 8px;
    padding: 24px 28px;
    margin: 32px 0;
}
.gh-content .pr-callout-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4ade80;
    margin-bottom: 12px;
}
.gh-content .pr-callout ul {
    margin: 0;
    padding-left: 20px;
}
.gh-content .pr-callout li {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.9);
}
.gh-content .pr-callout li:last-child {
    margin-bottom: 0;
}

/* Results table wrapper */
.gh-content .pr-results-table {
    margin: 32px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.gh-content .pr-results-table table {
    margin: 0;
}
.gh-content .pr-results-table table th {
    background: rgba(255, 255, 255, 0.06) !important;
}

/* Image placeholder cards */
.gh-content .pr-image-placeholder {
    margin: 32px 0;
}
.gh-content .pr-image-placeholder-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 48px 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    font-style: italic;
}

/* Inline CTA at bottom of posts */
.gh-content .pr-post-inline-cta {
    margin-top: 48px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.95rem;
}
.gh-content .pr-post-inline-cta a {
    color: #4ade80;
    font-weight: 600;
}
.gh-content .pr-post-inline-cta a:hover {
    color: #86efac;
}

/* --- Case Studies Index Page --- */
.pr-case-studies-index {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
.pr-case-studies-index .pr-page-header {
    text-align: center;
    padding: 80px 0 48px;
}
.pr-case-studies-index .pr-page-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.pr-case-studies-index .pr-page-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.pr-cs-card {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.pr-cs-card:hover {
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(255, 255, 255, 0.05);
}
.pr-cs-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4ade80;
    margin-bottom: 12px;
}
.pr-cs-card h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}
.pr-cs-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.pr-cs-metrics {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.pr-cs-metric {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}
.pr-cs-metric strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* --- AI Workflow Page --- */
.pr-workflow-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.pr-workflow-page .pr-page-header {
    text-align: center;
    padding: 80px 0 48px;
}
.pr-workflow-page .pr-page-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.pr-workflow-page .pr-page-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.pr-wf-summary {
    background: rgba(96, 165, 250, 0.06);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}
.pr-wf-section {
    margin-bottom: 48px;
}
.pr-wf-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pr-wf-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 24px 0 12px;
}
.pr-wf-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.pr-wf-savings {
    background: rgba(74, 222, 128, 0.06);
    border-left: 3px solid #4ade80;
    padding: 12px 20px;
    margin: 16px 0;
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}
.pr-wf-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.pr-wf-tool {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
}
.pr-wf-tool-name {
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.pr-wf-tool-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}
.pr-wf-tool-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}
.pr-wf-not-list {
    margin: 24px 0;
}
.pr-wf-not-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}
.pr-wf-not-list strong {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .pr-cs-metrics {
        flex-direction: column;
        gap: 8px;
    }
    .pr-cs-card {
        padding: 24px;
    }
    .pr-wf-tool-grid {
        grid-template-columns: 1fr;
    }
    .gh-content .pr-callout {
        padding: 20px;
    }
    .gh-content .pr-image-placeholder-inner {
        padding: 32px 20px;
    }
}

/* --- 12. WHY ME PAGE --- */
.pr-why-me {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* Cover image */
.pr-why-cover {
    margin: 0 -24px 0;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}
.pr-why-cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section divider images */
.pr-why-section-img {
    margin: -8px -24px 0;
    overflow: hidden;
}
.pr-why-section-img img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.pr-why-section-img:hover img {
    opacity: 1;
}

/* Header */
.pr-why-header {
    text-align: center;
    padding: 56px 0 64px;
    max-width: 760px;
    margin: 0 auto;
}
.pr-why-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4ade80;
    margin-bottom: 20px;
}
.pr-why-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
}
.pr-why-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Section layout */
.pr-why-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 56px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pr-why-section-label {
    position: sticky;
    top: 100px;
    align-self: start;
}
.pr-why-label-number {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.pr-why-label-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}
.pr-why-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Proof grid (case study cards) */
.pr-why-proof-grid {
    display: grid;
    gap: 20px;
}
.pr-why-proof-card {
    display: block;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 28px;
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.pr-why-proof-card:hover {
    border-color: rgba(74, 222, 128, 0.25);
    background: rgba(255, 255, 255, 0.04);
}
.pr-why-proof-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.pr-why-proof-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}
.pr-why-proof-card p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.pr-why-proof-metrics {
    display: flex;
    gap: 32px;
}
.pr-why-metric {
    display: flex;
    flex-direction: column;
}
.pr-why-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.pr-why-metric-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2px;
}

/* AI grid */
.pr-why-ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}
.pr-why-ai-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 20px;
}
.pr-why-ai-tool {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.pr-why-ai-use {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* AI impact stats */
.pr-why-ai-impact {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pr-why-ai-stat {
    display: flex;
    flex-direction: column;
}
.pr-why-ai-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4ade80;
    line-height: 1.2;
}
.pr-why-ai-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}
.pr-why-ai-caveat {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}
.pr-why-text-link {
    font-size: 0.9rem;
    color: #4ade80;
    text-decoration: none;
    font-weight: 600;
}
.pr-why-text-link:hover {
    color: #86efac;
}

/* GEO grid */
.pr-why-geo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.pr-why-geo-item {
    padding: 20px;
    background: rgba(96, 165, 250, 0.04);
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: 8px;
}
.pr-why-geo-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 8px;
}
.pr-why-geo-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
}
.pr-why-geo-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
}

/* Hard buyer section */
.pr-why-hard-buyer {
    margin-bottom: 24px;
}
.pr-why-hb-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pr-why-hb-challenge {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}
.pr-why-hb-response {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
}
.pr-why-hb-punchline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    font-weight: 500;
    margin-top: 24px;
}

/* Frameworks grid */
.pr-why-fw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pr-why-fw-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
.pr-why-fw-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.pr-why-fw-item p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.55;
}

/* CTA */
.pr-why-cta {
    text-align: center;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 24px;
}
.pr-why-cta h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.pr-why-cta p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    margin-bottom: 28px;
}
.pr-why-cta-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.pr-why-cta-button {
    display: inline-block;
    background: #4ade80;
    color: #090909;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease;
}
.pr-why-cta-button:hover {
    background: #86efac;
}
.pr-why-cta-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.pr-why-cta-link:hover {
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .pr-why-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 0;
    }
    .pr-why-section-label {
        position: static;
        display: flex;
        gap: 10px;
        align-items: baseline;
    }
    .pr-why-ai-grid,
    .pr-why-geo-grid,
    .pr-why-fw-grid {
        grid-template-columns: 1fr;
    }
    .pr-why-ai-impact {
        flex-direction: column;
        gap: 16px;
    }
    .pr-why-proof-metrics {
        flex-direction: column;
        gap: 12px;
    }
    .pr-why-hb-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .pr-why-header {
        padding: 60px 0 48px;
    }
}

/* --- 13-BOOT. RETRO BOOT SEQUENCE --- */
.pr-boot {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.pr-boot--exit {
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
}
.pr-boot-screen {
    max-width: 640px;
    width: 100%;
    padding: 32px;
}
.pr-boot-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}
.pr-boot-logo {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4ade80;
    letter-spacing: 0.05em;
}
.pr-boot-version {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
}
.pr-boot-divider {
    height: 1px;
    background: rgba(74, 222, 128, 0.2);
    margin-bottom: 20px;
}
.pr-boot-log {
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: none;
}
.pr-boot-log::-webkit-scrollbar { display: none; }

.pr-boot-line {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.75rem;
    line-height: 1.9;
    animation: pr-boot-fade 0.15s ease-out;
}
.pr-boot-blank { height: 12px; }

@keyframes pr-boot-fade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.pr-boot-line--system .pr-boot-line-main { color: rgba(255, 255, 255, 0.5); }
.pr-boot-line--ok .pr-boot-line-main { color: #4ade80; }
.pr-boot-line--ai .pr-boot-line-main { color: #60a5fa; }
.pr-boot-line--metric .pr-boot-line-main { color: #febc2e; font-weight: 600; }
.pr-boot-line--ready .pr-boot-line-main { color: #4ade80; font-weight: 700; }

.pr-boot-line-detail {
    color: rgba(255, 255, 255, 0.25);
}

.pr-boot-prompt {
    margin-top: 20px;
    animation: pr-boot-fade 0.3s ease-out;
}
.pr-boot-cursor-line {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}
.pr-boot-cursor-line::after {
    content: '|';
    animation: pr-blink 1s step-end infinite;
    color: #4ade80;
    margin-left: 2px;
}
.pr-boot-actions {
    margin-top: 16px;
}
.pr-boot-enter {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    color: #090909;
    background: #4ade80;
    border: none;
    padding: 10px 32px;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: background 0.2s ease;
}
.pr-boot-enter:hover { background: #86efac; }
.pr-boot-enter:focus-visible { outline: 2px solid #4ade80; outline-offset: 3px; }

.pr-boot-skip {
    position: fixed;
    bottom: 32px;
    right: 32px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.06em;
    transition: color 0.2s ease, border-color 0.2s ease;
    z-index: 10000;
}
.pr-boot-skip:hover {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .pr-boot-screen {
        padding: 24px 20px;
    }
    .pr-boot-line {
        font-size: 0.68rem;
        line-height: 1.8;
    }
    .pr-boot-skip {
        bottom: 20px;
        right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pr-boot { display: none !important; }
}

/* --- 13a. DASHBOARD METRICS PANEL --- */
.pr-dashboard {
    padding: 64px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    max-width: 1200px;
    margin: 0 auto;
}
.pr-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pr-dash-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}
.pr-dash-status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: pr-pulse 2s ease-in-out infinite;
}
.pr-dash-subtitle {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Grid */
.pr-dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.pr-dash-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.pr-dash-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.035);
}
.pr-dash-card--wide {
    grid-column: span 2;
}
.pr-dash-label {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}
.pr-dash-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.pr-dash-number {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.pr-dash-number--highlight {
    color: #60a5fa;
}
.pr-dash-number--ai {
    color: #4ade80;
}
.pr-dash-unit {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Sparklines */
.pr-dash-spark {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 32px;
    opacity: 0.5;
}

/* Footer: tools + links */
.pr-dash-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.pr-dash-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pr-dash-tool-label {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.pr-dash-tool {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
}
.pr-dash-links {
    display: flex;
    gap: 20px;
}
.pr-dash-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4ade80;
    text-decoration: none;
    transition: color 0.2s ease;
}
.pr-dash-link:hover {
    color: #86efac;
}

/* Dashboard responsive */
@media (max-width: 768px) {
    .pr-dashboard {
        padding: 48px 20px;
    }
    .pr-dash-header {
        flex-direction: column;
        gap: 6px;
    }
    .pr-dash-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .pr-dash-card--wide {
        grid-column: span 2;
    }
    .pr-dash-number {
        font-size: 1.5rem;
    }
    .pr-dash-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .pr-dash-tools {
        flex-wrap: wrap;
    }
}
@media (max-width: 480px) {
    .pr-dash-grid {
        grid-template-columns: 1fr;
    }
    .pr-dash-card--wide {
        grid-column: span 1;
    }
}

/* --- 13b. SITE-WIDE AI-FIRST ELEMENTS --- */

/* SVG icons in capability cards (replacing emoji) */
.pr-cap-svg {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 24px;
    height: 24px;
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
    user-select: none;
    pointer-events: none;
}
.pr-cap-card:hover .pr-cap-svg {
    opacity: 0.8;
    transform: scale(1.1);
}

/* AI tool tag on capability cards */
.pr-cap-ai-tag {
    display: inline-block;
    margin-top: 10px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.65rem;
    color: rgba(74, 222, 128, 0.45);
    letter-spacing: 0.03em;
}

/* Hero AI badge positioning */
.hv2-badge {
    margin-top: 16px;
}

/* AI workflow strip on homepage */
.pr-ai-strip {
    padding: 48px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pr-ai-strip-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.pr-ai-strip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4ade80;
    margin-bottom: 16px;
}
.pr-ai-strip-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 20px;
}
.pr-ai-strip-links {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.pr-ai-strip-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4ade80;
    text-decoration: none;
    transition: color 0.2s ease;
}
.pr-ai-strip-link:hover {
    color: #86efac;
}

/* Footer CTA tagline */
.pr-footer-cta-tagline {
    margin-top: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.03em;
}

/* Post CTA secondary link */
.pr-post-cta-links {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}
.pr-post-cta-secondary {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.85rem;
}
.pr-post-cta-secondary:hover {
    color: #4ade80 !important;
}

@media (max-width: 768px) {
    .pr-cap-svg {
        top: 28px;
        right: 24px;
        width: 20px;
        height: 20px;
    }
    .pr-ai-strip {
        padding: 36px 24px;
    }
    .pr-ai-strip-links {
        flex-direction: column;
        gap: 12px;
    }
    .pr-post-cta-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* --- 13. WHY ME — AI-FIRST DESIGN ELEMENTS --- */

/* AI Badge */
.pr-why-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4ade80;
    margin-bottom: 24px;
    background: rgba(74, 222, 128, 0.04);
}
.pr-why-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: pr-pulse 2s ease-in-out infinite;
}
@keyframes pr-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* Typing cursor */
.pr-why-cursor {
    animation: pr-blink 1s step-end infinite;
    color: #4ade80;
    font-weight: 300;
}
@keyframes pr-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Philosophy callout */
.pr-why-philosophy {
    max-width: 760px;
    margin: 0 auto 56px;
    padding: 0 24px;
}
.pr-why-phil-border {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.2), rgba(96, 165, 250, 0.2), transparent);
}
.pr-why-phil-content {
    padding: 32px 0;
    text-align: center;
}
.pr-why-phil-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 16px;
}
.pr-why-phil-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 16px;
}
.pr-why-phil-kicker {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* Monospace for all metric values */
.pr-why-metric-value,
.pr-why-ai-stat-value,
.pr-why-t-result {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'JetBrains Mono', monospace !important;
}

/* Terminal-style tool stack */
.pr-why-terminal {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
    background: rgba(0, 0, 0, 0.3);
}
.pr-why-terminal-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pr-why-terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.pr-why-terminal-title {
    margin-left: 8px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
}
.pr-why-terminal-body {
    padding: 20px 20px 16px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.82rem;
    line-height: 2;
}
.pr-why-terminal-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pr-why-t-prompt {
    color: #4ade80;
    font-weight: 700;
    user-select: none;
}
.pr-why-t-cmd {
    color: rgba(255, 255, 255, 0.7);
}
.pr-why-t-arrow {
    color: rgba(255, 255, 255, 0.2);
}
.pr-why-t-tool {
    font-weight: 600;
}
.pr-why-t-comment {
    color: rgba(255, 255, 255, 0.2);
    font-style: italic;
}
.pr-why-terminal-output {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pr-why-t-result {
    color: #4ade80;
    font-weight: 600;
    font-size: 0.78rem;
}

/* Human-AI boundary */
.pr-why-boundary {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.pr-why-boundary-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #60a5fa;
    margin-bottom: 12px;
}
.pr-why-boundary-human {
    color: #4ade80;
}
.pr-why-boundary-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pr-why-boundary-col li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}
.pr-why-boundary-col li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.2);
}
.pr-why-boundary-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 24px;
}
.pr-why-boundary-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.3), rgba(74, 222, 128, 0.3));
}
.pr-why-boundary-label-mid {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.15);
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

/* Schema code preview */
.pr-why-schema-preview {
    margin: 24px 0;
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}
.pr-why-schema-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0;
}
.pr-why-schema-live {
    font-size: 0.6rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: 0.08em;
}
.pr-why-schema-code {
    padding: 16px 20px;
    margin: 0;
    overflow-x: auto;
    background: transparent;
}
.pr-why-schema-code code {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.78rem;
    line-height: 1.7;
    color: rgba(96, 165, 250, 0.7);
    background: transparent;
}

/* Built with AI footer */
.pr-why-built-with {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px 24px 16px;
    text-align: center;
}
.pr-why-built-with p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.7;
}
.pr-why-built-with a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pr-why-built-with a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Scan line hover on section images */
.pr-why-section-img {
    position: relative;
}
.pr-why-section-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pr-why-section-img:hover::after {
    opacity: 1;
}

/* Mobile overrides for AI-first elements */
@media (max-width: 768px) {
    .pr-why-boundary {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pr-why-boundary-divider {
        flex-direction: row;
        padding-top: 0;
    }
    .pr-why-boundary-line {
        width: 60px;
        height: 1px;
        background: linear-gradient(90deg, rgba(96, 165, 250, 0.3), rgba(74, 222, 128, 0.3));
    }
    .pr-why-boundary-label-mid {
        writing-mode: horizontal-tb;
    }
    .pr-why-terminal-body {
        padding: 16px;
        font-size: 0.72rem;
    }
    .pr-why-t-comment {
        display: none;
    }
    .pr-why-terminal-line {
        gap: 6px;
    }
    .pr-why-philosophy {
        margin-bottom: 40px;
    }
    .pr-why-schema-code code {
        font-size: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pr-why-badge-dot { animation: none; opacity: 1; }
    .pr-why-cursor { animation: none; opacity: 1; }
}

/* --- END GHOST DARK-MODE OVERRIDES --- */
