/* =====================================================
   DEEP SELF · page sheet (deepself.html)
   css/index.css folded together with the page's former inline
   passes; duplicates resolved last-wins, dead rules dropped,
   register colours as the semantic variables.
   ===================================================== */

/* =====================================================
   DEEP SELF: Index Page Styles
   Homepage-specific components
   ===================================================== */

/* ===== CSS VARIABLES (override main.css if needed) ===== */

:root {
    --font-sans: 'Space Grotesk', sans-serif;
    --font-serif: 'Space Grotesk', sans-serif;
}

/* ===== BASE ===== */

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

a:visited {
    color: inherit;
}

/* ===== LANDING HERO ===== */

.landing-hero {
    min-height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-xl) var(--left-offset);
    position: relative;
    background: radial-gradient(ellipse at 85% 15%, rgba(184, 149, 110, 0.12) 0%, transparent 50%), linear-gradient(180deg, #18140f 0%, #100e0c 50%, var(--black) 100%);
    gap: var(--spacing-lg);
}

.landing-hero__image {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-hero__image img {
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 245, 160, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* CRT Scanlines */

.landing-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient( 0deg, transparent, transparent 1px, rgba(0, 0, 0, 0.06) 1px, rgba(0, 0, 0, 0.06) 2px ), radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
    z-index: 3;
}

.landing-hero__inner {
    max-width: var(--max-width-narrow);
    margin: 0;
    position: relative;
}

.landing-hero__question {
    font-family: var(--font-family);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 5;
}

.landing-hero__title {
    font-family: var(--font-family);
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 700;
    line-height: 1;
    color: #FFFFFF;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 0 1px #FFFFFF, 0 0 2px #FFFFFF, 0 0 10px #00FF9F, 0 0 20px #00FF9F, 0 0 40px #00FF9F, 0 0 80px rgba(0, 255, 159, 0.8), 0 0 120px rgba(0, 255, 159, 0.5);
    position: relative;
    z-index: 2;
    animation: crtFlicker 3s ease-in-out infinite;
}

@keyframes crtFlicker {
    0%, 100% { opacity: 1; filter: brightness(1); }
    5% { opacity: 0.92; filter: brightness(0.95); }
    6% { opacity: 1; filter: brightness(1.05); }
    20% { opacity: 0.98; filter: brightness(1); }
    21% { opacity: 0.88; filter: brightness(0.9); }
    22% { opacity: 1; filter: brightness(1); }
    45% { opacity: 0.95; filter: brightness(0.97); }
    46% { opacity: 1; filter: brightness(1.02); }
    70% { opacity: 1; filter: brightness(1); }
    71% { opacity: 0.85; filter: brightness(1.1); }
    72% { opacity: 0.92; filter: brightness(0.95); }
    73% { opacity: 1; filter: brightness(1); }
    90% { opacity: 0.97; filter: brightness(0.98); }
    91% { opacity: 1; filter: brightness(1); }
}

.landing-hero__title span {
    color: #FFFFFF;
}

.landing-hero__answer {
    font-family: var(--font-family);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    color: var(--green);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 5;
}

.landing-hero__desc {
    font-family: var(--font-family);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--cream);
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 5;
}

.landing-hero__cta {
    display: flex;
    position: relative;
    z-index: 5;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* ===== HINT TOOLTIPS ===== */

/* ===== BUTTONS ===== */

.btn-primary {
    display: inline-block;
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    background: var(--green);
    color: var(--black);
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    background: var(--cream);
}

.btn-secondary {
    display: inline-block;
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(154, 154, 154, 0.35);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-secondary:hover {
    border-color: var(--green);
    color: var(--green);
}

/* ===== SECTIONS ===== */

.section {
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-xl) var(--left-offset);
    position: relative;
}

.section--dark {
    background: var(--black);
}

.section__inner {
    max-width: var(--max-width);
    margin: 0;
}

.section__subtitle {
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--grey);
    max-width: 700px;
    margin: 0;
}

/* ===== PROBLEM CARDS ===== */

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.problem-card {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--grey-dark);
    text-align: left;
}

.problem-card__icon {
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: var(--spacing-sm);
}

.problem-card__title {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cream);
    margin-bottom: var(--spacing-xs);
}

/* ===== SOLUTION BOX ===== */

.solution-feature {
    font-family: var(--font-family);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border: 1px solid var(--grey-dark);
    color: var(--cream);
}

.solution-feature--green {
    border-color: rgba(0, 245, 160, 0.4);
    color: var(--green);
}

.solution-feature--gold {
    border-color: rgba(184, 149, 110, 0.4);
    color: var(--gold);
}

/* ===== INDUSTRY CARDS ===== */

.industry-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

/* ===== PRODUCTS GRID ===== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: var(--spacing-lg);
    gap: 22px;
}

.product-item__icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
    opacity: 0.8;
}

/* ===== TIERS GRID ===== */

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.tier-item--recommended::before {
    content: 'Recommended';
    position: absolute;
    top: -10px;
    left: var(--spacing-sm);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    background: var(--gold);
    color: var(--black);
}

.tier-item--core .tier-item__label {
    color: var(--green);
}

.tier-item--recommended .tier-item__label {
    color: var(--gold);
}

.tier-item__features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-sm) 0;
}

.tier-item__features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--grey-dark);
}

.tier-item__more:hover {
    opacity: 1;
}

/* ===== TRUST SECTION ===== */

.trust-section {
    background: var(--black);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-lg) var(--left-offset);
    border-top: 1px solid var(--grey-dark);
}

.trust-section__inner {
    max-width: var(--max-width);
    margin: 0;
}

.trust-section__header {
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.trust-section__title {
    font-family: var(--font-family);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    color: var(--cream);
    opacity: 0.85;
}

.trust-cards {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0;
}

.trust-card:hover {
    border-color: var(--green);
}

.trust-card__icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(184, 149, 110, 0.5);
}

.trust-card--security .trust-card__icon {
    color: var(--cream);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.trust-card__tags {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.trust-tag {
    font-family: var(--font-family);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.35rem 0.6rem;
    border: 1px solid;
}

.trust-tag--gold {
    color: var(--gold);
    border-color: rgba(184, 149, 110, 0.4);
    background: rgba(184, 149, 110, 0.1);
}

.trust-tag--green {
    color: var(--green);
    border-color: rgba(0, 245, 160, 0.4);
    background: rgba(0, 245, 160, 0.1);
}

.trust-tag--white {
    color: var(--cream);
    border-color: rgba(245, 242, 235, 0.4);
    background: rgba(245, 242, 235, 0.1);
}

.trust-card__footer {
    font-family: var(--font-family);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--grey);
}

.trust-card__footer span {
    margin: 0 0.25rem;
}

.trust-card--security .trust-card__footer {
    color: var(--green);
}

/* ===== MODAL ===== */

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: var(--charcoal);
    border: 1px solid var(--grey-dark);
    max-width: 550px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal__header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--grey-dark);
}

.modal__badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.6rem;
    margin-bottom: var(--spacing-xs);
    border: 1px solid;
}

.modal__badge--product {
    color: var(--gold);
    border-color: rgba(184, 149, 110, 0.3);
}

.modal__badge--tier {
    color: var(--green);
    border-color: rgba(0, 245, 160, 0.3);
}

.modal__title {
    font-family: var(--font-family);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--spacing-xs);
}

.modal__tagline {
    font-size: 0.9rem;
    color: var(--grey);
    font-style: normal;
}

.modal__body {
    padding: var(--spacing-md);
}

.modal__desc {
    font-size: 0.95rem;
    color: var(--cream);
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: var(--spacing-md);
}

.modal__features-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--grey);
    margin-bottom: var(--spacing-xs);
}

.modal__features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
}

.modal__features li {
    font-size: 0.9rem;
    color: var(--cream);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--grey-dark);
}

.modal__features li:last-child {
    border-bottom: none;
}

.modal__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 0.8rem;
}

.modal__ideal {
    font-size: 0.85rem;
    color: var(--grey);
    line-height: 1.6;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--gold);
}

.modal__ideal strong {
    color: var(--cream);
}

.modal__footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--grey-dark);
    display: flex;
    gap: var(--spacing-sm);
}

.modal__cta {
    flex: 1;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.modal__cta--primary {
    background: var(--green);
    color: var(--black);
}

.modal__cta--primary:hover {
    background: var(--cream);
}

.modal__cta--secondary {
    border: 1px solid rgba(154, 154, 154, 0.35);
    color: var(--cream);
}

.modal__cta--secondary:hover {
    border-color: var(--green);
    color: var(--green);
}

.modal__close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid var(--grey-dark);
    color: var(--grey);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.modal__close:hover {
    border-color: var(--cream);
    color: var(--cream);
}

/* Gold Modal Variant */

.modal--gold {
    border-color: var(--gold);
}

.modal--gold .modal__header {
    border-bottom-color: rgba(184, 149, 110, 0.3);
}

.modal--gold .modal__badge {
    color: var(--gold);
    border-color: rgba(184, 149, 110, 0.4);
    background: rgba(184, 149, 110, 0.1);
}

.modal--gold .modal__features li::before {
    color: var(--gold);
}

.modal--gold .modal__ideal {
    border-left-color: var(--gold);
}

.modal--gold .modal__footer {
    border-top-color: rgba(184, 149, 110, 0.3);
}

.modal--gold .modal__cta--primary {
    background: var(--gold);
    color: var(--black);
}

.modal--gold .modal__cta--primary:hover {
    background: var(--cream);
}

.modal--gold .modal__close:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ===== CTA SECTION ===== */

.cta-section {
    text-align: left;
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-xl) var(--left-offset);
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);
}

.cta-section__buttons {
    display: flex;
    justify-content: flex-start;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* ===== EXPLORE LINK ===== */

.explore-section {
    text-align: left;
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-lg) var(--left-offset);
    border-top: 1px solid var(--grey-dark);
}

.explore-section__text {
    font-size: 0.9rem;
    color: var(--grey);
    margin-bottom: var(--spacing-sm);
}

.explore-section__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.explore-section__link:hover {
    opacity: 0.7;
}

/* ===== FOOTER ===== */

.footer {
    text-align: left;
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-lg) var(--left-offset);
    border-top: 1px solid var(--grey-dark);
}

/* ===== VIDEO SECTION ===== */

.video-section {
    position: relative;
    width: 100%;
    background: var(--black);
    overflow: hidden;
}

.video-section__video {
    width: 100%;
    display: block;
}

.video-section__mute {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cream);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), border-color var(--transition-fast);
    z-index: 10;
}

.video-section__mute:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: var(--green);
}

.video-section__mute svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ===== SELECTION ===== */

::selection {
    background: var(--green);
    color: var(--black);
}

/* ===== RESPONSIVE ===== */

@media (max-width:1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width:900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .landing-hero {
        grid-template-columns: 1fr;
    }

    .landing-hero__image {
        order: -1;
        max-height: 40vh;
    }

    .landing-hero__image img {
        max-height: 40vh;
    }

}

@media (max-width:768px) {
    .landing-hero {
        min-height: auto;
        padding: var(--spacing-lg) var(--spacing-sm);
        grid-template-columns: 1fr;
    }

    .landing-hero__image {
        display: none;
    }

    .landing-hero__title {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .problem-cards {
        grid-template-columns: 1fr;
    }

    .industry-cards {
        grid-template-columns: 1fr;
    }

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

    .trust-cards {
        grid-template-columns: 1fr;
    }

    .landing-hero__cta {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: left;
    }

    .solution-box__features {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-section__buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-section__buttons .btn-primary, .cta-section__buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .modal {
        max-height: 90vh;
        margin: var(--spacing-sm);
    }

    .modal__header, .modal__body, .modal__footer {
        padding: var(--spacing-sm);
    }

    .modal__footer {
        flex-direction: column;
    }

}

/* the problem cards carry their codices now (consolidated from codex.html) */

.problem-card--codex {
    display: block;
    text-decoration: none;
    position: relative;
    transition: border-color .15s ease, transform .15s ease;
}

.pc-reveals strong {
    color: var(--accent);
    font-weight: 600;
}

.pc-go {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--mono-face);
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--accent);
}

.problem-card--codex:hover .pc-go {
    text-decoration: underline;
}

.pc-converge strong {
    color: var(--ink);
}

.layers-grid {
    margin-top: 44px;
}

/* modals sit dead centre of the viewport */

.modal-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,.72);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active, .modal-overlay[style*="flex"] {
    display: flex;
}

.modal-overlay .modal {
    margin: 0;
    max-height: 86vh;
    overflow-y: auto;
}

/* ── the back-half uplift: scale, air, and the site's own devices ── */

.section__subtitle {
    font-size: 17px;
    line-height: 1.75;
}

.section__header {
    text-align: left;
    margin-bottom: 38px;
}

.industry-card-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    border: 1px solid rgba(255,255,255,.1);
    padding: 34px 30px;
    text-decoration: none;
    background: rgba(255,255,255,.015);
    transition: border-color .15s,transform .15s;
}

.icl-kicker {
    margin: 0 0 10px;
    font-family: var(--mono-face);
    font-size: 9px;
    letter-spacing: .24em;
    color: var(--accent-2);
}

.product-item {
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.015);
    padding: 28px 22px 24px;
    cursor: pointer;
    transition: transform .16s,border-color .16s;
}

.product-item:hover {
    background: rgba(0, 245, 160, 0.05);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.product-item__more {
    font-weight: 600;
    text-transform: uppercase;
    padding-top: var(--spacing-sm);
    margin-top: 14px;
    font-family: var(--mono-face);
    font-size: 10px;
    letter-spacing: .18em;
    color: var(--accent);
}

.tier-item {
    text-align: left;
    position: relative;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.015);
    padding: 30px 26px;
    cursor: pointer;
    transition: transform .16s,border-color .16s;
}

.tier-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.28);
}

.tier-item--recommended {
    border-color: var(--accent);
}

.tier-item--recommended:hover {
    border-color: var(--accent);
}

.tier-item__label {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    font-family: var(--mono-face);
    font-size: 9px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin: 0 0 10px;
}

.tier-item__name {
    font-family: var(--font-family);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--spacing-xs);
    font-size: 23px;
    margin: 0 0 8px;
}

.tier-item__more {
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    margin-top: 14px;
    font-family: var(--mono-face);
    font-size: 10px;
    letter-spacing: .18em;
    color: var(--accent);
}

.trust-card {
    text-align: left;
    position: relative;
    text-decoration: none;
    display: block;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.015);
    padding: 30px;
}

.trust-card--security {
    transition: border-color .15s,transform .15s;
}

/* ── the editorial rule: reading aligns to the title's left edge;
         only ritual moments centre ── */

.section .section__header {
    text-align: left;
}

.section .section__subtitle--prose {
    margin-left: 0;
    margin-right: 0;
}

.section .section__badge {
    margin-left: 0;
}

/* the geo spread: reading left, the finding as an artifact right */

.geo-spread {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
    gap: 64px;
    align-items: center;
}

.geo-read .section__title {
    margin: 18px 0 22px;
}

.geo-card {
    position: relative;
    border: 1px solid rgba(201,166,120,.35);
    padding: 38px 34px;
    background: rgba(255,255,255,.015);
}

.geo-card::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -1px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--accent-2);
    border-right: 2px solid var(--accent-2);
}

.geo-card__label {
    display: block;
    margin-bottom: 20px;
    font-family: var(--mono-face);
    font-size: 9px;
    letter-spacing: .26em;
    color: var(--accent-2);
}

.geo-card__cta {
    display: block;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-family: var(--mono-face);
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--accent);
    text-decoration: none;
}

.geo-card__cta:hover {
    text-decoration: underline;
}

@media (max-width:900px) {
    .geo-spread {
        grid-template-columns: 1fr;
        gap: 36px;
    }

}

/* the solution box spans the container: text left, properties right */

.solution-box {
    margin: 0;
    text-align: left;
    background: rgba(0, 245, 160, 0.03);
    border: 1px solid rgba(0, 245, 160, 0.15);
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr);
    grid-template-areas: "title title" "text feats";
    column-gap: 56px;
    row-gap: 26px;
    align-items: start;
    padding: 52px 48px;
}

.solution-box__title {
    font-family: var(--font-family);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--spacing-sm);
    grid-area: title;
    font-size: clamp(26px,3vw,38px);
    margin: 0 0 18px;
}

.solution-box__text {
    color: var(--cream);
    opacity: 0.85;
    margin-bottom: var(--spacing-md);
    grid-area: text;
    font-size: 16.5px;
    line-height: 1.78;
    max-width: 56ch;
}

.solution-box__features {
    justify-content: flex-start;
    flex-wrap: wrap;
    grid-area: feats;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    justify-self: stretch;
}

.solution-box__features>* {
    display: block;
    text-align: center;
    padding: 14px 10px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(201,166,120,.16);
    border-radius: 2px;
}

@media (max-width:900px) {
    .solution-box {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 34px 26px;
        grid-template-areas: "title" "text" "feats";
    }

    .solution-box__text {
        max-width: none;
    }

    .solution-box__features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .solution-box__features>* {
        flex: 1 1 auto;
        padding: 12px 16px;
    }

}

/* the sermon devices: fragments, collisions, the emergence */

.frag-list {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
    max-width: 66ch;
}

.frag-list li:last-child {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.frag-mark {
    color: var(--accent);
    font-size: 11px;
}

.collide-list {
    margin: 34px 0 0;
    max-width: 820px;
}

.collide-row {
    display: grid;
    grid-template-columns: 1fr 44px 1fr;
    align-items: center;
    padding: 14px 2px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.collide-row:last-child {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.collide-row span:last-child {
    text-align: right;
}

.collide-row b {
    text-align: center;
    color: var(--accent);
    font-weight: 400;
    font-size: 18px;
}

.emerge {
    margin: 58px 0;
    font-size: clamp(34px,5vw,60px);
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--accent);
}

.ghost-word {
    color: var(--ink);
}

.lab-credit {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 34px 32px;
    text-align: center;
    background: #0a0a0a;
}

.lab-credit__text a {
    color: #FF5A00;
    text-decoration: none;
}

.lab-credit__text a:hover {
    text-decoration: underline;
}

.call-section__title {
    font-size: clamp(28px,3.8vw,46px);
    line-height: 1.1;
}

.cta-section__title {
    font-family: var(--font-family);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--spacing-sm);
    font-size: clamp(30px,4.2vw,52px);
}

.section__subtitle {
    font-size: 18px;
    color: #d6d3cb;
}

.section__subtitle--prose {
    max-width: 66ch;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    font-size: 18px;
    line-height: 1.8;
    color: #d6d3cb;
}

.problem-card__text {
    font-size: 15.5px;
    line-height: 1.72;
    color: #cdcac2;
}

.pc-reveals {
    margin: 14px 0 0;
    line-height: 1.6;
    font-size: 14.5px;
    color: #cdcac2;
}

.pc-access {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: var(--mono-face);
    font-size: 8.5px;
    letter-spacing: .22em;
    color: rgba(255,255,255,.55);
}

.pc-converge {
    margin: 40px auto 0;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 30px;
    margin-top: 48px;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 70ch;
    font-size: 17px;
    line-height: 1.75;
    color: #cdcac2;
}

.layers-grid .problem-card__title {
    font-size: 16.5px;
}

.geo-prose {
    line-height: 1.8;
    max-width: 54ch;
    margin: 0 0 18px;
    font-size: 17.5px;
    color: #d6d3cb;
}

.geo-card__quote {
    margin: 0 0 26px;
    font-size: clamp(20px,2.1vw,26px);
    line-height: 1.42;
    font-weight: 600;
    color: var(--ink);
}

.icl-text {
    margin: 0;
    line-height: 1.7;
    max-width: 56ch;
    font-size: 16px;
    color: #cdcac2;
}

.icl-title {
    margin: 0 0 12px;
    font-size: 26px;
    color: var(--ink);
}

.product-item__desc {
    margin-top: var(--spacing-xs);
    font-size: 15px;
    line-height: 1.7;
    color: #cdcac2;
}

.product-item__tagline {
    margin-bottom: var(--spacing-sm);
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 10px;
    font-size: 15px;
}

.product-item__name {
    font-family: var(--font-family);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 21px;
    margin: 10px 0 6px;
    color: var(--ink);
}

.tier-item__tagline {
    margin-bottom: var(--spacing-sm);
    font-size: 15px;
    line-height: 1.6;
    color: #d6d3cb;
}

.tier-item__features li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
    line-height: 1.75;
    font-size: 14.5px;
    color: #cdcac2;
}

.trust-card__body {
    font-family: var(--font-family);
    font-weight: 400;
    opacity: 0.75;
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    font-size: 16px;
    color: #cdcac2;
}

.trust-card__headline {
    font-family: var(--font-family);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 21px;
    line-height: 1.25;
    color: var(--ink);
}

.frag-list li {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 15px 2px;
    border-top: 1px solid rgba(255,255,255,.08);
    line-height: 1.6;
    font-size: 17.5px;
    color: #eae7de;
}

.frag-close {
    max-width: 66ch;
    margin: 22px 0 0;
    line-height: 1.8;
    font-size: 17.5px;
    color: #d6d3cb;
}

.collide-row span {
    line-height: 1.5;
    font-size: 16.5px;
    color: #d6d3cb;
}

.cta-section__text {
    margin-bottom: var(--spacing-md);
    font-size: 18px;
    color: #d6d3cb;
}

.lab-credit__text {
    font-family: var(--mono-face);
    letter-spacing: .08em;
    font-size: 11.5px;
    color: #a5a199;
}

/* the ground */

body {
    background: radial-gradient(110% 70% at 82% -5%,rgba(201,166,120,.13),transparent 55%), radial-gradient(80% 60% at 0% 108%,rgba(201,166,120,.07),transparent 60%), linear-gradient(168deg,#16130f 0%,#0d0c0b 48%,#0a0a0a 100%);
    background-attachment: fixed;
}

/* section seams: a gold-to-nothing hairline at each section top */

.section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg,rgba(201,166,120,.38),rgba(255,255,255,.07) 42%,transparent 85%);
}

/* the plates: everything written-on lifts off the ground */

.problem-card, .industry-card-link, .product-item, .tier-item, .trust-card, .geo-card, .solution-box {
    background: linear-gradient(168deg,rgba(255,255,255,.05),rgba(255,255,255,.015) 55%),rgba(14,13,11,.72);
    border: 1px solid rgba(201,166,120,.18);
    border-radius: 2px;
    box-shadow: 0 20px 44px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.07);
}

.problem-card--codex:hover {
    transform: translateY(-3px);
    border-color: rgba(16,185,129,.6);
}

.industry-card-link:hover {
    transform: translateY(-3px);
    border-color: rgba(201,166,120,.55);
}

.product-item:hover, .tier-item:hover {
    border-color: rgba(201,166,120,.5);
}

.tier-item--recommended, .tier-item--recommended:hover {
    border-color: rgba(16,185,129,.55);
}

.trust-card--security:hover {
    transform: translateY(-3px);
    border-color: rgba(16,185,129,.55);
}

/* the product cards lose their ghost numerals */

.product-item__number {
    font-family: var(--font-family);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: absolute;
    top: 8px;
    right: 16px;
    margin: 0;
    font-size: 46px;
    font-weight: 700;
    color: rgba(255,255,255,.07);
    display: none;
}

/* the two centred strays come home to the left edge */

.call-section .section__inner {
    text-align: left;
}

.call-section__text {
    line-height: 1.75;
    max-width: 58ch;
    margin: 18px auto 30px;
    font-size: 18px;
    color: #d6d3cb;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.pull-band p {
    margin: 0;
    font-size: clamp(22px,3vw,34px);
    line-height: 1.25;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
}

.pull-band {
    border-top: 0;
    border-bottom: 0;
    border-left: 2px solid var(--accent-2);
    padding: 6px 0 6px 28px;
    margin: 64px 0;
}

@media (max-width:820px) {
    body {
        background-attachment: scroll;
    }

}

.section--charcoal {
    background: linear-gradient(180deg,rgba(255,250,240,.05),rgba(255,250,240,.018) 55%,rgba(255,250,240,.01));
}

.section--dark, .section--black {
    background: rgba(2,2,2,.45);
}

.section__title {
    font-family: var(--font-family);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: clamp(30px,4vw,48px);
    line-height: 1.08;
    letter-spacing: -.012em;
    color: var(--ink);
}

.section__subtitle, .section__subtitle--prose {
    color: #dedbd2;
}

.section__badge {
    display: inline-block;
    font-family: var(--font-family);
    font-size: 0.625rem;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    border: 0;
    font-weight: 700;
    letter-spacing: .2em;
    padding: .5rem .95rem .45rem;
}

.section__badge--green {
    border-color: rgba(0, 245, 160, 0.3);
    background: var(--accent);
    color: #07130d;
}

.section__badge--gold {
    border-color: rgba(184, 149, 110, 0.3);
    background: var(--accent-2);
    color: #171106;
}
