/* Autom84You v2: supplementary styles. Scoped under body.v2-page. */

body.v2-page {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.v2-page h1,
body.v2-page h2,
body.v2-page h3,
body.v2-page h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 700;
}

body.v2-page .display-1,
body.v2-page .display-2,
body.v2-page .display-3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.03em;
    font-weight: 700;
}

body.v2-page .hero-v2 h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.035em;
    font-weight: 700;
    line-height: 1.05;
}

body.v2-page .section-spacer { padding: 5rem 0; }
body.v2-page .section-spacer-sm { padding: 3rem 0; }

/* Eyebrow above section headings */
body.v2-page .eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.18);
}

body.v2-page .section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}
body.v2-page .section-head h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}
body.v2-page .section-head p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

/* Hero stat strip */
body.v2-page .stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 3rem auto 0;
    max-width: 760px;
}
@media (max-width: 640px) {
    body.v2-page .stat-strip { grid-template-columns: 1fr; }
}
body.v2-page .stat-strip .stat {
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body.v2-page .stat-strip .stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
body.v2-page .stat-strip .stat-num {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.7rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
body.v2-page .stat-strip .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    line-height: 1.4;
}

/* Compare grid (Old way vs Hybrid way) */
body.v2-page .compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 820px) {
    body.v2-page .compare-grid { grid-template-columns: 1fr; }
}
body.v2-page .compare-card {
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body.v2-page .compare-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
body.v2-page .compare-card.bad { border-top: 4px solid #ef4444; }
body.v2-page .compare-card.good { border-top: 4px solid #10b981; }
body.v2-page .compare-card .compare-tag {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}
body.v2-page .compare-card.bad .compare-tag {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}
body.v2-page .compare-card.good .compare-tag {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
}
body.v2-page .compare-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
body.v2-page .compare-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
body.v2-page .compare-card li {
    color: var(--text-secondary);
    padding: 0.45rem 0 0.45rem 1.7rem;
    position: relative;
    line-height: 1.6;
    font-size: 0.97rem;
}
body.v2-page .compare-card.bad li::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ef4444;
    position: absolute;
    left: 0;
    top: 0.55rem;
}
body.v2-page .compare-card.good li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #10b981;
    position: absolute;
    left: 0;
    top: 0.55rem;
}

/* Numbered pillar card */
body.v2-page .pillar-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
body.v2-page .pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.4);
}
body.v2-page .pillar-card .pillar-num {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    opacity: 0.07;
    line-height: 1;
    pointer-events: none;
}
body.v2-page .pillar-card .pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}
body.v2-page .pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}
body.v2-page .pillar-card .pillar-body {
    color: var(--text-secondary);
    line-height: 1.75;
    flex-grow: 1;
    font-size: 0.97rem;
}
body.v2-page .pillar-card .pillar-read {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.25s ease;
}
body.v2-page .pillar-card .pillar-read:hover { gap: 0.85rem; }

/* Process steps */
body.v2-page .process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}
@media (max-width: 820px) {
    body.v2-page .process-grid { grid-template-columns: 1fr; }
}
body.v2-page .process-step {
    padding: 2rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}
body.v2-page .process-step:hover { transform: translateY(-6px); }
body.v2-page .process-step .step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.3);
}
body.v2-page .process-step .step-icon {
    font-size: 1.5rem;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}
body.v2-page .process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}
body.v2-page .process-step p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0;
}

/* Takeaway row */
body.v2-page .takeaways {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 820px) {
    body.v2-page .takeaways { grid-template-columns: 1fr; }
}
body.v2-page .takeaway {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body.v2-page .takeaway:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
body.v2-page .takeaway i {
    font-size: 1.35rem;
    color: var(--brand-primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}
body.v2-page .takeaway .t-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}
body.v2-page .takeaway .t-body {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Gradient highlight closing line */
body.v2-page .highlight-line {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    line-height: 1.45;
    text-align: center;
    padding: 2.5rem 1.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    color: var(--text-primary);
    max-width: 820px;
    margin: 0 auto;
}

/* Detail page hero */
body.v2-page .detail-hero {
    padding: 7rem 0 4rem;
    position: relative;
    overflow: hidden;
}
body.v2-page .detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.18), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(236, 72, 153, 0.12), transparent 45%);
    z-index: 0;
    pointer-events: none;
}
body.v2-page .detail-hero > .container { position: relative; z-index: 1; }
body.v2-page .detail-hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
body.v2-page .detail-hero .hero-sub {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 740px;
    margin: 0 auto;
}
body.v2-page .detail-hero .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease, gap 0.2s ease;
}
body.v2-page .detail-hero .back-link:hover {
    color: var(--brand-primary);
    gap: 0.75rem;
}

/* Detail section blocks */
body.v2-page .detail-section {
    max-width: 820px;
    margin: 0 auto 3.5rem;
}
body.v2-page .detail-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.25;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
body.v2-page .detail-section h2 .h-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
body.v2-page .detail-section p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

/* Example card (for detail pages) */
body.v2-page .example-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    max-width: 880px;
    margin: 0 auto 3.5rem;
    position: relative;
}
body.v2-page .example-card .example-eyebrow {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    margin-bottom: 1rem;
}
body.v2-page .example-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}
body.v2-page .example-card .lead-line {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Big CTA card */
body.v2-page .cta-card {
    max-width: 880px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    background:
        radial-gradient(circle at 20% 0%, rgba(99, 102, 241, 0.18), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(236, 72, 153, 0.14), transparent 55%),
        var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
body.v2-page .cta-card h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}
body.v2-page .cta-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 2rem;
}
body.v2-page .cta-card .contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}
body.v2-page .cta-card .contact-row a {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
body.v2-page .cta-card .contact-row a i { color: var(--brand-primary); }
body.v2-page .cta-card .cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Smaller utility */
body.v2-page .lead-text {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-secondary);
}
body.v2-page .text-gradient {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Soft section divider */
body.v2-page .soft-divider {
    width: 60px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    margin: 1.25rem auto 2rem;
}

/* ============================================ */
/* Shift section: personas, cost, branching     */
/* ============================================ */

/* Persona contrast cards */
body.v2-page .persona-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1040px;
    margin: 0 auto 3rem;
}
@media (max-width: 820px) { body.v2-page .persona-grid { grid-template-columns: 1fr; } }

body.v2-page .persona-card {
    padding: 2.5rem 2rem;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.v2-page .persona-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
body.v2-page .persona-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
body.v2-page .persona-card.manager::before { background: linear-gradient(90deg, #f59e0b, #ef4444); }
body.v2-page .persona-card.dev::before { background: linear-gradient(90deg, #6366f1, #10b981); }

body.v2-page .persona-card .persona-avatar {
    width: 76px; height: 76px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin-bottom: 1.25rem;
    color: white;
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
body.v2-page .persona-card.manager .persona-avatar { background: linear-gradient(135deg, #f59e0b, #ef4444); }
body.v2-page .persona-card.dev .persona-avatar { background: linear-gradient(135deg, #6366f1, #8b5cf6); }

body.v2-page .persona-card .persona-tag {
    display: inline-block;
    padding: 0.35rem 0.8rem; border-radius: 999px;
    text-transform: uppercase; letter-spacing: 0.14em;
    font-weight: 700; font-size: 0.7rem;
    margin-bottom: 0.85rem;
}
body.v2-page .persona-card.manager .persona-tag { color: #d97706; background: rgba(245, 158, 11, 0.12); }
body.v2-page .persona-card.dev .persona-tag { color: var(--brand-primary); background: rgba(99, 102, 241, 0.12); }

body.v2-page .persona-card h3 {
    font-size: 1.45rem; margin-bottom: 0.85rem; line-height: 1.2;
}

body.v2-page .persona-card .persona-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-style: italic; font-size: 1.15rem; font-weight: 500;
    color: var(--text-primary); margin-bottom: 1.5rem;
    padding-left: 1rem; border-left: 3px solid var(--border-color);
}
body.v2-page .persona-card.manager .persona-quote { border-left-color: #f59e0b; }
body.v2-page .persona-card.dev .persona-quote { border-left-color: #6366f1; }

body.v2-page .persona-card .persona-list {
    list-style: none; padding: 0; margin: 0;
}
body.v2-page .persona-card .persona-list li {
    color: var(--text-secondary);
    padding: 0.55rem 0 0.55rem 1.85rem;
    position: relative; line-height: 1.55; font-size: 0.97rem;
}
body.v2-page .persona-card.manager .persona-list li::before {
    content: "\f071"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 0.7rem; color: #f59e0b; font-size: 0.85rem;
}
body.v2-page .persona-card.dev .persona-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 0.7rem; color: #10b981; font-size: 0.85rem;
}

/* Cost breakdown card */
body.v2-page .cost-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    max-width: 1040px;
    margin: 0 auto 3rem;
}
@media (max-width: 640px) { body.v2-page .cost-card { padding: 1.5rem; } }

body.v2-page .cost-card .cost-head { text-align: center; margin-bottom: 2rem; }
body.v2-page .cost-card .cost-head h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }
body.v2-page .cost-card .cost-head p { color: var(--text-secondary); font-size: 1rem; margin: 0; }

body.v2-page .cost-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
}
body.v2-page .cost-table th,
body.v2-page .cost-table td {
    padding: 0.95rem 1rem; text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}
body.v2-page .cost-table thead th {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--text-muted); padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--border-color);
}
body.v2-page .cost-table td:first-child { color: var(--text-primary); font-weight: 500; }
body.v2-page .cost-table th:nth-child(2),
body.v2-page .cost-table td:nth-child(2) { text-align: center; color: #d97706; font-weight: 600; }
body.v2-page .cost-table th:nth-child(3),
body.v2-page .cost-table td:nth-child(3) { text-align: center; color: #10b981; font-weight: 600; }
body.v2-page .cost-table tr.total td {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 1.1rem;
    background: rgba(99, 102, 241, 0.05);
    border-bottom: none;
    color: var(--text-primary);
}
body.v2-page .cost-table tr.total td:first-child { border-radius: 12px 0 0 12px; }
body.v2-page .cost-table tr.total td:last-child { border-radius: 0 12px 12px 0; }

body.v2-page .cost-card .cost-note {
    margin-top: 1.25rem; text-align: center;
    font-size: 0.85rem; color: var(--text-muted);
    font-style: italic;
}
body.v2-page .cost-card .cost-savings {
    margin-top: 1.5rem; padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}
body.v2-page .cost-card .cost-savings strong { color: #10b981; }

/* Mobile cost table: stack rows */
@media (max-width: 640px) {
    body.v2-page .cost-table thead { display: none; }
    body.v2-page .cost-table tr {
        display: block; padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    body.v2-page .cost-table tr.total {
        background: rgba(99,102,241,0.05);
        border-radius: 14px; padding: 1rem;
        margin-top: 0.5rem;
    }
    body.v2-page .cost-table td {
        display: flex; justify-content: space-between;
        padding: 0.35rem 0; border: none;
        text-align: right;
    }
    body.v2-page .cost-table td:first-child {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    body.v2-page .cost-table td::before {
        content: attr(data-label);
        font-weight: 700; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 0.1em;
        font-size: 0.7rem;
        align-self: center;
    }
    body.v2-page .cost-table td:first-child::before { display: none; }
}

/* Branching pillar cards */
body.v2-page .branch-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
    max-width: 1040px; margin: 0 auto;
}
@media (max-width: 820px) { body.v2-page .branch-grid { grid-template-columns: 1fr; } }

body.v2-page .branch-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.v2-page .branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

body.v2-page .branch-card .branch-head {
    padding: 1.25rem;
    display: flex; align-items: center; gap: 0.85rem;
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(139,92,246,0.06));
    border-bottom: 1px solid var(--border-color);
}
body.v2-page .branch-card .branch-head .branch-icon {
    width: 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}
body.v2-page .branch-card .branch-head .branch-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--text-muted); font-weight: 700;
    line-height: 1;
}
body.v2-page .branch-card .branch-head h4 {
    margin: 0.2rem 0 0; font-size: 1.1rem; line-height: 1.2;
}

body.v2-page .branch-card .branch-half {
    padding: 1.1rem 1.25rem;
    flex-grow: 1;
}
body.v2-page .branch-card .branch-half.bad {
    background: rgba(239, 68, 68, 0.04);
    border-bottom: 1px solid var(--border-color);
}
body.v2-page .branch-card .branch-half.good {
    background: rgba(16, 185, 129, 0.04);
}
body.v2-page .branch-card .branch-half .who {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.13em;
    margin-bottom: 0.45rem;
    display: flex; align-items: center; gap: 0.5rem;
}
body.v2-page .branch-card .branch-half.bad .who { color: #d97706; }
body.v2-page .branch-card .branch-half.good .who { color: #10b981; }
body.v2-page .branch-card .branch-half .what {
    color: var(--text-secondary);
    line-height: 1.55; font-size: 0.93rem;
}

body.v2-page .branch-card .branch-read {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    color: var(--brand-primary); font-weight: 600; text-decoration: none;
    background: rgba(99,102,241,0.05);
    border-top: 1px solid var(--border-color);
    font-size: 0.92rem;
    transition: gap 0.2s ease, background 0.2s ease;
}
body.v2-page .branch-card .branch-read:hover {
    gap: 0.85rem;
    background: rgba(99,102,241,0.1);
}

/* ============================================ */
/* Clickable cost cells + source modal          */
/* ============================================ */
body.v2-page .cost-table .cost-source-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px dashed currentColor;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: inherit;
}
body.v2-page .cost-table .cost-source-link:hover { opacity: 0.78; }
body.v2-page .cost-table .cost-source-link::after {
    content: "\f05a"; /* fa-circle-info */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.72em;
    opacity: 0.6;
}

body.v2-page #costSourceModal .modal-content {
    border-radius: 22px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
}
body.v2-page #costSourceModal .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}
body.v2-page #costSourceModal .modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.2rem;
}
body.v2-page #costSourceModal .modal-body {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
body.v2-page #costSourceModal .cost-modal-intro {
    font-size: 1rem;
    margin-bottom: 1rem;
}
body.v2-page #costSourceModal .cost-modal-calc {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin: 1rem 0 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}
body.v2-page #costSourceModal .cost-modal-sourceslabel {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
body.v2-page #costSourceModal .cost-source-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
body.v2-page #costSourceModal .cost-source-list a {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
body.v2-page #costSourceModal .cost-source-list a:hover {
    transform: translateY(-2px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}
body.v2-page #costSourceModal .cost-source-list .src-icon {
    color: var(--brand-primary);
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
body.v2-page #costSourceModal .cost-source-list .src-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
    line-height: 1.35;
    color: var(--text-primary);
}
body.v2-page #costSourceModal .cost-source-list .src-domain {
    font-size: 0.8rem;
    color: var(--text-muted);
}
body.v2-page #costSourceModal .modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}
