
/* ---------------------------------------------
      GLOBAL / UTILITIES
----------------------------------------------*/

/* Grid layout */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 auto;
}

/* Text alignment */
.text-left {
    text-align: left;
}

/* Flex utilities */
.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-start {
    align-items: flex-start;
}

.gap-20 {
    gap: 20px;
}

.gap-8 {
    gap: 8px;
}

.mt-10 {
    margin-top: 10px;
}

/* Buttons (sizes only) */
.btn-lg {
    padding: 20px 44px;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block;
}

.btn-lg-secondary {
    padding: 18px 32px;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

/* Small note text */
.small-note {
    font-size: 13px;
    color: var(--text-placeholder);
    margin: 0;
    line-height: 1.4;
    max-width: 240px;
}

/* SVG block display */
.svg-block {
    display: block;
}

/* Content background */
.content {
    background-color: var(--bg-section-dark);
}

/* General ROI utilities */
.roi-pos-relative {
    position: relative;
}

.roi-center {
    text-align: center;
}

.roi-mb-30 {
    margin-bottom: 30px;
}

.roi-gray {
    color: var(--text-secondary);
}

.roi-fs-16 {
    font-size: 16px;
}

/* Margin utilities */
.mt-50 {
    margin-top: 50px;
}

/* ---------------------------------------------
      INDEX: COMPARISON & ROI (TOP)
----------------------------------------------*/

/* Comparison Section */
.comparison-section {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-section-dark) 100%);
    padding: 50px;
    border-radius: 12px;
    border: 2px solid;
}

.comparison-card.before {
    border-color: var(--before-red);
}

.comparison-card.after {
    border-color: var(--success);
}

.comparison-card h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

.comparison-card h3.before {
    color: var(--before-red);
}

.comparison-card h3.after {
    color: var(--success);
}

.comparison-stat {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
}

/* ROI Section (legacy two-card layout) */
.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1120px;
    margin: 56px auto 24px;
}

.roi-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-section-dark) 100%);
    padding: 50px 30px;
    border-radius: 12px;
    border: 3px solid;
}

.roi-card.before {
    border-color: var(--before-red);
}

.roi-card.after {
    border-color: var(--success);
}

.roi-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
    text-align: center;
}

.roi-stat {
    margin-bottom: 15px;
    font-size: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.roi-stat strong {
    color: var(--text-primary);
    font-weight: 700;
}

.roi-number {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-top: 30px;
}

.roi-card.before .roi-number {
    color: var(--before-red);
}

.roi-card.after .roi-number {
    color: var(--success);
}

.roi-label {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 10px;
}

section.roi .section-title {
    margin-bottom: 60px;
}

/* Citation pill styles */
.citation-pill {
    display: inline-block;
    background: rgba(160, 174, 192, 0.1);
    color: var(--text-link-subtle);
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 7px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 3px;
    transition: all 0.2s ease;
    border: 1px solid rgba(160, 174, 192, 0.25);
    vertical-align: middle;
    white-space: nowrap;
}

.citation-pill:hover {
    background: rgba(160, 174, 192, 0.2);
    color: var(--text-secondary);
    border-color: rgba(160, 174, 192, 0.4);
}

/* ---------------------------------------------
      SOCIAL PROOF
----------------------------------------------*/

.social-proof {
    margin: 0px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.social-proof h3 {
    font-size: 32px;
}

.social-proof h2 {
    margin-bottom: 0;
}

section.impact .section-title {
    margin-bottom: 60px;
}

/* Stats row */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
}

.stat {
    text-align: center;
    max-width: 187px;
    margin: 0 auto;
    padding: 0;
}

.stat-number {
    font-size: 48px;
    line-height: 40px;
    font-weight: 700;
    color: var(--el-green);
    margin-bottom: 8px;
    letter-spacing: 2%;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
}

.stat-number > span {
    font-size: 32px;
    line-height: 32px;
}

.stat-number .flex-end {
    height: 100%;
    align-self: end;
}

.stat-label {
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Testimonials */
.testimonial-container {
    display: flex;
    gap: 24px;
}

.testimonial-box {
    flex: 1;
    padding: 60px;
    border-radius: 20px;
    gap: 16px;
    box-shadow:
        inset 0px 2px 0px 0px var(--glass-white-20),
        0px 2px 8px 0px rgba(0, 214, 255, 0.15),
        0px 1px 4px 0px rgba(0, 214, 255, 0.04);
    text-align: left;
    color: linear-gradient(to bottom, var(--el-cyan-alt) 0%, var(--el-cyan-alt) 5%);
}

.testimonial-quote-icon {
    font-size: 68px;
    font-weight: 600;
    line-height: 22px;
    color: var(--el-cyan);
}

.testimonial-quote {
    font-size: 20px;
    line-height: 28px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 2%;
    color: var(--el-cyan);
    font-weight: 800;
}

/* ---------------------------------------------
      POLICY LIBRARY & EXEC DASHBOARD
----------------------------------------------*/

/* Executive Dashboard Section description */
.policy-description {
    text-align: center;
    font-size: 20px;
    color: var(--text-secondary);
    margin: 20px auto 36px;
    max-width: 750px;
}

/* Policy grid layout (exec) */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
}

/* Policy cards */
.policy-card {
    background: rgba(10, 14, 26, 0.6);
    border: 2px solid var(--glow-cyan-15);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.policy-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 8px 0;
}

.policy-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* More Policies card */
.policy-more-card {
    grid-column: 1 / -1;
    background: rgba(10, 14, 26, 0.6);
    border: 2px dashed var(--shadow-button-hover);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.more-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* More buttons */
.more-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.more-buttons .btn-cta-card-primary,
.more-buttons .btn-cta-card-secondary {
    width: 100%;
}

.more-buttons .btn-outline,
.more-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.more-buttons .btn-outline .icon {
    display: flex;
    align-items: center;
}

/* ---------------------------------------------
      CUSTOM GUARDRAIL SECTION
----------------------------------------------*/

.cg-tagline {
    max-width: 800px;
}

/* Three-step flow */
.cg-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 880px;
    margin: 56px auto 0;
    list-style: none;
    padding: 0;
}

.cg-step {
    flex: 1;
    text-align: center;
    position: relative;
}

/* Step head: number badge + icon */
.cg-step-head {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}

.cg-step-img {
    width: 72px;
    height: 72px;
    display: block;
}

/* Numbered badge overlapping top-left of icon */
.cg-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--bg-main);
    background: var(--gradient-cta);
    border-radius: 50%;
    position: absolute;
    top: -6px;
    left: -6px;
    z-index: 3;
    box-shadow: 0 0 12px var(--glow-cyan-30);
}

/* Chevron between steps */
.cg-arrow {
    flex-shrink: 0;
    font-size: 72px;
    font-weight: 300;
    color: var(--glow-cyan-40);
    width: 48px;
    text-align: center;
    line-height: 1;
}

.cg-step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--el-cyan);
    margin-bottom: 10px;
}

.cg-step-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 240px;
    margin: 0 auto;
}

/* CTA spacing */
.cg-buttons {
    margin-top: 40px;
}

/* Expand toggle chevron */
.cg-ideas-chevron {
    transition: transform 0.3s ease;
}

[aria-expanded='true'] .cg-ideas-chevron {
    transform: rotate(180deg);
}

/* Expandable ideas panel */
.cg-ideas-panel {
    margin-top: 48px;
    border-top: 1px solid var(--glass-white-10);
    padding-top: 48px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.5s ease,
        opacity 0.4s ease;
}

.cg-ideas-panel--open {
    opacity: 1;
}

.cg-ideas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 40px;
    max-width: 960px;
    margin: 0 auto;
}

.cg-ideas-category-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--el-cyan);
    margin-bottom: 16px;
}

.cg-ideas-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cg-ideas-list li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.cg-ideas-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--ai-purple-light);
    font-weight: 700;
}

.cg-ideas-list li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cg-ideas-list li a:hover {
    color: var(--el-cyan);
}

.cg-ideas-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.cg-ideas-link {
    color: var(--text-secondary);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cg-ideas-link:hover {
    color: var(--el-cyan);
}

/* ---------------------------------------------
      DASHBOARD WIREFRAME
----------------------------------------------*/

.dashboard-wireframe {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-section-dark) 100%);
    border-radius: 20px;
    border: 3px solid rgba(0, 212, 255, 0.5);
    padding: 0;
    max-width: 1100px;
    margin: 0 auto 50px;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px var(--glass-white-05) inset;
    overflow: hidden;
    position: relative;
    max-height: 970px;
}

.dashboard-wrapper {
    width: 412.62px;
    height: 516.6px;
    margin-left: auto;
    overflow: visible;
    position: relative;
}

.dashboard-wireframe.scaled {
    transform: scale(0.5) perspective(1200px) rotateY(-8deg) rotateX(3deg);
    transform-origin: right center;
    margin: 0;
    width: 900px;
    max-height: 1040px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px var(--glass-white-05) inset;
    position: absolute;
    right: 16px;
    top: -290px;
}

/* Scaled dashboard typography adjustments */
.dashboard-wireframe.scaled .dashboard-title {
    font-size: 24px;
}

.dashboard-wireframe.scaled .dashboard-menu {
    font-size: 13px;
}

.dashboard-wireframe.scaled .initiative-name {
    font-size: 11px;
}

.dashboard-wireframe.scaled .initiative-score {
    font-size: 10px;
}

.dashboard-wireframe.scaled .initiative-icon {
    font-size: 16px;
}

.dashboard-wireframe.scaled .domains-table-header div {
    font-size: 11px;
}

.dashboard-wireframe.scaled .domain-status {
    font-size: 11px;
}

/* Nav bar */
.dashboard-nav {
    background: linear-gradient(180deg, rgba(30, 37, 56, 0.95) 0%, rgba(25, 31, 48, 0.95) 100%);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--shadow-button-hover);
}

.dashboard-nav-left {
    display: flex;
    align-items: center;
    gap: 35px;
}

.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-logo img {
    height: 28px;
    width: auto;
}

.dashboard-menu {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.dashboard-menu-item {
    color: var(--text-menu);
}

.dashboard-menu-item.active {
    color: var(--el-cyan);
    font-weight: 600;
    border-bottom: 2px solid var(--el-cyan);
    padding-bottom: 2px;
}

.dashboard-nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashboard-user-icon {
    width: 32px;
    height: 32px;
    background: var(--shadow-cta-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Content */
.dashboard-content {
    padding: 40px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.dashboard-title {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.dashboard-subtitle {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* Score Card */
.dashboard-score-card {
    background: rgba(0, 255, 136, 0.15);
    padding: 16px 28px;
    border-radius: 10px;
    border: 2px solid var(--success);
    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

.dashboard-score-card.good {
    background: rgba(0, 255, 136, 0.15);
    border-color: var(--success);
}

.dashboard-score-card.warning {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--warning);
}

.dashboard-score-card.critical {
    background: rgba(255, 100, 100, 0.15);
    border-color: var(--before-red);
}

.dashboard-score-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--success);
    transition: color 0.3s ease;
}

.dashboard-score-value.good {
    color: var(--success);
}

.dashboard-score-value.warning {
    color: var(--warning);
}

.dashboard-score-value.critical {
    color: var(--before-red);
    line-height: 1;
}

.dashboard-score-label {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Sections */
.dashboard-section {
    background: rgba(20, 25, 40, 0.7);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.dashboard-section-title {
    margin-bottom: 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* Initiatives */
.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.initiative-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 8px;
    padding: 12px 16px;
    min-height: 48px;
    box-sizing: border-box;
}

.initiative-card.good {
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
}

.initiative-card.warning {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.initiative-card.critical {
    background: rgba(255, 100, 100, 0.08);
    border: 1px solid rgba(255, 100, 100, 0.25);
}

.initiative-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.initiative-icon {
    font-size: 20px;
}

.initiative-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.initiative-score {
    font-size: 11px;
    color: var(--success);
    font-weight: 600;
    margin-top: 2px;
}

.initiative-score.good {
    color: var(--success);
}

.initiative-score.warning {
    color: var(--warning);
}

.initiative-score.critical {
    color: var(--before-red);
}

.initiative-sparkline {
    opacity: 0.7;
    flex-shrink: 0;
    width: 50px;
    height: 24px;
    overflow: hidden;
    display: block;
}

.domain-row svg {
    overflow: hidden;
    display: block;
    width: 80px;
    height: 30px;
    flex-shrink: 0;
}

/* Dashboard Animation Effects */
@keyframes score-pop {
    0% {
        transform: scale(1);
    }
    35% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes card-glow {
    0% {
        box-shadow: inset 0 0 0 rgba(0, 255, 136, 0);
    }
    35% {
        box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.25);
    }
    100% {
        box-shadow: inset 0 0 0 rgba(0, 255, 136, 0);
    }
}

.score-pop {
    animation: score-pop 1s ease-out;
    will-change: transform;
}

.card-highlight {
    animation: card-glow 1s ease-out;
}

.dashboard-score-card.card-highlight {
    animation: card-glow 1.2s ease-out;
}

/* Smooth transitions for sparklines */
.initiative-sparkline polyline,
.domain-row svg polyline {
    transition: none;
}

/* Domains table */
.domains-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.domains-legend {
    font-size: 12px;
    color: var(--text-menu);
}

.domains-legend span {
    margin-right: 15px;
}

.domains-legend span:last-child {
    margin-right: 0;
}

.domains-table-header {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr 2fr;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glow-cyan-15);
    margin-bottom: 12px;
}

.domains-table-header div {
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domain-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr 2fr;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-white-05);
    align-items: center;
    min-height: 58px;
    box-sizing: border-box;
}

.domain-row:last-child {
    border-bottom: none;
}

.domain-name {
    color: var(--el-cyan);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 3px;
}

.domain-count {
    color: var(--text-menu);
    font-size: 12px;
}

.domain-score {
    font-weight: 700;
    font-size: 16px;
}

.domain-score.good {
    color: var(--success);
}

.domain-score.warning {
    color: var(--warning);
}

.domain-score.critical {
    color: var(--before-red);
}

.domain-status {
    font-size: 13px;
}

.domain-status.good {
    color: var(--text-tertiary);
}

.domain-status.warning {
    color: var(--warning);
}

.domain-status.critical {
    color: var(--before-red);
}

.dashboard-blur-overlay {
    display: none;
}

.dashboard-section:last-child {
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
}

/* ---------------------------------------------
      ROTATING TEXT (3D PRISM)
----------------------------------------------*/

#rotating-text {
    display: inline-block;
    min-width: 120px;
    height: 1em;
    perspective: 1000px;
    vertical-align: -0.15em;
    position: relative;
    overflow: visible;
}

.text-prism {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
}

.prism-face {
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    min-width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--el-cyan);
    font-weight: 600;
    backface-visibility: hidden;
    box-sizing: border-box;
    transition: opacity 0.8s ease-in-out;
    white-space: nowrap;
}

/* ---------------------------------------------
      HERO SECTION
----------------------------------------------*/

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 50%, #0a0e1a 100%);
    padding: 80px 40px 80px 40px;
}

/* Soft glow effects */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, #00d4ff 0%, transparent 70%);
    top: -150px;
    right: -50px;
    animation: hero-glow-pulse 8s ease-in-out infinite;
}

.hero::after {
    width: 600px;
    height: 450px;
    background: radial-gradient(ellipse, #00ff88 0%, transparent 70%);
    bottom: -120px;
    left: -50px;
    animation: hero-glow-pulse 8s ease-in-out infinite 4s;
}

@keyframes hero-glow-pulse {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Grid pattern overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero .container::before {
    content: '';
    position: absolute;
    inset: -200px -100px;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding-left: 20px;
    padding-right: 80px;
    text-align: left;
}

.grid-2 .hero-content {
    max-width: unset;
    padding-left: unset;
    padding-right: unset;
    text-align: unset;
}

.hero h1 {
    margin-top: 20px;
    margin-bottom: 18px;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.hero .subtitle {
    margin-bottom: 38px;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 34px;
}

/* Hero CTAs */
.hero-content .ctas {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    align-items: center;
    place-items: flex-start;
}

.hero-content .ctas .cta-s {
    width: auto;
}
.hero-content .cta-p {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
}

/* CTA button containers */
.cta-p,
.cta-s {
    flex: 0 0 auto;
    max-width: 300px;
}

.cta-p .btn,
.cta-s.btn {
    text-align: center;
}

/* Tagline only under primary button */
.cta-tagline {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.85;
    max-width: 300px;
    text-align: left;
}

/* CTA Container used later on page */
.cta-container {
    text-align: center;
    padding-top: 30px;
}

/* CTA Link */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--el-cyan);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

/* Hover interaction */
.cta-link:hover {
    border-bottom-color: var(--el-cyan);
    gap: 16px;
}

/* ---------------------------------------------
      PROBLEM / SOLUTION SECTIONS
----------------------------------------------*/

/* Problem section specific */

/* Problem grid */
.problem-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 28px;
}

.problem-card {
    max-width: 350px;
    padding: 40px 30px 30px;
    border-radius: 12px;
    border: 1px solid var(--shadow-cta-hover);
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-section-dark) 100%);
    display: flex;
    flex-direction: column;
}

.problem-icon {
    width: 64px;
    height: 64px;
    background-repeat: no-repeat;
    margin-bottom: 12px;
    font-size: 48px;
}

.problem-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: var(--el-cyan);
}

.problem-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.problem-card .arrow-link {
    border-bottom: none;
    margin-top: auto;
    padding-top: 12px;
}

.problem-card .arrow-link:hover {
    border-bottom-color: transparent;
}

/* Solution Section */
.solution-content {
    max-width: 1120px;
    margin: 0 auto;
}

.solution-tagline {
    max-width: 800px;
    margin: 20px auto 60px;
    font-size: 24px;
    text-align: center;
    color: var(--text-secondary);
}

.solution-summary {
    max-width: 700px;
    margin: 40px auto 0;
    text-align: center;
}

.solution-summary p {
    font-size: 18px;
    line-height: 1.6;
    color: #b0b8c4;
    margin: 0;
}

.solution-summary strong {
    color: var(--text-primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
    column-gap: 16px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    font-size: 32px;
}

.feature-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--el-cyan);
}

.feature-content p {
    font-size: 16px;
    line-height: 25px;
    color: var(--text-secondary);
}

/* ---------------------------------------------
      ENFORCE EVERYWHERE PIPELINE
----------------------------------------------*/

.enforce-section {
    background: linear-gradient(
        180deg,
        var(--bg-section-dark) 0%,
        var(--bg-card) 50%,
        var(--bg-section-dark) 100%
    );
    overflow: visible;
}

/* SDLC Timeline */
.sdlc-timeline {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0 0;
}

/* Stage icons */
.stage-icon {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto 6px;
}

.timeline-name-row {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
}

.stage-name {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.timeline-stages {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    position: relative;
}

.timeline-stages::before {
    content: '';
    position: absolute;
    left: -60px;
    right: -60px;
    top: 8.5px;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(168, 85, 247, 0.2) 0%,
        rgba(168, 85, 247, 0.75) 20%,
        rgba(0, 212, 255, 0.75) 50%,
        rgba(0, 255, 136, 0.75) 80%,
        rgba(0, 255, 136, 0.2) 100%
    );
    border-radius: 2px;
}

.timeline-label {
    position: absolute;
    top: -22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.timeline-label-start {
    left: -60px;
    color: var(--ai-purple-light);
}

.timeline-label-end {
    right: -60px;
    color: var(--success);
}

.timeline-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline-stage:not(:last-child)::after {
    content: '›';
    position: absolute;
    top: -2px;
    right: -18px;
    font-size: 36px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    z-index: 3;
    line-height: 20px;
}

.stage-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    border: 3px solid var(--bg-card);
}

.stage-dot-purple {
    background: var(--ai-purple);
    box-shadow: 0 0 14px var(--glow-purple-30);
}

.stage-dot-cyan {
    background: var(--el-cyan);
    box-shadow: 0 0 14px var(--glow-cyan-30);
}

.stage-dot-green {
    background: var(--success);
    box-shadow: 0 0 14px var(--glow-green-30);
}

.stage-connector {
    width: 2px;
    height: 32px;
    flex-shrink: 0;
}

.stage-connector-purple {
    background: linear-gradient(180deg, var(--ai-purple) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.stage-connector-cyan {
    background: linear-gradient(180deg, var(--el-cyan) 0%, rgba(0, 212, 255, 0.1) 100%);
}

.stage-connector-green {
    background: linear-gradient(180deg, var(--success) 0%, rgba(0, 255, 136, 0.1) 100%);
}

/* Enforce cards */
.enforce-card {
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    position: relative;
}

.enforce-card.purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 2px solid rgba(168, 85, 247, 0.4);
}

.enforce-card.cyan {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 2px solid rgba(0, 212, 255, 0.4);
}

.enforce-card.green {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 2px solid rgba(0, 255, 136, 0.4);
}

.enforce-card-glyph {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 16px;
    height: 16px;
}

.enforce-card-icon {
    width: 36px;
    height: 36px;
}

.enforce-card-icon img {
    width: 36px;
    height: 36px;
}

.enforce-card-title {
    font-size: 18px;
    font-weight: 700;
}

.enforce-card.purple .enforce-card-title {
    color: var(--ai-purple-light);
}

.enforce-card.cyan .enforce-card-title {
    color: var(--el-cyan);
}

.enforce-card.green .enforce-card-title {
    color: var(--success);
}

.enforce-card-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.enforce-card-bullets li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 3px 0 3px 16px;
    position: relative;
}

.enforce-card-bullets li::before {
    content: '›';
    position: absolute;
    left: 2px;
    font-weight: 700;
    font-size: 14px;
}

.enforce-card.purple .enforce-card-bullets li::before {
    color: var(--ai-purple-light);
}

.enforce-card.cyan .enforce-card-bullets li::before {
    color: var(--el-cyan);
}

.enforce-card.green .enforce-card-bullets li::before {
    color: var(--success);
}

.enforce-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px 0 0;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.enforce-footer .footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text-secondary);
}

.enforce-footer .footer-divider {
    font-size: 20px;
    color: var(--text-dark-gray);
}

/* AI CTA card within enforce section */
.enforce-ai-cta {
    max-width: 600px;
    margin: 48px auto 0;
}

.enforce-ai-cta-icons {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.enforce-ai-cta-icon {
    width: 28px;
    height: 28px;
}

/* ---------------------------------------------
      WHY STANDARDS FAIL (ported from sales deck)
----------------------------------------------*/

.problems-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1120px;
    margin: 40px auto 0;
    align-items: stretch;
}

/* Left: Antipatterns */
.antipatterns-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.antipatterns-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.antipattern-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(145deg, rgba(255, 60, 60, 0.08) 0%, rgba(255, 60, 60, 0.02) 100%);
    border: 1px solid rgba(255, 80, 80, 0.25);
    border-radius: 14px;
    position: relative;
}

.antipattern-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    filter: grayscale(30%);
}

.antipattern-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.antipattern-content {
    flex: 1;
}

.antipattern-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.antipattern-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.antipattern-marker {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 14px;
    background: var(--bg-main);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 80, 80, 0.4);
}

/* Right: Broadcast Problem */
.broadcast-section {
    display: flex;
}

.broadcast-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-section-dark) 100%);
    padding: 36px 30px;
    border-radius: 16px;
    border: 3px solid var(--before-red);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.broadcast-title {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

.broadcast-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}

/* Chaos stack (stacked notification cards) */
.chaos-stack {
    position: relative;
    flex: 1;
    min-height: 300px;
}

.chaos-box {
    position: absolute;
    width: 90%;
    background: rgba(255, 100, 100, 0.15);
    border: 1px solid rgba(255, 100, 100, 0.4);
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.chaos-head {
    font-size: 11px;
    color: var(--before-red);
    font-weight: 600;
    margin-bottom: 3px;
}

.chaos-body {
    font-size: 12px;
    color: var(--text-secondary);
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chaos-footer {
    font-size: 10px;
    color: var(--text-placeholder);
    margin-top: 4px;
}

.box-1 {
    top: 0;
    left: 8px;
    transform: rotate(-1deg);
}

.box-2 {
    top: 20%;
    right: 12px;
    transform: rotate(2deg);
    width: 88%;
}

.box-3 {
    top: 40%;
    left: 16px;
    transform: rotate(-2deg);
}

.box-4 {
    top: 60%;
    right: 8px;
    transform: rotate(1.5deg);
    width: 89%;
}

.box-5 {
    top: 80%;
    left: 12px;
    transform: rotate(-1.5deg);
    width: 90%;
}

/* Footer callout */
.problems-footer {
    text-align: center;
    margin-top: 40px;
}

.footer-callout {
    display: inline-block;
    padding: 18px 30px;
    background: rgba(255, 60, 60, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.3);
    border-radius: 12px;
}

.footer-emphasis {
    font-size: 18px;
    font-weight: 700;
    color: var(--before-red);
    margin-right: 8px;
}

.footer-text {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ---------------------------------------------
      CTA GRID (MID + BOTTOM)
----------------------------------------------*/

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

/* Primary CTA card */
.cta-demo {
    display: flex;
    padding: 30px;
    border: 1px solid var(--el-cyan);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.4s ease;
    background: var(--bg-dark);
}

.cta-demo:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--el-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-cta-hover);
}

.cta-demo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.cta-demo-title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.cta-arrow {
    font-size: 20px;
    color: var(--el-cyan);
    flex-shrink: 0;
}

/* Red variant CTA card */
.cta-demo.red {
    border-color: rgba(255, 100, 100, 0.3);
    background: transparent;
}

.cta-demo.red:hover {
    background: rgba(255, 100, 100, 0.05);
    border-color: var(--before-red);
    box-shadow: 0 8px 24px rgba(255, 100, 100, 0.2);
}

.cta-arrow.red {
    color: var(--before-red);
}

/* Secondary CTA card */
.cta-opa {
    display: block;
    padding: 19px 30px;
    background: var(--bg-dark);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-opa:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.35);
}

.opa-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.opa-desc {
    font-size: 14px;
    color: var(--text-link-subtle);
    line-height: 1.4;
}

/* CTA Card Buttons (hero CTAs reused) */
.btn-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* OPA icon */
.btn-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: contain;
}

/* CTA card primary */
.btn-cta-card-primary {
    display: block;
    padding: 30px 35px;
    background: var(--bg-main);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta-card-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: var(--gradient-cta);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn-cta-card-primary:hover {
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-cta-hover);
}

.btn-cta-card-primary .btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.btn-cta-card-primary .btn-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.btn-cta-card-primary .btn-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
    line-height: 1.4;
}

.btn-cta-card-primary .btn-arrow {
    font-size: 28px;
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

/* CTA card secondary */
.btn-cta-card-secondary {
    display: block;
    padding: 24px 28px;
    background: transparent;
    border: 2px solid var(--el-cyan);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta-card-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.btn-cta-card-secondary .btn-content {
    position: relative;
    z-index: 2;
}

.btn-cta-card-secondary .btn-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--el-cyan);
    margin-bottom: 8px;
}

.btn-cta-card-secondary .btn-subtitle {
    font-size: 14px;
    color: var(--text-link-subtle);
    line-height: 1.4;
}

/* Shared shimmer effect for CTAs */
.btn-primary::before,
.btn-cta-card-primary::after,
.btn-cta-card-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
    pointer-events: none;
    transition: left 0.5s ease;
}

.btn-cta-card-primary::after,
.btn-cta-card-secondary::before {
    transition: left 0.6s ease;
}

.btn-primary:hover::before,
.btn-cta-card-primary:hover::after,
.btn-cta-card-secondary:hover::before {
    left: 100%;
}

/* Outline button */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid var(--shadow-button-hover);
    border-radius: 8px;
    text-decoration: none;
    color: var(--el-cyan);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--el-cyan);
}

/* ---------------------------------------------
      WORKFLOW SECTION
----------------------------------------------*/

section.workflow {
    background: var(--gradient-workflow);
}

section.workflow .section-title {
    margin-bottom: 0px;
    letter-spacing: 0.1px;
}

/* Flex column buttons in workflow */
section.workflow .btn-content,
section.workflow .btn-main {
    display: flex;
    align-items: flex-start;
}

/* ---------------------------------------------
      INVESTORS SECTION
----------------------------------------------*/

section.investors {
    padding-left: 0px;
    padding-right: 0px;
}

section.investors .container {
    padding: 0px;
}

section.investors svg,
section.investors img {
    width: 100%;
    height: 100%;
}

section.investors .tab,
section.investors .mobile {
    display: none;
}

section.investors .desktop {
    display: block;
}

/* Investor credibility strip */
.investor-strip {
    background: linear-gradient(135deg, var(--bg-section-dark) 0%, var(--bg-card) 100%);
    border-top: 1px solid var(--glow-cyan-15);
    border-bottom: 1px solid var(--glow-cyan-15);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
}

.investor-strip-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-placeholder);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    padding-left: 40px;
    z-index: 2;
}

.investor-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

.investor-scroll-track {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: scroll-investors 60s linear infinite;
    white-space: nowrap;
    --scroll-width: 0px;
}

.investor-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-investors {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(var(--scroll-width));
    }
}

.investor-item {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-shrink: 0;
}

/* Investor with photo */
.investor-item:has(.investor-photo) {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.investor-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid var(--shadow-button-hover);
    flex-shrink: 0;
}

.investor-photo.investor-logo {
    border-radius: 6px;
    object-fit: contain;
    padding: 4px;
    background: var(--glass-white-05);
}

/* HashiCorp logo glyph */
.investor-photo[alt='HashiCorp Alumni'] {
    object-fit: cover;
    object-position: left center;
    padding: 2px;
}

.investor-photo.investor-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--shadow-cta-hover) 0%, rgba(0, 255, 136, 0.2) 100%);
    border-radius: 6px;
}

.investor-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.investor-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
}

.investor-title {
    font-size: 12px;
    color: var(--el-cyan);
    line-height: 1.2;
    white-space: nowrap;
}

.investor-separator {
    color: var(--text-separator);
    font-size: 14px;
    flex-shrink: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .investor-scroll-track {
        animation: none;
    }
}

/* ---------------------------------------------
      SOLUTIONS (editorial stack + hover preview)
----------------------------------------------*/

.solutions-editorial {
    position: relative;
    background: var(--bg-section-dark);
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 80px;
}

.solutions-editorial .container {
    position: relative;
    z-index: 1;
    max-width: 1120px;
}

/* ---- Section head ---- */

.sol-ed-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px;
}

.sol-ed-title {
    margin-bottom: 16px;
}

.sol-ed-tagline {
    margin: 0;
}

/* ---- Two-column layout: stack (left) + sticky preview (right) ---- */

.sol-ed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 64px;
    align-items: start;
}

/* ---- Stack of five rows ---- */

.sol-ed-stack {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sol-ed-link {
    position: relative;
    display: block;
    padding: 20px 24px 20px 0;
    color: inherit;
    text-decoration: none;
}

/* Cyan rail to the left of the active row. */
.sol-ed-link::before {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: -20px;
    width: 2px;
    background: var(--el-cyan);
    opacity: 0;
    transform: scaleY(0.4);
    transform-origin: center;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.sol-ed-link:hover::before,
.sol-ed-link:focus-visible::before {
    opacity: 1;
    transform: scaleY(1);
}

.sol-ed-link:focus-visible {
    outline: 2px solid var(--el-cyan);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .sol-ed-link::before {
        transition: none;
    }
}

/* ---- Kicker: "For [AUDIENCE]" ---- */

.sol-ed-kicker {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.005em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.sol-ed-kicker-audience {
    color: var(--text-primary);
}

/* ---- Pain quote ---- */

.sol-ed-quote {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-tertiary);
    margin: 0 0 12px;
    max-width: 560px;
}

.sol-ed-quote-inner {
    color: var(--text-primary);
}

/* ---- Foot: solution name + arrow ---- */

.sol-ed-foot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--el-cyan);
    transition:
        gap 0.25s ease,
        color 0.25s ease;
}

.sol-ed-solution {
    letter-spacing: 0.2px;
}

.sol-ed-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.sol-ed-link:hover .sol-ed-foot,
.sol-ed-link:focus-visible .sol-ed-foot {
    gap: 14px;
    color: var(--link-hover);
}

.sol-ed-link:hover .sol-ed-arrow,
.sol-ed-link:focus-visible .sol-ed-arrow {
    transform: translateX(4px);
}

/* ---- Sticky preview pane (desktop only) ---- */

.sol-ed-preview {
    position: sticky;
    top: 100px;
    align-self: center;
}

.sol-ed-preview-card {
    display: block;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 20px 48px -24px rgba(0, 0, 0, 0.6);
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.sol-ed-preview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow:
        0 28px 56px -28px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0, 212, 255, 0.15) inset;
}

.sol-ed-preview-card:hover .sol-ed-preview-arrow {
    transform: translateX(3px);
}

.sol-ed-preview-arrow {
    display: inline-block;
    margin-left: 2px;
    transition: transform 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
    .sol-ed-preview-card,
    .sol-ed-preview-arrow {
        transition: none;
    }
    .sol-ed-preview-card:hover {
        transform: none;
    }
}

.sol-ed-preview-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background-color: var(--bg-deepest);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sol-ed-preview-media::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    pointer-events: none;
}

.sol-ed-preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.18s ease;
}

.sol-ed-preview-media:not(.has-image) .sol-ed-preview-img {
    display: none;
}

.sol-ed-preview-media.has-image::before,
.sol-ed-preview-media.has-image .sol-ed-preview-media-label {
    display: none;
}

.sol-ed-preview-card[data-swapping='1'] .sol-ed-preview-img {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .sol-ed-preview-img {
        transition: none;
    }
}

.sol-ed-preview-media-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(10, 14, 26, 0.5);
}

.sol-ed-preview-body {
    padding: 32px 36px 36px;
}

.sol-ed-preview-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--el-cyan);
    margin-bottom: 12px;
    transition: opacity 0.25s ease;
}

.sol-ed-preview-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.sol-ed-preview-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 0 24px;
}

.sol-ed-preview-cta {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--el-cyan);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sol-ed-preview-card[data-swapping='1'] .sol-ed-preview-body > *,
.sol-ed-preview-card[data-swapping='1'] .sol-ed-preview-kicker {
    opacity: 0;
}

.sol-ed-preview-body > *,
.sol-ed-preview-kicker {
    transition: opacity 0.18s ease;
}

@media (prefers-reduced-motion: reduce) {
    .sol-ed-preview-body > *,
    .sol-ed-preview-kicker {
        transition: none;
    }
}

/* ---------------------------------------------
      RESPONSIVE MEDIA QUERIES
      (grouped by breakpoint)
----------------------------------------------*/

/* ≤1200px */
@media (max-width: 1200px) {
    .dashboard-wireframe.scaled {
        right: 0px;
        transition: all 0.5s ease;
    }
}

@media (max-width: 1100px) {
    .dashboard-wireframe.scaled {
        width: 800px;
    }

    .timeline-stages::before {
        left: -40px;
        right: -40px;
    }

    .timeline-label-start {
        left: -40px;
    }

    .timeline-label-end {
        right: -40px;
    }
}

/* ≤1024px */
@media (max-width: 1024px) {
    .cg-ideas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Editorial stack: drop the sticky preview, run the stack full-width.
       Base sizing already tight enough for tablet, no kicker/quote override. */
    .sol-ed-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .sol-ed-preview {
        display: none;
    }

    .dashboard-wireframe.scaled {
        width: 900px;
    }

    .timeline-stages::before {
        left: -30px;
        right: -30px;
    }

    .timeline-label-start {
        left: -30px;
    }

    .timeline-label-end {
        right: -30px;
    }

    .hero-content {
        text-align: center;
        padding: 20px 0px;
    }

    .hero h1 {
        text-align: center;
        margin-top: 0;
        max-width: calc(100% - 100px);
        margin-left: auto;
        margin-right: auto;
    }

    .hero .subtitle {
        text-align: center;
    }

    .hero-content .ctas {
        justify-content: center;
    }

    .hero {
        padding: 20px 20px 80px 20px;
    }

    .dashboard-wrapper {
        margin-right: auto;
    }

    .dashboard-wireframe.scaled {
        top: -270px;
    }

    .grid-2,
    .roi-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .cta-grid a {
        width: 600px;
        margin: 0 auto;
    }

    .cta-demo,
    .cta-opa {
        max-width: 700px;
        padding: 14px 32px;
        margin: 0 auto;
        width: 100%;
        height: 92px;
    }

    section.workflow .section-title {
        padding: 0 40px;
    }

    section.solution .cta-buttons {
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    section.investors .desktop,
    section.investors .mobile {
        display: none;
    }

    section.investors .tab {
        display: block;
    }

    .problems-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .broadcast-box {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Custom guardrail section: stack vertically */
    .cg-flow {
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-width: 360px;
    }

    .cg-step-desc {
        max-width: 320px;
    }

    .cg-arrow {
        padding: 0;
        font-size: 56px;
        transform: rotate(90deg);
    }

    .cg-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cg-buttons .btn,
    .cg-buttons .btn-outline {
        width: 100%;
        max-width: 320px;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .cg-step {
        width: 100%;
    }

    .cg-ideas-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cg-ideas-panel {
        margin-top: 32px;
        padding-top: 32px;
    }

    .cg-ideas-cta {
        flex-direction: column;
        gap: 16px;
    }

    .broadcast-section {
        display: none;
    }

    .testimonial-box {
        padding: 50px 30px 30px;
    }

    .grid-2 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .dashboard-wrapper {
        margin-top: auto;
        align-self: center;
        margin-bottom: auto;
    }

    .problem-card {
        width: 100%;
        max-width: unset;
    }
}

/* ≤900px */
@media (max-width: 900px) {
    .timeline-label {
        display: none;
    }
}

/* ≤768px */
@media (max-width: 768px) {
    .timeline-name-row {
        display: none;
    }

    /* Editorial stack: nudge tighter on phone-landscape / small tablet. */
    .sol-ed-head {
        margin-bottom: 36px;
    }

    .sol-ed-kicker {
        font-size: 22px;
    }

    .sol-ed-quote {
        font-size: 15px;
    }

    .sol-ed-link {
        padding: 18px 0;
    }

    .timeline-stages {
        flex-direction: column;
        gap: 16px;
    }

    .timeline-stages::before,
    .stage-dot,
    .stage-connector {
        display: none;
    }

    .timeline-stage::after {
        display: none;
    }

    .enforce-footer {
        flex-direction: column;
        gap: 8px;
    }

    .enforce-footer .footer-divider {
        display: none;
    }

    .hero h1 {
        font-size: 48px;
        line-height: 48px;
        max-width: 620px;
    }

    .problem-grid,
    .feature-grid,
    .policy-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }

    .chaos-stack {
        min-height: 280px;
    }

    .executive-dashboard .container,
    .investors .container {
        padding: 0;
    }

    .executive-dashboard .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .policy-more-card {
        padding: 40px 22px;
    }

    .cta-grid a {
        width: 100%;
    }

    section.investors .desktop,
    section.investors .tab {
        display: none;
    }

    section.investors .mobile {
        display: block;
    }

    .investor-strip {
        padding: 10px 0;
        gap: 16px;
    }

    .investor-strip-label {
        padding-left: 20px;
        font-size: 12px;
    }

    .investor-scroll-track {
        gap: 24px;
    }

    .investor-name {
        font-size: 13px;
    }

    .investor-title {
        font-size: 11px;
    }

    .cta-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    /* Flex column buttons in workflow */
    section.workflow .btn-content,
    section.workflow .btn-main {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .social-proof {
        display: block;
    }
}

/* ≤600px */
@media (max-width: 600px) {
    .hero-content {
        text-align: center;
    }

    .hero-content .ctas {
        flex-direction: column-reverse;
        align-items: center;
    }

    .cta-p,
    .cta-s {
        max-width: 340px;
        width: 100%;
    }
    .hero-content .ctas .cta-s {
        width: 100%;
    }

    .cta-tagline {
        text-align: center;
        max-width: unset;
    }

    .dashboard-wrapper {
        width: 100%;
        max-width: 75vw;
        margin: 0;
    }

    .dashboard-wireframe.scaled {
        width: unset;
        right: 12.5%;
    }

    .prism-face {
        max-width: 40px;
    }

    .grid-2 {
        justify-items: center;
    }

    section.workflow .section-title {
        padding: 0px;
    }
}

/* ≤500px */
@media (max-width: 500px) {
    .dashboard-wrapper {
        max-width: 90vw;
    }

    .cta-demo,
    .cta-opa {
        height: unset;
    }

    .cta-grid {
        padding: 0;
    }

    .stat-number {
        font-size: 40px;
        gap: 0px;
    }

    .more-buttons {
        gap: 16px;
    }

    .btn-cta-card-primary,
    .btn-cta-card-secondary {
        padding: 20px 22px;
    }

    /* Editorial stack: final tighten for small viewports. */
    .sol-ed-kicker {
        font-size: 20px;
    }

    .sol-ed-quote {
        font-size: 14px;
    }

    .sol-ed-link {
        padding: 16px 0;
    }
}

/* ≤400px */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 42px;
        line-height: 44px;
    }

    .dashboard-wireframe.scaled {
        right: 3%;
    }

    /* Flex column buttons in workflow */
    section.workflow .btn-content,
    section.workflow .btn-main {
        display: flex;
        flex-flow: column wrap;
        align-items: flex-start;
    }
}
