.beta-demo {
    position: relative;
}

.beta-demo-shell {
    border-radius: 34px;
    background:
    radial-gradient(circle at 18% 0%, rgba(68, 231, 255, .13), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(255, 79, 216, .11), transparent 34%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(68, 231, 255, .18);
    box-shadow: var(--shadow);
    padding: 24px;
    overflow: hidden;
}

.beta-demo-status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.beta-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 18px;
    padding: 14px 16px;
    color: var(--muted);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    letter-spacing: .03em;
}

.beta-status-item span {
    width: 32px;
    height: 32px;
    border-radius: 13px;
    display: inline-grid;
    place-items: center;
    color: var(--cyan);
    border: 1px solid rgba(68, 231, 255, .24);
    background: rgba(68, 231, 255, .08);
    font-weight: 800;
}

.beta-status-item.is-active {
    color: var(--text);
    border-color: rgba(68, 231, 255, .38);
    background: rgba(68, 231, 255, .1);
    box-shadow: 0 0 30px rgba(68, 231, 255, .08);
}

.beta-demo-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 18px;
    align-items: stretch;
}

.beta-demo-card {
    border-radius: 28px;
    padding: 24px;
    background: rgba(4, 8, 18, .58);
    border: 1px solid rgba(255, 255, 255, .09);
    min-height: 480px;
}

.beta-demo-card-left {
    display: flex;
    flex-direction: column;
}

.beta-card-label {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    margin-bottom: 12px;
}

.beta-demo-card h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 26px;
    line-height: 1.14;
    letter-spacing: -.03em;
}

.beta-demo-card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
}

.beta-demo-input {
    width: 100%;
    min-height: 230px;
    resize: vertical;
    border-radius: 22px;
    border: 1px solid rgba(68, 231, 255, .22);
    background: rgba(2, 6, 14, .72);
    color: var(--text);
    padding: 18px;
    outline: 0;
    line-height: 1.6;
    margin-top: 4px;
}

.beta-demo-input:focus {
    border-color: rgba(68, 231, 255, .58);
    box-shadow: 0 0 0 4px rgba(68, 231, 255, .08);
}

.beta-demo-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.beta-demo-hint {
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--muted);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    line-height: 1.5;
}

.beta-demo-hint strong {
    color: var(--cyan);
}

.beta-state-panel {
    display: none;
    min-height: 430px;
}

.beta-state-panel.is-visible {
    display: block;
}

.beta-empty-state {
    min-height: 430px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 28px;
}

.beta-empty-icon {
    width: 76px;
    height: 76px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    color: var(--cyan);
    font-size: 38px;
    background: rgba(68, 231, 255, .08);
    border: 1px solid rgba(68, 231, 255, .22);
    box-shadow: 0 0 46px rgba(68, 231, 255, .12);
}

.beta-choice-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.beta-choice {
    width: 100%;
    text-align: left;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .055);
    color: var(--text);
    padding: 16px 18px;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.beta-choice:hover {
    transform: translateY(-2px);
    border-color: rgba(68, 231, 255, .42);
    background: rgba(68, 231, 255, .1);
}

.beta-output-block {
    border-radius: 22px;
    padding: 18px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    margin-bottom: 14px;
}

.beta-output-block strong {
    display: block;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: 12px;
    margin-bottom: 10px;
}

.beta-output-block p,
.beta-output-block ul {
    margin: 0;
    color: #e9f9ff;
    line-height: 1.6;
}

.beta-output-block ul {
    padding-left: 18px;
}

.beta-output-action {
    border-color: rgba(86, 245, 184, .28);
    background: linear-gradient(135deg, rgba(86, 245, 184, .1), rgba(68, 231, 255, .05));
}

.beta-duration {
    display: inline-flex;
    margin-top: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #dffff5;
    background: rgba(86, 245, 184, .09);
    border: 1px solid rgba(86, 245, 184, .2);
    font-size: 12px;
}

.beta-feedback-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.beta-feedback-message {
    min-height: 24px;
    margin-top: 14px;
    color: var(--green);
    font-size: 14px;
    line-height: 1.5;
}

.beta-demo-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.beta-metric {
    border-radius: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
}

.beta-metric strong {
    display: block;
    color: var(--cyan);
    font-size: 28px;
    line-height: 1;
    margin-bottom: 8px;
}

.beta-metric span {
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 980px) {
    .beta-demo-grid {
    grid-template-columns: 1fr;
}

.beta-demo-status,
.beta-demo-metrics {
    grid-template-columns: repeat(2, 1fr);
}

.beta-demo-card {
    min-height: auto;
}

.beta-state-panel,
.beta-empty-state {
    min-height: 320px;
}
}

@media (max-width: 660px) {
    .beta-demo-shell {
    padding: 14px;
}

.beta-demo-status,
.beta-demo-metrics {
    grid-template-columns: 1fr;
}

.beta-demo-card {
    padding: 18px;
}

.beta-demo-actions .btn,
.beta-feedback-actions .btn {
    width: 100%;
}
}


/* DEMO-02A-R1 additions for backend beta panel */

.beta-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
}

.beta-control-label {
    color: var(--muted);
    font-size: 13px;
}

.beta-select {
    min-width: 150px;
    border-radius: 999px;
    border: 1px solid rgba(68, 231, 255, .24);
    background: rgba(2, 6, 14, .82);
    color: var(--text);
    padding: 10px 12px;
    outline: 0;
}

.beta-sample-box {
    margin-top: auto;
    padding-top: 18px;
}

.beta-sample-title {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    margin-bottom: 10px;
}

.beta-sample {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .045);
    color: var(--muted);
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 8px;
    cursor: pointer;
}

.beta-sample:hover {
    border-color: rgba(68, 231, 255, .32);
    color: var(--text);
}

.beta-loading-state {
    min-height: 430px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 28px;
}

.beta-loader {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(68, 231, 255, .14);
    border-top-color: var(--cyan);
    animation: beta-spin .9s linear infinite;
    margin-bottom: 18px;
}

.beta-diagnostics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
    margin-top: 14px;
}

.beta-diagnostics div {
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 12px;
}

.beta-diagnostics span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .11em;
    margin-bottom: 6px;
}

.beta-diagnostics strong {
    color: var(--text);
    font-size: 13px;
}

@keyframes beta-spin {
    to {
    transform: rotate(360deg);
}
}

@media (max-width: 660px) {
    .beta-control-row {
    display: block;
}

.beta-select {
    width: 100%;
    margin-top: 8px;
}

.beta-diagnostics {
    grid-template-columns: 1fr;
}
}


/* DEMO-02B additions */

.beta-private-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 18px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(68, 231, 255, .07);
    border: 1px solid rgba(68, 231, 255, .18);
}

.beta-private-banner strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
}

.beta-private-banner span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.beta-detailed-feedback {
    display: none;
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
}

.beta-detailed-feedback.is-visible {
    display: block;
}

.beta-feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.beta-feedback-pill {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    padding: 10px 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, .045);
    cursor: pointer;
    font-size: 13px;
}

.beta-feedback-pill:hover,
.beta-feedback-pill.is-selected {
    color: var(--text);
    border-color: rgba(68, 231, 255, .38);
    background: rgba(68, 231, 255, .1);
}

.beta-feedback-comment {
    width: 100%;
    min-height: 86px;
    margin: 12px 0;
    resize: vertical;
    border-radius: 18px;
    border: 1px solid rgba(68, 231, 255, .18);
    background: rgba(2, 6, 14, .62);
    color: var(--text);
    padding: 14px;
    outline: 0;
    line-height: 1.55;
}

.beta-feedback-comment:focus {
    border-color: rgba(68, 231, 255, .5);
    box-shadow: 0 0 0 4px rgba(68, 231, 255, .07);
}

.beta-export-preview {
    margin: 18px 0 0;
    max-height: 360px;
    overflow: auto;
    padding: 18px;
    border-radius: 20px;
    color: #dff8ff;
    background: rgba(0, 0, 0, .34);
    border: 1px solid rgba(68, 231, 255, .16);
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
}

@media (max-width: 760px) {
    .beta-private-banner {
    display: block;
}

.beta-private-banner .btn {
    width: 100%;
    margin-top: 12px;
}

.beta-feedback-grid {
    grid-template-columns: 1fr;
}
}


/* HOME-01B modal readability upgrade */

.modal {
    width: min(920px, calc(100vw - 32px));
    max-height: min(86vh, 920px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-head {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 3;
    backdrop-filter: blur(18px);
    background:
    linear-gradient(135deg, rgba(13, 24, 42, 0.96), rgba(18, 24, 42, 0.92));
    border-bottom: 1px solid rgba(92, 225, 255, 0.16);
}

.modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 22px;
    line-height: 1.72;
    scrollbar-width: thin;
    scrollbar-color: rgba(92, 225, 255, 0.45) rgba(255, 255, 255, 0.06);
}

.modal-body::-webkit-scrollbar {
    width: 9px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(92, 225, 255, 0.58), rgba(147, 92, 255, 0.5));
    border-radius: 999px;
}

.modal-body p {
    color: rgba(222, 232, 247, 0.88);
    margin: 0 0 18px;
    font-size: 0.98rem;
}

.modal-body h4 {
    margin: 28px 0 12px;
    color: #ffffff;
    font-size: 0.92rem;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body h4::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #5ce1ff;
    box-shadow: 0 0 18px rgba(92, 225, 255, 0.75);
    flex: 0 0 auto;
}

.modal-body ul {
    margin: 12px 0 22px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.modal-body li {
    position: relative;
    padding: 12px 14px 12px 38px;
    color: rgba(222, 232, 247, 0.86);
    background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.modal-body li::before {
    content: "→";
    position: absolute;
    left: 14px;
    top: 12px;
    color: #5ce1ff;
    font-weight: 800;
}

.modal-body strong {
    color: #ffffff;
    font-weight: 800;
}

.modal-body table {
    width: 100%;
    margin: 18px 0 26px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(7, 14, 26, 0.5);
    border: 1px solid rgba(92, 225, 255, 0.16);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.modal-body tbody {
    width: 100%;
}

.modal-body tr {
    vertical-align: top;
}

.modal-body tr + tr th,
.modal-body tr + tr td {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-body th {
    width: 28%;
    min-width: 150px;
    padding: 15px 16px;
    text-align: left;
    color: #5ce1ff;
    font-size: 0.78rem;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    background: rgba(92, 225, 255, 0.065);
    border-right: 1px solid rgba(92, 225, 255, 0.12);
}

.modal-body td {
    padding: 15px 17px;
    color: rgba(222, 232, 247, 0.88);
    font-size: 0.94rem;
}

.modal-body p + table,
.modal-body ul + table {
    margin-top: 22px;
}

.modal-body table + h4 {
    margin-top: 32px;
}

.modal-body > p:first-child {
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(92, 225, 255, 0.18);
    background:
    radial-gradient(circle at top left, rgba(92, 225, 255, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    color: rgba(241, 247, 255, 0.94);
    font-size: 1.02rem;
}

.modal-close {
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.modal-close:hover {
    transform: scale(1.06);
    border-color: rgba(92, 225, 255, 0.55);
    background: rgba(92, 225, 255, 0.12);
}

@media (max-width: 760px) {
    .modal {
    width: calc(100vw - 22px);
    max-height: 88vh;
}

.modal-body {
    padding-right: 14px;
}

.modal-body table,
.modal-body tbody,
.modal-body tr,
.modal-body th,
.modal-body td {
    display: block;
    width: 100%;
}

.modal-body th {
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(92, 225, 255, 0.12);
}

.modal-body tr + tr th {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body td {
    padding-top: 12px;
}
}


/* HOME-01C compact tabbed modals */

.modal {
    width: min(980px, calc(100vw - 34px));
    max-height: min(78vh, 760px);
}

.modal-body {
    overflow: hidden;
    padding: 22px;
}

.modal-tab-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 12px;
    margin: 0 0 18px;
    border-bottom: 1px solid rgba(92, 225, 255, 0.14);
    scrollbar-width: thin;
    scrollbar-color: rgba(92, 225, 255, 0.35) rgba(255, 255, 255, 0.04);
}

.modal-tab-nav::-webkit-scrollbar {
    height: 7px;
}

.modal-tab-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.modal-tab-nav::-webkit-scrollbar-thumb {
    background: rgba(92, 225, 255, 0.38);
    border-radius: 999px;
}

.modal-tab-button {
    flex: 0 0 auto;
    border: 1px solid rgba(92, 225, 255, 0.18);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(222, 232, 247, 0.76);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.modal-tab-button:hover {
    transform: translateY(-1px);
    color: #ffffff;
    border-color: rgba(92, 225, 255, 0.42);
    background: rgba(92, 225, 255, 0.1);
}

.modal-tab-button.is-active {
    color: #07111e;
    border-color: rgba(92, 225, 255, 0.74);
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
    box-shadow: 0 0 24px rgba(92, 225, 255, 0.22);
}

.modal-tab-content {
    min-height: 360px;
}

.modal-tab-panel {
    display: none;
    animation: modal-tab-fade 0.18s ease-out;
}

.modal-tab-panel.is-active {
    display: block;
}

@keyframes modal-tab-fade {
    from {
    opacity: 0;
    transform: translateY(4px);
}

to {
    opacity: 1;
    transform: translateY(0);
}
}

.modal-tab-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.modal-tab-card {
    border-radius: 18px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.085);
}

.modal-tab-card.wide {
    grid-column: 1 / -1;
}

.modal-tab-card h5 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: 0.86rem;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.modal-tab-card p {
    margin: 0;
    color: rgba(222, 232, 247, 0.86);
    font-size: 0.92rem;
    line-height: 1.55;
}

.modal-tab-card ul {
    margin: 8px 0 0;
    gap: 7px;
}

.modal-tab-card li {
    padding: 8px 10px 8px 32px;
    border-radius: 13px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.modal-tab-card li::before {
    left: 12px;
    top: 8px;
}

.modal-tab-card table {
    margin: 8px 0 0;
    border-radius: 14px;
    box-shadow: none;
}

.modal-tab-card th {
    padding: 10px 12px;
    font-size: 0.72rem;
}

.modal-tab-card td {
    padding: 10px 12px;
    font-size: 0.86rem;
    line-height: 1.45;
}

.modal-mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 10px;
}

.modal-mini-metric {
    border-radius: 15px;
    padding: 12px;
    background: rgba(92, 225, 255, 0.065);
    border: 1px solid rgba(92, 225, 255, 0.16);
}

.modal-mini-metric strong {
    display: block;
    color: #5ce1ff;
    font-size: 1.2rem;
    line-height: 1;
    margin-bottom: 6px;
}

.modal-mini-metric span {
    display: block;
    color: rgba(222, 232, 247, 0.78);
    font-size: 0.78rem;
    line-height: 1.35;
}

.modal-proof-strip {
    margin-top: 12px;
    border-radius: 18px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(86, 245, 184, 0.1), rgba(92, 225, 255, 0.06));
    border: 1px solid rgba(86, 245, 184, 0.2);
    color: rgba(230, 255, 247, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 860px) {
    .modal {
    max-height: 84vh;
}

.modal-body {
    overflow-y: auto;
}

.modal-tab-grid,
.modal-mini-metrics {
    grid-template-columns: 1fr;
}

.modal-tab-content {
    min-height: auto;
}
}

@media (max-width: 560px) {
    .modal {
    width: calc(100vw - 20px);
    max-height: 88vh;
}

.modal-body {
    padding: 16px;
}

.modal-tab-button {
    padding: 9px 12px;
    font-size: 0.78rem;
}
}


/* HOME-02A hero console clickable mini cards */

.hero-flow-trigger {
    width: 100%;
    appearance: none;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.hero-flow-trigger:hover {
    transform: translateY(-2px);
    border-color: rgba(92, 225, 255, .42);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 42%),
    rgba(255, 255, 255, .07);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.hero-flow-trigger:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .72);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .12),
    0 18px 45px rgba(0, 0, 0, .22);
}

.mini-box-title {
    display: block;
    margin: 0 0 10px;
    color: rgba(241, 247, 255, .92);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mini-box-text {
    display: block;
    color: rgba(222, 232, 247, .88);
    line-height: 1.55;
    font-size: 13px;
}

.mini-box-more {
    display: inline-flex;
    margin-top: 14px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.hero-flow-trigger:hover .mini-box-more {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 760px) {
    .mini-box-title {
    font-size: 12px;
}

.mini-box-text {
    font-size: 12px;
}

.mini-box-more {
    font-size: 11px;
}
}


/* HOME-02B hero tags and modern modal actions */

.hero-tag-trigger {
    appearance: none;
    cursor: pointer;
    font: inherit;
    transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease;
}

.hero-tag-trigger:hover {
    transform: translateY(-2px);
    border-color: rgba(92, 225, 255, .46);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .14), transparent 42%),
    rgba(255, 255, 255, .07);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.hero-tag-trigger:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .72);
    box-shadow: 0 0 0 4px rgba(92, 225, 255, .13);
}

.modal-rich {
    width: min(1040px, calc(100vw - 34px));
    max-height: min(80vh, 760px);
    background:
    radial-gradient(circle at 10% 0%, rgba(92, 225, 255, .12), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(171, 95, 255, .16), transparent 34%),
    linear-gradient(135deg, rgba(9, 18, 34, .98), rgba(17, 22, 40, .96));
}

.modal-head-rich {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.modal-head-rich h3 {
    margin: 0;
}

.modal-eyebrow {
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 6px;
}

.modal-tools {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.modal-tool {
    border: 1px solid rgba(92, 225, 255, .2);
    background: rgba(255, 255, 255, .055);
    color: rgba(230, 244, 255, .9);
    border-radius: 999px;
    padding: 8px 11px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    color .16s ease;
}

.modal-tool:hover {
    transform: translateY(-1px);
    color: #ffffff;
    border-color: rgba(92, 225, 255, .5);
    background: rgba(92, 225, 255, .12);
}

.modal-tool.is-done {
    border-color: rgba(86, 245, 184, .42);
    background: rgba(86, 245, 184, .14);
    color: #dffff5;
}

.modal-hero-note {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
    padding: 16px 18px;
    border-radius: 20px;
    background:
    radial-gradient(circle at top left, rgba(92, 225, 255, .16), transparent 42%),
    rgba(255, 255, 255, .06);
    border: 1px solid rgba(92, 225, 255, .18);
}

.modal-hero-note strong {
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
}

.modal-hero-note span {
    color: rgba(241, 247, 255, .94);
    line-height: 1.55;
}

.modal-demo-strip {
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 12px;
    background: rgba(255, 121, 121, .075);
    border: 1px solid rgba(255, 121, 121, .18);
}

.modal-demo-strip.is-good {
    background: rgba(86, 245, 184, .085);
    border-color: rgba(86, 245, 184, .22);
}

.modal-demo-strip span {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.modal-demo-strip p {
    margin: 0;
    color: rgba(230, 244, 255, .9);
}

.modal-step-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.modal-step-row div {
    border-radius: 20px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.modal-step-row strong {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    color: #07111e;
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
    margin-bottom: 12px;
}

.modal-step-row span {
    display: block;
    color: rgba(230, 244, 255, .9);
    font-weight: 800;
    line-height: 1.35;
}

@media (max-width: 760px) {
    .modal-head-rich {
    align-items: flex-start;
}

.modal-tools {
    flex-wrap: wrap;
    justify-content: flex-end;
}

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

.modal-step-row {
    grid-template-columns: 1fr;
}
}

/* HOME-03A section media preview system */

.section-head-with-media {
    align-items: flex-start;
}

.section-desc-media {
    position: relative;
    display: grid;
    gap: 16px;
    max-width: 420px;
}

.section-media-trigger {
    position: relative;
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(92, 225, 255, .18);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .1), transparent 44%),
    rgba(255, 255, 255, .045);
    color: var(--text);
    border-radius: 24px;
    padding: 12px;
    cursor: pointer;
    overflow: visible;
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.section-media-trigger:hover {
    transform: translateY(-2px);
    border-color: rgba(92, 225, 255, .42);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .15), transparent 44%),
    rgba(255, 255, 255, .065);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.section-media-trigger:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .68);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .12),
    0 18px 44px rgba(0, 0, 0, .22);
}

.section-media-thumb {
    position: relative;
    display: block;
    width: 86px;
    height: 62px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(2, 6, 14, .76);
    border: 1px solid rgba(92, 225, 255, .18);
}

.section-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    opacity: .9;
}

.section-media-glow {
    position: absolute;
    inset: 0;
    background:
    linear-gradient(135deg, transparent, rgba(92, 225, 255, .14)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .2), transparent 28%);
    pointer-events: none;
}

.section-media-copy strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    margin-bottom: 4px;
}

.section-media-copy em {
    display: block;
    color: rgba(222, 232, 247, .66);
    font-size: 12px;
    font-style: normal;
    line-height: 1.35;
}

.section-media-pop {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    width: min(420px, 80vw);
    aspect-ratio: 16 / 9;
    border-radius: 26px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(.96);
    pointer-events: none;
    border: 1px solid rgba(92, 225, 255, .28);
    background: rgba(2, 6, 14, .92);
    box-shadow:
    0 28px 90px rgba(0, 0, 0, .42),
    0 0 80px rgba(92, 225, 255, .13);
    transition:
    opacity .18s ease,
    transform .18s ease;
    z-index: 12;
}

.section-media-pop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-media-trigger:hover .section-media-pop {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-media-viewer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.section-media-viewer.is-visible {
    display: block;
}

.section-media-backdrop {
    position: absolute;
    inset: 0;
    background:
    radial-gradient(circle at 30% 20%, rgba(92, 225, 255, .12), transparent 36%),
    rgba(2, 6, 14, .78);
    backdrop-filter: blur(14px);
}

.section-media-dialog {
    position: relative;
    width: min(1120px, calc(100vw - 40px));
    max-height: calc(100vh - 54px);
    margin: 27px auto;
    border-radius: 34px;
    overflow: hidden;
    background:
    radial-gradient(circle at 10% 0%, rgba(92, 225, 255, .12), transparent 32%),
    radial-gradient(circle at 92% 20%, rgba(171, 95, 255, .14), transparent 34%),
    linear-gradient(135deg, rgba(8, 17, 32, .98), rgba(17, 23, 42, .98));
    border: 1px solid rgba(92, 225, 255, .24);
    box-shadow: 0 34px 110px rgba(0, 0, 0, .52);
}

.section-media-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(92, 225, 255, .16);
}

.section-media-eyebrow {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 6px;
}

.section-media-head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.15;
}

.section-media-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.section-media-action,
.section-media-close {
    border: 1px solid rgba(92, 225, 255, .2);
    background: rgba(255, 255, 255, .055);
    color: rgba(230, 244, 255, .92);
    border-radius: 999px;
    padding: 9px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    color .16s ease;
}

.section-media-close {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    font-size: 22px;
    line-height: 1;
}

.section-media-action:hover,
.section-media-close:hover {
    transform: translateY(-1px);
    color: #ffffff;
    border-color: rgba(92, 225, 255, .5);
    background: rgba(92, 225, 255, .12);
}

.section-media-action.is-done {
    border-color: rgba(86, 245, 184, .42);
    background: rgba(86, 245, 184, .14);
    color: #dffff5;
}

.section-media-figure {
    margin: 0;
    padding: 18px;
}

.section-media-figure img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 230px);
    object-fit: contain;
    border-radius: 26px;
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .09);
}

.section-media-figure figcaption {
    margin-top: 14px;
    color: rgba(222, 232, 247, .84);
    line-height: 1.55;
    font-size: 14px;
}

body.media-viewer-open {
    overflow: hidden;
}

@media (max-width: 820px) {
    .section-desc-media {
    max-width: none;
}

.section-media-pop {
    display: none;
}

.section-media-dialog {
    width: calc(100vw - 20px);
    margin: 10px auto;
    max-height: calc(100vh - 20px);
}

.section-media-head {
    align-items: flex-start;
    flex-direction: column;
}

.section-media-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.section-media-figure img {
    max-height: calc(100vh - 280px);
}
}


/* HOME-03B stats cards, visual analytics and modal FX */

.stat-clickable {
    cursor: pointer;
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.stat-clickable:hover {
    transform: translateY(-4px);
    border-color: rgba(92, 225, 255, .42);
    background:
    radial-gradient(circle at 18% 0%, rgba(92, 225, 255, .12), transparent 38%),
    radial-gradient(circle at 92% 90%, rgba(145, 92, 255, .12), transparent 42%),
    rgba(255, 255, 255, .058);
    box-shadow: 0 22px 64px rgba(0, 0, 0, .28);
}

.stat-clickable:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .72);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .12),
    0 22px 64px rgba(0, 0, 0, .28);
}

.stat-clickable em {
    display: inline-flex;
    margin-top: 14px;
    color: var(--cyan);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .04em;
}

.stat-modal {
    width: min(1080px, calc(100vw - 34px));
}

.stat-kpi-hero {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 14px;
}

.stat-kpi-hero > div {
    border-radius: 24px;
    padding: 18px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .18), transparent 46%),
    rgba(92, 225, 255, .07);
    border: 1px solid rgba(92, 225, 255, .2);
}

.stat-kpi-hero span {
    display: block;
    color: rgba(222, 232, 247, .72);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-kpi-hero strong {
    display: block;
    color: #5ce1ff;
    font-size: clamp(42px, 6vw, 74px);
    line-height: .92;
    letter-spacing: -.06em;
    margin-bottom: 10px;
}

.stat-kpi-hero em {
    display: block;
    color: rgba(230, 244, 255, .82);
    font-style: normal;
    font-size: 12px;
    line-height: 1.35;
}

.stat-kpi-hero p {
    margin: 0;
    border-radius: 24px;
    padding: 18px;
    background:
    radial-gradient(circle at top left, rgba(145, 92, 255, .12), transparent 42%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .085);
    color: rgba(230, 244, 255, .9);
    line-height: 1.6;
}

.stat-formula-box {
    margin-top: 14px;
    border-radius: 22px;
    padding: 17px 18px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .12), rgba(145, 92, 255, .08));
    border: 1px solid rgba(92, 225, 255, .22);
}

.stat-formula-box strong {
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: 12px;
    margin-bottom: 8px;
}

.stat-formula-box span {
    display: block;
    color: #5ce1ff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

.stat-formula-box em {
    display: block;
    margin-top: 8px;
    color: rgba(230, 244, 255, .78);
    font-style: normal;
    line-height: 1.45;
}

.stat-formula-box.is-large span {
    font-size: clamp(26px, 4vw, 44px);
    letter-spacing: -.03em;
}

.stat-chart-card,
.stat-line-card {
    border-radius: 24px;
    padding: 18px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 46%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
}

.stat-chart-card h5,
.stat-line-card h5 {
    margin: 0 0 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.stat-bars {
    height: 210px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 12px;
    padding: 12px 4px 0;
    border-radius: 18px;
    background: rgba(0, 0, 0, .16);
}

.stat-bars div {
    display: grid;
    align-items: end;
    gap: 9px;
    height: 100%;
}

.stat-bars span {
    display: block;
    height: var(--h);
    min-height: 16px;
    border-radius: 14px 14px 6px 6px;
    background:
    linear-gradient(180deg, #5ce1ff, rgba(145, 92, 255, .72));
    box-shadow: 0 0 28px rgba(92, 225, 255, .16);
}

.stat-bars em {
    display: block;
    color: rgba(222, 232, 247, .72);
    font-size: 11px;
    font-style: normal;
    text-align: center;
}

.stat-chart-card p,
.stat-line-card p {
    margin: 14px 0 0;
    color: rgba(222, 232, 247, .84);
    line-height: 1.55;
}

.stat-segment-map {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
}

.stat-segment-map div {
    border-radius: 22px;
    min-height: 132px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .14), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.stat-segment-map strong {
    display: block;
    color: #ffffff;
    margin-bottom: 9px;
    font-size: 15px;
}

.stat-segment-map span {
    display: block;
    color: rgba(222, 232, 247, .74);
    line-height: 1.45;
    font-size: 13px;
}

.stat-svg-chart {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    background:
    radial-gradient(circle at 75% 20%, rgba(92, 225, 255, .1), transparent 38%),
    rgba(0, 0, 0, .16);
}

.stat-svg-chart .stat-grid-line {
    stroke: rgba(255, 255, 255, .1);
    stroke-width: 1;
}

.stat-svg-chart .stat-line-path {
    fill: none;
    stroke: url(#toolsLineGradient);
    stroke-width: 5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 10px rgba(92, 225, 255, .35));
}

.stat-svg-chart circle {
    fill: #5ce1ff;
    stroke: rgba(255, 255, 255, .75);
    stroke-width: 2;
}

.stat-funnel {
    display: grid;
    gap: 10px;
}

.stat-funnel div {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: center;
    gap: 14px;
    border-radius: 18px;
    padding: 14px 16px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .1), rgba(145, 92, 255, .06));
    border: 1px solid rgba(92, 225, 255, .16);
}

.stat-funnel div:nth-child(1) { width: 100%; }
.stat-funnel div:nth-child(2) { width: 84%; }
.stat-funnel div:nth-child(3) { width: 68%; }
.stat-funnel div:nth-child(4) { width: 52%; }

.stat-funnel strong {
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.stat-funnel span {
    color: rgba(230, 244, 255, .9);
    font-weight: 800;
}

/* Global modal open / close FX */
.modal-layer {
    opacity: 0;
    pointer-events: none;
    transition: opacity .26s ease;
}

.modal-layer[aria-hidden="false"],
.modal-layer.is-visible,
.modal-layer.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal-layer .modal {
    transform: translateY(22px) scale(.94) rotateX(5deg);
    opacity: 0;
    transition:
    transform .32s cubic-bezier(.2, 1.15, .3, 1),
    opacity .22s ease,
    filter .32s ease;
    filter: blur(8px);
    transform-origin: 50% 42%;
}

.modal-layer[aria-hidden="false"] .modal,
.modal-layer.is-visible .modal,
.modal-layer.is-open .modal {
    transform: translateY(0) scale(1) rotateX(0);
    opacity: 1;
    filter: blur(0);
}

.modal-layer.is-opening .modal {
    animation: neuro-modal-pop .38s cubic-bezier(.2, 1.2, .3, 1) both;
}

.modal-layer.is-closing {
    opacity: 0;
}

.modal-layer.is-closing .modal {
    transform: translateY(18px) scale(.96) rotateX(-3deg);
    opacity: 0;
    filter: blur(10px);
}

@keyframes neuro-modal-pop {
    0% {
    opacity: 0;
    transform: translateY(30px) scale(.88) rotateX(8deg);
    filter: blur(12px);
}

58% {
    opacity: 1;
    transform: translateY(-4px) scale(1.015) rotateX(0);
    filter: blur(0);
}

100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
    filter: blur(0);
}
}

@media (prefers-reduced-motion: reduce) {
    .modal-layer,
    .modal-layer .modal,
    .modal-layer.is-opening .modal,
    .modal-layer.is-closing .modal {
    animation: none;
    transition: none;
    transform: none;
    filter: none;
}
}

@media (max-width: 860px) {
    .stat-kpi-hero,
    .stat-segment-map {
    grid-template-columns: 1fr;
}

.stat-funnel div,
.stat-funnel div:nth-child(1),
.stat-funnel div:nth-child(2),
.stat-funnel div:nth-child(3),
.stat-funnel div:nth-child(4) {
    width: 100%;
    grid-template-columns: 1fr;
}
}


/* HOME-04A vision problem cards and surcharge media */

.vision-problem-panel {
    position: relative;
    overflow: visible;
}

.vision-panel-head {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 18px;
    align-items: start;
}

.vision-media-trigger {
    grid-template-columns: 72px 1fr;
    padding: 10px;
    border-radius: 22px;
}

.vision-media-trigger .section-media-thumb {
    width: 72px;
    height: 54px;
    border-radius: 16px;
}

.vision-media-trigger .section-media-copy strong {
    font-size: 12px;
}

.vision-media-trigger .section-media-copy em {
    font-size: 11px;
}

.vision-problem-list {
    margin-top: 26px;
}

.vision-problem-trigger {
    width: 100%;
    appearance: none;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.vision-problem-trigger:hover {
    transform: translateY(-3px);
    border-color: rgba(92, 225, 255, .34);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 38%),
    rgba(255, 255, 255, .065);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

.vision-problem-trigger:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .68);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .12),
    0 18px 48px rgba(0, 0, 0, .24);
}

.vision-problem-copy {
    display: block;
}

.vision-problem-copy strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 7px;
}

.vision-problem-copy em {
    display: block;
    color: rgba(222, 232, 247, .82);
    font-size: .92rem;
    font-style: normal;
    line-height: 1.55;
}

.vision-problem-copy small {
    display: inline-flex;
    margin-top: 10px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.vision-modal {
    width: min(1060px, calc(100vw - 34px));
}

.vision-signal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
    margin: 14px 0;
}

.vision-signal-grid div {
    border-radius: 22px;
    padding: 16px;
    min-height: 128px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 42%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.vision-signal-grid strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 9px;
}

.vision-signal-grid span {
    display: block;
    color: rgba(230, 244, 255, .86);
    font-size: 13px;
    line-height: 1.45;
}

.vision-flow-diagram {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.vision-flow-diagram div {
    position: relative;
    min-height: 128px;
    border-radius: 24px;
    padding: 18px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .14), transparent 42%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(92, 225, 255, .16);
}

.vision-flow-diagram div:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: #5ce1ff;
    font-size: 22px;
    font-weight: 900;
    z-index: 2;
}

.vision-flow-diagram strong {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 15px;
}

.vision-flow-diagram span {
    display: block;
    color: rgba(222, 232, 247, .76);
    font-size: 13px;
    line-height: 1.45;
}

.vision-friction-ladder {
    display: grid;
    gap: 10px;
}

.vision-friction-ladder div {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    padding: 13px 15px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .1), rgba(145, 92, 255, .06));
    border: 1px solid rgba(92, 225, 255, .16);
}

.vision-friction-ladder div:nth-child(1) { width: 58%; }
.vision-friction-ladder div:nth-child(2) { width: 68%; }
.vision-friction-ladder div:nth-child(3) { width: 78%; }
.vision-friction-ladder div:nth-child(4) { width: 88%; }
.vision-friction-ladder div:nth-child(5) { width: 100%; }

.vision-friction-ladder strong {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 15px;
    color: #07111e;
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
}

.vision-friction-ladder span {
    color: rgba(230, 244, 255, .9);
    font-weight: 800;
}

.vision-output-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.vision-output-comparison div {
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 121, 121, .075);
    border: 1px solid rgba(255, 121, 121, .18);
}

.vision-output-comparison div.is-good {
    background: rgba(86, 245, 184, .085);
    border-color: rgba(86, 245, 184, .22);
}

.vision-output-comparison strong {
    display: block;
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.vision-output-comparison span {
    display: block;
    border-radius: 14px;
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .055);
    color: rgba(230, 244, 255, .88);
    font-weight: 800;
}

@media (max-width: 960px) {
    .vision-panel-head,
    .vision-signal-grid,
    .vision-flow-diagram,
    .vision-output-comparison {
    grid-template-columns: 1fr;
}

.vision-media-trigger {
    max-width: 360px;
}

.vision-flow-diagram div:not(:last-child)::after {
    right: auto;
    left: 22px;
    top: auto;
    bottom: -20px;
    transform: rotate(90deg);
}

.vision-friction-ladder div,
.vision-friction-ladder div:nth-child(1),
.vision-friction-ladder div:nth-child(2),
.vision-friction-ladder div:nth-child(3),
.vision-friction-ladder div:nth-child(4),
.vision-friction-ladder div:nth-child(5) {
    width: 100%;
}
}


/* HOME-04B vision right panel interactive buttons */

.vision-flow-tags .vision-pill-trigger {
    appearance: none;
    cursor: pointer;
    font: inherit;
    transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease;
}

.vision-flow-tags .vision-pill-trigger:hover {
    transform: translateY(-2px);
    border-color: rgba(92, 225, 255, .48);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .15), transparent 42%),
    rgba(255, 255, 255, .075);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

.vision-flow-tags .vision-pill-trigger:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .72);
    box-shadow: 0 0 0 4px rgba(92, 225, 255, .13);
}

.vision-pillar-modal {
    width: min(1060px, calc(100vw - 34px));
}

.vision-pill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.vision-pill-grid div {
    border-radius: 22px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.vision-pill-grid strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 8px;
}

.vision-pill-grid span {
    display: block;
    color: rgba(230, 244, 255, .84);
    font-size: 13px;
    line-height: 1.5;
}

.vision-layer-stack {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.vision-layer-stack div {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 14px;
    border-radius: 18px;
    padding: 14px 16px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .1), rgba(145, 92, 255, .06));
    border: 1px solid rgba(92, 225, 255, .16);
}

.vision-layer-stack strong {
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.vision-layer-stack span {
    color: rgba(230, 244, 255, .88);
    line-height: 1.45;
}

.vision-before-after {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.vision-before-after div {
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 121, 121, .075);
    border: 1px solid rgba(255, 121, 121, .18);
}

.vision-before-after div.is-good {
    background: rgba(86, 245, 184, .085);
    border-color: rgba(86, 245, 184, .22);
}

.vision-before-after strong {
    display: block;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.vision-before-after span {
    display: block;
    color: rgba(230, 244, 255, .9);
    line-height: 1.55;
}

.vision-router-radar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
    margin-top: 14px;
}

.vision-router-radar div {
    min-height: 132px;
    border-radius: 24px;
    padding: 16px;
    background:
    radial-gradient(circle at 50% 0%, rgba(92, 225, 255, .15), transparent 48%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(92, 225, 255, .15);
}

.vision-router-radar strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 8px;
}

.vision-router-radar span {
    display: block;
    color: rgba(222, 232, 247, .76);
    line-height: 1.45;
    font-size: 13px;
}

.vision-output-frame {
    display: grid;
    gap: 12px;
}

.vision-output-frame div {
    border-radius: 22px;
    padding: 18px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .1), rgba(86, 245, 184, .055));
    border: 1px solid rgba(92, 225, 255, .18);
}

.vision-output-frame strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 8px;
}

.vision-output-frame span {
    display: block;
    color: rgba(230, 244, 255, .86);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .vision-pill-grid,
    .vision-before-after,
    .vision-router-radar {
    grid-template-columns: 1fr;
}

.vision-layer-stack div {
    grid-template-columns: 1fr;
}
}


/* HOME-05A Complexitie Engine card thumbnails */

.feature-card-media {
    position: relative;
    overflow: visible;
    padding-top: 30px;
}

.feature-card-media .feature-icon,
.feature-card-media h3,
.feature-card-media p,
.feature-card-media .ghost-link {
    position: relative;
    z-index: 2;
}

.feature-media-thumb {
    position: absolute;
    top: 20px;
    right: 22px;
    z-index: 4;
    width: 82px;
    height: 58px;
    border-radius: 18px;
    overflow: visible;
    cursor: zoom-in;
}

.feature-media-thumb > img {
    width: 82px;
    height: 58px;
    display: block;
    object-fit: cover;
    border-radius: 18px;
    opacity: .72;
    border: 1px solid rgba(92, 225, 255, .22);
    background: rgba(2, 6, 14, .72);
    box-shadow:
    0 0 28px rgba(92, 225, 255, .08),
    0 0 42px rgba(147, 92, 255, .12);
    transition:
    opacity .18s ease,
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.feature-media-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, .22), transparent 28%),
    linear-gradient(135deg, transparent, rgba(92, 225, 255, .12));
}

.feature-card-media:hover .feature-media-thumb > img,
.feature-media-thumb:hover > img {
    opacity: 1;
    transform: translateY(-2px) scale(1.04);
    border-color: rgba(92, 225, 255, .55);
    box-shadow:
    0 14px 38px rgba(0, 0, 0, .28),
    0 0 54px rgba(92, 225, 255, .18),
    0 0 74px rgba(147, 92, 255, .18);
}

.feature-media-pop {
    position: absolute;
    top: 50%;
    right: calc(100% + 16px);
    width: min(360px, 42vw);
    aspect-ratio: 16 / 10;
    border-radius: 26px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-50%) scale(.94);
    pointer-events: none;
    border: 1px solid rgba(92, 225, 255, .3);
    background: rgba(2, 6, 14, .94);
    box-shadow:
    0 28px 90px rgba(0, 0, 0, .5),
    0 0 80px rgba(92, 225, 255, .16),
    0 0 90px rgba(147, 92, 255, .14);
    transition:
    opacity .18s ease,
    transform .18s ease;
}

.feature-media-pop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-media-pop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
    linear-gradient(180deg, transparent 55%, rgba(2, 6, 14, .48)),
    radial-gradient(circle at 85% 10%, rgba(92, 225, 255, .18), transparent 32%);
    pointer-events: none;
}

.feature-card-media:hover .feature-media-pop,
.feature-media-thumb:hover .feature-media-pop {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.card-grid .feature-card-media:nth-child(3n + 1) .feature-media-pop {
    right: auto;
    left: calc(100% + 16px);
}

.card-grid .feature-card-media:nth-child(3n + 2) .feature-media-pop {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(100% + 16px);
    transform: translateX(-50%) scale(.94);
}

.card-grid .feature-card-media:nth-child(3n + 2):hover .feature-media-pop,
.card-grid .feature-card-media:nth-child(3n + 2) .feature-media-thumb:hover .feature-media-pop {
    transform: translateX(-50%) scale(1);
}

@media (max-width: 980px) {
    .feature-media-pop {
    display: none;
}

.feature-media-thumb {
    width: 72px;
    height: 52px;
    right: 18px;
}

.feature-media-thumb > img {
    width: 72px;
    height: 52px;
}
}

@media (max-width: 560px) {
    .feature-card-media {
    padding-top: 24px;
}

.feature-media-thumb {
    width: 58px;
    height: 44px;
    top: 16px;
    right: 16px;
    border-radius: 14px;
}

.feature-media-thumb > img,
.feature-media-thumb::after {
    width: 58px;
    height: 44px;
    border-radius: 14px;
}
}


/* HOME-06B-R1 clean image thumbnail beside pipeline title */

.pipeline-title-with-thumb {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.pipeline-title-with-thumb .section-title {
    margin: 0;
}

.pipeline-thumb-button {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 116px;
    height: 78px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(92, 225, 255, .32);
    border-radius: 22px;
    overflow: hidden;
    cursor: zoom-in;
    background: rgba(2, 6, 14, .85);
    box-shadow:
    0 18px 46px rgba(0, 0, 0, .28),
    0 0 48px rgba(92, 225, 255, .10);
    transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.pipeline-thumb-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92;
    transform: scale(1.02);
}

.pipeline-thumb-button:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(92, 225, 255, .68);
    box-shadow:
    0 24px 68px rgba(0, 0, 0, .34),
    0 0 64px rgba(92, 225, 255, .18),
    0 0 80px rgba(147, 92, 255, .14);
    filter: saturate(1.08);
}

.pipeline-thumb-button:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .78);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .14),
    0 24px 68px rgba(0, 0, 0, .34);
}

@media (max-width: 720px) {
    .pipeline-title-with-thumb {
    align-items: flex-start;
}

.pipeline-thumb-button {
    width: 96px;
    height: 64px;
    border-radius: 18px;
}
}

/* HOME-06C repair pipeline button cards */

#pipeline .pipeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

#pipeline .pipe-step,
#pipeline .pipe-step-trigger {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: block;
    width: 100%;
    min-height: 230px;
    padding: 28px 22px;
    text-align: left !important;
    font: inherit;
    color: var(--text) !important;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .10);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .075), transparent 38%),
    rgba(255, 255, 255, .045);
    box-shadow: none;
    cursor: pointer;
    overflow: hidden;
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

#pipeline .pipe-step::after,
#pipeline .pipe-step-trigger::after {
    content: attr(data-step);
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgba(92, 225, 255, .13);
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.08em;
    pointer-events: none;
}

#pipeline .pipe-step-kicker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    margin: 0 0 14px;
    color: var(--cyan) !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
    text-align: left !important;
}

#pipeline .pipe-step h3,
#pipeline .pipe-step-trigger h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    color: #ffffff !important;
    font-size: 21px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.03em;
    text-align: left !important;
}

#pipeline .pipe-step p,
#pipeline .pipe-step-trigger p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(222, 232, 247, .82) !important;
    font-size: 14px;
    line-height: 1.62;
    text-align: left !important;
}

#pipeline .pipe-step em,
#pipeline .pipe-step-trigger em {
    position: relative;
    z-index: 2;
    display: inline-flex;
    margin-top: 16px;
    color: var(--cyan) !important;
    font-size: 12px;
    font-style: normal !important;
    font-weight: 900;
    letter-spacing: .04em;
    text-align: left !important;
}

#pipeline .pipe-step-trigger:hover {
    transform: translateY(-4px);
    border-color: rgba(92, 225, 255, .42);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 40%),
    radial-gradient(circle at bottom left, rgba(147, 92, 255, .10), transparent 44%),
    rgba(255, 255, 255, .065);
    box-shadow:
    0 22px 64px rgba(0, 0, 0, .28),
    0 0 52px rgba(92, 225, 255, .08);
}

#pipeline .pipe-step-trigger:hover h3 {
    color: #ffffff !important;
}

#pipeline .pipe-step-trigger:hover p {
    color: rgba(235, 245, 255, .9) !important;
}

#pipeline .pipe-step-trigger:hover em {
    text-decoration: underline;
    text-underline-offset: 4px;
}

#pipeline .pipe-step-trigger:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .72);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .12),
    0 22px 64px rgba(0, 0, 0, .28);
}

@media (max-width: 980px) {
    #pipeline .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 640px) {
    #pipeline .pipeline {
    grid-template-columns: 1fr;
}

#pipeline .pipe-step,
#pipeline .pipe-step-trigger {
    min-height: auto;
    padding: 24px 20px;
}
}

/* HOME-07A Architecture C-OS interactive rows */

#architecture .arch-map-clickable {
    display: grid;
    gap: 12px;
}

#architecture .arch-row-trigger {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(160px, .42fr) 1fr auto;
    gap: 12px;
    align-items: stretch;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
    border: 0;
    background: transparent;
    transition: transform .18s ease;
}

#architecture .arch-row-trigger .arch-label,
#architecture .arch-row-trigger .arch-content,
#architecture .arch-row-trigger .arch-more {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .10);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .07), transparent 42%),
    rgba(255, 255, 255, .045);
    transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    color .18s ease;
}

#architecture .arch-row-trigger .arch-label {
    display: flex;
    align-items: center;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .10em;
    font-size: 12px;
    font-weight: 900;
    padding: 18px 16px;
}

#architecture .arch-row-trigger .arch-content {
    display: flex;
    align-items: center;
    color: rgba(238, 246, 255, .92);
    line-height: 1.55;
    padding: 18px 16px;
}

#architecture .arch-row-trigger .arch-more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    padding: 18px 14px;
    opacity: .78;
}

#architecture .arch-row-trigger:hover {
    transform: translateY(-3px);
}

#architecture .arch-row-trigger:hover .arch-label,
#architecture .arch-row-trigger:hover .arch-content,
#architecture .arch-row-trigger:hover .arch-more {
    border-color: rgba(92, 225, 255, .38);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 42%),
    rgba(255, 255, 255, .065);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .20);
}

#architecture .arch-row-trigger:hover .arch-more {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#architecture .arch-row-trigger:focus-visible {
    outline: 0;
}

#architecture .arch-row-trigger:focus-visible .arch-label,
#architecture .arch-row-trigger:focus-visible .arch-content,
#architecture .arch-row-trigger:focus-visible .arch-more {
    border-color: rgba(92, 225, 255, .72);
    box-shadow: 0 0 0 4px rgba(92, 225, 255, .12);
}

.arch-modal {
    width: min(1080px, calc(100vw - 34px));
}

.arch-visual-grid,
.arch-memory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.arch-visual-grid.four,
.arch-memory-grid {
    grid-template-columns: repeat(4, 1fr);
}

.arch-visual-grid div,
.arch-memory-grid div {
    border-radius: 22px;
    padding: 16px;
    min-height: 126px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.arch-visual-grid strong,
.arch-memory-grid strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 9px;
}

.arch-visual-grid span,
.arch-memory-grid span {
    display: block;
    color: rgba(230, 244, 255, .84);
    font-size: 13px;
    line-height: 1.5;
}

.arch-step-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.arch-step-line div {
    position: relative;
    border-radius: 24px;
    padding: 18px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 42%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(92, 225, 255, .16);
}

.arch-step-line div:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -13px;
    top: 50%;
    transform: translateY(-50%);
    color: #5ce1ff;
    font-size: 22px;
    font-weight: 900;
    z-index: 2;
}

.arch-step-line strong {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 15px;
    color: #07111e;
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
}

.arch-step-line span {
    display: block;
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 7px;
}

.arch-step-line em {
    display: block;
    color: rgba(222, 232, 247, .76);
    font-style: normal;
    line-height: 1.45;
    font-size: 13px;
}

.arch-before-after,
.arch-feedback-row,
.arch-decision-grid,
.arch-router-strip {
    display: grid;
    gap: 14px;
}

.arch-before-after,
.arch-feedback-row {
    grid-template-columns: repeat(2, 1fr);
}

.arch-decision-grid,
.arch-router-strip {
    grid-template-columns: repeat(3, 1fr);
}

.arch-before-after div,
.arch-feedback-row div,
.arch-decision-grid div,
.arch-router-strip div,
.arch-proof-card {
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.arch-before-after div:first-child {
    background: rgba(255, 121, 121, .075);
    border-color: rgba(255, 121, 121, .18);
}

.arch-before-after div.is-good,
.arch-feedback-row div {
    background: rgba(86, 245, 184, .085);
    border-color: rgba(86, 245, 184, .22);
}

.arch-before-after strong,
.arch-feedback-row strong,
.arch-decision-grid strong,
.arch-router-strip strong,
.arch-proof-card strong {
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 9px;
}

.arch-before-after span,
.arch-feedback-row span,
.arch-decision-grid span,
.arch-router-strip span,
.arch-proof-card span {
    display: block;
    color: rgba(230, 244, 255, .86);
    line-height: 1.52;
}

.arch-output-format {
    display: grid;
    gap: 12px;
}

.arch-output-format div {
    border-radius: 22px;
    padding: 18px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .10), rgba(86, 245, 184, .055));
    border: 1px solid rgba(92, 225, 255, .18);
}

.arch-output-format strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 8px;
}

.arch-output-format span {
    display: block;
    color: rgba(230, 244, 255, .86);
    line-height: 1.5;
}

@media (max-width: 960px) {
    #architecture .arch-row-trigger {
    grid-template-columns: 1fr;
}

#architecture .arch-row-trigger .arch-more {
    justify-content: flex-start;
}

.arch-visual-grid,
.arch-visual-grid.four,
.arch-memory-grid,
.arch-step-line,
.arch-before-after,
.arch-feedback-row,
.arch-decision-grid,
.arch-router-strip {
    grid-template-columns: 1fr;
}

.arch-step-line div:not(:last-child)::after {
    right: auto;
    left: 22px;
    top: auto;
    bottom: -20px;
    transform: rotate(90deg);
}
}


/* HOME-07B architecture shortcut pills */

#architecture .arch-pill-tags .arch-pill-trigger {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font: inherit;
    color: rgba(230, 244, 255, .9);
    transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease,
    color .16s ease;
}

#architecture .arch-pill-tags .arch-pill-trigger:hover {
    transform: translateY(-2px);
    color: #ffffff;
    border-color: rgba(92, 225, 255, .48);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .15), transparent 42%),
    rgba(255, 255, 255, .075);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .20);
}

#architecture .arch-pill-tags .arch-pill-trigger:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .72);
    box-shadow: 0 0 0 4px rgba(92, 225, 255, .13);
}

.arch-pill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.arch-pill-grid div {
    border-radius: 22px;
    padding: 16px;
    min-height: 126px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.arch-pill-grid strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 9px;
}

.arch-pill-grid span {
    display: block;
    color: rgba(230, 244, 255, .84);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .arch-pill-grid {
    grid-template-columns: 1fr;
}
}

/* HOME-07C architecture left visual */

#architecture .page-shell.split > div:first-child {
    min-height: 620px;
    display: flex;
    flex-direction: column;
}

#architecture .architecture-left-visual {
    width: 100%;
    margin-top: 34px;
    flex: 1 1 auto;
    min-height: 260px;
    display: flex;
    align-items: stretch;
}

#architecture .architecture-left-visual-button {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: block;
    width: min(520px, 100%);
    min-height: 260px;
    padding: 0;
    border: 1px solid rgba(92, 225, 255, .22);
    border-radius: 30px;
    overflow: hidden;
    cursor: zoom-in;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 40%),
    rgba(255, 255, 255, .045);
    box-shadow:
    0 24px 70px rgba(0, 0, 0, .28),
    0 0 70px rgba(92, 225, 255, .08);
    transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

#architecture .architecture-left-visual-button img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    opacity: .92;
    transform: scale(1.02);
}

#architecture .architecture-left-visual-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
    radial-gradient(circle at 82% 18%, rgba(92, 225, 255, .18), transparent 28%),
    linear-gradient(180deg, transparent 45%, rgba(2, 6, 14, .42));
    pointer-events: none;
}

#architecture .architecture-left-visual-button:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(92, 225, 255, .52);
    box-shadow:
    0 30px 90px rgba(0, 0, 0, .36),
    0 0 80px rgba(92, 225, 255, .16),
    0 0 96px rgba(147, 92, 255, .12);
    filter: saturate(1.08);
}

#architecture .architecture-left-visual-button:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .74);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .13),
    0 30px 90px rgba(0, 0, 0, .36);
}

@media (max-width: 980px) {
    #architecture .page-shell.split > div:first-child {
    min-height: auto;
}

#architecture .architecture-left-visual {
    min-height: 220px;
}

#architecture .architecture-left-visual-button {
    width: 100%;
    min-height: 220px;
}

#architecture .architecture-left-visual-button img {
    min-height: 220px;
}
}

@media (max-width: 620px) {
    #architecture .architecture-left-visual {
    margin-top: 24px;
    min-height: 180px;
}

#architecture .architecture-left-visual-button {
    min-height: 180px;
    border-radius: 24px;
}

#architecture .architecture-left-visual-button img {
    min-height: 180px;
}
}


/* HOME-08A personas interactive cards */

#personas .personas-clickable {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

#personas .persona-trigger {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 306px;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    position: relative;
    display: block;
    border-radius: 28px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    background:
    radial-gradient(circle at top right, rgba(255, 168, 0, .08), transparent 38%),
    radial-gradient(circle at bottom left, rgba(92, 225, 255, .06), transparent 44%),
    rgba(255, 255, 255, .045);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

#personas .persona-trigger:hover {
    transform: translateY(-4px);
    border-color: rgba(92, 225, 255, .38);
    background:
    radial-gradient(circle at top right, rgba(255, 168, 0, .11), transparent 38%),
    radial-gradient(circle at bottom left, rgba(92, 225, 255, .11), transparent 44%),
    rgba(255, 255, 255, .065);
    box-shadow:
    0 24px 70px rgba(0, 0, 0, .28),
    0 0 56px rgba(92, 225, 255, .08);
}

#personas .persona-trigger:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .72);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .13),
    0 24px 70px rgba(0, 0, 0, .28);
}

#personas .persona-title {
    display: block;
    margin: 14px 0 14px;
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.03em;
}

#personas .persona-text {
    display: block;
    color: rgba(222, 232, 247, .82);
    line-height: 1.65;
    margin-bottom: 18px;
}

#personas .persona-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

#personas .persona-list span {
    position: relative;
    display: block;
    color: rgba(238, 246, 255, .9);
    line-height: 1.45;
    padding-left: 18px;
}

#personas .persona-list span::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 900;
}

#personas .persona-more {
    display: inline-flex;
    margin-top: 18px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

#personas .persona-trigger:hover .persona-more {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.persona-modal {
    width: min(1080px, calc(100vw - 34px));
}

.persona-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.persona-metric-grid div {
    min-height: 126px;
    border-radius: 22px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.persona-metric-grid strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 9px;
}

.persona-metric-grid span {
    display: block;
    color: rgba(230, 244, 255, .84);
    font-size: 13px;
    line-height: 1.5;
}

.persona-response-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.persona-response-flow div {
    position: relative;
    min-height: 126px;
    border-radius: 24px;
    padding: 18px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 42%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(92, 225, 255, .16);
}

.persona-response-flow div:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -13px;
    top: 50%;
    transform: translateY(-50%);
    color: #5ce1ff;
    font-size: 22px;
    font-weight: 900;
    z-index: 2;
}

.persona-response-flow strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 8px;
}

.persona-response-flow span {
    display: block;
    color: rgba(222, 232, 247, .76);
    font-size: 13px;
    line-height: 1.45;
}

.persona-branch-map {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
}

.persona-branch-map div {
    min-height: 126px;
    border-radius: 24px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(255, 168, 0, .12), transparent 42%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 168, 0, .16);
}

.persona-branch-map strong {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
}

.persona-branch-map span {
    display: block;
    color: rgba(230, 244, 255, .78);
    line-height: 1.45;
}

@media (max-width: 980px) {
    #personas .personas-clickable,
    .persona-metric-grid,
    .persona-response-flow,
    .persona-branch-map {
    grid-template-columns: 1fr;
}

#personas .persona-trigger {
    min-height: auto;
}

.persona-response-flow div:not(:last-child)::after {
    right: auto;
    left: 22px;
    top: auto;
    bottom: -20px;
    transform: rotate(90deg);
}
}


/* HOME-09A roadmap interactive cards */

#roadmap .roadmap-clickable {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

#roadmap .road-card-trigger {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 230px;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    position: relative;
    display: block;
    border-radius: 28px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .08), transparent 38%),
    radial-gradient(circle at bottom left, rgba(86, 245, 184, .06), transparent 44%),
    rgba(255, 255, 255, .045);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

#roadmap .road-card-trigger:hover {
    transform: translateY(-4px);
    border-color: rgba(92, 225, 255, .42);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 38%),
    radial-gradient(circle at bottom left, rgba(86, 245, 184, .10), transparent 44%),
    rgba(255, 255, 255, .065);
    box-shadow:
    0 24px 70px rgba(0, 0, 0, .28),
    0 0 56px rgba(92, 225, 255, .08);
}

#roadmap .road-card-trigger:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .72);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .13),
    0 24px 70px rgba(0, 0, 0, .28);
}

#roadmap .road-index {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    margin-bottom: 22px;
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: .04em;
    background: rgba(92, 225, 255, .09);
    border: 1px solid rgba(92, 225, 255, .24);
}

#roadmap .road-title {
    display: block;
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.12rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.03em;
}

#roadmap .road-text {
    display: block;
    color: rgba(222, 232, 247, .82);
    font-size: 14px;
    line-height: 1.62;
}

#roadmap .road-more {
    display: inline-flex;
    margin-top: 16px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

#roadmap .road-card-trigger:hover .road-more {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.roadmap-modal {
    width: min(1080px, calc(100vw - 34px));
}

.roadmap-phase-grid,
.roadmap-scenario-grid {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.roadmap-phase-grid {
    grid-template-columns: repeat(3, 1fr);
}

.roadmap-scenario-grid {
    grid-template-columns: repeat(4, 1fr);
}

.roadmap-phase-grid div,
.roadmap-scenario-grid div {
    min-height: 126px;
    border-radius: 22px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.roadmap-phase-grid strong,
.roadmap-scenario-grid strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 9px;
}

.roadmap-phase-grid span,
.roadmap-scenario-grid span {
    display: block;
    color: rgba(230, 244, 255, .84);
    font-size: 13px;
    line-height: 1.5;
}

.roadmap-proof-funnel {
    display: grid;
    gap: 10px;
}

.roadmap-proof-funnel div {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    gap: 14px;
    border-radius: 18px;
    padding: 14px 16px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .10), rgba(86, 245, 184, .07));
    border: 1px solid rgba(92, 225, 255, .16);
}

.roadmap-proof-funnel div:nth-child(1) { width: 100%; }
.roadmap-proof-funnel div:nth-child(2) { width: 84%; }
.roadmap-proof-funnel div:nth-child(3) { width: 68%; }
.roadmap-proof-funnel div:nth-child(4) { width: 52%; }

.roadmap-proof-funnel strong {
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.roadmap-proof-funnel span {
    color: rgba(230, 244, 255, .9);
    font-weight: 800;
}

@media (max-width: 1060px) {
    #roadmap .roadmap-clickable {
    grid-template-columns: repeat(2, 1fr);
}

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

@media (max-width: 700px) {
    #roadmap .roadmap-clickable,
    .roadmap-phase-grid,
    .roadmap-scenario-grid {
    grid-template-columns: 1fr;
}

#roadmap .road-card-trigger {
    min-height: auto;
}

.roadmap-proof-funnel div,
.roadmap-proof-funnel div:nth-child(1),
.roadmap-proof-funnel div:nth-child(2),
.roadmap-proof-funnel div:nth-child(3),
.roadmap-proof-funnel div:nth-child(4) {
    width: 100%;
    grid-template-columns: 1fr;
}
}


/* HOME-08B personas section media thumbnail */

#personas .personas-section-head {
    align-items: flex-start;
    overflow: visible;
}

#personas .personas-head-right {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 18px;
    max-width: 560px;
    overflow: visible;
}

#personas .personas-head-right .section-desc {
    margin: 0;
}

#personas .personas-media-button {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: block;
    width: 128px;
    height: 86px;
    padding: 0;
    border: 1px solid rgba(92, 225, 255, .32);
    border-radius: 24px;
    overflow: visible;
    cursor: zoom-in;
    background: rgba(2, 6, 14, .82);
    box-shadow:
    0 18px 46px rgba(0, 0, 0, .28),
    0 0 48px rgba(92, 225, 255, .10);
    transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

#personas .personas-media-button > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    opacity: .92;
    transform: scale(1.02);
}

#personas .personas-media-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
    background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .22), transparent 28%),
    linear-gradient(135deg, transparent, rgba(92, 225, 255, .16));
}

#personas .personas-media-button:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(92, 225, 255, .68);
    box-shadow:
    0 24px 68px rgba(0, 0, 0, .34),
    0 0 64px rgba(92, 225, 255, .18),
    0 0 80px rgba(147, 92, 255, .14);
    filter: saturate(1.08);
}

#personas .personas-media-button:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .78);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .14),
    0 24px 68px rgba(0, 0, 0, .34);
}

#personas .personas-media-pop {
    position: absolute;
    right: 0;
    top: calc(100% + 16px);
    width: min(480px, 48vw);
    aspect-ratio: 16 / 10;
    border-radius: 30px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(.94);
    pointer-events: none;
    border: 1px solid rgba(92, 225, 255, .30);
    background: rgba(2, 6, 14, .94);
    box-shadow:
    0 28px 90px rgba(0, 0, 0, .50),
    0 0 80px rgba(92, 225, 255, .16),
    0 0 90px rgba(147, 92, 255, .14);
    transition:
    opacity .18s ease,
    transform .18s ease;
    z-index: 40;
}

#personas .personas-media-pop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#personas .personas-media-pop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
    linear-gradient(180deg, transparent 55%, rgba(2, 6, 14, .44)),
    radial-gradient(circle at 84% 12%, rgba(92, 225, 255, .18), transparent 32%);
    pointer-events: none;
}

#personas .personas-media-button:hover .personas-media-pop {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 980px) {
    #personas .personas-head-right {
    grid-template-columns: 1fr;
    max-width: none;
}

#personas .personas-media-button {
    width: 116px;
    height: 78px;
}

#personas .personas-media-pop {
    display: none;
}
}

@media (max-width: 620px) {
    #personas .personas-media-button {
    width: 96px;
    height: 64px;
    border-radius: 18px;
}

#personas .personas-media-button > img,
#personas .personas-media-button::after {
    border-radius: 18px;
}
}


/* HOME-INV-01 — Cognitive OS comparison section */

.cos-shift-section {
    position: relative;
    overflow: hidden;
}

.cos-shift-section::before {
    content: "";
    position: absolute;
    inset: 8% auto auto 50%;
    width: 540px;
    height: 540px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
    radial-gradient(circle, rgba(92, 225, 255, .11), transparent 62%);
    pointer-events: none;
}

.cos-shift-head {
    position: relative;
    z-index: 2;
}

.cos-comparison-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.cos-compare-card {
    width: 100%;
    min-height: 460px;
    appearance: none;
    text-align: left;
    border-radius: 32px;
    padding: 26px;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    border: 1px solid rgba(255, 255, 255, .1);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .08), transparent 42%),
    rgba(255, 255, 255, .045);
    transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.cos-compare-card:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 225, 255, .42);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}

.cos-compare-card:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .72);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .12),
    0 28px 80px rgba(0, 0, 0, .32);
}

.cos-compare-card-current {
    background:
    radial-gradient(circle at top left, rgba(255, 121, 121, .12), transparent 44%),
    radial-gradient(circle at bottom right, rgba(255, 153, 92, .08), transparent 46%),
    rgba(255, 255, 255, .045);
}

.cos-compare-card-neuro {
    background:
    radial-gradient(circle at top right, rgba(86, 245, 184, .14), transparent 44%),
    radial-gradient(circle at bottom left, rgba(92, 225, 255, .1), transparent 46%),
    rgba(255, 255, 255, .055);
    border-color: rgba(86, 245, 184, .18);
}

.cos-card-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    color: rgba(230, 244, 255, .82);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cos-card-title {
    display: block;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.02;
    letter-spacing: -.05em;
}

.cos-card-line {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 14px;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.cos-card-line em {
    color: rgba(222, 232, 247, .62);
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.cos-card-line b {
    color: rgba(241, 247, 255, .94);
    font-size: 15px;
    line-height: 1.35;
}

.cos-card-risk,
.cos-card-win {
    display: block;
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 20px;
    color: rgba(241, 247, 255, .9);
    line-height: 1.55;
    font-size: 14px;
}

.cos-card-risk {
    background: rgba(255, 121, 121, .075);
    border: 1px solid rgba(255, 121, 121, .18);
}

.cos-card-win {
    background: rgba(86, 245, 184, .085);
    border: 1px solid rgba(86, 245, 184, .22);
}

.cos-card-more {
    display: inline-flex;
    margin-top: 18px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.cos-compare-card:hover .cos-card-more {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cos-shift-bridge {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
}

.cos-shift-orbit {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 178px;
    height: 178px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(92, 225, 255, .18);
    box-shadow:
    inset 0 0 30px rgba(92, 225, 255, .06),
    0 0 60px rgba(92, 225, 255, .08);
}

.cos-shift-orbit span {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 24px rgba(92, 225, 255, .65);
}

.cos-shift-orbit span:nth-child(1) {
    left: 50%;
    top: -6px;
}

.cos-shift-orbit span:nth-child(2) {
    right: 8px;
    bottom: 24px;
    background: var(--green);
}

.cos-shift-orbit span:nth-child(3) {
    left: 8px;
    bottom: 24px;
    background: #ab5fff;
}

.cos-shift-core {
    position: relative;
    z-index: 2;
    width: 132px;
    height: 132px;
    border-radius: 42px;
    border: 1px solid rgba(92, 225, 255, .34);
    background:
    radial-gradient(circle at top left, rgba(92, 225, 255, .22), transparent 44%),
    linear-gradient(135deg, rgba(8, 17, 32, .96), rgba(22, 31, 58, .92));
    color: var(--text);
    cursor: pointer;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
    transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.cos-shift-core:hover {
    transform: scale(1.04);
    border-color: rgba(92, 225, 255, .68);
    box-shadow:
    0 24px 80px rgba(0, 0, 0, .4),
    0 0 60px rgba(92, 225, 255, .18);
}

.cos-shift-core strong {
    display: block;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -.04em;
    margin-bottom: 8px;
}

.cos-shift-core span {
    display: block;
    color: rgba(222, 232, 247, .7);
    font-size: 12px;
    line-height: 1.35;
}

.cos-shift-proof-strip {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border-radius: 24px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .1), rgba(86, 245, 184, .055));
    border: 1px solid rgba(92, 225, 255, .18);
}

.cos-shift-proof-strip span {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    font-weight: 900;
}

.cos-shift-proof-strip strong {
    color: rgba(241, 247, 255, .94);
    line-height: 1.45;
}

.cos-modal {
    width: min(1080px, calc(100vw - 34px));
}

.cos-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.cos-modal-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cos-modal-grid div,
.cos-signal-map div,
.cos-rule-grid div,
.cos-orchestration-flow div,
.cos-risk-list div {
    border-radius: 22px;
    padding: 17px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.cos-modal-grid strong,
.cos-signal-map strong,
.cos-orchestration-flow strong,
.cos-risk-list strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 9px;
}

.cos-modal-grid span,
.cos-signal-map span,
.cos-orchestration-flow span,
.cos-risk-list span {
    display: block;
    color: rgba(230, 244, 255, .84);
    line-height: 1.5;
    font-size: 13px;
}

.cos-before-after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.cos-before-after div {
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 121, 121, .075);
    border: 1px solid rgba(255, 121, 121, .18);
}

.cos-before-after div.is-good {
    background: rgba(86, 245, 184, .085);
    border-color: rgba(86, 245, 184, .22);
}

.cos-before-after div.is-bad {
    background: rgba(255, 153, 92, .08);
    border-color: rgba(255, 153, 92, .2);
}

.cos-before-after strong {
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 10px;
}

.cos-before-after span {
    display: block;
    color: rgba(230, 244, 255, .88);
    line-height: 1.55;
}

.cos-shift-equation {
    display: grid;
    grid-template-columns: 1fr 42px 1fr 42px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.cos-shift-equation span,
.cos-shift-equation strong {
    display: grid;
    place-items: center;
    min-height: 72px;
    border-radius: 20px;
    text-align: center;
}

.cos-shift-equation span {
    padding: 14px;
    color: rgba(241, 247, 255, .92);
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .09);
    font-weight: 900;
}

.cos-shift-equation strong {
    color: var(--cyan);
    font-size: 26px;
}

.cos-signal-map {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.cos-rule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.cos-rule-grid strong {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 18px;
    color: #07111e;
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
    font-size: 22px;
}

.cos-rule-grid span {
    display: block;
    color: rgba(230, 244, 255, .88);
    line-height: 1.5;
    font-weight: 800;
}

.cos-orchestration-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.cos-orchestration-flow div {
    position: relative;
    min-height: 128px;
}

.cos-orchestration-flow div:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan);
    font-weight: 900;
    font-size: 22px;
    z-index: 2;
}

.cos-risk-list {
    display: grid;
    gap: 10px;
}

@media (max-width: 1040px) {
    .cos-comparison-grid {
    grid-template-columns: 1fr;
}

.cos-shift-bridge {
    min-height: 170px;
}

.cos-compare-card {
    min-height: auto;
}

.cos-shift-proof-strip {
    grid-template-columns: 1fr;
}
}

@media (max-width: 860px) {
    .cos-modal-grid,
    .cos-modal-grid.three,
    .cos-before-after,
    .cos-signal-map,
    .cos-rule-grid,
    .cos-orchestration-flow,
    .cos-shift-equation {
    grid-template-columns: 1fr;
}

.cos-shift-equation strong {
    min-height: 34px;
    transform: rotate(90deg);
}

.cos-orchestration-flow div:not(:last-child)::after {
    right: auto;
    left: 20px;
    top: auto;
    bottom: -20px;
    transform: rotate(90deg);
}

.cos-card-line {
    grid-template-columns: 1fr;
    gap: 5px;
}
}


/* HOME-NAV-01A — Clean public header */

.nav-primary-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.4vw, 34px);
    flex: 1 1 auto;
}

.nav-primary-clean a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: rgba(226, 238, 252, .78);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .045em;
    text-decoration: none;
    white-space: nowrap;
    transition: color .16s ease, transform .16s ease;
}

.nav-primary-clean a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-primary-clean a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(92, 225, 255, .0), rgba(92, 225, 255, .85), rgba(171, 95, 255, .0));
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .16s ease, transform .16s ease;
}

.nav-primary-clean a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.top-actions-clean {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.top-action-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: rgba(226, 238, 252, .68);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    white-space: nowrap;
    transition: color .16s ease, transform .16s ease;
}

.top-action-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.brand-text span {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .nav-primary-clean {
    gap: 16px;
}

.nav-primary-clean a {
    font-size: 12px;
}

.top-actions-clean {
    gap: 8px;
}

.top-action-link {
    display: none;
}
}

@media (max-width: 760px) {
    .topbar-inner {
    gap: 12px;
}

.brand-text {
    display: none;
}

.nav-primary-clean {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-primary-clean::-webkit-scrollbar {
    display: none;
}

.nav-primary-clean a {
    min-height: 34px;
}
}

@media (max-width: 560px) {
    .nav-primary-clean a[href*="guide"] {
    display: none;
}
}


/* HOME-NAV-01B — Guided home chapters */

.home-chapter-nav-section {
    position: sticky;
    top: 88px;
    z-index: 45;
    padding: 18px 0 8px;
    background:
    linear-gradient(180deg, rgba(5, 12, 24, .92), rgba(5, 12, 24, .66) 76%, transparent);
    backdrop-filter: blur(16px);
}

.home-chapter-panel {
    border-radius: 30px;
    padding: 18px;
    background:
    radial-gradient(circle at 15% 0%, rgba(92, 225, 255, .12), transparent 34%),
    radial-gradient(circle at 88% 40%, rgba(171, 95, 255, .12), transparent 34%),
    rgba(255, 255, 255, .052);
    border: 1px solid rgba(92, 225, 255, .18);
    box-shadow: 0 22px 80px rgba(0, 0, 0, .26);
}

.home-chapter-intro {
    display: grid;
    grid-template-columns: minmax(220px, .72fr) minmax(280px, 1fr);
    gap: 16px;
    align-items: end;
    margin-bottom: 15px;
}

.home-chapter-kicker {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 8px;
}

.home-chapter-intro h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(22px, 2.2vw, 34px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.home-chapter-intro p {
    margin: 0;
    color: rgba(222, 232, 247, .76);
    line-height: 1.55;
    font-size: 14px;
}

.home-chapter-tabs {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
}

.home-chapter-tab {
    appearance: none;
    -webkit-appearance: none;
    min-height: 94px;
    border-radius: 20px;
    padding: 13px 12px;
    text-align: left;
    font: inherit;
    color: var(--text);
    cursor: pointer;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .08), transparent 38%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.home-chapter-tab span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 9px;
    border-radius: 11px;
    color: rgba(92, 225, 255, .92);
    background: rgba(92, 225, 255, .08);
    border: 1px solid rgba(92, 225, 255, .18);
    font-size: 11px;
    font-weight: 950;
}

.home-chapter-tab strong {
    display: block;
    color: rgba(246, 250, 255, .92);
    font-size: 13px;
    line-height: 1.16;
    margin-bottom: 5px;
}

.home-chapter-tab em {
    display: block;
    color: rgba(222, 232, 247, .58);
    font-size: 11px;
    line-height: 1.25;
    font-style: normal;
}

.home-chapter-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(92, 225, 255, .36);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .13), transparent 38%),
    rgba(255, 255, 255, .065);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
}

.home-chapter-tab.is-active {
    border-color: rgba(92, 225, 255, .58);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .2), transparent 42%),
    linear-gradient(135deg, rgba(92, 225, 255, .16), rgba(171, 95, 255, .08));
    box-shadow:
    0 18px 54px rgba(0, 0, 0, .25),
    0 0 42px rgba(92, 225, 255, .13);
}

.home-chapter-tab.is-active span {
    color: #07111e;
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
    border-color: rgba(92, 225, 255, .8);
}

.home-chapter-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 13px;
    flex-wrap: wrap;
}

.home-chapter-control {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(92, 225, 255, .2);
    background: rgba(255, 255, 255, .045);
    color: rgba(230, 244, 255, .82);
    border-radius: 999px;
    padding: 9px 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    color .16s ease,
    opacity .16s ease;
}

.home-chapter-control:hover {
    transform: translateY(-1px);
    color: #ffffff;
    border-color: rgba(92, 225, 255, .48);
    background: rgba(92, 225, 255, .1);
}

.home-chapter-control:disabled {
    opacity: .42;
    cursor: not-allowed;
    transform: none;
}

.home-chapter-control-wide.is-active {
    color: #07111e;
    border-color: rgba(92, 225, 255, .74);
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
}

.home-chapter-status {
    color: rgba(222, 232, 247, .64);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.home-chapter-hidden {
    display: none !important;
}

[data-home-chapter] {
    animation: home-chapter-fade .24s ease-out both;
}

@keyframes home-chapter-fade {
    from {
    opacity: 0;
    transform: translateY(12px);
}

to {
    opacity: 1;
    transform: translateY(0);
}
}

@media (max-width: 1120px) {
    .home-chapter-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(92, 225, 255, .42) rgba(255, 255, 255, .05);
}

.home-chapter-tab {
    flex: 0 0 156px;
}
}

@media (max-width: 820px) {
    .home-chapter-nav-section {
    position: relative;
    top: auto;
    padding-top: 10px;
}

.home-chapter-intro {
    grid-template-columns: 1fr;
    align-items: start;
}

.home-chapter-controls {
    justify-content: flex-start;
}
}

@media (max-width: 560px) {
    .home-chapter-panel {
    padding: 14px;
    border-radius: 24px;
}

.home-chapter-tab {
    flex-basis: 142px;
    min-height: 88px;
}

.home-chapter-status {
    width: 100%;
    order: -1;
}
}


/* HOME-NAV-01C — Compact investor path banner */

.home-chapter-nav-section {
    top: 76px;
    padding: 10px 0 6px;
}

.home-chapter-panel-compact {
    padding: 12px 14px 10px;
    border-radius: 26px;
}

.home-chapter-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 8px;
}

.home-chapter-topline .home-chapter-kicker {
    margin: 0;
    flex: 0 0 auto;
}

.home-chapter-panel-compact .home-chapter-controls {
    margin: 0;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.home-chapter-panel-compact .home-chapter-control {
    padding: 7px 12px;
    min-height: 34px;
    font-size: 11px;
}

.home-chapter-panel-compact .home-chapter-status {
    font-size: 11px;
}

.home-chapter-intro-compact {
    display: grid;
    grid-template-columns: minmax(260px, .88fr) minmax(360px, 1.12fr);
    gap: 24px;
    align-items: center;
    margin: 0 0 10px;
}

.home-chapter-intro-compact p {
    margin: 0;
    color: rgba(222, 232, 247, .76);
    line-height: 1.48;
    font-size: 13px;
}

.home-chapter-intro-compact h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.home-chapter-panel-compact .home-chapter-tabs {
    gap: 8px;
}

.home-chapter-panel-compact .home-chapter-tab {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 9px;
    row-gap: 1px;
    align-content: center;
    min-height: 58px;
    padding: 8px 10px;
    border-radius: 18px;
}

.home-chapter-panel-compact .home-chapter-tab span {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    width: 24px;
    height: 24px;
    margin: 0;
    border-radius: 10px;
    font-size: 10px;
}

.home-chapter-panel-compact .home-chapter-tab strong {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    font-size: 12px;
    line-height: 1.1;
}

.home-chapter-panel-compact .home-chapter-tab em {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 0;
    font-size: 10.5px;
    line-height: 1.2;
}

.home-chapter-progress {
    position: relative;
    height: 3px;
    margin-top: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .07);
}

.home-chapter-progress span {
    display: block;
    width: 14.285%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5ce1ff, #92f6ff, #a66bff);
    box-shadow: 0 0 18px rgba(92, 225, 255, .38);
    transition: width .24s ease;
}

[data-active-chapter="problem"] .home-chapter-progress span {
    width: 14.285%;
}

[data-active-chapter="solution"] .home-chapter-progress span {
    width: 28.57%;
}

[data-active-chapter="product"] .home-chapter-progress span {
    width: 42.855%;
}

[data-active-chapter="architecture"] .home-chapter-progress span {
    width: 57.14%;
}

[data-active-chapter="market"] .home-chapter-progress span {
    width: 71.425%;
}

[data-active-chapter="roadmap"] .home-chapter-progress span {
    width: 85.71%;
}

[data-active-chapter="investors"],
[data-active-chapter="all"] {
    --home-chapter-progress-width: 100%;
}

[data-active-chapter="investors"] .home-chapter-progress span,
[data-active-chapter="all"] .home-chapter-progress span {
    width: 100%;
}

@media (max-width: 1120px) {
    .home-chapter-panel-compact .home-chapter-tab {
    flex: 0 0 138px;
    min-height: 56px;
}
}

@media (max-width: 860px) {
    .home-chapter-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
}

.home-chapter-panel-compact .home-chapter-controls {
    width: 100%;
    justify-content: flex-start;
}

.home-chapter-intro-compact {
    grid-template-columns: 1fr;
    gap: 8px;
}

.home-chapter-intro-compact h2 {
    order: -1;
}
}

@media (max-width: 560px) {
    .home-chapter-panel-compact {
    padding: 11px;
    border-radius: 22px;
}

.home-chapter-panel-compact .home-chapter-tab {
    flex-basis: 132px;
    min-height: 54px;
}

.home-chapter-panel-compact .home-chapter-control {
    padding: 7px 10px;
}
}


/* HOME-NAV-01D — Responsive stabilization and scroll comfort */

:root {
    --neuroia-topbar-offset: 76px;
    --neuroia-chapter-offset: 118px;
    --neuroia-scroll-offset: 214px;
}

/* Keep anchored sections visible below the sticky header and chapter bar */
#problem,
#vision,
#cos-shift,
#engine,
#pipeline,
#architecture,
#product-demo,
#personas,
#roadmap,
#beta,
[data-home-chapter] {
    scroll-margin-top: var(--neuroia-scroll-offset);
}

/* Better sticky behavior on desktop and laptop */
@media (min-width: 821px) {
    .home-chapter-nav-section {
    top: var(--neuroia-topbar-offset);
    padding-top: 8px;
    padding-bottom: 5px;
}

.home-chapter-panel-compact {
    max-height: calc(100vh - var(--neuroia-topbar-offset) - 18px);
}
}

/* Laptop height comfort: reduce vertical pressure without removing content */
@media (min-width: 821px) and (max-height: 820px) {
    .home-chapter-panel-compact {
    padding: 10px 12px 8px;
    border-radius: 22px;
}

.home-chapter-topline {
    margin-bottom: 6px;
}

.home-chapter-intro-compact {
    margin-bottom: 8px;
}

.home-chapter-intro-compact h2 {
    font-size: clamp(20px, 1.7vw, 26px);
}

.home-chapter-intro-compact p {
    font-size: 12px;
    line-height: 1.42;
}

.home-chapter-panel-compact .home-chapter-tab {
    min-height: 50px;
    padding: 7px 9px;
}

.home-chapter-progress {
    margin-top: 6px;
}
}

/* Very short viewport: keep the page usable */
@media (min-width: 821px) and (max-height: 700px) {
    .home-chapter-nav-section {
    position: relative;
    top: auto;
    padding: 8px 0 4px;
}

#problem,
#vision,
#cos-shift,
#engine,
#pipeline,
#architecture,
#product-demo,
#personas,
#roadmap,
#beta,
[data-home-chapter] {
    scroll-margin-top: calc(var(--neuroia-topbar-offset) + 24px);
}
}

/* Horizontal chapter tabs: better touch behavior */
.home-chapter-tabs {
    overscroll-behavior-x: contain;
}

@media (max-width: 1120px) {
    .home-chapter-tabs {
    scroll-snap-type: x proximity;
    scroll-padding-left: 10px;
    -webkit-overflow-scrolling: touch;
}

.home-chapter-panel-compact .home-chapter-tab {
    scroll-snap-align: start;
}
}

/* Tablet/mobile: the chapter bar must not steal viewport height */
@media (max-width: 820px) {
    :root {
    --neuroia-scroll-offset: 96px;
}

.home-chapter-nav-section {
    position: relative;
    top: auto;
    padding: 8px 0 4px;
    backdrop-filter: none;
    background: transparent;
}

.home-chapter-panel-compact {
    border-radius: 22px;
    padding: 11px;
}

.home-chapter-intro-compact {
    margin-bottom: 9px;
}

.home-chapter-intro-compact h2 {
    font-size: clamp(20px, 5vw, 28px);
}

.home-chapter-intro-compact p {
    font-size: 12px;
    line-height: 1.44;
}

.home-chapter-panel-compact .home-chapter-tabs {
    margin-left: -2px;
    margin-right: -2px;
    padding: 2px 2px 5px;
}

.home-chapter-panel-compact .home-chapter-control {
    min-height: 32px;
}
}

/* Small mobile: controls become readable without wrapping badly */
@media (max-width: 520px) {
    .home-chapter-topline {
    gap: 8px;
}

.home-chapter-panel-compact .home-chapter-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 7px;
    align-items: center;
}

.home-chapter-panel-compact .home-chapter-status {
    grid-column: 1 / -1;
    order: -1;
    width: 100%;
    font-size: 11px;
}

.home-chapter-panel-compact .home-chapter-control {
    padding: 7px 9px;
    font-size: 10.5px;
}

.home-chapter-panel-compact .home-chapter-tab {
    flex-basis: 126px;
    min-height: 52px;
    grid-template-columns: 26px minmax(0, 1fr);
}

.home-chapter-panel-compact .home-chapter-tab span {
    width: 22px;
    height: 22px;
    font-size: 9.5px;
}

.home-chapter-panel-compact .home-chapter-tab strong {
    font-size: 11.5px;
}

.home-chapter-panel-compact .home-chapter-tab em {
    font-size: 10px;
}
}

/* Full view state: keep the control visually explicit */
[data-active-chapter="all"] .home-chapter-control-wide {
    color: #07111e;
    border-color: rgba(92, 225, 255, .74);
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
    box-shadow: 0 0 22px rgba(92, 225, 255, .18);
}

/* Focus quality for keyboard navigation */
.home-chapter-tab:focus-visible,
.home-chapter-control:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .78);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .13),
    0 18px 46px rgba(0, 0, 0, .24);
}


/* HOME-INV-02 — Simplification funnel */

.simplification-funnel-section {
    position: relative;
    overflow: hidden;
}

.simplification-funnel-section::before {
    content: "";
    position: absolute;
    inset: 10% auto auto 50%;
    width: 720px;
    height: 420px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
    radial-gradient(circle, rgba(92, 225, 255, .12), transparent 64%);
    pointer-events: none;
}

.simplification-funnel-head,
.simplification-funnel-shell,
.simplification-funnel-proof {
    position: relative;
    z-index: 2;
}

.simplification-funnel-shell {
    display: grid;
    grid-template-columns: 130px repeat(5, minmax(0, 1fr)) 130px;
    gap: 12px;
    align-items: stretch;
    margin-top: 30px;
}

.simplification-line {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 3px;
    transform: translateY(-50%);
    border-radius: 999px;
    background:
    linear-gradient(90deg, rgba(92, 225, 255, .15), rgba(92, 225, 255, .74), rgba(166, 107, 255, .78), rgba(86, 245, 184, .32));
    box-shadow: 0 0 24px rgba(92, 225, 255, .18);
    z-index: 0;
}

.simplification-chaos,
.simplification-target {
    position: relative;
    z-index: 2;
    min-height: 172px;
    border-radius: 28px;
    padding: 18px;
    display: grid;
    place-items: center;
    text-align: center;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 42%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
}

.simplification-chaos span,
.simplification-target span {
    width: 70px;
    height: 70px;
    display: block;
    margin-bottom: 10px;
    border-radius: 50%;
}

.simplification-chaos span {
    background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .18), transparent 16%),
    conic-gradient(from 20deg, rgba(255, 121, 121, .7), rgba(92, 225, 255, .45), rgba(166, 107, 255, .6), rgba(255, 121, 121, .7));
    filter: blur(.2px);
    box-shadow: 0 0 30px rgba(255, 121, 121, .12);
}

.simplification-target span {
    border: 3px solid rgba(86, 245, 184, .78);
    box-shadow:
    inset 0 0 0 14px rgba(86, 245, 184, .08),
    0 0 34px rgba(86, 245, 184, .22);
}

.simplification-chaos strong,
.simplification-target strong {
    color: rgba(246, 250, 255, .92);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.simplification-step {
    position: relative;
    z-index: 2;
    appearance: none;
    -webkit-appearance: none;
    min-height: 172px;
    padding: 18px 16px;
    border-radius: 28px;
    text-align: left;
    font: inherit;
    color: var(--text);
    cursor: pointer;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .11), transparent 44%),
    radial-gradient(circle at bottom left, rgba(166, 107, 255, .08), transparent 48%),
    rgba(255, 255, 255, .052);
    border: 1px solid rgba(255, 255, 255, .095);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.simplification-step span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 15px;
    color: #07111e;
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 0 24px rgba(92, 225, 255, .18);
}

.simplification-step strong {
    display: block;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.1;
    margin-bottom: 9px;
}

.simplification-step em {
    display: block;
    color: rgba(222, 232, 247, .72);
    font-size: 12.5px;
    line-height: 1.45;
    font-style: normal;
}

.simplification-step:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 225, 255, .46);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .18), transparent 44%),
    radial-gradient(circle at bottom left, rgba(166, 107, 255, .12), transparent 48%),
    rgba(255, 255, 255, .07);
    box-shadow:
    0 24px 70px rgba(0, 0, 0, .28),
    0 0 42px rgba(92, 225, 255, .1);
}

.simplification-step:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .74);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .13),
    0 24px 70px rgba(0, 0, 0, .28);
}

.simplification-funnel-proof {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 18px;
    padding: 17px 20px;
    border-radius: 24px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .1), rgba(86, 245, 184, .06));
    border: 1px solid rgba(92, 225, 255, .18);
}

.simplification-funnel-proof span {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    font-weight: 900;
}

.simplification-funnel-proof strong {
    color: rgba(241, 247, 255, .94);
    line-height: 1.45;
}

.funnel-modal {
    width: min(1080px, calc(100vw - 34px));
}

.funnel-signal-grid,
.funnel-method-grid,
.funnel-decision-row,
.funnel-output-frame,
.funnel-loop {
    display: grid;
    gap: 12px;
}

.funnel-signal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.funnel-method-grid,
.funnel-decision-row,
.funnel-output-frame {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.funnel-loop {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.funnel-signal-grid div,
.funnel-method-grid div,
.funnel-decision-row div,
.funnel-output-frame div,
.funnel-loop div {
    border-radius: 22px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.funnel-signal-grid strong,
.funnel-method-grid strong,
.funnel-decision-row strong,
.funnel-output-frame strong,
.funnel-loop strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 8px;
}

.funnel-signal-grid span,
.funnel-method-grid span,
.funnel-decision-row span,
.funnel-output-frame span,
.funnel-loop span {
    display: block;
    color: rgba(230, 244, 255, .84);
    font-size: 13px;
    line-height: 1.48;
}

.funnel-before-after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.funnel-before-after div {
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 121, 121, .075);
    border: 1px solid rgba(255, 121, 121, .18);
}

.funnel-before-after div.is-good {
    background: rgba(86, 245, 184, .085);
    border-color: rgba(86, 245, 184, .22);
}

.funnel-before-after strong {
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 10px;
}

.funnel-before-after span {
    display: block;
    color: rgba(230, 244, 255, .88);
    line-height: 1.55;
}

@media (max-width: 1180px) {
    .simplification-funnel-shell {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.simplification-chaos,
.simplification-target,
.simplification-line {
    display: none;
}
}

@media (max-width: 980px) {
    .simplification-funnel-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.simplification-step {
    min-height: 150px;
}

.funnel-signal-grid,
.funnel-method-grid,
.funnel-decision-row,
.funnel-output-frame,
.funnel-loop {
    grid-template-columns: 1fr;
}

.funnel-before-after {
    grid-template-columns: 1fr;
}
}

@media (max-width: 620px) {
    .simplification-funnel-shell {
    grid-template-columns: 1fr;
}

.simplification-step {
    min-height: auto;
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
    row-gap: 3px;
    padding: 15px;
}

.simplification-step span {
    grid-row: 1 / span 2;
    margin: 0;
}

.simplification-step strong {
    margin: 0;
}

.simplification-step em {
    margin: 0;
}

.simplification-funnel-proof {
    grid-template-columns: 1fr;
}
}



/* HOME-INV-03 — Cognitive OS core blocks */

.cos-core-blocks {
    position: relative;
    margin: 0 0 34px;
    padding: 24px;
    border-radius: 34px;
    background:
    radial-gradient(circle at 8% 0%, rgba(92, 225, 255, .13), transparent 34%),
    radial-gradient(circle at 94% 24%, rgba(166, 107, 255, .13), transparent 36%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(92, 225, 255, .18);
    box-shadow: 0 24px 78px rgba(0, 0, 0, .25);
    overflow: hidden;
}

.cos-core-blocks::before {
    content: "";
    position: absolute;
    inset: auto -10% -34% 40%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 225, 255, .1), transparent 64%);
    pointer-events: none;
}

.cos-core-intro {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(240px, .84fr) minmax(320px, 1fr);
    gap: 20px;
    align-items: end;
    margin-bottom: 18px;
}

.cos-core-intro h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(24px, 2.4vw, 38px);
    line-height: 1.06;
    letter-spacing: -.045em;
}

.cos-core-intro p {
    margin: 0;
    color: rgba(222, 232, 247, .78);
    line-height: 1.58;
    font-size: 14px;
}

.cos-core-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.cos-core-card {
    appearance: none;
    -webkit-appearance: none;
    min-height: 218px;
    border-radius: 26px;
    padding: 18px;
    text-align: left;
    font: inherit;
    color: var(--text);
    cursor: pointer;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .1), transparent 44%),
    rgba(255, 255, 255, .047);
    border: 1px solid rgba(255, 255, 255, .095);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.cos-core-card-hot {
    background:
    radial-gradient(circle at top right, rgba(86, 245, 184, .14), transparent 44%),
    radial-gradient(circle at bottom left, rgba(166, 107, 255, .12), transparent 44%),
    rgba(255, 255, 255, .055);
    border-color: rgba(86, 245, 184, .18);
}

.cos-core-card:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 225, 255, .45);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .17), transparent 44%),
    rgba(255, 255, 255, .07);
    box-shadow:
    0 24px 68px rgba(0, 0, 0, .28),
    0 0 42px rgba(92, 225, 255, .1);
}

.cos-core-card:focus-visible {
    outline: 0;
    border-color: rgba(92, 225, 255, .74);
    box-shadow:
    0 0 0 4px rgba(92, 225, 255, .13),
    0 24px 68px rgba(0, 0, 0, .28);
}

.cos-core-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 18px;
    color: #07111e;
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
    font-size: 18px;
    font-weight: 950;
    box-shadow: 0 0 28px rgba(92, 225, 255, .18);
}

.cos-core-card strong {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.cos-core-card em {
    display: block;
    color: rgba(222, 232, 247, .72);
    font-size: 12.5px;
    line-height: 1.48;
    font-style: normal;
}

.cos-core-card small {
    display: inline-flex;
    margin-top: 14px;
    color: var(--cyan);
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: .04em;
}

.cos-core-card:hover small {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cos-core-proof {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 16px;
    padding: 17px 20px;
    border-radius: 24px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .1), rgba(86, 245, 184, .06));
    border: 1px solid rgba(92, 225, 255, .18);
}

.cos-core-proof span {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    font-weight: 900;
}

.cos-core-proof strong {
    color: rgba(241, 247, 255, .94);
    line-height: 1.45;
}

.cos-brick-modal {
    width: min(1080px, calc(100vw - 34px));
}

.cos-brick-grid,
.cos-brick-flow,
.cos-icc-meter {
    display: grid;
    gap: 12px;
}

.cos-brick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cos-brick-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cos-brick-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cos-icc-meter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cos-brick-grid div,
.cos-brick-flow div,
.cos-icc-meter div {
    border-radius: 22px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.cos-icc-meter div:nth-child(1) {
    border-color: rgba(86, 245, 184, .2);
    background:
    radial-gradient(circle at top right, rgba(86, 245, 184, .12), transparent 44%),
    rgba(255, 255, 255, .05);
}

.cos-icc-meter div:nth-child(2) {
    border-color: rgba(255, 200, 92, .2);
    background:
    radial-gradient(circle at top right, rgba(255, 200, 92, .12), transparent 44%),
    rgba(255, 255, 255, .05);
}

.cos-icc-meter div:nth-child(3) {
    border-color: rgba(255, 121, 121, .22);
    background:
    radial-gradient(circle at top right, rgba(255, 121, 121, .12), transparent 44%),
    rgba(255, 255, 255, .05);
}

.cos-brick-grid strong,
.cos-brick-flow strong,
.cos-icc-meter strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 8px;
}

.cos-brick-grid span,
.cos-brick-flow span,
.cos-icc-meter span {
    display: block;
    color: rgba(230, 244, 255, .84);
    font-size: 13px;
    line-height: 1.48;
}

@media (max-width: 1180px) {
    .cos-core-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

@media (max-width: 900px) {
    .cos-core-intro {
    grid-template-columns: 1fr;
    align-items: start;
}

.cos-core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cos-brick-grid,
.cos-brick-grid.four,
.cos-brick-flow,
.cos-icc-meter {
    grid-template-columns: 1fr;
}

.cos-core-proof {
    grid-template-columns: 1fr;
}
}

@media (max-width: 620px) {
    .cos-core-blocks {
    padding: 16px;
    border-radius: 26px;
}

.cos-core-grid {
    grid-template-columns: 1fr;
}

.cos-core-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 13px;
    row-gap: 4px;
    padding: 15px;
}

.cos-core-icon {
    grid-row: 1 / span 3;
    margin: 0;
}

.cos-core-card strong,
.cos-core-card em,
.cos-core-card small {
    margin: 0;
}

.cos-core-card small {
    margin-top: 6px;
}
}


.investor-carousel-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 26px;
    background:
    radial-gradient(circle at top left, rgba(61, 220, 180, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(120, 80, 255, 0.18), transparent 36%),
    rgba(2, 8, 18, 0.86);
    backdrop-filter: blur(18px);
}

.investor-carousel-layer[aria-hidden="false"] {
    display: flex;
}

.investor-carousel-locked {
    overflow: hidden;
}

.investor-carousel-modal {
    width: min(1480px, 96vw);
    height: min(920px, 92vh);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(135, 245, 220, 0.22);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
}

.investor-carousel-head {
    flex: 0 0 auto;
    gap: 18px;
}

.investor-carousel-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.investor-carousel-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(92, 225, 255, 0.16);
}

.investor-carousel-language-button {
    min-width: 42px;
    justify-content: center;
    padding-inline: 11px;
}

.investor-carousel-language-button.is-active {
    color: #07111e;
    border-color: rgba(92, 225, 255, 0.78);
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
    box-shadow: 0 0 24px rgba(92, 225, 255, 0.22);
}

.investor-carousel-language-button:not(.is-active) {
    opacity: 0.72;
}

.investor-carousel-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
}

.investor-carousel-topline {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 380px) 1fr;
    gap: 16px;
    align-items: center;
}

.investor-carousel-status {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.investor-carousel-status strong {
    font-size: 0.98rem;
    color: rgba(240, 255, 252, 0.96);
}

.investor-carousel-status span {
    font-size: 0.78rem;
    color: rgba(210, 235, 232, 0.62);
}

.investor-carousel-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.investor-carousel-progress span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(80, 255, 205, 0.95), rgba(130, 110, 255, 0.95));
    transition: width 0.28s ease;
}

.investor-carousel-layout {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
}

.investor-carousel-thumbs {
    min-height: 0;
    overflow: auto;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.investor-carousel-thumb {
    width: 100%;
    display: block;
    padding: 6px;
    margin: 0 0 10px;
    cursor: pointer;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(235, 255, 252, 0.82);
    text-align: left;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.investor-carousel-thumb:hover,
.investor-carousel-thumb.is-active {
    transform: translateY(-1px);
    border-color: rgba(90, 255, 210, 0.55);
    background: rgba(80, 255, 205, 0.10);
}

.investor-carousel-thumb img {
    width: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.08);
}

.investor-carousel-thumb span {
    display: block;
    margin-top: 5px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.investor-carousel-stage {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
    background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.investor-carousel-frame {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 16px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px;
}

.investor-carousel-frame img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.investor-carousel-frame figcaption {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: rgba(225, 245, 242, 0.70);
    font-size: 0.78rem;
}

.investor-carousel-frame figcaption strong {
    color: rgba(245, 255, 252, 0.94);
}

.investor-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 68px;
    transform: translateY(-50%);
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(3, 14, 28, 0.70);
    color: rgba(245, 255, 252, 0.94);
    font-size: 2.4rem;
    line-height: 1;
    transition: background 0.18s ease, transform 0.18s ease;
}

.investor-carousel-nav:hover {
    background: rgba(40, 255, 205, 0.16);
    transform: translateY(-50%) scale(1.04);
}

.investor-carousel-nav-prev {
    left: 18px;
}

.investor-carousel-nav-next {
    right: 18px;
}

.neuroia-investor-open-btn {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .investor-carousel-modal {
    height: 94vh;
}

.investor-carousel-topline {
    grid-template-columns: 1fr;
}

.investor-carousel-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 116px;
}

.investor-carousel-thumbs {
    order: 2;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
}

.investor-carousel-thumb {
    flex: 0 0 118px;
    margin: 0;
}

.investor-carousel-stage {
    order: 1;
}

.investor-carousel-frame figcaption {
    flex-direction: column;
    gap: 4px;
}
}

/* HOME-HERO-SLOGAN-01 dynamic hero slogan */

.hero-dynamic-copy {
    transition:
    opacity 0.26s ease,
    transform 0.26s ease,
    filter 0.26s ease;
}

.hero-dynamic-copy.is-changing {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(8px);
}

.hero-dynamic-copy h1 [data-hero-title-prefix],
.hero-dynamic-copy h1 [data-hero-title-highlight] {
    display: inline;
}

.hero-dynamic-copy .hero-lead [data-hero-lead-main] {
    display: inline;
}

.hero-dynamic-copy .hero-lead [data-hero-lead-strong] {
    display: inline;
    margin-left: 0.28em;
}

@media (prefers-reduced-motion: reduce) {
    .hero-dynamic-copy,
    .hero-dynamic-copy.is-changing {
    transition: none;
    transform: none;
    filter: none;
}
}


/* HOME-INV-04 — Effet Curb-Cut et marche */

.curb-market-section {
    position: relative;
    overflow: hidden;
}

.curb-market-section::before {
    content: "";
    position: absolute;
    inset: 8% auto auto 50%;
    width: 760px;
    height: 520px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 225, 255, .11), transparent 66%);
    pointer-events: none;
}

.curb-market-head,
.curb-market-grid,
.curb-market-proof {
    position: relative;
    z-index: 2;
}

.curb-market-grid {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr);
    gap: 22px;
    align-items: stretch;
    margin-top: 28px;
}

.curb-orbit-card {
    position: relative;
    min-height: 500px;
    border-radius: 34px;
    padding: 28px;
    display: grid;
    place-items: center;
    background:
    radial-gradient(circle at 20% 10%, rgba(92, 225, 255, .13), transparent 36%),
    radial-gradient(circle at 88% 74%, rgba(166, 107, 255, .12), transparent 36%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(92, 225, 255, .18);
    box-shadow: 0 24px 78px rgba(0, 0, 0, .25);
    overflow: hidden;
}

.curb-orbit {
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.curb-orbit-outer {
    width: 390px;
    height: 390px;
    background:
    radial-gradient(circle at 42% 40%, rgba(255, 255, 255, .08), transparent 18%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: inset 0 0 70px rgba(92, 225, 255, .08);
}

.curb-orbit-middle {
    width: 285px;
    height: 285px;
    background:
    radial-gradient(circle at 50% 20%, rgba(92, 225, 255, .12), transparent 30%),
    rgba(92, 225, 255, .07);
    border: 1px solid rgba(92, 225, 255, .18);
}

.curb-orbit-inner {
    width: 168px;
    height: 168px;
    padding: 18px;
    text-align: center;
    background:
    radial-gradient(circle at 40% 30%, rgba(86, 245, 184, .16), transparent 36%),
    rgba(86, 245, 184, .09);
    border: 1px solid rgba(86, 245, 184, .24);
}

.curb-orbit-inner strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.curb-orbit-inner span {
    display: block;
    color: rgba(230, 244, 255, .74);
    font-size: 12px;
    line-height: 1.4;
}

.curb-orbit-label {
    position: absolute;
    color: rgba(230, 244, 255, .78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
}

.curb-label-inner {
    left: 50%;
    top: 50%;
    transform: translate(-50%, 105px);
    color: rgba(86, 245, 184, .92);
}

.curb-label-middle {
    left: 38px;
    top: 112px;
    color: rgba(92, 225, 255, .92);
}

.curb-label-outer {
    right: 34px;
    top: 54px;
}

.curb-market-panel {
    display: grid;
    gap: 14px;
}

.curb-market-kpi {
    border-radius: 30px;
    padding: 24px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .16), transparent 44%),
    rgba(255, 255, 255, .055);
    border: 1px solid rgba(92, 225, 255, .18);
}

.curb-market-kpi span,
.curb-roi-card span {
    display: block;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
}

.curb-market-kpi strong {
    display: block;
    color: #ffffff;
    font-size: clamp(48px, 6vw, 86px);
    line-height: .9;
    letter-spacing: -.07em;
    margin-bottom: 10px;
}

.curb-market-kpi em {
    display: block;
    color: rgba(222, 232, 247, .72);
    font-style: normal;
    line-height: 1.5;
}

.curb-segment-table {
    display: grid;
    gap: 9px;
}

.curb-segment-row {
    appearance: none;
    -webkit-appearance: none;
    display: grid;
    grid-template-columns: 1fr 110px 80px;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 66px;
    padding: 14px 16px;
    border-radius: 22px;
    text-align: left;
    font: inherit;
    color: var(--text);
    cursor: pointer;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .1), transparent 42%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.curb-segment-row:hover,
.curb-roi-card:hover {
    transform: translateY(-3px);
    border-color: rgba(92, 225, 255, .42);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .16), transparent 42%),
    rgba(255, 255, 255, .065);
    box-shadow: 0 22px 62px rgba(0, 0, 0, .24);
}

.curb-segment-row span {
    color: rgba(246, 250, 255, .9);
    font-weight: 900;
}

.curb-segment-row strong {
    color: #ffffff;
    font-size: 20px;
    text-align: right;
}

.curb-segment-row em {
    color: rgba(222, 232, 247, .58);
    font-style: normal;
    font-size: 12px;
    text-align: right;
}

.curb-roi-card {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
    border-radius: 28px;
    padding: 20px;
    color: var(--text);
    background:
    radial-gradient(circle at top right, rgba(255, 121, 121, .12), transparent 42%),
    linear-gradient(135deg, rgba(92, 225, 255, .08), rgba(166, 107, 255, .08));
    border: 1px solid rgba(255, 153, 92, .22);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.curb-roi-card strong {
    display: block;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 10px;
}

.curb-roi-card em {
    color: var(--cyan);
    font-style: normal;
    font-weight: 900;
    font-size: 12px;
}

.curb-market-proof {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 18px;
    padding: 17px 20px;
    border-radius: 24px;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .1), rgba(86, 245, 184, .06));
    border: 1px solid rgba(92, 225, 255, .18);
}

.curb-market-proof span {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    font-weight: 900;
}

.curb-market-proof strong {
    color: rgba(241, 247, 255, .94);
    line-height: 1.45;
}

.curb-modal {
    width: min(1080px, calc(100vw - 34px));
}

.curb-modal-grid,
.curb-flow,
.curb-roi-grid {
    display: grid;
    gap: 12px;
}

.curb-modal-grid,
.curb-flow,
.curb-roi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.curb-modal-grid div,
.curb-flow div,
.curb-roi-grid div {
    border-radius: 22px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.curb-modal-grid strong,
.curb-flow strong,
.curb-roi-grid strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 8px;
}

.curb-modal-grid span,
.curb-flow span,
.curb-roi-grid span {
    display: block;
    color: rgba(230, 244, 255, .84);
    font-size: 13px;
    line-height: 1.48;
}

@media (max-width: 1080px) {
    .curb-market-grid {
    grid-template-columns: 1fr;
}

.curb-orbit-card {
    min-height: 420px;
}
}

@media (max-width: 760px) {
    .curb-orbit-outer {
    width: 310px;
    height: 310px;
}

.curb-orbit-middle {
    width: 230px;
    height: 230px;
}

.curb-orbit-inner {
    width: 142px;
    height: 142px;
}

.curb-orbit-label {
    display: none;
}

.curb-segment-row {
    grid-template-columns: 1fr;
    gap: 5px;
}

.curb-segment-row strong,
.curb-segment-row em {
    text-align: left;
}

.curb-market-proof,
.curb-modal-grid,
.curb-flow,
.curb-roi-grid {
    grid-template-columns: 1fr;
}
}

@media (max-width: 480px) {
    .curb-orbit-card {
    min-height: 340px;
    padding: 18px;
}

.curb-orbit-outer {
    width: 250px;
    height: 250px;
}

.curb-orbit-middle {
    width: 185px;
    height: 185px;
}

.curb-orbit-inner {
    width: 124px;
    height: 124px;
}
}


/* HOME-INV-05 — Business model and go-to-market */

.business-model-section {
    position: relative;
    overflow: hidden;
}

.business-model-section::before {
    content: "";
    position: absolute;
    inset: 8% auto auto 50%;
    width: 740px;
    height: 520px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(166, 107, 255, .12), transparent 66%);
    pointer-events: none;
}

.business-model-head,
.business-model-grid,
.business-wedge-strip {
    position: relative;
    z-index: 2;
}

.business-model-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.business-pillar-card {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    min-height: 370px;
    padding: 24px;
    border-radius: 30px;
    text-align: left;
    font: inherit;
    color: var(--text);
    cursor: pointer;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .1), transparent 42%),
    rgba(255, 255, 255, .047);
    border: 1px solid rgba(255, 255, 255, .1);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.business-pillar-card:hover,
.business-wedge-strip:hover {
    transform: translateY(-4px);
    border-color: rgba(92, 225, 255, .45);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .16), transparent 42%),
    rgba(255, 255, 255, .068);
    box-shadow:
    0 24px 70px rgba(0, 0, 0, .28),
    0 0 42px rgba(92, 225, 255, .1);
}

.business-pillar-focus {
    border-color: rgba(92, 225, 255, .42);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .18), transparent 44%),
    radial-gradient(circle at bottom left, rgba(166, 107, 255, .14), transparent 44%),
    rgba(255, 255, 255, .065);
    box-shadow: 0 0 44px rgba(92, 225, 255, .12);
}

.business-focus-badge {
    position: absolute;
    right: 18px;
    top: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    color: #07111e;
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.business-pillar-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    color: rgba(92, 225, 255, .92);
    background: rgba(92, 225, 255, .08);
    border: 1px solid rgba(92, 225, 255, .18);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.business-pillar-card strong {
    display: block;
    color: #ffffff;
    font-size: clamp(30px, 3vw, 46px);
    line-height: .95;
    letter-spacing: -.06em;
    margin-bottom: 8px;
}

.business-pillar-card em {
    display: block;
    color: rgba(222, 232, 247, .72);
    font-style: normal;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 18px;
}

.business-price {
    display: block;
    min-height: 54px;
    margin-bottom: 18px;
    padding: 15px 16px;
    border-radius: 20px;
    color: rgba(246, 250, 255, .94);
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .13), rgba(166, 107, 255, .08));
    border: 1px solid rgba(92, 225, 255, .18);
    font-size: 15px;
    font-weight: 950;
    line-height: 1.4;
}

.business-pillar-card p {
    margin: 0;
    color: rgba(222, 232, 247, .74);
    font-size: 13px;
    line-height: 1.55;
}

.business-pillar-card small {
    display: inline-flex;
    margin-top: 18px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.business-wedge-strip {
    position: relative;
    z-index: 2;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    margin-top: 18px;
    display: grid;
    grid-template-columns: 190px 1fr 210px;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    border-radius: 28px;
    text-align: left;
    font: inherit;
    color: var(--text);
    cursor: pointer;
    background:
    linear-gradient(135deg, rgba(92, 225, 255, .1), rgba(86, 245, 184, .06));
    border: 1px solid rgba(92, 225, 255, .2);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.business-wedge-strip span {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    font-weight: 950;
}

.business-wedge-strip strong {
    color: rgba(246, 250, 255, .94);
    line-height: 1.45;
}

.business-wedge-strip em {
    color: var(--cyan);
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
    text-align: right;
}

.business-modal {
    width: min(1080px, calc(100vw - 34px));
}

.business-modal-grid,
.business-pricing-box,
.business-pilot-flow,
.business-wedge-equation {
    display: grid;
    gap: 12px;
}

.business-modal-grid,
.business-pricing-box,
.business-pilot-flow,
.business-wedge-equation {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-modal-grid div,
.business-pricing-box div,
.business-pilot-flow div,
.business-wedge-equation div {
    border-radius: 22px;
    padding: 16px;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .12), transparent 44%),
    rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}

.business-pricing-box div:nth-child(2),
.business-wedge-equation div:nth-child(2) {
    border-color: rgba(92, 225, 255, .22);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .16), transparent 44%),
    rgba(255, 255, 255, .058);
}

.business-modal-grid strong,
.business-pricing-box strong,
.business-pilot-flow strong,
.business-wedge-equation strong {
    display: block;
    color: #5ce1ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 8px;
}

.business-modal-grid span,
.business-pricing-box span,
.business-pilot-flow span,
.business-wedge-equation span {
    display: block;
    color: rgba(230, 244, 255, .86);
    font-size: 13px;
    line-height: 1.48;
}

.business-pricing-box em {
    display: block;
    margin-top: 8px;
    color: rgba(222, 232, 247, .66);
    font-size: 12px;
    line-height: 1.4;
    font-style: normal;
}

@media (max-width: 980px) {
    .business-model-grid {
    grid-template-columns: 1fr;
}

.business-pillar-card {
    min-height: auto;
}

.business-wedge-strip {
    grid-template-columns: 1fr;
}

.business-wedge-strip em {
    text-align: left;
}

.business-modal-grid,
.business-pricing-box,
.business-pilot-flow,
.business-wedge-equation {
    grid-template-columns: 1fr;
}
}

@media (max-width: 560px) {
    .business-pillar-card {
    padding: 18px;
    border-radius: 24px;
}

.business-focus-badge {
    position: static;
    margin-bottom: 10px;
}

.business-price {
    min-height: auto;
}

.business-wedge-strip {
    padding: 17px;
    border-radius: 24px;
}
}


/* HOME-INV-06 — Investor roadmap */

.investor-roadmap-section {
    position: relative;
    overflow: hidden;
}

.investor-roadmap-section::before {
    content: "";
    position: absolute;
    inset: 12% auto auto 50%;
    width: 820px;
    height: 520px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 225, 255, .11), transparent 66%);
    pointer-events: none;
}

.investor-roadmap-head,
.investor-roadmap-track,
.investor-roadmap-partner {
    position: relative;
    z-index: 2;
}

.investor-roadmap-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.investor-road-card {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    min-height: 330px;
    padding: 24px;
    border-radius: 30px;
    text-align: left;
    font: inherit;
    color: var(--text);
    cursor: pointer;
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .1), transparent 42%),
    rgba(255, 255, 255, .047);
    border: 1px solid rgba(255, 255, 255, .1);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.investor-road-card::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 72px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(92, 225, 255, .9), rgba(166, 107, 255, .75));
    opacity: .65;
}

.investor-road-card:hover,
.investor-roadmap-partner:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 225, 255, .45);
    background:
    radial-gradient(circle at top right, rgba(92, 225, 255, .16), transparent 42%),
    rgba(255, 255, 255, .068);
    box-shadow:
    0 24px 70px rgba(0, 0, 0, .28),
    0 0 42px rgba(92, 225, 255, .1);
}

.investor-road-phase {
    display: inline-flex;
    margin-bottom: 44px;
    padding: 7px 11px;
    border-radius: 999px;
    color: rgba(92, 225, 255, .92);
    background: rgba(92, 225, 255, .08);
    border: 1px solid rgba(92, 225, 255, .18);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.investor-road-card strong {
    display: block;
    color: #ffffff;
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: .98;
    letter-spacing: -.055em;
    margin-bottom: 8px;
}

.investor-road-card em {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 16px;
    border-radius: 999px;
    color: #07111e;
    background: linear-gradient(135deg, #5ce1ff, #92f6ff);
    font-size: 12px;
    font-weight: 950;
    font-style: normal;
    letter-spacing: .04em;
}

.investor-road-card p {
    margin: 0;
    color: rgba(222, 232, 247, .74);
    font-size: 13px;
    line-height: 1.55;
}

.investor-road-card small {
    display: inline-flex;
    margin-top: 18px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.investor-roadmap-partner {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    margin-top: 18px;
    display: grid;
    grid-template-columns: 180px 190px 1fr 190px;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    border-radius: 28px;
    text-align: left;
    font: inherit;
    color: var(--text);
    cursor: pointer;
    background:
    radial-gradient(circle at top right, rgba(86, 245, 184, .1), transparent 38%),
    linear-gradient(135deg, rgba(92, 225, 255, .1), rgba(166, 107, 255, .06));
    border: 1px solid rgba(92, 225, 255, .2);
    transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.investor-roadmap-partner span {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    font-weight: 950;
}

.investor-roadmap-partner strong {
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -.04em;
}

.investor-roadmap-partner em {
    color: rgba(246, 250, 255, .86);
    line-height: 1.45;
    font-style: normal;
}

.investor-roadmap-partner small {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    text-align: right;
}

@media (max-width: 1120px) {
    .investor-roadmap-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.investor-roadmap-partner {
    grid-template-columns: 1fr;
}

.investor-roadmap-partner small {
    text-align: left;
}
}

@media (max-width: 680px) {
    .investor-roadmap-track {
    grid-template-columns: 1fr;
}

.investor-road-card {
    min-height: auto;
    padding: 18px;
    border-radius: 24px;
}

.investor-road-phase {
    margin-bottom: 34px;
}

.investor-road-card::after {
    left: 18px;
    right: 18px;
    top: 66px;
}

.investor-roadmap-partner {
    padding: 17px;
    border-radius: 24px;
}
}


/* ==========================================================
NEUROIA-HEADER-WIDTH-01
Full-width public header layout
========================================================== */

/* Reset de sécurité : évite le petit liseré blanc autour de la page */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Le header doit occuper toute la largeur du viewport */
.topbar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
Le vrai correctif est ici :
on casse le max-width hérité du layout principal.
*/
.topbar .topbar-inner {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;

    display: grid;
    grid-template-columns:
    minmax(320px, auto)
    minmax(360px, 1fr)
    auto;

    align-items: center;
    column-gap: clamp(24px, 3vw, 52px);

    padding-left: clamp(28px, 4vw, 64px);
    padding-right: clamp(28px, 4vw, 64px);
}

/* Bloc marque à gauche */
.topbar .brand {
    min-width: 0;
    justify-self: start;
}

/* Menu principal centré, mais avec toute la place disponible */
.topbar .nav-primary-clean {
    width: 100%;
    min-width: 0;
    justify-self: center;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(26px, 3vw, 52px);

    flex-wrap: nowrap;
}

/* Liens du menu : jamais de retour à la ligne */
.topbar .nav-primary-clean a {
    white-space: nowrap;
}

/* Actions à droite */
.topbar .top-actions-clean {
    justify-self: end;

    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;

    min-width: 0;
    flex-wrap: nowrap;
}

/* Le sélecteur Weglot-like ne doit pas forcer une ligne */
.topbar .top-actions-clean .wx-lang {
    flex: 0 0 auto;
    margin: 0;
}

/* Compactage progressif sur laptop */
@media (max-width: 1240px) {
    .topbar .topbar-inner {
    grid-template-columns:
    minmax(260px, auto)
    minmax(300px, 1fr)
    auto;

    column-gap: 24px;
    padding-left: 28px;
    padding-right: 28px;
}

.topbar .nav-primary-clean {
    gap: 26px;
}

.topbar .brand-text {
    font-size: 11px;
}
}

/* Tablette : on accepte deux lignes propres, pas un mauvais wrapping */
@media (max-width: 980px) {
    .topbar .topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 12px;
}

.topbar .brand {
    grid-column: 1;
    grid-row: 1;
}

.topbar .top-actions-clean {
    grid-column: 2;
    grid-row: 1;
}

.topbar .nav-primary-clean {
    grid-column: 1 / -1;
    grid-row: 2;

    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.topbar .nav-primary-clean::-webkit-scrollbar {
    display: none;
}
}

/* Mobile : on simplifie */
@media (max-width: 640px) {
    .topbar .topbar-inner {
    padding-left: 16px;
    padding-right: 16px;
}

.topbar .brand-text {
    display: none;
}

.topbar .top-actions-clean {
    gap: 8px;
}

.topbar .top-action-link {
    display: none;
}

.topbar .nav-primary-clean {
    justify-content: flex-start;
}
}


/* DEMO-02B V2 visible reasoning layer */

.beta-v2-insight {
    margin: 16px 0 0;
    border-radius: 24px;
    padding: 18px;
    background:
    radial-gradient(circle at top left, rgba(68, 231, 255, .12), transparent 38%),
    radial-gradient(circle at bottom right, rgba(182, 102, 255, .12), transparent 42%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(68, 231, 255, .18);
}

.beta-v2-insight[hidden] {
    display: none !important;
}

.beta-v2-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.beta-v2-kicker {
    display: block;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 6px;
}

.beta-v2-head h3 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    line-height: 1.15;
}

.beta-v2-head > strong {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 11px;
    color: #dff8ff;
    font-size: 12px;
    background: rgba(68, 231, 255, .08);
    border: 1px solid rgba(68, 231, 255, .22);
}

.beta-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.beta-v2-card,
.beta-v2-list-card,
.beta-v2-plan-card {
    border-radius: 18px;
    padding: 14px;
    background: rgba(2, 6, 14, .42);
    border: 1px solid rgba(255, 255, 255, .08);
}

.beta-v2-card-wide {
    grid-column: 1 / -1;
}

.beta-v2-card span,
.beta-v2-list-card span,
.beta-v2-plan-card span,
.beta-v2-bottom span {
    display: block;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 8px;
}

.beta-v2-card p {
    margin: 0;
    color: #e9f9ff;
    line-height: 1.55;
    font-size: 14px;
}

.beta-v2-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.beta-v2-list-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}

.beta-v2-list-card li {
    position: relative;
    padding: 9px 10px 9px 28px;
    border-radius: 13px;
    color: rgba(233, 249, 255, .9);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .07);
    font-size: 13px;
    line-height: 1.4;
}

.beta-v2-list-card li::before {
    content: "•";
    position: absolute;
    left: 12px;
    top: 8px;
    color: var(--cyan);
    font-weight: 900;
}

.beta-v2-plan-card {
    margin-top: 10px;
}

.beta-v2-plan-card ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.beta-v2-plan-card li {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px;
    border-radius: 14px;
    background: rgba(86, 245, 184, .06);
    border: 1px solid rgba(86, 245, 184, .14);
}

.beta-v2-plan-card li strong {
    color: #dffff5;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.beta-v2-plan-card li span {
    margin: 0;
    color: rgba(233, 249, 255, .88);
    text-transform: none;
    letter-spacing: normal;
    font-size: 13px;
    line-height: 1.45;
}

.beta-v2-bottom {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.beta-v2-bottom > div {
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
}

.beta-v2-bottom strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.35;
}

@media (max-width: 860px) {
    .beta-v2-grid,
    .beta-v2-two,
    .beta-v2-bottom {
    grid-template-columns: 1fr;
}

.beta-v2-plan-card li {
    grid-template-columns: 1fr;
}
}


/* DEMO-02B-R2 compact AI result layout */

.beta-demo-grid {
    grid-template-columns: minmax(340px, 430px) minmax(0, 1fr) !important;
    align-items: start !important;
}

.beta-demo-card {
    min-height: auto !important;
}

.beta-demo-card-left {
    align-self: start !important;
    position: sticky;
    top: 92px;
}

.beta-demo-card-right {
    align-self: start !important;
    min-height: 0 !important;
}

.beta-demo-input {
    min-height: 170px !important;
}

#betaStandardOutput {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 12px;
    margin-bottom: 12px;
}

#betaStandardOutput .beta-output-block {
    margin-bottom: 0;
}

.beta-output-action {
    margin-bottom: 12px !important;
}

.beta-diagnostics {
    margin-top: 0 !important;
    margin-bottom: 14px;
}

.beta-v2-insight-compact {
    margin-top: 14px !important;
    padding: 16px !important;
}

.beta-v2-head {
    margin-bottom: 12px !important;
}

.beta-v2-head h3 {
    font-size: 20px !important;
}

.beta-v2-tab-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 10px;
    margin: 0 0 12px;
    border-bottom: 1px solid rgba(68, 231, 255, .14);
    scrollbar-width: thin;
}

.beta-v2-tab {
    flex: 0 0 auto;
    border: 1px solid rgba(68, 231, 255, .18);
    background: rgba(255, 255, 255, .045);
    color: rgba(226, 244, 255, .82);
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.beta-v2-tab:hover {
    transform: translateY(-1px);
    color: #ffffff;
    border-color: rgba(68, 231, 255, .42);
    background: rgba(68, 231, 255, .10);
}

.beta-v2-tab.is-active {
    color: #06121f;
    border-color: rgba(68, 231, 255, .74);
    background: linear-gradient(135deg, #44e7ff, #9a7cff);
}

.beta-v2-tab-panel {
    display: none;
}

.beta-v2-tab-panel.is-active {
    display: block;
}

.beta-v2-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.beta-v2-card,
.beta-v2-list-card,
.beta-v2-plan-card,
.beta-v2-success-card {
    padding: 12px !important;
    border-radius: 16px !important;
}

.beta-v2-card-wide {
    grid-column: 1 / -1;
}

.beta-v2-card p {
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.beta-v2-two {
    margin-top: 0 !important;
}

.beta-v2-list-card li {
    padding: 8px 10px 8px 27px !important;
    font-size: 13px !important;
}

.beta-v2-plan-card {
    margin-top: 0 !important;
}

.beta-v2-plan-card li {
    grid-template-columns: 86px 1fr !important;
    padding: 9px 10px !important;
}

.beta-v2-success-card {
    margin-top: 10px;
    background: rgba(86, 245, 184, .07);
    border: 1px solid rgba(86, 245, 184, .16);
}

.beta-v2-success-card span {
    display: block;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 8px;
}

.beta-v2-success-card strong {
    display: block;
    color: #ffffff;
    line-height: 1.45;
}

.beta-v2-bottom-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin-top: 0 !important;
}

.beta-feedback-actions {
    margin-top: 14px !important;
}

@media (max-width: 1100px) {
    .beta-demo-grid {
    grid-template-columns: 1fr !important;
}

.beta-demo-card-left {
    position: static;
}
}

@media (max-width: 860px) {
    #betaStandardOutput,
    .beta-v2-summary-grid,
    .beta-v2-two,
    .beta-v2-bottom-compact {
    grid-template-columns: 1fr !important;
}

.beta-v2-plan-card li {
    grid-template-columns: 1fr !important;
}
}


/* NEUROIA-FAQ-01 */

.neuroia-faq-top-button {
    border-color: rgba(91, 240, 214, 0.42);
    background:
    linear-gradient(135deg, rgba(91, 240, 214, 0.14), rgba(124, 92, 255, 0.12)),
    rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 24px rgba(91, 240, 214, 0.14);
}

.neuroia-faq-top-button:hover {
    transform: translateY(-1px);
    border-color: rgba(91, 240, 214, 0.72);
    box-shadow: 0 0 34px rgba(91, 240, 214, 0.22);
}

.neuroia-faq-modal {
    width: min(1180px, calc(100vw - 32px));
    max-height: min(88vh, 920px);
}

.neuroia-faq-modal .modal-body {
    overflow: auto;
}

.neuroia-faq-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    gap: 18px;
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    background:
    radial-gradient(circle at top left, rgba(91, 240, 214, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(124, 92, 255, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.neuroia-faq-hero span {
    display: inline-flex;
    margin-bottom: 8px;
    color: rgba(91, 240, 214, 0.95);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.neuroia-faq-hero strong {
    display: block;
    max-width: 740px;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.25rem, 2vw, 1.9rem);
    line-height: 1.12;
}

.neuroia-faq-hero p {
    max-width: 780px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.neuroia-faq-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-self: stretch;
}

.neuroia-faq-kpis div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 104px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.18);
}

.neuroia-faq-kpis strong {
    color: rgba(255, 255, 255, 0.98);
    font-size: 1.7rem;
    line-height: 1;
}

.neuroia-faq-kpis span {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.neuroia-faq-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 10px 0;
    backdrop-filter: blur(18px);
}

.neuroia-faq-content {
    margin-top: 10px;
}

.neuroia-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.neuroia-faq-item {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.neuroia-faq-item[open] {
    border-color: rgba(91, 240, 214, 0.30);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.neuroia-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 850;
    line-height: 1.35;
}

.neuroia-faq-item summary::-webkit-details-marker {
    display: none;
}

.neuroia-faq-item summary::after {
    content: "+";
    float: right;
    margin-left: 14px;
    color: rgba(91, 240, 214, 0.92);
    font-weight: 900;
}

.neuroia-faq-item[open] summary::after {
    content: "−";
}

.neuroia-faq-item p {
    margin: 0;
    padding: 0 18px 18px;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.62;
}

@media (max-width: 920px) {
    .neuroia-faq-hero {
    grid-template-columns: 1fr;
}

.neuroia-faq-grid {
    grid-template-columns: 1fr;
}
}

@media (max-width: 620px) {
    .neuroia-faq-modal {
    width: calc(100vw - 16px);
}

.neuroia-faq-kpis {
    grid-template-columns: 1fr;
}

.neuroia-faq-kpis div {
    min-height: auto;
}
}


/* NEUROIA-CONTACT-01 */

.neuroia-contact-top-button {
    border-color: rgba(91, 240, 214, 0.42);
    background:
    linear-gradient(135deg, rgba(91, 240, 214, 0.14), rgba(124, 92, 255, 0.12)),
    rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 24px rgba(91, 240, 214, 0.14);
}

.neuroia-contact-top-button:hover {
    transform: translateY(-1px);
    border-color: rgba(91, 240, 214, 0.72);
    box-shadow: 0 0 34px rgba(91, 240, 214, 0.22);
}

.neuroia-contact-modal {
    width: min(1120px, calc(100vw - 32px));
    max-height: min(88vh, 920px);
}

.neuroia-contact-modal .modal-body {
    overflow: auto;
}

.neuroia-contact-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.3fr);
    gap: 18px;
}

.neuroia-contact-card {
    position: relative;
    min-height: 520px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 26px;
    overflow: hidden;
    background:
    radial-gradient(circle at 25% 18%, rgba(91, 240, 214, 0.18), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(124, 92, 255, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.045);
}

.neuroia-contact-orbit {
    position: absolute;
    inset: 36px 28px auto auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 1px solid rgba(91, 240, 214, 0.22);
    opacity: 0.7;
}

.neuroia-contact-orbit span {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(91, 240, 214, 0.82);
    box-shadow: 0 0 22px rgba(91, 240, 214, 0.42);
}

.neuroia-contact-orbit span:nth-child(1) {
    top: 18px;
    left: 86px;
}

.neuroia-contact-orbit span:nth-child(2) {
    right: 16px;
    top: 96px;
}

.neuroia-contact-orbit span:nth-child(3) {
    left: 32px;
    bottom: 28px;
}

.neuroia-contact-card-copy {
    position: relative;
    z-index: 2;
    margin-top: 230px;
}

.neuroia-contact-card-copy > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: rgba(91, 240, 214, 0.95);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.neuroia-contact-card-copy strong {
    display: block;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1.08;
}

.neuroia-contact-card-copy p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.65;
}

.neuroia-contact-proof {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.neuroia-contact-proof div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.18);
}

.neuroia-contact-proof strong {
    color: rgba(255, 255, 255, 0.94);
}

.neuroia-contact-proof span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.84rem;
}

.neuroia-contact-form {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 26px;
    background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026)),
    rgba(0, 0, 0, 0.14);
}

.neuroia-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.neuroia-contact-form label {
    display: grid;
    gap: 7px;
    margin-bottom: 12px;
}

.neuroia-contact-form label > span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.84rem;
    font-weight: 850;
}

.neuroia-contact-form input,
.neuroia-contact-form select,
.neuroia-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    outline: none;
    color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.06);
    font: inherit;
}

.neuroia-contact-form input,
.neuroia-contact-form select {
    min-height: 44px;
    padding: 0 13px;
}

.neuroia-contact-form textarea {
    resize: vertical;
    min-height: 132px;
    padding: 13px;
    line-height: 1.5;
}

.neuroia-contact-form input:focus,
.neuroia-contact-form select:focus,
.neuroia-contact-form textarea:focus {
    border-color: rgba(91, 240, 214, 0.58);
    box-shadow: 0 0 0 4px rgba(91, 240, 214, 0.10);
}

.neuroia-contact-form em {
    min-height: 16px;
    color: rgba(255, 104, 104, 0.92);
    font-size: 0.78rem;
    font-style: normal;
}

.neuroia-contact-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.neuroia-contact-consent {
    display: flex !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    gap: 10px !important;
    margin-top: 2px;
}

.neuroia-contact-consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

.neuroia-contact-consent span {
    color: rgba(255, 255, 255, 0.68) !important;
    line-height: 1.45;
}

.neuroia-contact-status {
    display: none;
    margin-top: 12px;
    padding: 13px 14px;
    border-radius: 16px;
    line-height: 1.45;
}

.neuroia-contact-status.is-visible {
    display: block;
}

.neuroia-contact-status.is-success {
    border: 1px solid rgba(91, 240, 214, 0.30);
    color: rgba(91, 240, 214, 0.98);
    background: rgba(91, 240, 214, 0.10);
}

.neuroia-contact-status.is-error {
    border: 1px solid rgba(255, 104, 104, 0.30);
    color: rgba(255, 154, 154, 0.98);
    background: rgba(255, 104, 104, 0.10);
}

.neuroia-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

@media (max-width: 920px) {
    .neuroia-contact-shell {
    grid-template-columns: 1fr;
}

.neuroia-contact-card {
    min-height: auto;
}

.neuroia-contact-card-copy {
    margin-top: 210px;
}
}

@media (max-width: 640px) {
    .neuroia-contact-modal {
    width: calc(100vw - 16px);
}

.neuroia-contact-grid {
    grid-template-columns: 1fr;
}

.neuroia-contact-card-copy {
    margin-top: 190px;
}
}


/* NEUROIA-CONTACT-ADMIN-01 */

.neuroia-contact-admin-page {
    min-height: 100vh;
}

.neuroia-admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.neuroia-admin-kpi-grid article {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    background:
    radial-gradient(circle at top left, rgba(91, 240, 214, 0.10), transparent 38%),
    rgba(255, 255, 255, 0.045);
}

.neuroia-admin-kpi-grid strong {
    display: block;
    color: rgba(255, 255, 255, 0.96);
    font-size: 2rem;
    line-height: 1;
}

.neuroia-admin-kpi-grid span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.neuroia-admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.neuroia-admin-filters select,
.neuroia-admin-update-form select,
.neuroia-admin-update-form textarea {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    font: inherit;
}

.neuroia-admin-filters select,
.neuroia-admin-update-form select {
    min-height: 44px;
    padding: 0 12px;
}

.neuroia-admin-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.neuroia-admin-contact-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
    rgba(0, 0, 0, 0.16);
}

.neuroia-admin-contact-top,
.neuroia-admin-contact-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.neuroia-admin-contact-top span {
    color: rgba(91, 240, 214, 0.92);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.neuroia-admin-contact-top em {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 850;
    background: rgba(255, 255, 255, 0.08);
}

.neuroia-admin-contact-card h2 {
    margin: 14px 0 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.25;
}

.neuroia-admin-contact-meta {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
}

.neuroia-admin-contact-meta strong {
    color: rgba(255, 255, 255, 0.86);
}

.neuroia-admin-contact-meta span,
.neuroia-admin-contact-card p,
.neuroia-admin-contact-bottom span {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
}

.neuroia-admin-detail-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: 16px;
    margin-bottom: 16px;
}

.neuroia-admin-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.neuroia-admin-detail-table th,
.neuroia-admin-detail-table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
    text-align: left;
}

.neuroia-admin-detail-table th {
    width: 140px;
    color: rgba(91, 240, 214, 0.82);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.neuroia-admin-detail-table td,
.neuroia-admin-detail-table a,
.neuroia-admin-message {
    color: rgba(255, 255, 255, 0.72);
}

.neuroia-admin-error {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(255, 104, 104, 0.28);
    border-radius: 14px;
    color: rgba(255, 154, 154, 0.95);
    background: rgba(255, 104, 104, 0.10);
}

.neuroia-admin-update-form {
    display: grid;
    gap: 12px;
}

.neuroia-admin-update-form label {
    display: grid;
    gap: 8px;
}

.neuroia-admin-update-form label span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 850;
}

.neuroia-admin-update-form textarea {
    min-height: 130px;
    padding: 12px;
    resize: vertical;
}

.status-new {
    color: rgba(91, 240, 214, 0.96);
}

.status-in_progress {
    color: rgba(255, 210, 120, 0.96);
}

.status-closed {
    color: rgba(170, 255, 190, 0.92);
}

.status-spam {
    color: rgba(255, 120, 120, 0.96);
}

@media (max-width: 900px) {
    .neuroia-admin-kpi-grid,
    .neuroia-admin-contact-grid,
    .neuroia-admin-detail-grid {
    grid-template-columns: 1fr;
}
}


.neuroia-contact-admin-link {
    text-decoration: none;
    border-color: rgba(91, 240, 214, 0.45) !important;
    color: rgba(91, 240, 214, 0.96) !important;
    background: rgba(91, 240, 214, 0.10) !important;
}

.neuroia-contact-admin-link:hover {
    border-color: rgba(91, 240, 214, 0.75) !important;
    box-shadow: 0 0 22px rgba(91, 240, 214, 0.18);
}


/* DEMO-02C guided scenarios */

.beta-scenario-box {
    margin: 18px 0 16px;
    padding: 16px;
    border-radius: 22px;
    background:
    radial-gradient(circle at top left, rgba(68, 231, 255, .10), transparent 36%),
    rgba(255, 255, 255, .045);
    border: 1px solid rgba(68, 231, 255, .16);
}

.beta-scenario-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.beta-scenario-title {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 6px;
}

.beta-scenario-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.beta-scenario-head strong {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 10px;
    color: #dff8ff;
    background: rgba(68, 231, 255, .08);
    border: 1px solid rgba(68, 231, 255, .20);
    font-size: 12px;
}

.beta-scenario-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.beta-scenario {
    appearance: none;
    -webkit-appearance: none;
    text-align: left;
    border-radius: 16px;
    padding: 12px;
    cursor: pointer;
    color: var(--text);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
    transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease;
}

.beta-scenario strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 5px;
}

.beta-scenario span {
    display: block;
    color: rgba(222, 232, 247, .74);
    font-size: 12px;
    line-height: 1.35;
}

.beta-scenario:hover {
    transform: translateY(-2px);
    border-color: rgba(68, 231, 255, .36);
    background: rgba(68, 231, 255, .08);
}

.beta-scenario.is-active {
    border-color: rgba(68, 231, 255, .64);
    background:
    radial-gradient(circle at top right, rgba(68, 231, 255, .18), transparent 42%),
    rgba(68, 231, 255, .10);
    box-shadow: 0 0 26px rgba(68, 231, 255, .08);
}

.beta-scenario.is-active strong {
    color: var(--cyan);
}

@media (max-width: 720px) {
    .beta-scenario-grid {
    grid-template-columns: 1fr;
}

.beta-scenario-head {
    display: block;
}

.beta-scenario-head strong {
    margin-top: 10px;
}
}

/* DEMO-02D qualitative feedback V2 */

.beta-feedback-v2 {
    padding: 18px !important;
}

.beta-feedback-v2-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.beta-feedback-v2-head h3 {
    margin: 4px 0 7px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.2;
}

.beta-feedback-v2-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.beta-feedback-section {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

.beta-feedback-section-title {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 10px;
}

.beta-feedback-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.beta-feedback-choice {
    text-align: left;
    border-radius: 16px;
    padding: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    color: var(--text);
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.beta-feedback-choice strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 5px;
}

.beta-feedback-choice span {
    display: block;
    color: rgba(222, 232, 247, .76);
    font-size: 12px;
    line-height: 1.35;
}

.beta-feedback-choice:hover,
.beta-feedback-choice.is-selected {
    transform: translateY(-1px);
    border-color: rgba(68, 231, 255, .42);
    background: rgba(68, 231, 255, .09);
}

.beta-feedback-choice.is-selected strong {
    color: var(--cyan);
}

.beta-feedback-score-grid {
    display: grid;
    gap: 10px;
}

.beta-feedback-score-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
    align-items: center;
}

.beta-feedback-score-row > span {
    color: rgba(222, 232, 247, .86);
    font-size: 13px;
    font-weight: 800;
}

.beta-feedback-score-row > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.beta-feedback-score-row button {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    cursor: pointer;
    color: rgba(230, 244, 255, .86);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .10);
    font-weight: 900;
}

.beta-feedback-score-row button:hover,
.beta-feedback-score-row button.is-selected {
    color: #06121f;
    border-color: rgba(68, 231, 255, .74);
    background: linear-gradient(135deg, #44e7ff, #9a7cff);
}

.beta-feedback-reason-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.beta-feedback-reason {
    border-radius: 999px;
    padding: 9px 12px;
    cursor: pointer;
    color: rgba(230, 244, 255, .84);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .10);
    font-size: 13px;
    font-weight: 800;
}

.beta-feedback-reason:hover,
.beta-feedback-reason.is-selected {
    color: #ffffff;
    border-color: rgba(68, 231, 255, .42);
    background: rgba(68, 231, 255, .10);
}

.beta-feedback-v2-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

@media (max-width: 760px) {
    .beta-feedback-choice-grid,
    .beta-feedback-score-row {
        grid-template-columns: 1fr;
    }

    .beta-feedback-v2-actions .btn {
        width: 100%;
    }
}