:root {
    --brand-deep: #030711;
    --brand-ink: #111722;
    --brand-navy: #1e55c9;
    --brand-accent: #2f6bff;
    --brand-mist: #f2f5fa;
    --brand-line: #dbe3ee;
    --radius-card: 1.75rem;
    --radius-field: 1rem;
    --shadow-soft: 0 18px 45px rgba(3, 7, 17, 0.09);
    --surface-page: #ffffff;
    --surface-soft: #f2f5fa;
    --surface-card: #ffffff;
    --text-primary: #111722;
    --text-secondary: #5b6678;
    --motion-fast: 180ms;
    --motion-base: 420ms;
    --ease-premium: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    overflow-x: hidden;
    background: #fff;
}

a,
button,
input,
select,
textarea,
summary {
    outline-offset: 4px;
}

:focus-visible {
    outline: 3px solid #75a1ff;
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: #fff;
    color: var(--brand-deep);
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.material-symbols-rounded {
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 7, 17, 0.62);
    backdrop-filter: blur(18px);
    transition: background var(--motion-base) var(--ease-premium), border-color var(--motion-base) ease, box-shadow var(--motion-base) ease;
}

.page-progress {
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    overflow: hidden;
    pointer-events: none;
}

.page-progress > span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #75a1ff, var(--theme-accent));
    box-shadow: 0 0 10px rgba(47, 107, 255, .45);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.site-header.is-scrolled {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(3, 7, 17, 0.92);
    box-shadow: 0 12px 40px rgba(3, 7, 17, 0.16);
}

.site-header > div {
    transition: padding var(--motion-base) var(--ease-premium);
}

.site-header.is-scrolled > div {
    padding-block: 0.35rem;
}

.site-header nav > a:not(.button) {
    transition: color 180ms ease;
}

.site-header nav > a:not(.button):hover {
    color: #fff;
}

.site-header nav > a:not(.button).is-active {
    color: #fff;
}

.site-header nav > a:not(.button).is-active::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    margin: 0.25rem auto -0.35rem;
    border-radius: 999px;
    background: var(--brand-accent);
    content: "";
}

.brand-logo {
    display: block;
    width: 9.375rem;
    height: 5.25rem;
    overflow: hidden;
    border-radius: 0.75rem;
}

.brand-logo img {
    width: 9.375rem;
    max-width: none;
    height: 9.375rem;
    object-fit: cover;
    transform: translateY(-2.25rem);
}

.menu-toggle {
    display: inline-flex;
    width: 2.9rem;
    height: 2.9rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    transition: background 180ms ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1280px) {
    .menu-toggle {
        display: none !important;
    }
}

.mobile-menu {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem 1.35rem;
    background: var(--brand-deep);
    opacity: 1;
    transform: translateY(0);
    transition: max-height 360ms var(--ease-premium), opacity 220ms ease, transform 360ms var(--ease-premium), padding 360ms var(--ease-premium);
}

.mobile-menu.hidden {
    display: block;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
}

body.menu-open {
    overflow: hidden;
}

.mobile-menu a {
    display: block;
    padding: 0.65rem 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 700;
}

.button {
    display: inline-flex;
    min-height: 3.2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.82rem 1.45rem;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.2;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-small {
    min-height: 2.7rem;
    padding: 0.68rem 1.1rem;
}

.button-primary {
    background: var(--brand-accent);
    color: #fff;
}

.button-primary:hover {
    background: #fff;
    color: var(--brand-deep);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.button-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.button-dark {
    background: var(--brand-deep);
    color: #fff;
}

.button-dark:hover {
    background: var(--brand-navy);
}

.hero-section,
.dark-section,
.contact-section {
    position: relative;
    overflow: hidden;
    background: var(--brand-deep);
    color: #fff;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 14%, rgba(47, 107, 255, 0.24), transparent 25%),
        radial-gradient(circle at 88% 25%, rgba(30, 85, 201, 0.22), transparent 24%);
    pointer-events: none;
}

.hero-glow::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(117, 161, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(117, 161, 255, 0.045) 1px, transparent 1px);
    background-position: center;
    background-size: 54px 54px;
    content: "";
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 88%);
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    position: absolute;
    inset: 12% -8%;
    border-radius: 999px;
    background: rgba(47, 107, 255, 0.18);
    filter: blur(60px);
    content: "";
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.85rem);
    line-height: 1.09;
    letter-spacing: -0.035em;
}

.hero-capability {
    display: flex;
    min-height: 2rem;
    margin-top: 1.2rem;
    align-items: baseline;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    font-weight: 700;
}

.hero-typing {
    display: inline-flex;
    min-width: 12.5rem;
    align-items: baseline;
    color: #a8c5ff;
}

.typing-caret {
    display: inline-block;
    width: 0.08em;
    height: 0.82em;
    margin-left: 0.08em;
    border-radius: 999px;
    background: #75a1ff;
    animation: typing-caret 850ms steps(1) infinite;
    vertical-align: -0.04em;
}

@keyframes typing-caret {
    50% { opacity: 0; }
}

.hero-devices {
    display: grid;
    min-height: 38rem;
    place-items: center;
}

.hero-devices img {
    position: relative;
    z-index: 1;
    width: min(100%, 34rem);
    max-height: 44rem;
    object-fit: contain;
    filter: drop-shadow(0 32px 55px rgba(0, 0, 0, 0.38));
    animation: device-float 7.5s var(--ease-premium) infinite alternate;
    transform: translate3d(var(--pointer-x, 0), var(--pointer-y, 0), 0);
}

.device-badge-web { animation: badge-float 6.4s var(--ease-premium) -1.2s infinite alternate; }
.device-badge-mobile { animation: badge-float 8.2s var(--ease-premium) -3s infinite alternate-reverse; }

@keyframes device-float {
    to { transform: translate3d(var(--pointer-x, 0), calc(var(--pointer-y, 0px) - 7px), 0); }
}

@keyframes badge-float {
    to { translate: 0 -5px; }
}

.device-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(117, 161, 255, 0.28);
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    background: rgba(3, 7, 17, 0.76);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
}

.device-badge .material-symbols-rounded {
    color: #75a1ff;
    font-size: 1rem;
}

.device-badge-web {
    top: 20%;
    left: -1rem;
}

.device-badge-mobile {
    right: -0.6rem;
    bottom: 18%;
}

.hero-panel {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 2rem;
    padding: clamp(1.3rem, 3vw, 2rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.hero-process-card {
    display: flex;
    min-height: 6rem;
    align-items: flex-start;
    gap: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(3, 7, 17, 0.55);
}

.hero-process-card > span {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: rgba(47, 107, 255, 0.2);
    color: #8bb0ff;
    font-size: 0.75rem;
    font-weight: 800;
}

.hero-process-card strong,
.hero-process-card small {
    display: block;
}

.hero-process-card strong {
    color: #fff;
    font-size: 0.9rem;
}

.hero-process-card small {
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    line-height: 1.5;
}

.dark-tag {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.7rem;
    font-weight: 700;
}

.trust-point {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.55;
}

.trust-point .material-symbols-rounded {
    margin-top: 0.08rem;
    color: #75a1ff;
    font-size: 1.15rem;
    filter: drop-shadow(0 0 7px rgba(117, 161, 255, 0.55));
    animation: accent-breathe 3.2s ease-in-out infinite;
}

.trust-point:nth-child(2) .material-symbols-rounded { animation-delay: 350ms; }
.trust-point:nth-child(3) .material-symbols-rounded { animation-delay: 700ms; }

@keyframes accent-breathe {
    0%, 70%, 100% { color: #75a1ff; transform: scale(1); }
    82% { color: #c7d8ff; transform: scale(1.18); }
}

.section-shell {
    width: min(100%, 80rem);
    margin-inline: auto;
    padding: 5rem 1.25rem;
}

.dark-section,
.contact-section {
    padding-block: 5rem;
}

.eyebrow {
    color: var(--brand-navy);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #75a1ff;
}

.section-heading {
    max-width: 48rem;
}

.section-heading h2,
.section-title {
    margin-top: 0.85rem;
    color: #020617;
    font-family: Poppins, sans-serif;
    font-size: clamp(2rem, 4.2vw, 3.65rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    overflow-wrap: normal;
}

.section-heading > p:not(.eyebrow) {
    margin-top: 1rem;
    color: #5b6678;
    font-size: 1.02rem;
    line-height: 1.8;
}

.section-heading-dark h2 {
    color: #fff;
}

.section-heading-dark > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.64);
}

.service-card,
.technology-card,
.investment-card {
    position: relative;
    border: 1px solid #dfe5ed;
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: 0 10px 30px rgba(3, 7, 17, 0.05);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.service-card:hover,
.technology-card:hover,
.investment-card:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 107, 255, 0.4);
    box-shadow: var(--shadow-soft);
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.45rem, 3vw, 2rem);
}

.service-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    place-items: center;
    border: 1px solid rgba(47, 107, 255, 0.18);
    border-radius: 1rem;
    background: rgba(47, 107, 255, 0.08);
    color: var(--brand-navy);
}

.card-label {
    color: var(--brand-navy);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-card h3,
.technology-card h3,
.process-card h3,
.wide-offer h3 {
    margin-top: 0.65rem;
    color: #020617;
    font-family: Poppins, sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
}

.card-description,
.service-note,
.technology-card > p:last-child,
.wide-offer > p:not(.eyebrow, .price, .fine-print) {
    margin-top: 1rem;
    color: #606b7d;
    line-height: 1.75;
}

.feature-list {
    display: grid;
    margin-top: 1.35rem;
    gap: 0.6rem;
    color: #3e4a5c;
    font-size: 0.88rem;
    line-height: 1.55;
}

.feature-list li {
    position: relative;
    padding-left: 1.15rem;
}

.feature-list li::before {
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #75a1ff, var(--brand-accent));
    box-shadow: 0 0 0 0.2rem rgba(47, 107, 255, 0.1), 0 0 10px rgba(47, 107, 255, 0.28);
    content: "";
}

.service-note {
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--brand-accent);
    background: var(--brand-mist);
    font-size: 0.84rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.tag-list span {
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    background: var(--brand-mist);
    color: #526071;
    font-size: 0.68rem;
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    min-height: 2.75rem;
    margin-top: 1rem;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-navy);
    font-size: 0.82rem;
    font-weight: 800;
}

.service-link span {
    transition: transform var(--motion-fast) ease;
}

.service-link:hover span {
    transform: translateX(3px);
}

.section-cta {
    display: flex;
    margin-top: 2rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-radius: var(--radius-card);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--brand-deep);
    color: #fff;
}

.section-cta > div:first-child {
    max-width: 40rem;
}

.section-cta h3 {
    margin-top: 0.6rem;
    font-family: Poppins, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.section-cta p:last-child {
    margin-top: 0.6rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.project-section-header {
    max-width: 42rem;
}

.project-section-header .section-heading {
    margin: 0;
}

.project-section-header h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
}

.project-list {
    display: grid;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,.13);
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.project-list-item + .project-list-item {
    border-top: 1px solid rgba(255,255,255,.1);
}

.project-row {
    display: grid;
    min-height: 6.75rem;
    grid-template-columns: 6rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    transition: background var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.project-row--link:hover,
.project-row--link:focus-visible {
    background: rgba(47,107,255,.075);
    transform: translateX(2px);
}

.project-row--link:focus-visible {
    outline-offset: -3px;
}

.project-mark {
    display: grid;
    width: 6rem;
    height: 4rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .85rem;
}

.project-logo--dark {
    background: #000;
}

.project-logo--light {
    background: #fff;
}

.project-mark img {
    width: 82%;
    height: 76%;
    object-fit: contain;
    transition: transform var(--motion-fast) ease;
}

.project-row--link:hover .project-mark img {
    transform: scale(1.035);
}

.project-row-copy {
    min-width: 0;
}

.project-row-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: rgba(255,255,255,.48);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.project-row-copy h3 {
    margin-top: .35rem;
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.35;
}

.project-row-arrow {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    color: rgba(255,255,255,.68);
    font-size: 1.05rem;
}

.project-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.3rem 0.55rem;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.project-status > span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: currentColor;
}

.status-running {
    background: #fde68a;
    color: #713f12;
}

.status-complete {
    background: #bbf7d0;
    color: #14532d;
}

.technology-card {
    overflow: hidden;
    padding: 2rem;
}

.technology-line {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--brand-accent);
}

.technology-stack {
    margin-top: 1rem;
    color: var(--brand-navy);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.6;
}

.architecture-panel {
    display: grid;
    margin-top: 2rem;
    gap: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(47, 107, 255, 0.18);
    border-radius: var(--radius-card);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background: linear-gradient(135deg, #fff, rgba(47, 107, 255, 0.045));
    box-shadow: var(--shadow-soft);
}

.architecture-copy h3 {
    max-width: 38rem;
    margin-top: 0.65rem;
    color: #020617;
    font-family: Poppins, sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
}

.architecture-copy > p:last-child {
    max-width: 44rem;
    margin-top: 0.85rem;
    color: #5b6678;
    line-height: 1.75;
}

.architecture-flow {
    display: flex;
    align-items: center;
}

.architecture-node {
    display: grid;
    min-width: 8.25rem;
    flex: 1 1 0;
    justify-items: center;
    gap: 0.7rem;
    text-align: center;
}

.architecture-icon {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    border: 1px solid rgba(47, 107, 255, 0.22);
    border-radius: 1rem;
    background: rgba(47, 107, 255, 0.09);
    color: var(--brand-navy);
    box-shadow: 0 10px 24px rgba(30, 85, 201, 0.08);
}

.architecture-node strong,
.architecture-node small {
    display: block;
}

.architecture-node strong {
    color: #172033;
    font-size: 0.78rem;
}

.architecture-node small {
    margin-top: 0.15rem;
    color: #718096;
    font-size: 0.65rem;
}

.architecture-connection {
    position: relative;
    height: 2px;
    flex: 0 1 2.4rem;
    overflow: hidden;
    border-radius: 999px;
    background: #cad5e5;
}

.architecture-connection i {
    position: absolute;
    top: -2px;
    left: -0.4rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--brand-accent);
    box-shadow: 0 0 10px rgba(47, 107, 255, 0.7);
    animation: architecture-data 3.2s ease-in-out infinite;
}

.architecture-connection:nth-of-type(4n) i { animation-delay: -1.1s; }
.architecture-connection:nth-of-type(6n) i { animation-delay: -2.2s; }

@keyframes architecture-data {
    0%, 15% { left: -0.4rem; opacity: 0; }
    28%, 75% { opacity: 1; }
    90%, 100% { left: calc(100% + 0.2rem); opacity: 0; }
}

.positioning-copy {
    border-left: 3px solid var(--brand-accent);
    padding-left: 1rem;
    color: #334155 !important;
    font-weight: 600;
}

.investment-category {
    margin-top: 4rem;
}

.category-heading {
    max-width: 50rem;
    margin-bottom: 1.8rem;
}

.category-heading h3 {
    margin-top: 0.45rem;
    color: #020617;
    font-family: Poppins, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
}

.category-heading > p:last-child,
.category-note {
    margin-top: 0.65rem;
    color: #606b7d;
    line-height: 1.75;
}

.investment-card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.4rem, 3vw, 1.8rem);
}

.investment-grid {
    align-items: start;
}

.investment-grid > .investment-card {
    width: 100%;
    align-self: start;
}

.investment-card h4 {
    margin-top: 0.65rem;
    color: #020617;
    font-family: Poppins, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
}

.investment-subtitle {
    margin-top: 0.45rem;
    color: #718096;
    font-size: 0.82rem;
    font-weight: 600;
}

.price {
    margin-top: 1.25rem;
    color: var(--brand-navy);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
}

details {
    margin-top: 1rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

summary {
    position: relative;
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    padding-right: 1.8rem;
    cursor: pointer;
    color: #1f2937;
    font-size: 0.86rem;
    font-weight: 800;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::marker {
    content: "";
}

summary::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 1.55rem;
    height: 1.55rem;
    border: 1px solid rgba(47, 107, 255, 0.2);
    border-radius: 50%;
    background: rgba(47, 107, 255, 0.08);
    content: "+";
    color: var(--brand-accent);
    font-size: 1.05rem;
    line-height: 1.42rem;
    text-align: center;
    transform: translateY(-50%);
    transition: border-color 180ms ease, background 180ms ease;
}

details[open] > summary::after {
    background: var(--brand-accent);
    color: #fff;
    content: "−";
}

.package-focus {
    display: flex;
    margin-top: 1.25rem;
    align-items: flex-start;
    gap: .7rem;
    border-left: 3px solid var(--brand-accent);
    padding: .8rem .9rem;
    background: rgba(47,107,255,.065);
    color: #46536a;
    font-size: .8rem;
    line-height: 1.55;
}

.package-focus > .material-symbols-rounded {
    margin-top: .05rem;
    color: var(--brand-navy);
    font-size: 1.15rem;
}

.package-focus strong {
    display: block;
    margin-bottom: .15rem;
    color: #172033;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.suitable {
    margin-top: 1.25rem;
    border-radius: 1rem;
    padding: 1rem;
    background: var(--brand-mist);
    color: #536174;
    font-size: 0.83rem;
    line-height: 1.65;
}

.suitable strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.fine-print {
    margin-top: 1.15rem;
    color: #718096;
    font-size: 0.75rem;
    line-height: 1.65;
}

.text-link {
    display: inline-flex;
    margin-top: auto;
    padding-top: 1.4rem;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-navy);
    font-size: 0.86rem;
    font-weight: 800;
}

.system-card {
    border-color: #cbd5e1;
}

.system-card-featured {
    border-color: rgba(47, 107, 255, 0.55);
    background: linear-gradient(180deg, rgba(47, 107, 255, 0.045), #fff 24%);
}

.category-note,
.investment-disclaimer {
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    background: var(--brand-mist);
    font-size: 0.82rem;
}

.wide-offer {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-card);
    padding: clamp(1.5rem, 4vw, 2.3rem);
    background: var(--brand-deep);
    color: #fff;
}

.wide-offer h3 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.wide-offer > p:not(.eyebrow, .price, .fine-print) {
    color: rgba(255, 255, 255, 0.68);
}

.price-light {
    color: #8bb0ff;
}

.wide-offer details {
    border-color: rgba(255, 255, 255, 0.12);
}

.wide-offer summary {
    color: #fff;
}

.feature-list-dark {
    color: rgba(255, 255, 255, 0.7);
}

.fine-print-dark {
    color: rgba(255, 255, 255, 0.5);
}

.wide-offer .button {
    margin-top: 1.5rem;
}

.wide-offer-light {
    border-color: #dbe3ee;
    background: var(--brand-mist);
    color: var(--brand-ink);
}

.wide-offer-light h3,
.wide-offer-light summary {
    color: #020617;
}

.wide-offer-light > p:not(.eyebrow, .price, .fine-print) {
    color: #606b7d;
}

.wide-offer-light details {
    border-color: #dbe3ee;
}

.investment-disclaimer {
    display: grid;
    margin-top: 2rem;
    gap: 0.65rem;
    color: #536174;
    line-height: 1.7;
}

.prose-copy {
    display: grid;
    margin-top: 1.5rem;
    gap: 0.9rem;
    color: #5b6678;
    line-height: 1.8;
}

.key-points {
    display: grid;
    margin-top: 1.6rem;
    gap: 0.75rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
}

.key-points li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.key-points .material-symbols-rounded {
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #75a1ff, var(--brand-accent));
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 5px 14px rgba(47, 107, 255, 0.22);
}

.workspace-image,
.training-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--brand-deep);
    box-shadow: var(--shadow-soft);
}

.workspace-image {
    min-height: 30rem;
}

.workspace-image img {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workspace-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    background:
        linear-gradient(rgba(47, 107, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 107, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 50% 40%, rgba(47, 107, 255, 0.25), transparent 45%),
        var(--brand-deep);
    background-size: 42px 42px, 42px 42px, auto, auto;
    color: #75a1ff;
}

.workspace-fallback .material-symbols-rounded {
    font-size: clamp(2.5rem, 6vw, 4rem);
    opacity: 0.55;
}

.training-image {
    min-height: 34rem;
}

.training-image::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(3, 7, 17, 0.06) 28%, rgba(3, 7, 17, 0.78) 100%);
    content: "";
    pointer-events: none;
}

.training-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
    filter: blur(4px) saturate(0.72) brightness(0.82);
    transform: scale(1.035);
}

.training-image-label {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    background: rgba(3, 7, 17, 0.6);
    color: #fff;
    backdrop-filter: blur(12px);
}

.training-image-label > .material-symbols-rounded {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.9rem;
    background: rgba(47, 107, 255, 0.3);
    color: #a8c5ff;
}

.training-image-label div {
    display: grid;
    gap: 0.15rem;
}

.training-image-label strong {
    font-family: Poppins, sans-serif;
    font-size: 0.95rem;
}

.training-image-label span:last-child {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
}

.list-heading {
    color: #020617;
    font-family: Poppins, sans-serif;
    font-weight: 700;
}

.compact-list {
    display: grid;
    margin-top: 0.8rem;
    gap: 0.5rem;
    color: #5b6678;
    font-size: 0.9rem;
}

.compact-list li::before {
    display: inline-block;
    width: 0.42rem;
    height: 0.42rem;
    margin-right: 0.65rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #75a1ff, var(--brand-accent));
    box-shadow: 0 0 0 0.2rem rgba(47, 107, 255, 0.08);
    content: "";
    vertical-align: 0.08em;
}

.contact-intro h2 {
    margin-top: 0.85rem;
    font-family: Poppins, sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.contact-intro > p:not(.eyebrow) {
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.8;
}

.contact-intro ul {
    display: grid;
    margin-top: 2rem;
    gap: 0.9rem;
}

.contact-email {
    display: flex;
    width: fit-content;
    margin-top: 1.6rem;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid rgba(117, 161, 255, 0.25);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(47, 107, 255, 0.1);
    color: #fff;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-email:hover {
    border-color: rgba(117, 161, 255, 0.6);
    background: rgba(47, 107, 255, 0.18);
    transform: translateY(-2px);
}

.contact-email > .material-symbols-rounded {
    color: #75a1ff;
}

.contact-email > span:last-child {
    display: grid;
}

.contact-email small {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.68rem;
}

.contact-email strong {
    font-size: 0.88rem;
}

.contact-intro li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-intro .material-symbols-rounded {
    color: #75a1ff;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 7px rgba(117, 161, 255, 0.48));
    animation: accent-breathe 3.6s ease-in-out infinite;
}

.contact-intro li:nth-child(2) .material-symbols-rounded { animation-delay: 240ms; }
.contact-intro li:nth-child(3) .material-symbols-rounded { animation-delay: 480ms; }
.contact-intro li:nth-child(4) .material-symbols-rounded { animation-delay: 720ms; }
.contact-intro li:nth-child(5) .material-symbols-rounded { animation-delay: 960ms; }

.contact-card {
    border-radius: var(--radius-card);
    padding: clamp(1.4rem, 4vw, 2.4rem);
    background: #fff;
    color: var(--brand-ink);
}

.contact-card > h3 {
    color: #020617;
    font-family: Poppins, sans-serif;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 800;
}

.contact-card > p {
    margin-top: 0.65rem;
    color: #687386;
    line-height: 1.7;
}

.field-group {
    display: grid;
    align-content: start;
    gap: 0.5rem;
}

.field-group label,
.checkbox-group label {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}

.field-optional {
    color: #7b8798;
    font-size: 0.72rem;
    font-weight: 600;
}

.form-required-note {
    margin-top: 0.7rem;
    color: #687386;
    font-size: 0.76rem;
    font-weight: 700;
}

.form-required-note span {
    color: #be123c;
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-field);
    padding: 0.85rem 1rem;
    background: #f8fafc;
    color: #0f172a;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    border-color: var(--brand-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
    outline: none;
}

.field-group [aria-invalid="true"] {
    border-color: #e11d48;
}

.field-error {
    display: flex;
    width: 100%;
    margin-top: 0.1rem;
    align-items: flex-start;
    gap: 0.35rem;
    color: #be123c;
    font-size: 0.76rem;
    font-weight: 700;
}

.field-error .material-symbols-rounded {
    flex: 0 0 auto;
    font-size: 1rem;
}

.field-help {
    color: #7b8798;
    font-size: 0.72rem;
    line-height: 1.5;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.checkbox-group input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    accent-color: var(--brand-accent);
}

.checkbox-group a {
    color: var(--brand-navy);
    text-decoration: underline;
}

.form-feedback {
    margin-top: 1.25rem;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.6;
}

.form-feedback.form-success {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.form-feedback.form-success > .material-symbols-rounded {
    font-size: 1.4rem;
}

.form-feedback strong,
.form-error-summary strong {
    display: block;
    font-family: Poppins, sans-serif;
}

.form-feedback p,
.form-error-summary p {
    margin-top: 0.2rem;
}

.form-feedback small {
    display: block;
    margin-top: 0.45rem;
    font-weight: 800;
}

.form-error-summary {
    display: flex;
    margin-top: 1.25rem;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid #fecdd3;
    border-radius: 1rem;
    padding: 1rem;
    background: #fff1f2;
    color: #9f1239;
    font-size: 0.8rem;
    line-height: 1.55;
}

.form-error-summary > .material-symbols-rounded {
    flex: 0 0 auto;
}

.form-error-summary ul {
    display: grid;
    margin-top: 0.55rem;
    gap: 0.2rem;
}

.form-error-summary a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-terms {
    color: #6b7789;
    font-size: 0.73rem;
    line-height: 1.65;
}

.form-terms a {
    color: var(--brand-navy);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

[data-contact-submit][aria-busy="true"] .submit-icon {
    animation: submit-pulse 800ms ease-in-out infinite alternate;
}

@keyframes submit-pulse {
    to { opacity: 0.45; transform: translateX(3px); }
}

.investment-disclaimer > a {
    display: inline-flex;
    margin-top: 0.8rem;
    align-items: center;
    gap: 0.35rem;
    color: var(--brand-navy);
    font-weight: 800;
}

.investment-disclaimer > a .material-symbols-rounded {
    font-size: 1rem;
}

.form-success {
    background: #dcfce7;
    color: #166534;
}

.form-error {
    background: #ffe4e6;
    color: #9f1239;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--brand-deep);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    line-height: 1.7;
}

.footer-logo-wrap {
    width: 12.5rem;
    height: 7.2rem;
    margin: -0.9rem 0 0.7rem -1.1rem;
    overflow: hidden;
    border-radius: 0.8rem;
}

.footer-logo {
    width: 12.5rem;
    max-width: none;
    height: 12.5rem;
    object-fit: cover;
    transform: translateY(-2.65rem);
}

.site-footer h2 {
    margin-bottom: 1rem;
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.site-footer ul {
    display: grid;
    gap: 0.45rem;
}

.business-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.business-list .material-symbols-rounded {
    margin-top: 0.1rem;
    color: #75a1ff;
    font-size: 1rem;
}

.site-footer a {
    transition: color 180ms ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: 1.2rem;
}

.cookie-notice {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 80;
    display: grid;
    width: min(31rem, calc(100vw - 2.5rem));
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid rgba(117, 161, 255, 0.28);
    border-radius: 1.25rem;
    padding: 1rem;
    background: rgba(3, 7, 17, 0.96);
    color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 70px rgba(3, 7, 17, 0.38);
    opacity: 0;
    transform: translateY(1rem) scale(0.98);
    transition: opacity 240ms ease, transform 240ms ease;
    backdrop-filter: blur(18px);
}

.cookie-notice.hidden {
    display: none;
}

.cookie-notice.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cookie-notice-icon {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border-radius: 0.9rem;
    background: rgba(47, 107, 255, 0.16);
    color: #75a1ff;
}

.cookie-notice-copy h2 {
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
}

.cookie-notice-copy p {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    line-height: 1.55;
}

.cookie-notice-copy a {
    display: inline-block;
    margin-top: 0.3rem;
    color: #8bb0ff;
    font-size: 0.7rem;
    font-weight: 800;
}

.cookie-notice-button {
    border-radius: 999px;
    padding: 0.65rem 0.85rem;
    background: var(--brand-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    transition: background 180ms ease, transform 180ms ease;
}

.cookie-notice-button:hover {
    background: #4a7dff;
    transform: translateY(-1px);
}

.reveal {
    opacity: 1;
    transform: none;
}

.js-ready .reveal {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

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

.process-timeline {
    --timeline-progress: 0;
    --timeline-start: 1.7rem;
    --timeline-height: calc(100% - 3.4rem);
    position: relative;
    max-width: 68rem;
    margin-inline: auto;
}

.timeline-track {
    position: absolute;
    top: var(--timeline-start);
    left: 50%;
    width: 0.22rem;
    height: var(--timeline-height);
    border-radius: 999px;
    background: #dbe3ee;
    transform: translateX(-50%);
}

.timeline-progress {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--brand-accent);
    transform: scaleY(var(--timeline-progress));
    transform-origin: top;
}

.process-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4rem minmax(0, 1fr);
    align-items: start;
}

.process-marker {
    z-index: 2;
    grid-column: 2;
    display: flex;
    width: 3.4rem;
    height: 3.4rem;
    margin-inline: auto;
    align-items: center;
    justify-content: center;
    border: 0.25rem solid #fff;
    border-radius: 50%;
    background: #dbe3ee;
    color: #475569;
    font-weight: 800;
    transition: color 250ms ease, background 250ms ease, transform 250ms ease;
}

.process-card {
    position: relative;
    width: min(100%, 29rem);
    border: 1px solid #dbe3ee;
    border-radius: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(3, 7, 17, 0.06);
    opacity: 0.82;
    transition: opacity 250ms ease, border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.process-card h3 {
    font-size: 1.25rem;
}

.process-card > p:last-child {
    margin-top: 0.75rem;
    color: #5b6678;
    font-size: 0.9rem;
    line-height: 1.7;
}

.process-step:nth-child(odd) .process-card {
    grid-column: 1;
    justify-self: end;
    margin-right: 1rem;
}

.process-step:nth-child(even) .process-card {
    grid-column: 3;
    justify-self: start;
    margin-left: 1rem;
}

.process-step.is-complete .process-marker,
.process-step.is-current .process-marker {
    background: var(--brand-accent);
    color: #fff;
}

.process-step.is-complete .process-card {
    opacity: 0.94;
}

.process-step.is-current .process-marker {
    box-shadow: 0 0 0 0.4rem rgba(47, 107, 255, 0.14);
    transform: scale(1.06);
}

.process-step.is-current .process-card {
    border-color: rgba(47, 107, 255, 0.45);
    box-shadow: 0 18px 45px rgba(30, 85, 201, 0.13);
    opacity: 1;
    transform: translateY(-2px);
}

@media (min-width: 1024px) {
    .section-shell {
        padding-inline: 2rem;
    }
}

@media (max-width: 1279px) {
    .site-header > div > .theme-toggle {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .architecture-flow {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .architecture-node {
        width: 100%;
        min-width: 0;
        grid-template-columns: auto 1fr;
        align-items: center;
        justify-items: start;
        text-align: left;
    }

    .architecture-connection {
        width: 2px;
        height: 1.6rem;
        margin-left: 1.58rem;
    }

    .architecture-connection i {
        top: -0.4rem;
        left: -2px;
        animation-name: architecture-data-vertical;
    }
}

@media (max-width: 767px) {
    .brand-logo {
        width: 8.5rem;
        height: 4.75rem;
    }

    .brand-logo img {
        width: 8.5rem;
        height: 8.5rem;
        transform: translateY(-2rem);
    }

    .section-shell,
    .dark-section,
    .contact-section {
        padding-block: 4rem;
    }

    .section-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .project-row {
        min-height: 5.8rem;
        grid-template-columns: 4.5rem minmax(0, 1fr) auto;
        gap: .85rem;
        padding-inline: .4rem;
    }

    .project-mark {
        width: 4.5rem;
        height: 3.4rem;
    }

    .project-row-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .project-row-arrow {
        width: 2rem;
        height: 2rem;
    }

    .hero-title {
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

    .hero-capability {
        display: grid;
        gap: 0.15rem;
    }

    .hero-devices {
        min-height: 30rem;
    }

    .device-badge {
        display: none;
    }

    .cookie-notice {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100vw - 1.5rem);
        grid-template-columns: auto 1fr;
    }

    .cookie-notice-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .timeline-track {
        left: 1.7rem;
    }

    .process-step {
        grid-template-columns: 3.4rem minmax(0, 1fr);
        gap: 0.9rem;
    }

    .process-marker {
        grid-column: 1;
    }

    .process-card,
    .process-step:nth-child(odd) .process-card,
    .process-step:nth-child(even) .process-card {
        grid-column: 2;
        justify-self: stretch;
        width: 100%;
        margin: 0;
    }

    .workspace-image,
    .training-image {
        min-height: 24rem;
    }

    .architecture-flow {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .architecture-node {
        width: 100%;
        min-width: 0;
        grid-template-columns: auto 1fr;
        align-items: center;
        justify-items: start;
        text-align: left;
    }

    .architecture-connection {
        width: 2px;
        height: 1.6rem;
        margin-left: 1.58rem;
    }

    .architecture-connection i {
        top: -0.4rem;
        left: -2px;
        animation-name: architecture-data-vertical;
    }
}

@keyframes architecture-data-vertical {
    0%, 15% { top: -0.4rem; opacity: 0; }
    28%, 75% { opacity: 1; }
    90%, 100% { top: calc(100% + 0.2rem); opacity: 0; }
}

@media (max-width: 374px) {
    .button {
        width: 100%;
    }

    .project-status {
        padding-inline: 0.5rem;
        font-size: 0.58rem;
    }

    .process-step {
        grid-template-columns: 2.9rem minmax(0, 1fr);
        gap: 0.7rem;
    }

    .process-marker {
        width: 2.9rem;
        height: 2.9rem;
    }

    .timeline-track {
        left: 1.45rem;
    }
}

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

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

    .js-ready .reveal,
    .reveal,
    .process-card,
    .process-marker {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Semantische thema-afwerking; de hero en footer houden in beide modi hun merkcontrast. */
:root[data-theme="dark"] body { background: var(--theme-bg); color: var(--theme-text); }
:root[data-theme="dark"] .section-shell,
:root[data-theme="dark"] .pricing-section,
:root[data-theme="dark"] .contact-section { background: var(--theme-bg); color: var(--theme-text); }
:root[data-theme="dark"] .service-card,
:root[data-theme="dark"] .technology-card,
:root[data-theme="dark"] .investment-card,
:root[data-theme="dark"] .contact-card,
:root[data-theme="dark"] .process-card,
:root[data-theme="dark"] .architecture-panel { background: var(--theme-surface); border-color: var(--theme-border); color: var(--theme-text); }
:root[data-theme="dark"] .service-card p,
:root[data-theme="dark"] .technology-card p,
:root[data-theme="dark"] .investment-card p,
:root[data-theme="dark"] .process-card p,
:root[data-theme="dark"] .section-heading p { color: var(--theme-muted); }
:root[data-theme="dark"] .bg-brand-mist { background: var(--theme-surface-raised); color: var(--theme-text); }
:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .section-title,
:root[data-theme="dark"] .service-card h3,
:root[data-theme="dark"] .technology-card h3,
:root[data-theme="dark"] .investment-card h4,
:root[data-theme="dark"] .process-card h3,
:root[data-theme="dark"] .category-heading h3,
:root[data-theme="dark"] .list-heading,
:root[data-theme="dark"] .architecture-copy h3,
:root[data-theme="dark"] .architecture-node strong { color: var(--theme-text); }
:root[data-theme="dark"] .prose-copy,
:root[data-theme="dark"] .compact-list,
:root[data-theme="dark"] .key-points,
:root[data-theme="dark"] .category-heading > p:last-child,
:root[data-theme="dark"] .category-note,
:root[data-theme="dark"] .architecture-copy > p:last-child,
:root[data-theme="dark"] .architecture-node small { color: var(--theme-muted); }
:root[data-theme="dark"] .service-note,
:root[data-theme="dark"] .tag-list span,
:root[data-theme="dark"] .package-focus,
:root[data-theme="dark"] .suitable,
:root[data-theme="dark"] .category-note,
:root[data-theme="dark"] .investment-disclaimer { background: var(--theme-surface-raised); color: var(--theme-muted); }
:root[data-theme="dark"] .feature-list,
:root[data-theme="dark"] summary,
:root[data-theme="dark"] .package-focus strong,
:root[data-theme="dark"] .suitable strong { color: var(--theme-text); }
:root[data-theme="dark"] details { border-color: var(--theme-border); }
:root[data-theme="dark"] .system-card-featured { background: linear-gradient(180deg, rgba(47,107,255,.12), var(--theme-surface) 28%); }
:root[data-theme="dark"] .wide-offer-light { background: var(--theme-surface-raised); border-color: var(--theme-border); color: var(--theme-text); }
:root[data-theme="dark"] .wide-offer-light h3,
:root[data-theme="dark"] .wide-offer-light summary { color: var(--theme-text); }
:root[data-theme="dark"] .wide-offer-light > p:not(.eyebrow, .price, .fine-print) { color: var(--theme-muted); }
:root[data-theme="dark"] .architecture-icon { background: rgba(47,107,255,.16); border-color: rgba(117,161,255,.28); color: #a8c5ff; }
:root[data-theme="dark"] .contact-card > h3 { color: var(--theme-text); }
:root[data-theme="dark"] .contact-card > p,
:root[data-theme="dark"] .field-help,
:root[data-theme="dark"] .form-terms { color: var(--theme-muted); }
:root[data-theme="dark"] .field-group label,
:root[data-theme="dark"] .checkbox-group label { color: var(--theme-text); }
:root[data-theme="dark"] .field-optional,
:root[data-theme="dark"] .form-required-note { color: var(--theme-muted); }
:root[data-theme="dark"] .field-group input,
:root[data-theme="dark"] .field-group select,
:root[data-theme="dark"] .field-group textarea { background: var(--theme-surface-raised); border-color: var(--theme-border); color: var(--theme-text); }
:root[data-theme="dark"] .button-dark { background: var(--theme-accent); }
:root[data-theme="light"] .hero-section {
    background: #f6f8fc;
    color: var(--theme-text);
}
:root[data-theme="light"] .hero-glow {
    background:
        radial-gradient(circle at 10% 15%, rgba(47,107,255,.16), transparent 28%),
        radial-gradient(circle at 88% 24%, rgba(31,103,255,.12), transparent 26%),
        linear-gradient(180deg, #f8faff, #eef3fb);
}
:root[data-theme="light"] .hero-glow::before {
    background-image:
        linear-gradient(rgba(30,85,201,.065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,85,201,.065) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 92%);
}
:root[data-theme="light"] .hero-section .hero-title {
    color: #07101f !important;
}
:root[data-theme="light"] .hero-section .eyebrow-light {
    color: var(--brand-navy);
}
:root[data-theme="light"] .hero-capability {
    color: #647086;
}
:root[data-theme="light"] .hero-typing {
    color: var(--brand-navy);
}
:root[data-theme="light"] .typing-caret {
    background: var(--brand-accent);
}
:root[data-theme="light"] .hero-introduction {
    color: #3f4b60 !important;
}
:root[data-theme="light"] .hero-supporting {
    color: #68758a !important;
}
:root[data-theme="light"] .hero-section .button-secondary {
    border-color: rgba(17,23,34,.22);
    color: #172033;
}
:root[data-theme="light"] .hero-section .button-secondary:hover {
    border-color: rgba(47,107,255,.45);
    background: rgba(47,107,255,.07);
    color: #07101f;
}
:root[data-theme="light"] .hero-section .button-primary:hover {
    background: #1e55c9;
    color: #fff;
}
:root[data-theme="light"] .hero-section .trust-point {
    color: #3f4b60;
}
:root[data-theme="light"] .hero-visual::before {
    background: rgba(47,107,255,.13);
}
:root[data-theme="light"] .site-header {
    border-color: rgba(255,255,255,.1);
    background: rgba(3,7,17,.72);
}
:root[data-theme="light"] .site-header.is-scrolled {
    border-color: rgba(117,161,255,.18);
    background: rgba(3,7,17,.94);
    box-shadow: 0 14px 42px rgba(3,7,17,.2);
}
:root[data-theme="light"] .site-header nav > a:not(.button),
:root[data-theme="light"] .menu-toggle { color: rgba(255,255,255,.82); }
:root[data-theme="light"] .site-header nav > a:not(.button):hover,
:root[data-theme="light"] .site-header nav > a:not(.button).is-active { color: #fff; }
:root[data-theme="light"] .mobile-menu { background: rgba(3,7,17,.98); border-color: rgba(117,161,255,.18); }
:root[data-theme="light"] .mobile-menu a { color: rgba(255,255,255,.82); }
.site-header .theme-toggle { flex: 0 0 auto; }
.theme-toggle-mobile { width: 100%; margin-top: .75rem; padding-inline: 1rem; }
