:root {
    --os-bg: #050a12;
    --os-bg-soft: #09111e;
    --os-surface: #0d1726;
    --os-surface-raised: #111e30;
    --os-text: #f5f7fa;
    --os-muted: #9caabd;
    --os-line: rgba(181, 198, 219, 0.16);
    --os-line-strong: rgba(243, 165, 49, 0.46);
    --os-gold: #f3a531;
    --os-gold-light: #ffd07b;
    --os-cyan: #77d4d0;
    --os-coral: #f18f79;
    --os-green: #84c69b;
    --os-shell: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip;
    background: var(--os-bg);
    color: var(--os-text);
    font-family: "Rubik", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

body,
button,
a {
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

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

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

h1,
h2,
h3 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.os-nav a,
.os-lang-switch,
.os-header__cta,
.os-eyebrow,
.os-button,
.os-case__label,
.os-hero__bridge span,
.os-capability-map__core > span,
.os-process li > div > small,
.os-brand--official .os-brand__copy small {
    font-family: "Teko", "Arial Narrow", sans-serif;
}

.os-shell {
    width: min(calc(100% - 32px), var(--os-shell));
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--os-gold-light);
    color: #10151d;
    transform: translateY(-180%);
}

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

:focus-visible {
    outline: 3px solid var(--os-gold-light);
    outline-offset: 4px;
}

.os-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 10, 18, 0.82);
    backdrop-filter: blur(14px);
}

.os-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    min-height: 76px;
    padding-block: 12px;
}

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

.os-brand__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid var(--os-line-strong);
    border-radius: 50%;
}

.os-brand__mark::before,
.os-brand__mark::after,
.os-brand__mark span {
    content: "";
    position: absolute;
    background: var(--os-gold);
}

.os-brand__mark::before {
    width: 16px;
    height: 1px;
}

.os-brand__mark::after {
    width: 1px;
    height: 16px;
}

.os-brand__mark span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    box-shadow: 11px 0 0 var(--os-cyan), -11px 0 0 var(--os-coral);
}

.os-brand__copy {
    display: grid;
    line-height: 1.05;
}

.os-brand__copy strong {
    font-size: 14px;
    text-transform: uppercase;
}

.os-brand__copy small {
    margin-top: 5px;
    color: var(--os-muted);
    font-size: 11px;
}

.os-brand--official {
    gap: 9px;
}

.os-brand__logo {
    display: block;
    width: 126px;
    height: 34px;
    flex: 0 0 auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.24));
    object-fit: contain;
}

.os-brand--official .os-brand__copy {
    display: none;
}

.os-brand--official .os-brand__copy small {
    margin-top: 0;
    color: #c6d0dc;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.os-header__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.os-lang-switch {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 5px;
    color: var(--os-muted);
    font-size: 16px;
    font-weight: 600;
}

.os-lang-switch a {
    display: inline-flex;
    min-width: 22px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.os-lang-switch a:hover,
.os-lang-switch a.is-active {
    color: var(--os-gold-light);
}

.os-lang-switch__divider {
    color: rgba(255, 255, 255, 0.22);
}

.os-nav {
    order: 3;
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.os-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--os-muted);
    font-size: 16px;
    font-weight: 600;
}

.os-nav a:hover {
    color: var(--os-text);
}

.os-header__cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border: 1px solid var(--os-line-strong);
    border-radius: 4px;
    color: var(--os-gold-light);
    font-size: 16px;
    font-weight: 600;
}

.os-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 160px 0 0;
    background:
        linear-gradient(118deg, transparent 0 48%, rgba(119, 212, 208, 0.035) 48% 49%, transparent 49% 100%),
        linear-gradient(145deg, #050a12 0%, #08111e 56%, #07101b 100%);
}

.os-hero::before {
    content: "";
    position: absolute;
    inset: 76px 0 auto 50%;
    z-index: -1;
    width: min(52vw, 760px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243, 165, 49, 0.3), transparent);
}

.os-hero__field {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(120, 150, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 150, 184, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
}

/* Nucleus canvas layer: subtle, non-interactive background behind hero content */
.os-hero__nucleus-canvas {
    position: absolute;
    inset: 0;
    z-index: -2; /* sit behind the existing field */
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    mix-blend-mode: normal;
    will-change: transform, opacity;
    opacity: 0.92;
}

@media (max-width: 720px) {
    /* Reduce intensity on small screens to preserve readability */
    .os-hero__nucleus-canvas { opacity: 0.28; }
}

/* Subtle pointer hit-area hint: non-interactive but allows soft parallax when pointer moves over hero */
.os-hero:not([data-reduced]) .os-hero__nucleus-canvas {
    transition: opacity 420ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .os-hero__nucleus-canvas { display: none; }
}

.os-hero__layout {
    display: grid;
    gap: 28px;
    align-items: center;
}

[data-motion="reveal"] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 580ms ease var(--motion-delay, 0ms), transform 580ms ease var(--motion-delay, 0ms);
    will-change: opacity, transform;
}

[data-motion="reveal"].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.os-nucleus {
    transition: transform 220ms ease-out;
}

.os-nucleus.is-pointer-active {
    transform: translateZ(0);
}

.os-nucleus__node.is-active {
    border-color: rgba(243, 165, 49, 0.55);
    box-shadow: 0 0 26px rgba(243, 165, 49, 0.22);
}

@media (prefers-reduced-motion: reduce) {
    [data-motion="reveal"] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .os-nucleus,
    .os-nucleus__node,
    .os-nucleus.is-pointer-active {
        transition: none !important;
        animation: none !important;
    }
}

.os-hero__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.os-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--os-gold-light);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.os-eyebrow span {
    width: 28px;
    height: 1px;
    background: var(--os-gold);
}

.os-hero h1 {
    max-width: 780px;
    margin-bottom: 24px;
    font-size: 38px;
    line-height: 1.02;
    font-weight: 720;
}

.os-hero h1 > span {
    display: block;
    margin-bottom: 9px;
    color: var(--os-gold-light);
    font-size: 0.42em;
    font-weight: 750;
    line-height: 1.2;
    text-transform: uppercase;
}

.os-hero__lead {
    max-width: 700px;
    margin-bottom: 30px;
    color: #bcc7d6;
    font-size: 17px;
    line-height: 1.7;
}

.os-actions {
    display: grid;
    gap: 12px;
}

.os-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.os-button--primary {
    background: var(--os-gold);
    color: #111720;
}

.os-button--primary:hover {
    background: var(--os-gold-light);
}

.os-button--secondary {
    border-color: var(--os-line);
    background: rgba(255, 255, 255, 0.035);
    color: var(--os-text);
}

.os-button--secondary:hover {
    border-color: rgba(255, 255, 255, 0.34);
}

.os-button--text {
    border-color: transparent;
    color: var(--os-gold-light);
}

.os-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 24px 0 0;
    padding: 0;
    color: var(--os-muted);
    font-size: 12px;
    list-style: none;
}

.os-proof li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.os-proof li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--os-cyan);
}

.os-nucleus {
    position: relative;
    width: 100%;
    height: 310px;
    margin: 0;
    overflow: hidden;
}

.os-nucleus::before {
    content: "";
    position: absolute;
    inset: 26px 18px;
    z-index: 0;
    border: 1px solid rgba(181, 198, 219, 0.1);
    box-shadow: inset 0 0 60px rgba(119, 212, 208, 0.025);
}

.os-nucleus::after {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    z-index: 2;
    width: 46px;
    height: 2px;
    background: var(--os-gold);
    transform: translateX(-50%);
}

.os-nucleus__grid {
    position: absolute;
    inset: 48px 32px 20px;
    background-image:
        linear-gradient(rgba(119, 212, 208, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(119, 212, 208, 0.06) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.72;
}

.os-nucleus__core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: flex;
    width: 208px;
    min-height: 142px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 16px;
    border: 1px solid var(--os-line-strong);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(243, 165, 49, 0.055) 1px, transparent 1px),
        rgba(10, 19, 32, 0.97);
    background-size: 24px 100%;
    box-shadow: 0 0 52px rgba(243, 165, 49, 0.16), inset 0 0 28px rgba(243, 165, 49, 0.055);
    transform: translate(-50%, -50%);
    animation: os-core-signal 7s ease-in-out infinite;
}

@keyframes os-core-signal {
    0%, 100% {
        box-shadow: 0 0 38px rgba(243, 165, 49, 0.12), inset 0 0 24px rgba(243, 165, 49, 0.045);
    }
    50% {
        box-shadow: 0 0 54px rgba(243, 165, 49, 0.2), inset 0 0 32px rgba(243, 165, 49, 0.075);
    }
}

.os-nucleus__core::before,
.os-nucleus__core::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid var(--os-gold);
}

.os-nucleus__core::before {
    top: -5px;
    left: -5px;
}

.os-nucleus__core::after {
    right: -5px;
    bottom: -5px;
}

.os-nucleus__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--os-cyan);
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
}

.os-nucleus__status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--os-cyan);
    box-shadow: 0 0 10px rgba(119, 212, 208, 0.72);
}

.os-nucleus__core-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--os-line);
}

.os-nucleus__count {
    color: var(--os-muted);
    font-size: 9px;
    white-space: nowrap;
}

.os-nucleus__core strong {
    color: var(--os-text);
    font-size: 19px;
    line-height: 1.12;
}

.os-nucleus__core strong em {
    display: block;
    margin-top: 3px;
    color: var(--os-gold-light);
    font-size: 0.76em;
    font-style: normal;
}

.os-nucleus__core small {
    margin-top: 6px;
    color: var(--os-muted);
    font-size: 10px;
}

.os-nucleus__flow {
    display: grid;
    grid-template-columns: auto minmax(20px, 1fr) auto;
    gap: 7px;
    align-items: center;
    margin-top: 11px;
    color: #b8c4d3;
    font-size: 8px;
    text-transform: uppercase;
}

.os-nucleus__flow i {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, var(--os-gold), var(--os-cyan));
}

.os-nucleus__flow i::after {
    content: "";
    position: absolute;
    top: -2px;
    right: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--os-cyan);
}

.os-nucleus__node {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid var(--os-line);
    border-radius: 4px;
    background: rgba(8, 17, 30, 0.97);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    color: #c8d2df;
    font-size: 11px;
    white-space: nowrap;
}

.os-nucleus__node span {
    color: var(--os-gold-light);
    font-size: 9px;
    font-weight: 800;
}

.os-nucleus__node--ai { top: 4%; left: 50%; transform: translateX(-50%); }
.os-nucleus__node--automation { bottom: 3%; left: 50%; transform: translateX(-50%); }
.os-nucleus__node--apps,
.os-nucleus__node--crm,
.os-nucleus__node--property,
.os-nucleus__node--docs,
.os-nucleus__node--design,
.os-nucleus__node--platform { display: none; }

.os-nucleus__path {
    position: absolute;
    z-index: 1;
    background: linear-gradient(90deg, transparent, rgba(119, 212, 208, 0.55), transparent);
    opacity: 0.75;
    animation: os-path-signal 4.8s ease-in-out infinite;
}

@keyframes os-path-signal {
    0%, 100% { opacity: 0.34; }
    50% { opacity: 0.9; }
}

.os-nucleus__path--north,
.os-nucleus__path--south {
    left: 50%;
    width: 1px;
    height: 29%;
    background: linear-gradient(transparent, rgba(119, 212, 208, 0.55), transparent);
}

.os-nucleus__path--north { top: 14%; }
.os-nucleus__path--south { bottom: 13%; }
.os-nucleus__path--west,
.os-nucleus__path--east { top: 50%; width: 34%; height: 1px; }
.os-nucleus__path--west { display: none; left: 13%; }
.os-nucleus__path--east { display: none; right: 13%; }
.os-nucleus__path--north-west,
.os-nucleus__path--north-east,
.os-nucleus__path--south-west,
.os-nucleus__path--south-east { display: none; }

.os-hero__bridge {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 12px;
    border: 1px solid var(--os-line);
    background: var(--os-line);
}

.os-hero__bridge span {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #07101b;
    color: var(--os-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
}

.os-hero__bridge span:last-child {
    grid-column: 1 / -1;
}

.os-section {
    position: relative;
    padding: 72px 0;
}

.os-section__heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.os-section__heading h2,
.os-final h2 {
    margin-bottom: 18px;
    font-size: 32px;
    line-height: 1.08;
}

.os-section__heading > p:last-child,
.os-final__inner > div > p:last-child {
    color: var(--os-muted);
    font-size: 16px;
}

.os-section--experience {
    padding-bottom: 68px;
    background: #f1ede5;
    color: #101721;
}

.os-section--experience::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 103, 39, 0.32), transparent);
}

.os-section--experience .os-eyebrow {
    color: #8a580e;
}

.os-section--experience .os-section__heading > p:last-child {
    color: #566273;
}

.os-capability-map {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 14px;
    padding-left: 20px;
}

.os-capability-map::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 3px;
    z-index: 0;
    width: 1px;
    background: linear-gradient(#c98522, #70b9b7, #c98522);
}

.os-capability-map__core {
    position: relative;
    z-index: 2;
    order: -1;
    padding: 28px;
    border: 1px solid rgba(34, 52, 76, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(rgba(119, 212, 208, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(119, 212, 208, 0.04) 1px, transparent 1px),
        #101b2b;
    background-size: 24px 24px;
    box-shadow: 0 24px 50px rgba(28, 35, 43, 0.14);
    color: var(--os-text);
}

.os-capability-map__core > span {
    display: block;
    margin-bottom: 8px;
    color: var(--os-gold-light);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.os-capability-map__core strong {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
}

.os-capability-map__core p {
    margin-bottom: 0;
    color: #afbbca;
}

.os-capability-map__flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(181, 198, 219, 0.16);
    color: #d8e0e9;
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
}

.os-capability-map__flow i {
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, var(--os-gold), var(--os-cyan));
}

.os-module {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(34, 52, 76, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 30px rgba(26, 38, 54, 0.055);
}

.os-module::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: #c98522;
}

.os-module--crm,
.os-module--property,
.os-module--automation,
.os-module--platform {
    background: rgba(248, 250, 249, 0.9);
}

.os-module--crm::after,
.os-module--property::after,
.os-module--automation::after,
.os-module--platform::after {
    background: #70aead;
}

.os-module::before {
    content: "";
    position: absolute;
    top: 28px;
    left: -19px;
    width: 18px;
    height: 1px;
    background: #c98522;
}

.os-module__code {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(138, 103, 39, 0.28);
    border-radius: 4px;
    background: #fff3df;
    color: #744909;
    font-size: 10px;
    font-weight: 800;
}

.os-module h3 {
    margin-bottom: 5px;
    font-size: 17px;
}

.os-module p {
    margin-bottom: 0;
    color: #637083;
    font-size: 14px;
    line-height: 1.55;
}

.os-section--cases {
    padding-top: 68px;
    background: #07101b;
}

.os-section__heading--split {
    max-width: none;
}

.os-case-grid {
    display: grid;
    gap: 14px;
    grid-auto-flow: dense;
}

.os-case {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--os-line);
    border-radius: 8px;
    background: var(--os-surface);
}

.os-case__label {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--os-gold-light);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.os-case h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.os-case p {
    margin-bottom: 14px;
    color: var(--os-muted);
    font-size: 14px;
}

.os-case ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.os-case li {
    padding: 6px 9px;
    border: 1px solid var(--os-line);
    border-radius: 999px;
    color: #b8c4d3;
    font-size: 10px;
}

.os-case--featured {
    display: grid;
    gap: 22px;
    border-color: rgba(243, 165, 49, 0.38);
    background:
        linear-gradient(90deg, rgba(243, 165, 49, 0.05) 1px, transparent 1px),
        linear-gradient(135deg, #101c2c, #0a1422);
    background-size: 36px 100%, auto;
    box-shadow: inset 3px 0 0 rgba(243, 165, 49, 0.76);
}

.os-case--featured h3 {
    font-size: 28px;
}

.os-case--featured .os-case__label {
    display: flex;
    align-items: center;
    gap: 9px;
}

.os-case--featured .os-case__label::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--os-gold);
}

.os-case__device-stack {
    position: relative;
    width: 246px;
    height: 292px;
    justify-self: center;
}

.os-case__device {
    position: absolute;
    width: 138px;
    height: 270px;
    overflow: hidden;
    padding: 7px;
    border: 1px solid rgba(243, 165, 49, 0.38);
    border-radius: 26px;
    background: #02060b;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
}

.os-case__device--back {
    top: 12px;
    left: 8px;
    opacity: 0.76;
    transform: rotate(-5deg);
}

.os-case__device--front {
    top: 0;
    right: 8px;
    z-index: 2;
    transform: rotate(3deg);
}

.os-case__device img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    object-position: top center;
}

.os-case__product-visual {
    position: relative;
    width: 100%;
    height: 180px;
    min-height: 180px;
    margin-top: auto;
    overflow: hidden;
    border: 1px solid rgba(181, 198, 219, 0.18);
    border-radius: 6px;
    background: #050a12;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
    isolation: isolate;
}

.os-case__product-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    height: 30%;
    background: linear-gradient(transparent, rgba(5, 10, 18, 0.48));
    pointer-events: none;
}

.os-case__product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.os-case__product-visual--habitat img {
    object-position: center 32%;
}

.os-case__product-visual--family img {
    object-position: center;
}

.os-case__product-visual--crm iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 300%;
    border: 0;
    background: #07101b;
    pointer-events: none;
    transform: scale(0.3334);
    transform-origin: top left;
}

.os-case__system {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    min-height: 104px;
    margin-top: auto;
    padding: 14px;
    border: 1px solid rgba(119, 212, 208, 0.18);
    background-image:
        linear-gradient(rgba(119, 212, 208, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(119, 212, 208, 0.05) 1px, transparent 1px);
    background-size: 18px 18px;
}

.os-case__system span {
    align-self: end;
    height: 48%;
    background: rgba(119, 212, 208, 0.24);
}

.os-case__system span:nth-child(2) { height: 82%; }
.os-case__system span:nth-child(3) { height: 64%; }

.os-case__system i {
    position: absolute;
    top: 28%;
    right: 12%;
    left: 12%;
    height: 1px;
    background: var(--os-gold);
    transform: rotate(-9deg);
}

.os-case__system--habitat span { background: rgba(132, 198, 155, 0.25); }
.os-case__system--family span { background: rgba(241, 143, 121, 0.28); }

.os-case__metrics {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
}

.os-case__metrics span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid var(--os-line);
    color: var(--os-gold-light);
    font-size: 11px;
}

.os-case__metrics small {
    color: var(--os-muted);
    font-size: 11px;
}

.os-section--method {
    background: #f6f2ea;
    color: #111923;
}

.os-section--method::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #101b2b 0 28%, #c98522 28% 56%, #70aead 56% 100%);
}

.os-section--method .os-eyebrow {
    color: #8a580e;
}

.os-section--method .os-section__heading > p:last-child {
    color: #596679;
}

.os-process {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: process;
}

.os-process li {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 0 0 32px;
}

.os-process li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 42px;
    bottom: 0;
    left: 20px;
    width: 1px;
    background: rgba(138, 103, 39, 0.3);
}

.os-process li > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(138, 103, 39, 0.34);
    border-radius: 50%;
    background: #fff4e2;
    color: #744909;
    font-size: 11px;
    font-weight: 800;
}

.os-process h3 {
    margin-bottom: 5px;
    font-size: 19px;
}

.os-process li > div > small {
    display: block;
    margin-bottom: 4px;
    color: #8a580e;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.os-process p {
    margin-bottom: 0;
    color: #637083;
    font-size: 14px;
}

.os-process li > div > strong {
    display: block;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid rgba(138, 103, 39, 0.18);
    color: #2d3a4a;
    font-size: 11px;
    font-weight: 750;
}

.os-final {
    position: relative;
    overflow: hidden;
    padding: 84px 0;
    border-top: 1px solid var(--os-line);
    background:
        linear-gradient(116deg, transparent 0 60%, rgba(119, 212, 208, 0.055) 60% 61%, transparent 61% 100%),
        linear-gradient(90deg, rgba(243, 165, 49, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(243, 165, 49, 0.06) 1px, transparent 1px),
        #08111e;
    background-repeat: no-repeat, repeat, repeat, no-repeat;
    background-size: 100% 100%, 42px 42px, 42px 42px, auto;
}

.os-final__inner {
    display: grid;
    gap: 30px;
    padding-left: 22px;
    border-left: 2px solid var(--os-gold);
}

.os-final__inner > div:first-child {
    max-width: 720px;
}

.os-final__actions {
    display: grid;
    gap: 10px;
}

.os-footer {
    padding: 26px 0;
    border-top: 1px solid var(--os-line);
    background: #04080e;
}

.os-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    color: var(--os-muted);
    font-size: 13px;
}

.os-footer p {
    margin-bottom: 0;
}

.os-footer strong,
.os-footer a {
    color: var(--os-text);
}

.os-footer__nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
}

.os-footer__nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--os-muted);
}

.os-footer__nav a:hover {
    color: var(--os-text);
}

@media (min-width: 560px) {
    .os-actions,
    .os-final__actions {
        display: flex;
        flex-wrap: wrap;
    }

    .os-button {
        min-width: 190px;
    }

    .os-hero h1 {
        font-size: 48px;
    }

    .os-nucleus {
        height: 400px;
    }

    .os-nucleus__node--apps,
    .os-nucleus__node--crm,
    .os-nucleus__node--property,
    .os-nucleus__node--docs {
        display: flex;
    }

    .os-nucleus__node--crm { top: 25%; left: 0; }
    .os-nucleus__node--apps { top: 25%; right: 0; }
    .os-nucleus__node--property { right: 0; bottom: 23%; }
    .os-nucleus__node--docs { bottom: 23%; left: 0; }

    .os-nucleus__path--west,
    .os-nucleus__path--east {
        display: block;
    }

    .os-hero__bridge {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .os-hero__bridge span:last-child {
        grid-column: auto;
    }

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

    .os-case__metrics span {
        display: grid;
        justify-content: start;
        gap: 4px;
    }
}

@media (min-width: 760px) {
    .os-shell {
        width: min(calc(100% - 64px), var(--os-shell));
    }

    .os-header__inner {
        flex-wrap: nowrap;
        min-height: 82px;
        padding-block: 0;
    }

    .os-nav {
        order: initial;
        width: auto;
        justify-content: center;
        gap: 28px;
        padding-top: 0;
        border-top: 0;
    }

    .os-nav a {
        min-height: 44px;
        font-size: 16px;
    }

    .os-header__cta {
        min-height: 44px;
        padding-inline: 17px;
    }

    .os-brand__logo {
        width: 142px;
        height: 38px;
    }

    .os-brand--official ~ .os-nav {
        gap: 18px;
    }

    .os-footer__nav {
        width: auto;
        justify-content: flex-end;
        gap-inline: 18px;
    }

    .os-hero {
        padding-top: 144px;
    }

    .os-hero h1 {
        font-size: 54px;
    }

    .os-hero__lead {
        font-size: 18px;
    }

    .os-nucleus {
        height: 500px;
    }

    .os-nucleus::before {
        inset: 38px 24px;
    }

    .os-nucleus::after {
        top: 37px;
    }

    .os-nucleus__grid {
        inset: 68px 44px 30px;
    }

    .os-nucleus__core {
        width: 240px;
        min-height: 166px;
        padding: 20px;
    }

    .os-nucleus__node--design,
    .os-nucleus__node--platform {
        display: flex;
    }

    .os-nucleus__node--design { top: 10%; left: 3%; }
    .os-nucleus__node--platform { top: 10%; right: 3%; }

    .os-nucleus__path--north-west,
    .os-nucleus__path--north-east,
    .os-nucleus__path--south-west,
    .os-nucleus__path--south-east {
        display: block;
        top: 50%;
        left: 50%;
        width: 38%;
        height: 1px;
        transform-origin: left center;
    }

    .os-nucleus__path--north-west { transform: rotate(214deg); }
    .os-nucleus__path--north-east { transform: rotate(326deg); }
    .os-nucleus__path--south-west { transform: rotate(146deg); }
    .os-nucleus__path--south-east { transform: rotate(34deg); }

    .os-section {
        padding: 92px 0;
    }

    .os-section--experience {
        padding-bottom: 78px;
    }

    .os-section--cases {
        padding-top: 82px;
    }

    .os-section__heading {
        margin-bottom: 44px;
    }

    .os-section__heading h2,
    .os-final h2 {
        font-size: 42px;
    }

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

    .os-case--featured {
        grid-column: 1 / -1;
    }

    .os-case--featured {
        grid-template-columns: minmax(0, 1fr) 230px;
        align-items: center;
        padding: 30px;
    }

    .os-case__device-stack {
        width: 230px;
        height: 320px;
    }

    .os-case__device {
        width: 150px;
        height: 292px;
    }

    .os-case__product-visual {
        height: 168px;
        min-height: 168px;
    }

    .os-section__heading--split {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
        gap: 48px;
        align-items: end;
    }

    .os-section__heading--split > p {
        margin-bottom: 4px;
    }

    .os-process {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        border-top: 1px solid rgba(138, 103, 39, 0.25);
    }

    .os-process li {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 30px 20px 0 0;
        border-right: 1px solid rgba(138, 103, 39, 0.12);
    }

    .os-process li:last-child {
        padding-right: 0;
        border-right: 0;
    }

    .os-process li:not(:last-child)::before {
        top: -5px;
        right: 0;
        bottom: auto;
        left: auto;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--os-gold);
    }
}

@media (min-width: 1024px) {
    .os-brand--official .os-brand__copy {
        display: grid;
    }

    .os-brand--official ~ .os-nav {
        gap: 24px;
    }

    .os-hero {
        min-height: 92svh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-top: 128px;
    }

    .os-hero__layout {
        grid-template-columns: minmax(0, 1.04fr) minmax(470px, 0.96fr);
        gap: 48px;
    }

    .os-hero h1 {
        font-size: 62px;
    }

    .os-nucleus {
        height: 560px;
    }

    .os-nucleus__core {
        width: 250px;
        min-height: 172px;
    }

    .os-nucleus__node {
        min-height: 42px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .os-hero__bridge {
        margin-top: 12px;
        margin-bottom: 18px;
    }

    .os-capability-map {
        grid-template-columns: minmax(0, 1fr) 0.82fr minmax(0, 1fr);
        grid-template-areas:
            "ai core crm"
            "apps core property"
            "docs core automation"
            "design core platform";
        gap: 16px 46px;
        align-items: stretch;
        padding-left: 0;
    }

    .os-capability-map::before {
        top: 50%;
        right: 18%;
        bottom: auto;
        left: 18%;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, #c98522, #70b9b7, #c98522);
    }

    .os-capability-map__core {
        grid-area: core;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .os-module::before {
        top: 50%;
        left: auto;
        width: 46px;
    }

    .os-module:nth-of-type(odd)::before {
        right: -47px;
    }

    .os-module:nth-of-type(even)::before {
        left: -47px;
    }

    .os-module--ai { grid-area: ai; }
    .os-module--crm { grid-area: crm; }
    .os-module--apps { grid-area: apps; }
    .os-module--property { grid-area: property; }
    .os-module--docs { grid-area: docs; }
    .os-module--automation { grid-area: automation; }
    .os-module--design { grid-area: design; }
    .os-module--platform { grid-area: platform; }

    .os-case-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .os-case--featured {
        grid-column: span 4;
        grid-template-columns: minmax(0, 1fr) 230px;
    }

    .os-case--crm,
    .os-case--habitat,
    .os-case--family,
    .os-case--public {
        grid-column: span 2;
    }

    .os-case--crm .os-case__system {
        min-height: 150px;
    }

    .os-final__inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
        align-items: end;
    }

    .os-final__actions {
        justify-content: flex-end;
    }
}

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

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

/* =========================================================
   Unified navigation typography — Experience OS standard
========================================================= */

.os-nav a,
.os-header__cta,
.os-lang a,
.os-lang span {
    font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
}

.os-header__cta {
    font-size: 13px;
    letter-spacing: 0;
}
.os-hero__nucleus-canvas {
    opacity: 0.82;
    filter: saturate(1.08) contrast(1.04);
}

@media (max-width: 767px) {
    .os-hero__nucleus-canvas {
        opacity: 0.32;
    }
}

/* Immersive hero nucleus layer — full-width tuning */
.os-hero {
    position: relative;
    overflow: hidden;
}

.os-hero__nucleus-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.84;
    filter: saturate(1.08) contrast(1.04);
}

.os-hero__copy,
.os-hero__visual,
.os-hero__meta,
.os-hero__proof,
.os-hero__actions {
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .os-hero__nucleus-canvas {
        opacity: 0.28;
    }
}