:root {
    --color-ink: #000000;
    --color-ink-2: #080a10;
    --color-primary: #8c53fd;
    --color-primary-dark: #7036df;
    --color-primary-soft: #f1ebff;
    --color-paper: #ffffff;
    --color-soft: #f7f7fb;
    --color-muted: #667085;
    --color-line: #e5e7ef;
    --color-white-muted: rgba(255, 255, 255, 0.72);
    --shadow-soft: 0 18px 55px rgba(21, 27, 37, 0.12);
    --shadow-card: 0 12px 32px rgba(21, 27, 37, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-ink);
    background: var(--color-paper);
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
}

h1,
h2,
h3,
h4 {
    color: var(--color-ink);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

p {
    color: var(--color-muted);
}

.btn {
    border-radius: 8px;
    font-weight: 800;
    padding: 0.75rem 1rem;
}

.btn-lg {
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
}

.btn-primary {
    --bs-btn-bg: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-bg: var(--color-primary-dark);
    --bs-btn-hover-border-color: var(--color-primary-dark);
    --bs-btn-active-bg: var(--color-primary-dark);
    --bs-btn-active-border-color: var(--color-primary-dark);
    box-shadow: 0 12px 26px rgba(140, 83, 253, 0.24);
}

.btn-outline-dark {
    --bs-btn-color: var(--color-ink);
    --bs-btn-border-color: #c4c8d2;
    --bs-btn-hover-bg: var(--color-ink);
    --bs-btn-hover-border-color: var(--color-ink);
}

.btn-light {
    --bs-btn-color: var(--color-ink);
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-bg: var(--color-primary-soft);
    --bs-btn-hover-border-color: var(--color-primary-soft);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(229, 231, 239, 0.95);
    backdrop-filter: blur(16px);
}

.site-header--scrolled {
    box-shadow: 0 10px 28px rgba(21, 27, 37, 0.08);
}

.navbar {
    min-height: 82px;
}

.navbar-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    color: var(--color-ink);
}

.navbar-brand img {
    width: 188px;
    height: auto;
    display: block;
}

.footer-brand img {
    width: 210px;
    height: auto;
    display: block;
    padding: 0.45rem;
    border-radius: 8px;
    background: #fff;
}

.brand-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--color-primary);
    font-size: 0.9rem;
}

.nav-link {
    color: #343b49;
    font-size: 0.93rem;
    font-weight: 700;
}

.nav-link:hover,
.nav-link.active,
.dropdown-item.active,
.dropdown-item:active {
    color: var(--color-primary);
    background: transparent;
}

.dropdown-menu {
    padding: 0.55rem;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.dropdown-item {
    border-radius: 8px;
    color: var(--color-ink);
    font-size: 0.93rem;
    font-weight: 650;
}

.dropdown-item:hover {
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.navbar-toggler {
    border-color: var(--color-line);
    border-radius: 8px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 5rem;
    color: #fff;
    background: var(--color-ink);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.page-hero h1 {
    max-width: 940px;
    font-size: 3.15rem;
}

.hero-section h1,
.hero-section p {
    color: #fff;
}

.hero-lead,
.page-hero p {
    max-width: 760px;
    margin-top: 1.4rem;
    font-size: 1.1rem;
}

.hero-lead {
    color: var(--color-white-muted) !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.hero-section .btn-outline-dark {
    --bs-btn-color: #ffffff;
    --bs-btn-border-color: rgba(255, 255, 255, 0.42);
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-hover-color: var(--color-ink);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-media {
    display: grid;
    gap: 1rem;
}

.hero-photo {
    width: 100%;
    max-height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: #080b10;
    object-fit: cover;
    object-position: center 18%;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 0.85rem;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.hero-section .eyebrow {
    color: #cdb8ff;
}

.system-visual {
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.system-visual__top,
.metric-strip {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.system-visual__top {
    padding: 0.4rem 0.2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.system-visual__top span,
.keyword-panel span,
.content-card span {
    color: var(--color-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.system-visual__top span {
    color: rgba(255, 255, 255, 0.66);
}

.system-visual__top strong {
    color: #fff;
}

.system-flow {
    display: grid;
    gap: 0.8rem;
    margin: 1rem 0;
}

.system-flow div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 0.85rem;
    align-items: center;
    padding: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(21, 27, 37, 0.62);
}

.system-flow span {
    grid-row: span 2;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--color-primary);
    font-weight: 850;
}

.system-flow strong {
    color: #fff;
    line-height: 1.2;
}

.system-flow small {
    color: rgba(255, 255, 255, 0.62);
}

.metric-strip {
    padding: 1rem;
    border-radius: 8px;
    background: #fff;
}

.metric-strip div {
    display: grid;
    gap: 0.15rem;
}

.metric-strip strong {
    color: var(--color-ink);
    font-size: 1.08rem;
}

.metric-strip span {
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 650;
}

.section-pad {
    padding: 5rem 0;
}

.section-muted {
    background: var(--color-soft);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2.2rem;
}

.section-heading h2 {
    font-size: 2.35rem;
}

.section-heading p {
    margin-top: 1rem;
    font-size: 1.02rem;
}

.service-card,
.process-item,
.content-card,
.detail-panel,
.contact-form,
.keyword-panel {
    height: 100%;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 292px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    border-color: rgba(140, 83, 253, 0.46);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.service-card__body {
    padding: 1.4rem 1.4rem 0;
}

.service-card__index,
.process-item span {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 850;
}

.service-card h3,
.process-item h3 {
    font-size: 1.22rem;
}

.service-card p,
.process-item p,
.content-card p,
.detail-panel p {
    margin-bottom: 0;
}

.service-card__link {
    display: block;
    margin: 1.2rem 1.4rem 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
    font-weight: 850;
}

.process-item,
.content-card,
.detail-panel,
.contact-form,
.keyword-panel {
    padding: 1.4rem;
}

.page-hero {
    padding: 5.5rem 0 4rem;
    background: linear-gradient(90deg, var(--color-soft), #fff);
}

.page-hero .eyebrow {
    color: var(--color-primary);
}

.service-hero {
    border-bottom: 1px solid var(--color-line);
}

.keyword-panel p {
    margin: 0.35rem 0 0;
    color: var(--color-ink);
    font-weight: 700;
}

.detail-panel h2 {
    font-size: 1.65rem;
}

.detail-panel--accent {
    border-color: rgba(140, 83, 253, 0.3);
    background: var(--color-primary-soft);
}

.content-card {
    min-height: 220px;
}

.content-card h2 {
    margin-top: 0.7rem;
    font-size: 1.22rem;
}

.contact-form .form-control,
.contact-form .form-select {
    min-height: 48px;
    border-color: var(--color-line);
    border-radius: 8px;
    font-weight: 600;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(140, 83, 253, 0.18);
}

.contact-form textarea.form-control {
    min-height: 160px;
}

.cta-band {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 8px;
    color: #fff;
    background: var(--color-ink);
    box-shadow: var(--shadow-soft);
}

.cta-band h2,
.cta-band p,
.cta-band .eyebrow {
    color: #fff;
}

.cta-band .eyebrow {
    color: #cdb8ff;
}

.cta-band h2 {
    max-width: 760px;
    font-size: 2rem;
}

.cta-band p {
    max-width: 680px;
    margin-bottom: 0;
    opacity: 0.82;
}

.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--color-ink);
}

.site-footer h2,
.site-footer p,
.site-footer a,
.footer-brand {
    color: #fff;
}

.site-footer h2 {
    font-size: 1rem;
}

.site-footer p,
.footer-links a,
.footer-bottom {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: grid;
    gap: 0.55rem;
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    justify-content: flex-end;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.footer-legal-links a:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    .site-header {
        position: static;
    }

    .navbar-nav {
        align-items: stretch !important;
        padding: 1rem 0;
    }

    .navbar-brand img {
        width: 160px;
    }

    .hero-section {
        padding: 4.5rem 0;
    }

    .hero-section h1,
    .page-hero h1 {
        font-size: 2.45rem;
    }

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

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 146px;
    }

    .hero-section h1,
    .page-hero h1 {
        font-size: 2rem;
    }

    .section-heading h2,
    .cta-band h2 {
        font-size: 1.65rem;
    }

    .section-pad {
        padding: 3.5rem 0;
    }

    .metric-strip,
    .footer-bottom {
        flex-direction: column;
    }

    .footer-legal-links {
        justify-content: flex-start;
    }
}

/* Menu and hero v2 */
.site-header {
    background: rgba(7, 10, 17, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.site-header--scrolled {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.navbar {
    min-height: 86px;
}

.navbar-brand {
    padding: 0.35rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #fff;
}

.navbar-brand img {
    width: 176px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.78);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link.active {
    text-shadow: 0 0 22px rgba(140, 83, 253, 0.75);
}

.dropdown-menu {
    background: rgba(14, 18, 29, 0.96);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.76);
}

.dropdown-item:hover,
.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    background: rgba(140, 83, 253, 0.18);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.18);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.hero-section {
    min-height: calc(100vh - 86px);
    padding: 6.4rem 0 5.4rem;
    background:
        radial-gradient(circle at 72% 45%, rgba(140, 83, 253, 0.34), transparent 18rem),
        radial-gradient(circle at 86% 32%, rgba(0, 220, 255, 0.16), transparent 16rem),
        radial-gradient(circle at 66% 72%, rgba(255, 54, 180, 0.18), transparent 14rem),
        #070a11;
}

.hero-section::before {
    opacity: 1;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 78%, transparent);
}

.hero-section::after {
    content: "";
    position: absolute;
    top: -170px;
    left: 28%;
    width: 520px;
    height: 260px;
    pointer-events: none;
    border-bottom: 2px dotted rgba(202, 161, 255, 0.24);
    border-radius: 0 0 520px 520px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 4rem;
    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

.hero-section h1 {
    max-width: 800px;
    font-size: 4rem;
}

.hero-lead {
    max-width: 700px;
    font-size: 1.12rem;
}

.hero-tags span {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 0 0 1px rgba(140, 83, 253, 0.08);
}

.hero-orbit {
    position: relative;
    min-height: 560px;
}

.orbit-ring {
    position: absolute;
    inset: 50%;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
}

.orbit-ring--one {
    width: 420px;
    height: 420px;
    border-style: dotted;
    border-color: rgba(183, 146, 255, 0.24);
}

.orbit-ring--two {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 220, 255, 0.14);
}

.rgb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at 36% 40%, rgba(255, 255, 255, 0.76), transparent 0.45rem),
        radial-gradient(circle at 44% 42%, rgba(0, 220, 255, 0.7), transparent 4rem),
        radial-gradient(circle at 68% 58%, rgba(255, 54, 180, 0.78), transparent 5.4rem),
        radial-gradient(circle at 52% 48%, rgba(140, 83, 253, 0.9), transparent 6.6rem);
    filter: blur(4px);
    opacity: 0.78;
    box-shadow:
        0 0 80px rgba(140, 83, 253, 0.42),
        0 0 130px rgba(0, 220, 255, 0.16);
}

.hero-panel {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: rgba(14, 17, 29, 0.82);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.hero-panel--main {
    top: 155px;
    left: 50%;
    width: min(330px, 86%);
    padding: 1.35rem;
    transform: translateX(-50%);
}

.hero-panel--left,
.hero-panel--right,
.hero-panel--bottom {
    display: grid;
    gap: 0.3rem;
    width: 220px;
    padding: 1rem;
}

.hero-panel--left {
    top: 250px;
    left: 0;
}

.hero-panel--right {
    top: 250px;
    right: 0;
}

.hero-panel--bottom {
    right: 72px;
    bottom: 32px;
}

.panel-kicker,
.hero-panel span {
    color: #cdb8ff;
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.hero-panel h2 {
    margin: 0.6rem 0 1.1rem;
    color: #fff;
    font-size: 1.35rem;
}

.hero-panel strong {
    color: #fff;
    font-size: 0.98rem;
}

.hero-panel small {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.55;
}

.signal-bars {
    display: grid;
    gap: 0.55rem;
}

.signal-bars span {
    display: block;
    height: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, #8c53fd, #00dcff, #ff36b4);
}

.signal-bars span:nth-child(1) {
    width: 92%;
}

.signal-bars span:nth-child(2) {
    width: 74%;
}

.signal-bars span:nth-child(3) {
    width: 58%;
}

.signal-bars span:nth-child(4) {
    width: 82%;
}

.hero-metrics {
    position: absolute;
    left: 30px;
    bottom: 48px;
    display: flex;
    gap: 0.7rem;
}

.hero-metrics div {
    display: grid;
    min-width: 90px;
    gap: 0.15rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-metrics strong {
    color: #fff;
    line-height: 1;
}

.hero-metrics span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.74rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .site-header {
        position: sticky;
    }

    .navbar-brand img {
        width: 156px;
    }

    .hero-section {
        min-height: auto;
        padding: 4.5rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-section h1 {
        font-size: 2.7rem;
    }

    .hero-orbit {
        min-height: 520px;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 136px;
    }

    .hero-section h1 {
        font-size: 2.15rem;
    }

    .hero-orbit {
        min-height: auto;
        padding-top: 1rem;
    }

    .orbit-ring,
    .rgb-core {
        display: none;
    }

    .hero-panel,
    .hero-metrics {
        position: static;
        transform: none;
    }

    .hero-orbit {
        display: grid;
        gap: 0.8rem;
    }

    .hero-panel--main,
    .hero-panel--left,
    .hero-panel--right,
    .hero-panel--bottom {
        width: 100%;
    }

    .hero-metrics {
        flex-direction: column;
    }
}

/* Core digital atmosphere */
body {
    background: #070a11;
}

.section-pad {
    background: var(--color-paper);
}

.section-muted {
    background: #f3f4f8;
}

.site-header {
    background: rgba(7, 10, 17, 0.78);
}

.hero-section,
.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    --glow-x: 50%;
    --glow-y: 28%;
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(140, 83, 253, 0.22), transparent 18rem),
        radial-gradient(circle at 50% -12%, rgba(120, 139, 255, 0.2), transparent 24rem),
        radial-gradient(circle at 22% 18%, rgba(140, 83, 253, 0.12), transparent 18rem),
        radial-gradient(circle at 80% 28%, rgba(255, 78, 205, 0.1), transparent 18rem),
        #070a11;
}

.hero-section {
    display: grid;
    min-height: calc(100vh - 86px);
    padding: 7.2rem 0 5.8rem;
    place-items: center;
}

.page-hero {
    padding: 7rem 0 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.42;
    background-image: radial-gradient(circle, rgba(163, 176, 214, 0.24) 1px, transparent 1.3px);
    background-position: center top;
    background-size: 18px 18px;
    mask-image: radial-gradient(circle at center, #000 0, #000 34%, transparent 72%);
}

.hero-section::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(7, 10, 17, 0.88), transparent 22%, transparent 78%, rgba(7, 10, 17, 0.88)),
        linear-gradient(180deg, transparent 0, transparent 72%, rgba(7, 10, 17, 0.92));
}

.ambient-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.9;
}

.hero-section .container,
.page-hero .container {
    position: relative;
    z-index: 2;
}

.orbital-field {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: grid;
    place-items: center;
}

.orbital-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dotted rgba(205, 86, 219, 0.5);
    opacity: 0.46;
    animation: orbitalSpin 48s linear infinite;
}

.orbital-ring--xl {
    width: min(78vw, 1180px);
    height: min(78vw, 1180px);
}

.orbital-ring--lg {
    width: min(52vw, 760px);
    height: min(52vw, 760px);
    opacity: 0.34;
    animation-duration: 36s;
    animation-direction: reverse;
}

.orbital-ring--md {
    width: min(31vw, 440px);
    height: min(31vw, 440px);
    opacity: 0.42;
    animation-duration: 28s;
}

@keyframes orbitalSpin {
    to {
        transform: rotate(360deg);
    }
}

.hero-center {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero-loader {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.35rem;
    animation: loaderSpin 1.6s linear infinite;
}

.hero-loader span {
    position: absolute;
    top: 4px;
    left: 29px;
    width: 6px;
    height: 15px;
    border-radius: 99px;
    background: rgba(184, 197, 230, 0.92);
    transform-origin: 3px 28px;
}

.hero-loader span:nth-child(1) { transform: rotate(0deg); opacity: 1; }
.hero-loader span:nth-child(2) { transform: rotate(30deg); opacity: 0.92; }
.hero-loader span:nth-child(3) { transform: rotate(60deg); opacity: 0.84; }
.hero-loader span:nth-child(4) { transform: rotate(90deg); opacity: 0.76; }
.hero-loader span:nth-child(5) { transform: rotate(120deg); opacity: 0.68; }
.hero-loader span:nth-child(6) { transform: rotate(150deg); opacity: 0.6; }
.hero-loader span:nth-child(7) { transform: rotate(180deg); opacity: 0.52; }
.hero-loader span:nth-child(8) { transform: rotate(210deg); opacity: 0.44; }
.hero-loader span:nth-child(9) { transform: rotate(240deg); opacity: 0.36; }
.hero-loader span:nth-child(10) { transform: rotate(270deg); opacity: 0.3; }
.hero-loader span:nth-child(11) { transform: rotate(300deg); opacity: 0.24; }
.hero-loader span:nth-child(12) { transform: rotate(330deg); opacity: 0.18; }

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

.hero-section h1 {
    max-width: 920px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(2.45rem, 5vw, 5.05rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hero-section h1 span {
    background: linear-gradient(90deg, #5d8dff 0%, #8c53fd 52%, #f3b5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 780px;
    margin: 1.45rem auto 0;
    color: rgba(204, 213, 237, 0.82) !important;
    font-size: 1.02rem;
    font-weight: 500;
}

.hero-actions {
    justify-content: center;
    margin-top: 1.65rem;
}

.hero-section .btn-primary {
    min-width: min(100%, 380px);
    border: 1px solid rgba(255, 255, 255, 0.26);
    background:
        linear-gradient(90deg, #a9e5ff 0%, #4d66ff 48%, #8c53fd 100%);
    box-shadow:
        0 18px 55px rgba(93, 141, 255, 0.24),
        0 0 40px rgba(140, 83, 253, 0.28);
}

.hero-section .btn-primary:hover {
    transform: translateY(-1px);
    filter: saturate(1.1) brightness(1.05);
}

.hero-tags {
    justify-content: center;
    margin-top: 2.1rem;
}

.hero-tags span {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(221, 226, 245, 0.62);
    backdrop-filter: blur(12px);
}

.page-hero h1,
.page-hero h2,
.page-hero p,
.page-hero .eyebrow {
    color: #fff;
}

.page-hero .eyebrow {
    color: #c9b6ff;
}

.page-hero h1 {
    max-width: 980px;
    font-size: clamp(2.1rem, 4vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.page-hero p {
    color: rgba(204, 213, 237, 0.78);
}

.keyword-panel {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
}

.keyword-panel span,
.keyword-panel p {
    color: #fff;
}

.keyword-panel p {
    opacity: 0.76;
}

.service-card,
.process-item,
.content-card,
.detail-panel,
.contact-form {
    box-shadow: var(--shadow-card);
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 5.8rem 0 4.8rem;
    }

    .page-hero {
        padding: 5.8rem 0 4rem;
    }

    .orbital-ring--xl {
        width: 105vw;
        height: 105vw;
    }

    .orbital-ring--lg {
        width: 72vw;
        height: 72vw;
    }

    .orbital-ring--md {
        width: 48vw;
        height: 48vw;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 5rem 0 4rem;
    }

    .hero-loader {
        width: 52px;
        height: 52px;
        margin-bottom: 1rem;
    }

    .hero-loader span {
        left: 23px;
        height: 12px;
        transform-origin: 3px 23px;
    }

    .hero-section .btn-primary {
        min-width: 100%;
    }

    .hero-tags {
        gap: 0.5rem;
    }

    .hero-tags span {
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orbital-ring,
    .hero-loader {
        animation: none;
    }
}

/* Final brand spacing pass */
:root {
    --color-ink: #000000;
    --color-ink-2: #080a10;
    --color-primary: #8c53fd;
    --color-primary-dark: #7641e3;
    --color-primary-soft: #f1ebff;
    --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.18);
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.12);
}

body {
    background: #000;
}

.site-header {
    background: rgba(0, 0, 0, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar {
    min-height: 72px;
}

.navbar-brand {
    padding: 0.26rem 0.42rem;
}

.navbar-brand img {
    width: 156px;
}

.hero-section {
    min-height: calc(100vh - 72px);
    padding: 2.2rem 0 4.2rem;
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(140, 83, 253, 0.18), transparent 18rem),
        radial-gradient(circle at 50% -8%, rgba(92, 111, 170, 0.2), transparent 22rem),
        #000;
}

.page-hero {
    padding: 4.4rem 0 4rem;
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(140, 83, 253, 0.16), transparent 18rem),
        radial-gradient(circle at 50% -10%, rgba(92, 111, 170, 0.18), transparent 22rem),
        #000;
}

.hero-section h1 span {
    background: linear-gradient(90deg, #5f8dff 0%, #8c53fd 52%, #d9c4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-section .btn-primary {
    background: linear-gradient(90deg, #a9e6ff 0%, #586dff 48%, #8c53fd 100%);
    box-shadow:
        0 18px 55px rgba(88, 109, 255, 0.22),
        0 0 40px rgba(140, 83, 253, 0.28);
}

.orbital-ring {
    border-color: rgba(140, 83, 253, 0.52);
}

.hero-loader {
    margin-bottom: 0.95rem;
}

.hero-lead {
    margin-top: 1rem;
}

.hero-actions {
    margin-top: 1.35rem;
}

.hero-tags {
    margin-top: 1.65rem;
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 68px;
    }

    .hero-section {
        min-height: auto;
        padding: 2.1rem 0 3.7rem;
    }

    .page-hero {
        padding: 3.9rem 0 3.5rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 136px;
    }

    .hero-section {
        padding: 1.7rem 0 3.4rem;
    }
}

/* White navigation pass */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(229, 231, 239, 0.95);
    box-shadow: none;
}

.site-header--scrolled {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.navbar {
    min-height: 76px;
}

.navbar-brand {
    padding: 0;
    border: 0;
    background: transparent;
}

.navbar-brand img {
    width: 168px;
}

.nav-link {
    color: #1f2430;
    font-size: 0.92rem;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    text-shadow: none;
}

.dropdown-menu {
    background: #fff;
    border-color: var(--color-line);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.12);
}

.dropdown-item {
    color: #1f2430;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item.active,
.dropdown-item:active {
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.navbar .btn-primary {
    box-shadow: none;
    font-weight: 600;
    padding: 0.65rem 0.95rem;
}

.navbar-toggler {
    border-color: var(--color-line);
}

.navbar-toggler-icon {
    filter: none;
}

.hero-section {
    min-height: calc(100vh - 76px);
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 70px;
    }

    .navbar-nav {
        background: #fff;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 142px;
    }
}

.top-header {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.82);
    background:
        radial-gradient(circle at 18% 50%, rgba(140, 83, 253, 0.28), transparent 14rem),
        #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-header::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -35%;
    width: 32%;
    background: linear-gradient(90deg, transparent, rgba(140, 83, 253, 0.38), transparent);
    animation: topHeaderSweep 4.5s ease-in-out infinite;
}

.top-header .container {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-header p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 500;
    text-align: center;
}

.top-header p span {
    display: inline-block;
    background: linear-gradient(90deg, #ffffff, #cdb8ff, #ffffff);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: topHeaderTextFlow 5s ease-in-out infinite alternate;
}

@keyframes topHeaderSweep {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    18%,
    72% {
        opacity: 1;
    }

    100% {
        transform: translateX(430%);
        opacity: 0;
    }
}

@keyframes topHeaderTextFlow {
    to {
        background-position: 100% 50%;
    }
}

.navbar {
    min-height: 70px;
}

.hero-section {
    min-height: calc(100vh - 104px);
}

@media (max-width: 575.98px) {
    .top-header p {
        font-size: 0.74rem;
    }
}

/* Living homepage sections */
.digital-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 30%), rgba(140, 83, 253, 0.13), transparent 18rem),
        radial-gradient(circle at 14% 20%, rgba(91, 113, 255, 0.11), transparent 22rem),
        radial-gradient(circle at 86% 70%, rgba(255, 88, 214, 0.09), transparent 20rem),
        #000;
}

.digital-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image: radial-gradient(circle, rgba(170, 182, 220, 0.22) 1px, transparent 1.3px);
    background-size: 20px 20px;
    mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}

.digital-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.82)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.88));
}

.digital-section .container {
    position: relative;
    z-index: 2;
}

.section-orb {
    position: absolute;
    z-index: 1;
    width: 360px;
    height: 360px;
    border: 2px dotted rgba(140, 83, 253, 0.38);
    border-radius: 50%;
    pointer-events: none;
    animation: orbitalSpin 42s linear infinite;
}

.section-orb--left {
    top: 7rem;
    left: -150px;
}

.section-orb--right {
    right: -140px;
    bottom: 4rem;
    width: 460px;
    height: 460px;
    animation-duration: 58s;
    animation-direction: reverse;
}

.section-orb--center {
    top: 50%;
    left: 50%;
    width: min(62vw, 760px);
    height: min(62vw, 760px);
    transform: translate(-50%, -50%);
    opacity: 0.42;
}

.digital-section .section-heading h2,
.digital-section .section-heading p,
.digital-section .eyebrow {
    color: #fff;
}

.digital-section .section-heading p {
    color: rgba(204, 213, 237, 0.76);
}

.digital-section .eyebrow {
    color: #c9b6ff;
}

.digital-section .service-card,
.digital-section .process-item,
.digital-section .content-card,
.digital-section .detail-panel {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
        rgba(13, 16, 26, 0.78);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.digital-section .service-card::before,
.digital-section .process-item::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(140, 83, 253, 0.24), transparent 13rem);
    transition: opacity 0.25s ease;
}

.digital-section .service-card:hover::before,
.digital-section .process-item:hover::before {
    opacity: 1;
}

.digital-section .service-card:hover,
.digital-section .process-item:hover {
    border-color: rgba(140, 83, 253, 0.42);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(140, 83, 253, 0.16);
}

.digital-section .service-card__body,
.digital-section .service-card__link,
.digital-section .process-item > * {
    position: relative;
    z-index: 1;
}

.digital-section .service-card h3,
.digital-section .process-item h3,
.digital-section .service-card p,
.digital-section .process-item p {
    color: #fff;
}

.digital-section .service-card p,
.digital-section .process-item p {
    color: rgba(204, 213, 237, 0.7);
}

.digital-section .service-card__index,
.digital-section .process-item span {
    color: #c9b6ff;
}

.digital-section .service-card__link {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.digital-section .service-card__link:hover {
    color: #c9b6ff;
}

.process-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-section .row {
    position: relative;
}

.process-section .row::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 83, 253, 0.45), transparent);
}

.final-cta-section {
    padding-top: 4rem;
}

.final-cta-section .cta-band {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 82% 18%, rgba(140, 83, 253, 0.32), transparent 18rem),
        linear-gradient(135deg, rgba(19, 22, 34, 0.96), rgba(4, 6, 12, 0.96));
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.46),
        0 0 55px rgba(140, 83, 253, 0.18);
}

.final-cta-section .cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.42;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1.3px);
    background-size: 18px 18px;
}

.final-cta-section .cta-band > * {
    position: relative;
    z-index: 1;
}

.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 991.98px) {
    .process-section .row::before {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .section-orb {
        opacity: 0.26;
    }
}

/* Contact page */
.contact-section {
    min-height: 640px;
}

.contact-intro-panel,
.contact-form--digital {
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
        rgba(13, 16, 26, 0.82);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.contact-intro-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.6rem;
}

.contact-intro-panel::before,
.contact-form--digital::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.48;
    background:
        radial-gradient(circle at 18% 14%, rgba(140, 83, 253, 0.26), transparent 16rem),
        radial-gradient(circle at 92% 86%, rgba(95, 141, 255, 0.16), transparent 16rem);
}

.contact-intro-panel > *,
.contact-form--digital > * {
    position: relative;
    z-index: 1;
}

.contact-intro-panel h2,
.contact-form__head h2 {
    color: #fff;
}

.contact-intro-panel h2 {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.contact-intro-panel p {
    color: rgba(204, 213, 237, 0.76);
}

.contact-mail {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    padding: 0.75rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 700;
    word-break: break-word;
}

.contact-mail:hover {
    color: #fff;
    border-color: rgba(140, 83, 253, 0.55);
    box-shadow: 0 0 35px rgba(140, 83, 253, 0.2);
}

.contact-signal-grid {
    display: grid;
    gap: 0.75rem;
}

.contact-signal-grid div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.8rem;
    align-items: center;
    min-height: 64px;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.contact-signal-grid strong {
    color: #c9b6ff;
}

.contact-signal-grid span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 600;
}

.contact-form--digital {
    padding: 1.6rem;
}

.contact-form__head {
    margin-bottom: 1.2rem;
}

.contact-form__head h2 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.contact-form--digital .form-label {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.86rem;
    font-weight: 600;
}

.contact-form--digital .form-control,
.contact-form--digital .form-select {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.065);
}

.contact-form--digital .form-control::placeholder {
    color: rgba(255, 255, 255, 0.36);
}

.contact-form--digital .form-select {
    color-scheme: dark;
}

.contact-form--digital .form-control:focus,
.contact-form--digital .form-select:focus {
    color: #fff;
    border-color: rgba(140, 83, 253, 0.72);
    background-color: rgba(255, 255, 255, 0.085);
    box-shadow: 0 0 0 0.2rem rgba(140, 83, 253, 0.18);
}

.contact-form--digital .btn-primary {
    min-width: min(100%, 280px);
    background: linear-gradient(90deg, #a9e6ff 0%, #586dff 48%, #8c53fd 100%);
    box-shadow:
        0 18px 55px rgba(88, 109, 255, 0.22),
        0 0 40px rgba(140, 83, 253, 0.24);
}

.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-alert--success {
    color: #d8ffe9;
    border: 1px solid rgba(76, 255, 160, 0.28);
    background: rgba(31, 155, 92, 0.16);
}

.form-alert--error {
    color: #ffd8d8;
    border: 1px solid rgba(255, 98, 98, 0.28);
    background: rgba(160, 38, 38, 0.16);
}

@media (max-width: 575.98px) {
    .contact-intro-panel,
    .contact-form--digital {
        padding: 1.15rem;
    }
}

/* Legal pages */
.legal-section {
    color: rgba(230, 235, 252, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-hero h1,
.legal-hero p,
.legal-hero .eyebrow {
    color: #fff;
}

.legal-toc,
.legal-document {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        radial-gradient(circle at var(--spotlight-x, 20%) var(--spotlight-y, 10%), rgba(140, 83, 253, 0.15), transparent 16rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
        rgba(12, 15, 26, 0.88);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.legal-toc {
    position: sticky;
    top: 102px;
    padding: 1.25rem;
}

.legal-toc p {
    margin-bottom: 1rem;
    color: rgba(230, 235, 252, 0.72);
    font-size: 0.9rem;
}

.legal-nav {
    display: grid;
    gap: 0.65rem;
}

.legal-nav a,
.legal-contact {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.92rem;
    font-weight: 700;
}

.legal-nav a:hover,
.legal-nav a.active,
.legal-contact:hover {
    color: #fff;
    border-color: rgba(140, 83, 253, 0.48);
    background: rgba(140, 83, 253, 0.14);
}

.legal-contact {
    margin-top: 1rem;
    word-break: break-word;
}

.legal-document {
    padding: clamp(1.25rem, 3vw, 2rem);
    color: rgba(230, 235, 252, 0.78);
}

.legal-document__section + .legal-document__section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-document h2 {
    margin-bottom: 1rem;
    color: #fff !important;
    font-size: 1.65rem;
}

.legal-section .legal-toc .eyebrow,
.legal-section .legal-document h2,
.legal-section .legal-table th {
    color: #fff !important;
}

.legal-section .legal-toc p,
.legal-section .legal-document p,
.legal-section .legal-document li,
.legal-section .legal-table td {
    color: rgba(230, 235, 252, 0.78) !important;
}

.legal-section .legal-document li::marker {
    color: #c9b6ff;
}

.legal-document p,
.legal-document li {
    color: rgba(230, 235, 252, 0.76);
}

.legal-document p:last-child,
.legal-document ul:last-child {
    margin-bottom: 0;
}

.legal-document ul {
    display: grid;
    gap: 0.65rem;
    padding-left: 1.15rem;
}

.legal-note {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(158, 231, 255, 0.22);
    border-radius: 8px;
    color: #e8fbff !important;
    background: rgba(53, 168, 210, 0.12);
    font-size: 0.92rem;
    font-weight: 650;
}

.legal-table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
}

.legal-table th,
.legal-table td {
    padding: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(230, 235, 252, 0.76);
    vertical-align: top;
}

.legal-table th {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 800;
}

.legal-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 991.98px) {
    .legal-toc {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .legal-toc,
    .legal-document {
        padding: 1.1rem;
    }

    .legal-document h2 {
        font-size: 1.35rem;
    }
}

/* Animated hero title */
.hero-section h1.hero-title {
    max-width: 900px;
    font-size: clamp(1.65rem, 2.75vw, 2.9rem);
    font-weight: 620;
    line-height: 1.22;
}

.hero-section h1.hero-title span {
    font-weight: 700;
}

.hero-title .title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    animation: titleWordIn 0.72s cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
}

.hero-title .title-word span {
    background-size: 220% 100%;
    animation: titleGradientFlow 4.5s ease-in-out infinite alternate;
}

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

@keyframes titleGradientFlow {
    to {
        background-position: 100% 50%;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1.hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
}

.hero-loader {
    display: none;
}

/* ─── Blog listing ───────────────────────────────────────── */
.blog-empty {
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 3rem 0;
}

.blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
}

.blog-card:hover {
    border-color: rgba(140, 83, 253, 0.46);
    text-decoration: none;
}

.blog-card__topic {
    color: #c9b6ff;
    font-size: 0.8rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.blog-card h2 {
    margin-top: 0.75rem;
    color: #fff;
}

.blog-card p {
    color: rgba(204, 213, 237, 0.72);
    flex: 1;
}

.blog-card__link {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #c9b6ff;
    font-size: 0.88rem;
    font-weight: 700;
}

/* ─── Article page ────────────────────────────────────────── */
.article-breadcrumb {
    margin-bottom: 1.2rem;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    font-weight: 600;
}

.article-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.article-date {
    color: rgba(204, 213, 237, 0.5) !important;
    font-size: 0.88rem;
    margin-top: 0.75rem;
}

.article-body {
    color: rgba(204, 213, 237, 0.84);
    font-size: 1rem;
    line-height: 1.8;
}

.article-body h2 {
    color: #fff;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    margin-top: 2.2rem;
    margin-bottom: 0.85rem;
}

.article-body h3 {
    color: #e2e8f0;
    font-size: 1.15rem;
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
}

.article-body p {
    color: rgba(204, 213, 237, 0.82);
    margin-bottom: 1.2rem;
}

.article-body ul,
.article-body ol {
    color: rgba(204, 213, 237, 0.82);
    padding-left: 1.4rem;
    margin-bottom: 1.2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.article-body strong {
    color: #fff;
    font-weight: 700;
}

.article-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.article-cta p {
    color: rgba(204, 213, 237, 0.7);
    margin-bottom: 1.2rem;
}

/* ─── Demo Request Modal ──────────────────────────────────── */
.dm-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.94);
    background-image: radial-gradient(circle, rgba(170, 182, 220, 0.16) 1px, transparent 1.3px);
    background-size: 24px 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.dm-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.dm-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(88vmin, 580px);
    height: min(88vmin, 580px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.dm-overlay::after {
    content: '';
    position: absolute;
    top: calc(50% - min(44vmin, 290px));
    left: 50%;
    width: 260px;
    height: 100px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center bottom, rgba(180, 160, 255, 0.35), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.dm-card {
    position: relative;
    z-index: 1;
    width: min(540px, 100%);
    padding: 2.8rem 2rem 2.2rem;
    text-align: center;
}

.dm-close {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.dm-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.dm-dots {
    display: flex;
    gap: 0.45rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.dm-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease, background 0.3s ease;
}

.dm-dot--active {
    width: 24px;
    background: linear-gradient(90deg, #586dff, #8c53fd);
    box-shadow: 0 0 12px rgba(140, 83, 253, 0.5);
}

.dm-step-panel {
    animation: dmFadeIn 0.3s ease;
}

@keyframes dmFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.dm-eyebrow {
    color: rgba(201, 182, 255, 0.68);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.dm-title {
    color: #fff;
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.65rem;
}

.dm-service-list {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.dm-service-opt {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.76);
    font-family: inherit;
    font-size: 0.97rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.dm-service-opt:hover {
    background: rgba(140, 83, 253, 0.12);
    border-color: rgba(140, 83, 253, 0.42);
    color: #fff;
}

.dm-service-opt.is-selected {
    background: rgba(140, 83, 253, 0.18);
    border-color: rgba(140, 83, 253, 0.72);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(140, 83, 253, 0.3);
}

.dm-fields {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
}

.dm-input {
    width: 100%;
    padding: 0.95rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.dm-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.dm-input:focus {
    outline: none;
    border-color: rgba(140, 83, 253, 0.65);
    background: rgba(255, 255, 255, 0.085);
    box-shadow: 0 0 0 3px rgba(140, 83, 253, 0.15);
}

.dm-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #a9e6ff 0%, #586dff 48%, #8c53fd 100%);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s, transform 0.15s, opacity 0.2s;
    box-shadow: 0 12px 35px rgba(88, 109, 255, 0.26), 0 0 28px rgba(140, 83, 253, 0.18);
}

.dm-btn:hover:not(:disabled) {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.dm-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    filter: none;
    transform: none;
}

.dm-btn--inline {
    flex: 1;
    width: auto;
}

.dm-nav {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.dm-back-link {
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.46);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.8rem 0;
    transition: color 0.18s;
    white-space: nowrap;
}

.dm-back-link:hover {
    color: rgba(255, 255, 255, 0.88);
}

.dm-success {
    padding: 1rem 0 0.5rem;
}

.dm-success-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(140, 83, 253, 0.38), rgba(88, 109, 255, 0.38));
    border: 1px solid rgba(140, 83, 253, 0.5);
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 0 40px rgba(140, 83, 253, 0.3);
}

.dm-success-text {
    color: rgba(204, 213, 237, 0.72);
    font-size: 1rem;
    margin-top: 0.8rem;
    margin-bottom: 0;
}

.dm-error {
    color: #ffd8d8;
    font-size: 0.88rem;
    font-weight: 600;
    margin: 1rem 0 0;
}

.dm-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .dm-card {
        padding: 2.2rem 1.25rem 1.8rem;
    }

    .dm-overlay::before,
    .dm-overlay::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dm-overlay {
        transition: none;
    }

    .dm-step-panel {
        animation: none;
    }

    .dm-dot {
        transition: none;
    }
}

/* ─── About page ──────────────────────────────────────────── */
/* About page */
.about-hero {
    --glow-x: 34%;
    --glow-y: 24%;
}

.about-hero--profile {
    padding: 5.2rem 0;
}

.about-hero-copy h1 {
    max-width: 780px;
}

.about-hero-copy p {
    max-width: 680px;
    color: rgba(230, 235, 252, 0.82);
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.about-hero-actions .btn-primary {
    background: linear-gradient(90deg, #9ee7ff 0%, #5d79ff 46%, #8c53fd 100%);
    box-shadow:
        0 18px 55px rgba(88, 109, 255, 0.22),
        0 0 40px rgba(140, 83, 253, 0.28);
}

.about-portrait-shell {
    position: relative;
    display: grid;
    width: min(100%, 420px);
    aspect-ratio: 1;
    margin-left: auto;
    place-items: center;
    transform-style: preserve-3d;
}

.about-portrait-shell::before {
    content: "";
    position: absolute;
    inset: 11%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.3), transparent 4rem),
        radial-gradient(circle at 58% 64%, rgba(73, 221, 255, 0.32), transparent 8rem),
        radial-gradient(circle at 46% 46%, rgba(140, 83, 253, 0.58), transparent 12rem);
    filter: blur(22px);
    opacity: 0.9;
}

.about-portrait-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    animation: aboutRingSpin 18s linear infinite;
}

.about-portrait-ring::before,
.about-portrait-ring::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9ee7ff;
    box-shadow: 0 0 26px rgba(158, 231, 255, 0.82);
}

.about-portrait-ring::before {
    top: 13%;
    left: 17%;
}

.about-portrait-ring::after {
    right: 16%;
    bottom: 14%;
    background: #c9b6ff;
    box-shadow: 0 0 26px rgba(201, 182, 255, 0.82);
}

.about-portrait {
    position: relative;
    z-index: 1;
    display: block;
    width: min(78%, 330px);
    aspect-ratio: 1;
    border: 8px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(158, 231, 255, 0.24),
        0 0 72px rgba(140, 83, 253, 0.26);
}

.about-portrait-badge {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 13%;
    min-width: 210px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(10, 13, 22, 0.78);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
}

.about-portrait-badge strong,
.about-portrait-badge span {
    display: block;
    color: #fff;
}

.about-portrait-badge span {
    margin-top: 0.2rem;
    color: rgba(230, 235, 252, 0.68);
    font-size: 0.82rem;
    font-weight: 650;
}

@keyframes aboutRingSpin {
    to {
        transform: rotate(360deg);
    }
}

.about-section,
.about-focus-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-story-panel,
.about-signal-board,
.about-value-card,
.about-stack div {
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        radial-gradient(circle at var(--spotlight-x, 22%) var(--spotlight-y, 18%), rgba(158, 231, 255, 0.14), transparent 16rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
        rgba(12, 15, 26, 0.88);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.44),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.about-story-panel,
.about-signal-board {
    padding: clamp(1.35rem, 3vw, 2rem);
}

.about-story-panel h2,
.about-signal-board h2,
.about-value-card h3,
.about-stack strong {
    color: #fff;
}

.about-story-panel h2,
.about-signal-board h2 {
    max-width: 720px;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.about-story-panel p,
.about-signal-board p,
.about-value-card p,
.about-stack p {
    color: rgba(230, 235, 252, 0.76);
}

.about-story-panel p {
    margin-top: 1rem;
    margin-bottom: 0;
}

.about-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.6rem;
}

.about-pill-list span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.065);
    font-size: 0.86rem;
    font-weight: 700;
}

.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1.5rem 0;
}

.about-stat-grid div {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

.about-stat-grid strong {
    display: block;
    color: #9ee7ff;
    font-size: 2.1rem;
    line-height: 1;
}

.about-stat-grid span {
    display: block;
    margin-top: 0.45rem;
    color: rgba(230, 235, 252, 0.7);
    font-size: 0.84rem;
    font-weight: 700;
}

.about-progress-list {
    display: grid;
    gap: 0.9rem;
}

.about-progress-list div {
    display: grid;
    gap: 0.45rem;
}

.about-progress-list span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    font-weight: 700;
}

.about-progress-list i {
    position: relative;
    display: block;
    height: 9px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
}

.about-progress-list i::after {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--progress);
    border-radius: inherit;
    background: linear-gradient(90deg, #9ee7ff, #5d79ff, #8c53fd);
    box-shadow: 0 0 24px rgba(140, 83, 253, 0.34);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.about-signal-board.is-visible .about-progress-list i::after {
    transform: scaleX(1);
}

.about-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.about-value-card {
    min-height: 220px;
    padding: 1.35rem;
}

.about-value-card span {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #9ee7ff;
    font-weight: 850;
}

.about-value-card h3 {
    font-size: 1.18rem;
}

.about-stack {
    display: grid;
    gap: 1rem;
}

.about-stack div {
    padding: 1.25rem;
}

.about-stack strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
    font-weight: 850;
}

.about-stack p {
    margin: 0;
}

@media (max-width: 991.98px) {
    .about-hero--profile {
        padding: 4.4rem 0 4rem;
    }

    .about-portrait-shell {
        margin: 0 auto;
    }

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

@media (max-width: 575.98px) {
    .about-hero-actions .btn {
        width: 100%;
    }

    .about-portrait-shell {
        width: min(100%, 340px);
    }

    .about-portrait {
        width: min(76%, 250px);
        border-width: 5px;
    }

    .about-portrait-badge {
        right: 50%;
        bottom: 4%;
        min-width: min(100%, 220px);
        transform: translateX(50%);
        text-align: center;
    }

    .about-story-panel,
    .about-signal-board,
    .about-value-card,
    .about-stack div {
        padding: 1.1rem;
    }

    .about-stat-grid {
        grid-template-columns: 1fr;
    }
}
