@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #03040c;
    --panel: rgba(14, 17, 42, 0.72);
    --panel-strong: rgba(18, 21, 58, 0.9);
    --panel-soft: rgba(30, 34, 76, 0.62);
    --line: rgba(140, 126, 255, 0.28);
    --line-strong: rgba(128, 104, 255, 0.58);
    --text: #f6f7ff;
    --muted: #aeb5d8;
    --quiet: #747b9f;
    --violet: #7c5cff;
    --violet-2: #b29cff;
    --cyan: #48d5ff;
    --blue: #2675ff;
    --rose: #ce5cff;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 112px;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(8, 10, 26, 0.64), rgba(3, 4, 12, 0.96) 32%, #03040c 100%),
        #03040c;
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

body.nav-open,
body.modal-open {
    overflow: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

#surfaceCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 6, 17, 0.42), rgba(3, 4, 12, 0.92)),
        #03040c;
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    min-height: 64px;
    margin-top: 18px;
    padding: 10px 12px 10px 18px;
    border: 1px solid rgba(151, 141, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(5, 7, 20, 0.9);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.34);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(173, 161, 255, 0.55);
    border-radius: 7px;
    background: linear-gradient(145deg, rgba(33, 35, 75, 0.96), rgba(7, 10, 31, 0.88));
    box-shadow: inset 0 0 20px rgba(124, 92, 255, 0.25), 0 0 18px rgba(72, 213, 255, 0.12);
}

.brand-mark span {
    position: absolute;
    display: block;
    background: var(--text);
    border-radius: 2px;
}

.brand-mark span:nth-child(1) {
    width: 18px;
    height: 2px;
    top: 9px;
    left: 8px;
}

.brand-mark span:nth-child(2) {
    width: 2px;
    height: 18px;
    top: 9px;
    left: 16px;
}

.brand-mark span:nth-child(3) {
    width: 10px;
    height: 2px;
    top: 17px;
    left: 8px;
}

.brand-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.site-nav a {
    transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.nav-action,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-action {
    min-width: 118px;
    border: 1px solid rgba(151, 141, 255, 0.34);
    background: rgba(18, 22, 56, 0.72);
    color: var(--text);
}

.nav-action:hover,
.button:hover {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(151, 141, 255, 0.3);
    border-radius: 7px;
    background: rgba(18, 22, 56, 0.72);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    margin: 5px auto;
    border-radius: 2px;
    background: var(--text);
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.nav-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
    position: relative;
    display: grid;
    min-height: 640px;
    padding: 96px 0 70px;
    place-items: center;
}

.hero::before,
.services-section::before,
.cta-section::before {
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.56), rgba(72, 213, 255, 0.5), transparent);
    opacity: 0.65;
}

.hero-content {
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--violet-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-right: auto;
    margin-bottom: 18px;
    margin-left: auto;
    color: var(--text);
    font-size: 64px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
}

.title-accent {
    color: #b9cfff;
    background: linear-gradient(100deg, #c7a9ff 0%, #b9b7ff 42%, #8ac9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy {
    max-width: 670px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.button {
    min-width: 126px;
    padding: 0 18px;
}

.button-primary {
    border: 1px solid rgba(154, 139, 255, 0.28);
    background: linear-gradient(135deg, #8267ff, #4d73ff 52%, #31d0ff);
    color: #fff;
    box-shadow: 0 14px 34px rgba(65, 103, 255, 0.26);
}

.button-secondary {
    border: 1px solid rgba(151, 141, 255, 0.3);
    background: rgba(8, 11, 33, 0.72);
    color: var(--text);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: min(760px, 100%);
    margin: 54px auto 0;
    padding: 12px;
    border: 1px solid rgba(151, 141, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(8, 10, 28, 0.88);
    box-shadow: var(--shadow);
}

.metric {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 15px 18px;
    border-radius: 7px;
    background: rgba(24, 28, 66, 0.62);
    text-align: left;
}

.metric svg,
.feature-icon svg,
.service-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.metric svg {
    flex: 0 0 auto;
    color: var(--cyan);
}

.metric strong {
    display: block;
    margin-bottom: 3px;
    font-size: 20px;
    line-height: 1;
}

.metric span {
    display: block;
    color: var(--quiet);
    font-size: 12px;
    line-height: 1.3;
}

.section {
    position: relative;
    padding: 92px 0;
}

.section-compact {
    padding-top: 78px;
}

.section-heading {
    width: min(760px, 100%);
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading h2,
.cta-section h2 {
    margin-bottom: 16px;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.cta-section p:not(.eyebrow) {
    max-width: 690px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feature-card,
.service-card {
    border: 1px solid rgba(151, 141, 255, 0.22);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(23, 27, 70, 0.92), rgba(10, 13, 40, 0.86));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.feature-card {
    min-height: 184px;
    padding: 24px;
}

.feature-card:hover,
.service-card:hover {
    border-color: rgba(124, 92, 255, 0.56);
}

.feature-icon,
.service-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    place-items: center;
    border: 1px solid rgba(151, 141, 255, 0.26);
    border-radius: 7px;
    background: rgba(7, 9, 28, 0.78);
    color: var(--violet-2);
}

.feature-card h3,
.service-card h3 {
    margin-bottom: 9px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0;
}

.feature-card p,
.service-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.58;
}

.services-section {
    padding-top: 96px;
}

.service-map {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.92fr) minmax(0, 1fr);
    grid-template-areas:
        "payment core cloud"
        "security core data";
    gap: 28px 44px;
    width: min(940px, 100%);
    margin: 0 auto;
    align-items: center;
}

.service-map::before,
.service-map::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.service-map::before {
    inset: 66px 148px;
    border: 1px solid rgba(124, 92, 255, 0.24);
    border-radius: 24px;
    opacity: 0.8;
}

.service-map::after {
    width: 1px;
    height: 78%;
    top: 11%;
    left: 50%;
    background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.55), transparent);
}

.service-card {
    position: relative;
    min-height: 214px;
    padding: 24px;
}

.service-card::before {
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    content: "";
    border-radius: 50%;
    background: var(--violet-2);
    box-shadow: 0 0 18px rgba(124, 92, 255, 0.9);
}

.service-payment,
.service-security {
    text-align: left;
}

.service-cloud,
.service-data {
    text-align: left;
}

.service-payment::before,
.service-security::before {
    right: -26px;
}

.service-cloud::before,
.service-data::before {
    left: -26px;
}

.service-payment {
    grid-area: payment;
}

.service-cloud {
    grid-area: cloud;
}

.service-core {
    grid-area: core;
    min-height: 238px;
    border-color: rgba(124, 92, 255, 0.62);
    background: linear-gradient(180deg, rgba(33, 31, 106, 0.98), rgba(18, 20, 65, 0.9));
    box-shadow:
        0 0 0 1px rgba(72, 213, 255, 0.08),
        0 0 44px rgba(90, 84, 255, 0.3),
        var(--shadow);
    text-align: center;
}

.service-core::before {
    display: none;
}

.service-core .service-icon {
    margin-right: auto;
    margin-left: auto;
    color: var(--cyan);
}

.service-security {
    grid-area: security;
}

.service-data {
    grid-area: data;
}

.statement {
    width: min(880px, 100%);
    margin: 8px auto 0;
    padding: 68px 0 42px;
    text-align: center;
}

.statement p {
    margin-bottom: 0;
    color: #d8dcf2;
    font-size: 24px;
    line-height: 1.45;
}

.cta-section {
    position: relative;
    padding: 96px 0 72px;
    text-align: center;
}

.contact-section {
    text-align: center;
}

.contact-section .button {
    width: auto;
    margin-top: 30px;
}

.contact-dialog {
    width: min(100% - 32px, 560px);
    max-height: min(760px, calc(100vh - 32px));
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color: var(--text);
}

.contact-dialog::backdrop {
    background: rgba(1, 2, 8, 0.72);
}

.dialog-panel {
    position: relative;
    display: grid;
    gap: 22px;
    max-height: min(760px, calc(100vh - 32px));
    overflow-y: auto;
    padding: 30px;
    border: 1px solid rgba(151, 141, 255, 0.28);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 78% 0%, rgba(72, 213, 255, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(23, 27, 70, 0.98), rgba(10, 13, 40, 0.96));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58), 0 0 55px rgba(124, 92, 255, 0.2);
}

.dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(151, 141, 255, 0.3);
    border-radius: 7px;
    background: rgba(5, 7, 20, 0.72);
    cursor: pointer;
}

.dialog-close span {
    position: absolute;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
}

.dialog-close span:first-child {
    transform: rotate(45deg);
}

.dialog-close span:last-child {
    transform: rotate(-45deg);
}

.dialog-heading {
    padding-right: 46px;
}

.dialog-heading h2 {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.dialog-heading p:not(.eyebrow) {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(151, 141, 255, 0.25);
    border-radius: 7px;
    background: rgba(5, 7, 20, 0.74);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    outline: 0;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form input {
    min-height: 46px;
    padding: 0 14px;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
    padding: 12px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(72, 213, 255, 0.65);
    background: rgba(7, 10, 31, 0.9);
    box-shadow: 0 0 0 3px rgba(72, 213, 255, 0.12);
}

.form-submit {
    width: 100%;
    margin-top: 4px;
    border: 0;
    cursor: pointer;
}

.hidden-field {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-footer {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    padding: 26px 0 38px;
    color: var(--quiet);
    text-align: center;
    font-size: 12px;
}

.footer-socials {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.footer-social-link {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(151, 141, 255, 0.58);
    border-radius: 8px;
    color: var(--text);
    background: rgba(7, 9, 28, 0.52);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    border-color: rgba(72, 213, 255, 0.72);
    background: rgba(18, 22, 56, 0.78);
    box-shadow: 0 0 24px rgba(124, 92, 255, 0.34);
    transform: translateY(-1px);
    outline: none;
}

.footer-social-link svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.success-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
}

.success-view {
    display: grid;
    min-height: calc(100vh - 120px);
    place-items: center;
    padding: 80px 0;
}

.success-card {
    width: min(720px, 100%);
    padding: 46px;
    border: 1px solid rgba(151, 141, 255, 0.24);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(23, 27, 70, 0.92), rgba(10, 13, 40, 0.88));
    box-shadow: var(--shadow);
    text-align: center;
}

.success-card h1 {
    font-size: 46px;
}

.success-card p:not(.eyebrow) {
    max-width: 520px;
    margin-right: auto;
    margin-bottom: 30px;
    margin-left: auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .page-shell {
        width: min(100% - 28px, 760px);
    }

    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav,
    .nav-action {
        display: none;
    }

    .success-header .nav-action {
        display: inline-flex;
    }

    .nav-open .site-nav {
        position: fixed;
        top: 96px;
        right: 14px;
        left: 14px;
        display: grid;
        gap: 0;
        justify-content: stretch;
        overflow: hidden;
        border: 1px solid rgba(151, 141, 255, 0.28);
        border-radius: var(--radius);
        background: rgba(5, 7, 20, 0.98);
        box-shadow: var(--shadow);
    }

    .nav-open .site-nav a {
        padding: 18px 20px;
        border-bottom: 1px solid rgba(151, 141, 255, 0.16);
        font-size: 15px;
    }

    .nav-open .site-nav a:last-child {
        border-bottom: 0;
    }

    .hero {
        min-height: 620px;
        padding-top: 84px;
    }

    h1 {
        font-size: 46px;
    }

    .metrics,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .metric {
        justify-content: center;
        text-align: center;
    }

    .section-heading h2,
    .cta-section h2 {
        font-size: 34px;
    }

    .value-grid {
        gap: 12px;
    }

    .feature-card {
        min-height: auto;
    }

    .service-map {
        grid-template-columns: 1fr;
        grid-template-areas:
            "core"
            "payment"
            "cloud"
            "security"
            "data";
        gap: 14px;
    }

    .service-map::before,
    .service-map::after,
    .service-card::before {
        display: none;
    }

    .service-card,
    .service-core {
        min-height: auto;
        text-align: left;
    }

    .service-core .service-icon {
        margin-right: 0;
        margin-left: 0;
    }

    .statement p {
        font-size: 20px;
    }
}

@media (max-width: 620px) {
    .page-shell {
        width: min(100% - 24px, 440px);
    }

    .site-header {
        top: 0;
        min-height: 58px;
        margin-top: 12px;
        padding: 8px 10px 8px 12px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        font-size: 12px;
    }

    .hero {
        min-height: auto;
        padding: 54px 0 24px;
    }

    .eyebrow {
        font-size: 10px;
    }

    h1 {
        font-size: 36px;
        line-height: 1.08;
    }

    .hero-copy,
    .section-heading p:not(.eyebrow),
    .cta-section p:not(.eyebrow) {
        font-size: 14px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 24px;
    }

    .button {
        width: 100%;
    }

    .metrics {
        margin-top: 26px;
        padding: 8px;
    }

    .metric {
        justify-content: flex-start;
        min-height: 62px;
        padding: 11px 14px;
        text-align: left;
    }

    .metric strong {
        font-size: 18px;
    }

    .section {
        padding: 72px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2,
    .cta-section h2 {
        font-size: 30px;
    }

    .feature-card,
    .service-card {
        padding: 20px;
    }

    .statement {
        padding: 44px 0 24px;
    }

    .statement p {
        font-size: 18px;
    }

    .cta-section {
        padding: 76px 0 52px;
    }

    .success-card {
        padding: 28px 20px;
    }

    .success-card h1 {
        font-size: 32px;
    }

    .site-footer {
        flex-direction: column;
        gap: 14px;
    }

    .contact-dialog {
        width: min(100% - 24px, 430px);
        max-height: calc(100vh - 24px);
    }

    .dialog-panel {
        max-height: calc(100vh - 24px);
        padding: 24px 20px;
    }

    .dialog-heading {
        padding-right: 42px;
    }

    .dialog-heading h2 {
        font-size: 28px;
    }
}

/* ─── Service connection animation ──────────────────────────────────────────
   JS sets only the --c variable + .is-connected class on .service-map.
   All visuals (pseudo-element lines/dots AND the core glow) live here so they
   compose cleanly with the per-block scroll/hover brightening further down.   */
.service-map { --c: 0; }

/* Default: everything dimmed when off-screen */
.service-map::before {
    opacity: 0.20;
    border-color: rgba(124, 92, 255, 0.12);
    transition: opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.service-map::after {
    opacity: 0.15;
    transition: opacity 0.35s ease;
}
.service-card:not(.service-core)::before {
    opacity: 0.25;
    transition: opacity 0.35s ease, box-shadow 0.35s ease;
}

/* Connected: everything lights up */
.service-map.is-connected::before {
    opacity: 1;
    border-color: rgba(124, 92, 255, 0.72);
    box-shadow: 0 0 36px rgba(124, 92, 255, 0.55);
}
.service-map.is-connected::after {
    opacity: 1;
}
.service-map.is-connected .service-card:not(.service-core)::before {
    opacity: 1;
    box-shadow: 0 0 32px 6px rgba(124, 92, 255, 0.90);
}

/* ─── Block reveal + scroll-alignment + hover brightening ────────────────────
   Every content block lifts in, brightens as it aligns with the viewport
   centre (--align, set by JS) and brightens further on hover (pure CSS).
   Hover rules are declared last so they win at equal specificity.            */
.reveal {
    --align: 0;
    transition:
        transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
        opacity 0.5s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

/* Off-screen: lowered + dimmed */
.reveal:not(.is-inview) {
    opacity: 0.72;
    transform: translateY(14px);
}

/* In view: brightness rises toward 1 as the block centres in the viewport */
.reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* Alignment glow — cards + metrics */
.feature-card.is-inview,
.service-card:not(.service-core).is-inview {
    border-color: rgba(124, 92, 255, calc(0.22 + 0.46 * var(--align)));
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.26),
        0 0 calc(38px * var(--align)) rgba(116, 92, 255, calc(0.55 * var(--align)));
}
.metric.is-inview {
    box-shadow: 0 0 calc(24px * var(--align)) rgba(116, 92, 255, calc(0.42 * var(--align)));
}

/* Core: blend its connection glow (--c) with its own alignment (--align) */
.service-core.is-inview {
    border-color: rgba(124, 92, 255, calc(0.5 + 0.32 * var(--c)));
    box-shadow:
        0 0 0 1px rgba(72, 213, 255, calc(0.08 + 0.34 * var(--c))),
        0 0 calc(44px + 96px * var(--c)) rgba(90, 84, 255, calc(0.3 + 0.5 * var(--c))),
        0 0 calc(34px * var(--align)) rgba(116, 92, 255, calc(0.42 * var(--align))),
        var(--shadow);
}

/* Hover: strongest state */
.reveal:hover {
    transform: translateY(-4px);
}
.statement.reveal:hover {
    transform: none;  /* big text block — brighten without lifting */
}
.feature-card:hover,
.service-card:not(.service-core):hover {
    border-color: rgba(124, 92, 255, 0.78);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.34),
        0 0 46px rgba(124, 92, 255, 0.62);
}
.metric:hover {
    background: rgba(36, 42, 92, 0.72);
    box-shadow: 0 0 30px rgba(124, 92, 255, 0.5);
}
.service-core:hover {
    border-color: rgba(124, 92, 255, 0.85);
    box-shadow:
        0 0 0 1px rgba(72, 213, 255, 0.45),
        0 0 130px rgba(90, 84, 255, 0.72),
        var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
