/* ==========================================================================
   Source78 — Warm European Editorial AI Studio Stylesheet
   ========================================================================== */

:root {
    --s78-ink: #1c1917;
    --s78-muted: #57534e;
    --s78-white: #ffffff;
    --s78-warm: #faf8f5;
    --s78-surface: #f4f0e9;
    --s78-border: #e7e1d8;
    --s78-accent: #b85d3b;
    --s78-accent-soft: #f6ebe5;
    --s78-live: #16a34a;
    --s78-serif: 'Instrument Serif', Georgia, serif;
    --s78-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --s78-radius: 20px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--s78-white);
    color: var(--s78-ink);
    font-family: var(--s78-sans);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.s78-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.s78-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Scroll Reveal Micro-Animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Header & Right-Aligned Navigation */
.s78-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--s78-border);
}

.s78-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.95rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.s78-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--s78-ink);
    flex-shrink: 0;
}

.s78-logo-mark {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.s78-logo-wordmark {
    font-family: var(--s78-sans);
    font-size: 1.14rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--s78-ink);
    line-height: 1;
}

.s78-logo-78 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.s78-footer-logo-link {
    margin-bottom: 0.8rem;
}

.s78-primary-nav {
    margin-left: auto;
}

.s78-primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.75rem;
}

.s78-primary-nav a {
    text-decoration: none;
    color: var(--s78-muted);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.18s ease;
}

.s78-primary-nav a:hover,
.s78-primary-nav a.is-active {
    color: var(--s78-ink);
    font-weight: 600;
}

.s78-header-controls {
    display: none;
    align-items: center;
    gap: 0.65rem;
}

.s78-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--s78-border);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.s78-mobile-toggle span {
    display: block;
    height: 1.8px;
    width: 100%;
    background: var(--s78-ink);
    border-radius: 2px;
}

.s78-mobile-drawer {
    border-top: 1px solid var(--s78-border);
    background: var(--s78-white);
    padding: 1rem 5% 1.35rem;
}

.s78-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.s78-mobile-nav a {
    color: var(--s78-ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

/* SPA Progress Bar */
.s78-spa-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2.5px;
    width: 0;
    background: linear-gradient(90deg, var(--s78-accent), var(--s78-ink));
    z-index: 9999;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.2s ease;
}

.s78-spa-progress.is-loading {
    opacity: 1;
    width: 72%;
}

.s78-spa-progress.is-done {
    opacity: 0;
    width: 100%;
}

.s78-spa-root {
    min-height: 70vh;
    transition: opacity 0.16s ease;
}

.s78-spa-root.is-transitioning {
    opacity: 0.55;
}

/* Warm Editorial Split Hero */
.s78-editorial-hero {
    padding: 4.5rem 0 4rem;
    background: linear-gradient(180deg, var(--s78-warm) 0%, var(--s78-white) 100%);
}

.s78-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.s78-hero-title {
    font-family: var(--s78-serif);
    font-weight: 400;
    font-size: clamp(2.65rem, 4.9vw, 4.1rem);
    line-height: 1.07;
    letter-spacing: -0.015em;
    color: var(--s78-ink);
    margin: 0 0 1.25rem;
}

.s78-hero-lead {
    font-size: 1.12rem;
    color: var(--s78-muted);
    max-width: 520px;
    margin: 0 0 2rem;
    line-height: 1.65;
}

.s78-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.s78-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.65rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.94rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.s78-btn:hover {
    transform: translateY(-2px);
}

.s78-btn-dark {
    background: var(--s78-ink);
    color: var(--s78-white);
    box-shadow: 0 8px 20px -10px rgba(28, 25, 23, 0.45);
}

.s78-btn-dark:hover {
    background: #2e2a27;
}

.s78-btn-outline {
    background: var(--s78-white);
    color: var(--s78-ink);
    border: 1px solid var(--s78-border);
}

.s78-btn-outline:hover {
    border-color: var(--s78-ink);
    background: var(--s78-warm);
}

/* Editorial Photo Frames */
.s78-photo-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--s78-surface);
    box-shadow: 0 24px 54px -26px rgba(28, 25, 23, 0.22);
    border: 1px solid rgba(231, 225, 216, 0.9);
}

.s78-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.s78-photo-frame:hover img {
    transform: scale(1.03);
}

.s78-photo-tall {
    aspect-ratio: 4 / 3;
}

.s78-photo-float {
    position: absolute;
    left: 1.15rem;
    bottom: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 24px -10px rgba(28, 25, 23, 0.25);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--s78-ink);
}

.s78-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--s78-live);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
    animation: s78Pulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes s78Pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16); }
    50% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0.04); }
}

/* Smooth Integrations Logo Marquee */
.s78-logo-marquee-band {
    padding: 2.75rem 0 3rem;
    border-top: 1px solid var(--s78-border);
    border-bottom: 1px solid var(--s78-border);
    background: var(--s78-white);
}

.s78-marquee-heading {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--s78-muted);
    margin: 0 0 1.6rem;
}

.s78-marquee-viewport {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.s78-marquee-track {
    display: flex;
    width: max-content;
    animation: s78Marquee 42s linear infinite;
}

.s78-marquee-viewport:hover .s78-marquee-track {
    animation-play-state: paused;
}

.s78-marquee-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1rem;
}

.s78-logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: var(--s78-warm);
    border: 1px solid var(--s78-border);
    color: var(--s78-ink);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.s78-logo-pill:hover {
    border-color: var(--s78-accent);
    background: var(--s78-white);
}

.s78-logo-pill-icon {
    display: inline-flex;
    align-items: center;
    color: var(--s78-muted);
}

@keyframes s78Marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .s78-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 0 5%;
    }
    .s78-marquee-group[aria-hidden="true"] {
        display: none;
    }
}

/* Sections & Warm Editorial Splits */
.s78-section {
    padding: 5.25rem 0;
}

.s78-band {
    padding: 5.25rem 0;
}

.s78-band-warm,
.s78-band-subtle {
    background: var(--s78-warm);
    border-top: 1px solid var(--s78-border);
    border-bottom: 1px solid var(--s78-border);
}

.s78-split-feature {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.s78-split-reverse {
    grid-template-columns: 1.05fr 0.95fr;
}

.s78-section-title,
.s78-section-head h2 {
    font-family: var(--s78-serif);
    font-weight: 400;
    font-size: clamp(2.1rem, 3.8vw, 3rem);
    line-height: 1.12;
    color: var(--s78-ink);
    margin: 0 0 0.85rem;
}

.s78-section-lead,
.s78-section-head p {
    color: var(--s78-muted);
    font-size: 1.04rem;
    margin: 0;
    line-height: 1.65;
}

.s78-section-head {
    max-width: 680px;
    margin: 0 auto 3rem;
    text-align: center;
}

.s78-feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.45rem;
}

.s78-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.s78-feature-row h3 {
    margin: 0 0 0.25rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--s78-ink);
}

.s78-feature-row p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--s78-muted);
    line-height: 1.6;
}

.s78-warm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--s78-accent-soft);
    color: var(--s78-accent);
    flex-shrink: 0;
}

.s78-card-icon {
    margin-bottom: 1.1rem;
}

/* Cards Grids */
.s78-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.5rem;
}

.s78-mission-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.s78-card {
    background: var(--s78-white);
    border: 1px solid var(--s78-border);
    border-radius: var(--s78-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.s78-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -24px rgba(28, 25, 23, 0.16);
    border-color: #d6cdc0;
}

.s78-card-featured {
    background: var(--s78-warm);
}

.s78-card-tag,
.s78-article-date {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--s78-accent);
    margin-bottom: 0.65rem;
}

.s78-card h2,
.s78-card h3 {
    font-size: 1.16rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.65rem;
    color: var(--s78-ink);
}

.s78-card-title-link {
    color: inherit;
    text-decoration: none;
}

.s78-card-title-link:hover {
    color: var(--s78-accent);
}

.s78-card p {
    margin: 0 0 1.25rem;
    color: var(--s78-muted);
    font-size: 0.94rem;
    flex: 1;
}

.s78-text-link {
    color: var(--s78-accent);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: opacity 0.16s ease;
}

.s78-text-link:hover {
    opacity: 0.8;
}

/* Inner Page Heroes & Detail Views */
.s78-page-hero {
    padding: 4.5rem 0 3rem;
    background: linear-gradient(180deg, var(--s78-warm) 0%, var(--s78-white) 100%);
    text-align: center;
    border-bottom: 1px solid var(--s78-border);
}

.s78-page-hero-left {
    text-align: left;
}

.s78-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--s78-accent);
    margin-bottom: 0.75rem;
}

.s78-breadcrumb {
    margin-bottom: 1rem;
}

.s78-breadcrumb a {
    color: var(--s78-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.s78-page-title {
    font-family: var(--s78-serif);
    font-weight: 400;
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    line-height: 1.12;
    margin: 0 0 0.9rem;
}

.s78-page-lead {
    max-width: 700px;
    margin: 0 auto;
    color: var(--s78-muted);
    font-size: 1.1rem;
}

.s78-page-hero-left .s78-page-lead {
    margin: 0;
}

.s78-detail-layout {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 2.75rem;
    align-items: start;
}

.s78-lead-paragraph {
    font-size: 1.12rem;
    color: var(--s78-ink);
    font-weight: 500;
}

.s78-prose-block h2 {
    font-size: 1.38rem;
    margin: 2rem 0 0.65rem;
}

.s78-specs-card,
.s78-prose-card {
    background: var(--s78-warm);
    border: 1px solid var(--s78-border);
    border-radius: var(--s78-radius);
    padding: 2rem;
}

.s78-specs-card h3 {
    margin: 0 0 1rem;
    font-size: 1.08rem;
}

.s78-specs-dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.s78-specs-dl div {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--s78-border);
}

.s78-specs-dl dt {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--s78-muted);
}

.s78-specs-dl dd {
    margin: 0.2rem 0 0;
    font-weight: 600;
    font-size: 0.92rem;
}

.s78-check-list {
    padding-left: 1.25rem;
}

.s78-check-list li {
    margin-bottom: 0.55rem;
}

.s78-city-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.s78-city-pill {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--s78-white);
    border: 1px solid var(--s78-border);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--s78-ink);
}

/* FAQ Accordion */
.s78-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.s78-faq-item {
    background: var(--s78-white);
    border: 1px solid var(--s78-border);
    border-radius: 16px;
    padding: 1.2rem 1.45rem;
}

.s78-faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: var(--s78-ink);
}

.s78-faq-item p {
    margin: 0.75rem 0 0;
    color: var(--s78-muted);
    font-size: 0.95rem;
}

/* CTA & Footer */
.s78-cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2.25rem;
    background: var(--s78-warm);
    border: 1px solid var(--s78-border);
    border-radius: var(--s78-radius);
}

.s78-cta-inline h3 {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
}

.s78-cta-inline p {
    margin: 0;
    color: var(--s78-muted);
    max-width: 560px;
}

.s78-cta-band {
    padding: 5.25rem 0;
    text-align: center;
    background: var(--s78-white);
}

.s78-cta-band h2 {
    font-family: var(--s78-serif);
    font-weight: 400;
    font-size: clamp(2.1rem, 3.8vw, 3rem);
    margin: 0 0 0.7rem;
}

.s78-cta-band p {
    max-width: 580px;
    margin: 0 auto 1.85rem;
    color: var(--s78-muted);
    font-size: 1.05rem;
}

.s78-site-footer {
    border-top: 1px solid var(--s78-border);
    background: var(--s78-warm);
    padding: 3.75rem 0 2.25rem;
    font-size: 0.9rem;
    color: var(--s78-muted);
}

.s78-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.3fr 1fr;
    gap: 2.25rem;
    margin-bottom: 2.25rem;
}

.s78-footer-col h4 {
    color: var(--s78-ink);
    margin: 0 0 0.8rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.s78-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.s78-footer-col a,
.s78-footer-legal a {
    color: var(--s78-muted);
    text-decoration: none;
}

.s78-footer-col a:hover,
.s78-footer-legal a:hover {
    color: var(--s78-ink);
}

.s78-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--s78-border);
}

.s78-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* High-Trust Business Playbooks (Before -> With AI + Team -> Aha Moment) */
.s78-pitch-band {
    background: var(--s78-warm);
    border-bottom: 1px solid var(--s78-border);
}

.s78-pitch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.s78-pitch-card {
    background: var(--s78-white);
    border: 1px solid var(--s78-border);
    border-radius: 22px;
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.s78-pitch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -26px rgba(28, 25, 23, 0.16);
    border-color: #d6cdc0;
}

.s78-pitch-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.s78-pitch-head h3 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--s78-ink);
    line-height: 1.25;
}

.s78-pitch-flow {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
}

.s78-pitch-row {
    padding: 0.95rem 1.05rem;
    border-radius: 14px;
    background: var(--s78-warm);
    border: 1px solid var(--s78-border);
}

.s78-pitch-aha {
    background: var(--s78-accent-soft);
    border-color: rgba(184, 93, 59, 0.26);
    margin-top: auto;
}

.s78-pitch-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--s78-muted);
    margin-bottom: 0.3rem;
}

.s78-pitch-aha .s78-pitch-kicker {
    color: var(--s78-accent);
}

.s78-pitch-row p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--s78-ink);
}

.s78-pitch-footer {
    text-align: center;
    margin-top: 2.5rem;
}

/* Technical Mono Badges & Architecture Diagrams */
.s78-mono-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.s78-mono-badge,
.s78-arch-mono {
    display: inline-block;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--s78-muted);
}

.s78-mono-badge {
    padding: 0.28rem 0.62rem;
    border-radius: 6px;
    background: var(--s78-surface);
    border: 1px solid var(--s78-border);
    color: var(--s78-ink);
}

.s78-mono-accent {
    color: var(--s78-accent);
}

.s78-exec-card {
    background: #181715;
    color: #f5f2ed;
    border: 1px solid #2c2824;
    border-radius: 22px;
    padding: 1.5rem 1.65rem;
    box-shadow: 0 28px 60px -28px rgba(28, 25, 23, 0.35);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.s78-exec-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.76rem;
    color: rgba(245, 242, 237, 0.72);
}

.s78-exec-title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.s78-exec-pill {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(184, 93, 59, 0.2);
    color: #f2b79e;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.s78-exec-rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.s78-exec-row {
    padding: 0.9rem 1.05rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.s78-exec-gain {
    background: rgba(22, 163, 74, 0.11);
    border-color: rgba(74, 222, 128, 0.26);
}

.s78-exec-k {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.69rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245, 242, 237, 0.56);
}

.s78-exec-gain .s78-exec-k {
    color: #86efac;
}

.s78-exec-v {
    font-size: 0.94rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
}

.s78-exec-foot {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: rgba(245, 242, 237, 0.55);
    text-align: center;
}

/* RAG vs Graph Visual Comparison */
.s78-compare-stack {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.s78-compare-box {
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid var(--s78-border);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.s78-compare-rag {
    background: #f5f3f0;
    color: var(--s78-muted);
}

.s78-chunk-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.s78-chunk-list code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed #d6cfc5;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    color: var(--s78-muted);
    display: block;
}

.s78-compare-graph {
    background: var(--s78-white);
    border-color: rgba(184, 93, 59, 0.35);
    box-shadow: 0 18px 40px -28px rgba(28, 25, 23, 0.18);
}

.s78-graph-mesh {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.s78-graph-node {
    padding: 0.45rem 0.8rem;
    border-radius: 10px;
    background: var(--s78-accent-soft);
    border: 1px solid rgba(184, 93, 59, 0.25);
    color: var(--s78-ink);
    font-size: 0.84rem;
    font-weight: 600;
}

.s78-graph-link {
    color: var(--s78-accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.s78-compare-foot {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.74rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--s78-border);
}

.s78-foot-warn {
    color: #991b1b;
}

.s78-foot-ok {
    color: #166534;
}

.s78-feature-row-tech {
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--s78-border);
}

.s78-feature-row-tech:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

/* Contact 3-Field Form & Copy Email */
.s78-contact-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}

.s78-quick-form {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
}

.s78-hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.s78-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.s78-field label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--s78-ink);
}

.s78-field input,
.s78-field select {
    font-family: var(--s78-sans);
    font-size: 0.94rem;
    padding: 0.75rem 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--s78-border);
    background: var(--s78-white);
    color: var(--s78-ink);
}

.s78-field input:focus,
.s78-field select:focus {
    outline: 2px solid var(--s78-accent);
    outline-offset: 1px;
}

.s78-form-status {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.88rem;
    font-weight: 500;
}

.s78-direct-email-bar {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--s78-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.s78-mono-email {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--s78-ink);
    text-decoration: none;
}

.s78-copy-btn {
    appearance: none;
    border: 1px solid var(--s78-border);
    background: var(--s78-white);
    color: var(--s78-ink);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.s78-copy-btn:hover {
    border-color: var(--s78-ink);
    background: var(--s78-surface);
}

@media (max-width: 960px) {
    .s78-hero-grid,
    .s78-split-feature,
    .s78-split-reverse,
    .s78-pitch-grid,
    .s78-contact-layout,
    .s78-arch-inputs,
    .s78-detail-layout,
    .s78-footer-grid,
    .s78-mission-pillars {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .s78-split-reverse .s78-split-media {
        order: -1;
    }
}

@media (max-width: 860px) {
    .s78-primary-nav {
        display: none;
    }
    .s78-header-controls {
        display: flex;
        margin-left: auto;
    }
    .s78-mobile-toggle {
        display: inline-flex;
    }
    .s78-editorial-hero {
        padding: 3rem 0 2.75rem;
    }
    .s78-section,
    .s78-band {
        padding: 3.75rem 0;
    }
}