:root {
    --primary: #173f75;
    --primary-dark: #0f2e57;
    --primary-deep: #0b2445;
    --primary-soft: #edf4fc;
    --accent: #d9a441;
    --text: #172033;
    --muted: #64748b;
    --line: #dfe7f0;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;
    --success: #1f7a50;
    --success-soft: #e9f7f0;
    --coming: #8b5f1d;
    --coming-soft: #fff7e8;
    --shadow-sm: 0 10px 30px rgba(15, 47, 89, .07);
    --shadow-md: 0 24px 70px rgba(15, 47, 89, .12);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--surface);
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

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

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(23, 63, 117, .28);
    outline-offset: 4px;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section-pad {
    padding: 104px 0;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    transform: translateY(-180%);
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    font-weight: 700;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(223, 231, 240, .9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 16px;
    letter-spacing: -.01em;
    color: var(--primary-dark);
}

.brand-copy small {
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.primary-nav > a {
    text-decoration: none;
    color: #42536a;
    font-size: 14px;
    font-weight: 650;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.primary-nav > a:hover {
    color: var(--primary);
}

.primary-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(23, 63, 117, .18);
}

.primary-nav .nav-cta:hover {
    color: #fff;
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-dark);
}

.hero {
    position: relative;
    overflow: hidden;
    padding-top: 92px;
    padding-bottom: 92px;
    background:
        radial-gradient(circle at 12% 14%, rgba(23, 63, 117, .10), transparent 33%),
        radial-gradient(circle at 88% 78%, rgba(217, 164, 65, .10), transparent 25%),
        linear-gradient(180deg, #f9fbfe 0%, #ffffff 82%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.hero-glow-a {
    width: 320px;
    height: 320px;
    top: -180px;
    right: 10%;
    background: rgba(23, 63, 117, .06);
}

.hero-glow-b {
    width: 220px;
    height: 220px;
    bottom: -130px;
    left: 4%;
    background: rgba(217, 164, 65, .08);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
    align-items: center;
    gap: 72px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
}

.eyebrow {
    padding: 9px 12px;
    border: 1px solid #d7e4f3;
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 28px rgba(15, 47, 89, .05);
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: 1.03;
    letter-spacing: -.045em;
    color: var(--primary-deep);
}

.hero h1 span {
    color: var(--primary);
}

.hero-lead {
    max-width: 720px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.75;
    color: #506176;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    text-decoration: none;
    font-weight: 780;
    font-size: 14px;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 14px 30px rgba(23, 63, 117, .20);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 18px 38px rgba(23, 63, 117, .24);
}

.btn-secondary {
    background: #fff;
    border-color: var(--line);
    color: var(--primary-dark);
    box-shadow: 0 10px 26px rgba(15, 47, 89, .06);
}

.btn-secondary:hover {
    border-color: #bfd1e6;
    box-shadow: 0 14px 32px rgba(15, 47, 89, .09);
}

.hero-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 28px;
    color: #627287;
    font-size: 13px;
    font-weight: 650;
}

.hero-signals span {
    position: relative;
    padding-left: 15px;
}

.hero-signals span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-main {
    position: relative;
    width: min(100%, 500px);
    min-height: 388px;
    padding: 28px;
    border: 1px solid rgba(192, 208, 227, .78);
    border-radius: 30px;
    background: rgba(255, 255, 255, .93);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.visual-main::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -110px;
    right: -80px;
    border-radius: 50%;
    background: rgba(23, 63, 117, .055);
}

.visual-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.visual-topline img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.visual-topline div {
    display: flex;
    flex-direction: column;
}

.visual-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.visual-topline strong {
    margin-top: 5px;
    font-size: 18px;
    line-height: 1.3;
    color: var(--primary-dark);
}

.flow-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.flow-node {
    min-width: 0;
    padding: 15px 10px;
    border: 1px solid #e3eaf3;
    border-radius: 16px;
    background: #fbfdff;
    text-align: center;
}

.flow-node span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    border-radius: 9px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11px;
    font-weight: 850;
}

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

.flow-node strong {
    font-size: 13px;
    color: var(--primary-dark);
}

.flow-node small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
}

.flow-line {
    width: 18px;
    height: 1px;
    background: #c9d7e7;
}

.visual-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    padding: 13px 14px;
    border-radius: 14px;
    background: #f6faf8;
    color: #4f6b5b;
    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2e9d68;
    box-shadow: 0 0 0 5px rgba(46, 157, 104, .10);
}

.floating-note {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 220px;
    padding: 12px 14px;
    border: 1px solid rgba(216, 226, 238, .9);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 40px rgba(15, 47, 89, .10);
}

.note-ai {
    top: 28px;
    right: -18px;
}

.note-coach {
    bottom: 22px;
    left: -24px;
}

.mini-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11px;
    font-weight: 850;
}

.floating-note strong,
.floating-note small {
    display: block;
}

.floating-note strong {
    font-size: 12px;
    color: var(--primary-dark);
}

.floating-note small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
}

.support-strip {
    border-top: 1px solid #edf1f6;
    border-bottom: 1px solid #edf1f6;
    background: #fbfcfe;
}

.support-strip-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.support-strip p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.support-mini-logos {
    display: flex;
    align-items: center;
    gap: 24px;
}

.support-mini-logos img:first-child {
    width: 90px;
    max-height: 42px;
    object-fit: contain;
}

.support-mini-logos img:last-child {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.section-heading {
    max-width: 780px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.model-copy h2,
.collaboration-card h2,
.cta-card h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.14;
    letter-spacing: -.035em;
    color: var(--primary-deep);
}

.section-heading > p,
.model-copy > p,
.collaboration-card > div > p,
.cta-card > div > p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 78px;
    align-items: start;
}

.about-copy > p {
    margin: 0 0 18px;
    color: #526379;
    font-size: 16px;
    line-height: 1.8;
}

.principles {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.principles article {
    display: grid;
    grid-template-columns: 48px 140px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.principles article > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11px;
    font-weight: 850;
}

.principles h3,
.principles p {
    margin: 0;
}

.principles h3 {
    color: var(--primary-dark);
    font-size: 14px;
}

.principles p {
    color: var(--muted);
    font-size: 13px;
}

.ecosystem-section {
    background: var(--surface-soft);
    border-top: 1px solid #edf1f6;
    border-bottom: 1px solid #edf1f6;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.ecosystem-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #dfe6ef;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 47, 89, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ecosystem-card.is-active:hover {
    transform: translateY(-4px);
    border-color: #c2d3e6;
    box-shadow: 0 20px 50px rgba(15, 47, 89, .09);
}

.ecosystem-card.is-active {
    border-top: 3px solid var(--primary);
}

.ecosystem-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ecosystem-code {
    color: #8a98a9;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.status-badge.active {
    background: var(--success-soft);
    color: var(--success);
}

.status-badge.coming {
    background: var(--coming-soft);
    color: var(--coming);
}

.ecosystem-subtitle {
    margin: 28px 0 7px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ecosystem-card h3 {
    margin: 0;
    color: var(--primary-deep);
    font-size: 22px;
    letter-spacing: -.02em;
}

.ecosystem-desc {
    margin: 13px 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.card-link.disabled {
    color: #9aa6b5;
    cursor: default;
}

.model-section {
    position: relative;
    overflow: hidden;
}

.model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 78px;
    align-items: center;
}

.model-copy .text-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 24px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.model-flow {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, #fbfdff, #f6f9fd);
    box-shadow: var(--shadow-sm);
}

.model-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    border: 1px solid #e2e9f2;
    border-radius: 16px;
    background: #fff;
}

.model-step > span {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
}

.model-step strong,
.model-step small {
    display: block;
}

.model-step strong {
    color: var(--primary-dark);
    font-size: 14px;
}

.model-step small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.model-step.model-outcome {
    border-color: #d8e8df;
    background: #f8fcfa;
}

.model-step.model-outcome > span {
    background: var(--success-soft);
    color: var(--success);
}

.model-arrow {
    height: 24px;
    display: grid;
    place-items: center;
    color: #9aaabd;
    font-size: 17px;
}

.journey-section {
    background:
        linear-gradient(180deg, rgba(237, 244, 252, .52), rgba(255,255,255,1));
    border-top: 1px solid #edf1f6;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.journey-card {
    position: relative;
    min-height: 205px;
    padding: 20px 16px;
    border: 1px solid #dde6f0;
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
}

.journey-card::after {
    content: "";
    position: absolute;
    top: 35px;
    right: -13px;
    width: 13px;
    height: 1px;
    background: #cbd8e6;
}

.journey-card:last-child::after {
    display: none;
}

.journey-card > span {
    display: inline-flex;
    margin-bottom: 36px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.journey-card h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 16px;
}

.journey-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.team-section {
    background: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 940px;
    margin: 44px auto 0;
}

.team-card {
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 47, 89, .05);
}

.team-card.featured {
    border-color: #c8d8e9;
    background: linear-gradient(180deg, #fbfdff, #f5f9fd);
}

.team-role {
    color: var(--primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.team-card h3 {
    margin: 18px 0 10px;
    color: var(--primary-deep);
    font-size: 22px;
    letter-spacing: -.02em;
}

.team-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.team-card a {
    display: inline-flex;
    gap: 6px;
    margin-top: 22px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.collaboration-section {
    padding-top: 40px;
}

.collaboration-card {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 48px;
    align-items: center;
    padding: 46px;
    border: 1px solid #dce5ef;
    border-radius: 30px;
    background: linear-gradient(135deg, #fbfdff 0%, #f4f8fd 100%);
    box-shadow: var(--shadow-sm);
}

.collaboration-logos {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 14px;
    align-items: stretch;
}

.logo-box {
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #dfe7f0;
    border-radius: 19px;
    background: #fff;
}

.logo-box.wide img {
    width: min(180px, 90%);
    max-height: 78px;
    object-fit: contain;
}

.logo-box.emblem img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.cta-section {
    padding: 56px 0 92px;
}

.cta-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 38px;
    align-items: center;
    padding: 50px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-deep), var(--primary));
    color: #fff;
    box-shadow: 0 28px 70px rgba(15, 47, 89, .18);
}

.cta-card::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -120px;
    top: -160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.section-kicker.light {
    color: #d9e8f9;
}

.cta-card h2 {
    max-width: 760px;
    color: #fff;
}

.cta-card > div > p {
    max-width: 720px;
    color: #d9e4ef;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 184px;
}

.btn-light {
    background: #fff;
    color: var(--primary-dark);
}

.btn-outline-light {
    border-color: rgba(255,255,255,.32);
    background: rgba(255,255,255,.05);
    color: #fff;
}

.site-footer {
    border-top: 1px solid #e7edf4;
    background: #fbfcfe;
}

.footer-grid {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.footer-brand strong {
    color: var(--primary-dark);
    font-size: 16px;
}

.footer-brand p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.footer-links a {
    color: #53657b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #e7edf4;
    color: #8491a1;
    font-size: 11px;
}

.back-to-top {
    position: fixed;
    z-index: 80;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #dce5ef;
    border-radius: 13px;
    background: rgba(255, 255, 255, .94);
    color: var(--primary);
    box-shadow: 0 12px 30px rgba(15, 47, 89, .10);
    text-decoration: none;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}

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

.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background: radial-gradient(circle at 20% 10%, rgba(23, 63, 117, .10), transparent 35%), #f8fafc;
}

.error-shell {
    width: min(100%, 520px);
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.error-shell img {
    margin: 0 auto 18px;
}

.error-code {
    display: block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
}

.error-shell h1 {
    margin: 12px 0 8px;
    color: var(--primary-deep);
    font-size: 32px;
}

.error-shell p {
    margin: 0 0 24px;
    color: var(--muted);
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 42px;
    }

    .hero h1 {
        font-size: clamp(40px, 5.7vw, 60px);
    }

    .hero-visual {
        min-height: 470px;
    }

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

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

    .journey-card::after {
        display: none;
    }
}

@media (max-width: 860px) {
    .section-pad {
        padding: 78px 0;
    }

    .nav-shell {
        min-height: 70px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 20px 24px;
        border-bottom: 1px solid var(--line);
        background: rgba(255,255,255,.98);
        box-shadow: 0 20px 45px rgba(15,47,89,.10);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .primary-nav > a {
        padding: 13px 8px;
        border-bottom: 1px solid #edf1f6;
    }

    .primary-nav .nav-cta {
        margin-top: 8px;
        justify-content: center;
        border-bottom: 0;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero h1,
    .hero-lead {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-signals {
        justify-content: center;
    }

    .hero-visual {
        width: min(100%, 600px);
        margin-inline: auto;
        min-height: 470px;
    }

    .about-grid,
    .model-grid,
    .collaboration-card {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .principles article {
        grid-template-columns: 48px 130px 1fr;
    }

    .collaboration-logos {
        max-width: 480px;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section-pad {
        padding: 64px 0;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-copy strong {
        font-size: 14px;
    }

    .brand-copy small {
        font-size: 9px;
    }

    .hero {
        padding-top: 54px;
        padding-bottom: 64px;
    }

    .eyebrow {
        max-width: 100%;
        justify-content: center;
        font-size: 10px;
        line-height: 1.45;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .hero-lead {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-signals {
        gap: 9px 14px;
        font-size: 12px;
    }

    .hero-visual {
        min-height: auto;
        padding: 20px 0 62px;
    }

    .visual-main {
        min-height: auto;
        padding: 20px;
        border-radius: 24px;
    }

    .visual-topline img {
        width: 58px;
        height: 58px;
    }

    .visual-topline strong {
        font-size: 15px;
    }

    .flow-panel {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .flow-line {
        width: 1px;
        height: 12px;
        margin-inline: auto;
    }

    .flow-node {
        display: grid;
        grid-template-columns: 36px 1fr;
        grid-template-rows: auto auto;
        column-gap: 10px;
        text-align: left;
        padding: 12px;
    }

    .flow-node span {
        grid-row: 1 / 3;
        margin: 0;
        align-self: center;
    }

    .flow-node small {
        margin-top: 1px;
    }

    .floating-note {
        max-width: calc(100% - 24px);
    }

    .note-ai {
        top: 0;
        right: 6px;
        transform: translateY(-20%);
    }

    .note-coach {
        bottom: 0;
        left: 6px;
    }

    .support-strip-inner {
        padding: 16px 0;
        flex-direction: column;
        gap: 10px;
    }

    .section-heading h2,
    .model-copy h2,
    .collaboration-card h2,
    .cta-card h2 {
        font-size: clamp(30px, 9vw, 40px);
    }

    .about-grid {
        gap: 30px;
    }

    .principles article {
        grid-template-columns: 44px 1fr;
        gap: 8px 12px;
        align-items: start;
    }

    .principles article > span {
        grid-row: 1 / 3;
    }

    .principles p {
        grid-column: 2;
    }

    .ecosystem-grid,
    .team-grid,
    .journey-grid {
        grid-template-columns: 1fr;
    }

    .ecosystem-card {
        min-height: 280px;
    }

    .journey-card {
        min-height: auto;
        padding: 20px;
    }

    .journey-card > span {
        margin-bottom: 18px;
    }

    .collaboration-card {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .collaboration-logos {
        grid-template-columns: 1fr 104px;
    }

    .logo-box {
        min-height: 110px;
        padding: 14px;
    }

    .logo-box.emblem img {
        width: 68px;
        height: 68px;
    }

    .cta-section {
        padding-top: 20px;
        padding-bottom: 64px;
    }

    .cta-card {
        padding: 30px 22px;
        border-radius: 24px;
    }

    .cta-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .footer-grid {
        min-height: auto;
        padding: 32px 0;
        align-items: flex-start;
        flex-direction: column;
    }

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

    .footer-bottom {
        min-height: auto;
        padding: 18px 0 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

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

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

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

/* ==========================================================================\n   Motion Enhancement v1.1\n   ========================================================================== */

.site-header {
    transition: min-height .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .965);
    border-bottom-color: rgba(202, 215, 230, .92);
    box-shadow: 0 10px 34px rgba(15, 47, 89, .075);
}

.site-header.is-scrolled .nav-shell {
    min-height: 70px;
}

.site-header .nav-shell {
    transition: min-height .28s ease;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.hero::before {
    width: 10px;
    height: 10px;
    left: 8%;
    top: 22%;
    background: rgba(217, 164, 65, .52);
    box-shadow:
        78px 146px 0 -2px rgba(23, 63, 117, .18),
        305px -74px 0 -3px rgba(217, 164, 65, .32),
        615px 178px 0 -3px rgba(23, 63, 117, .16),
        890px -35px 0 -2px rgba(217, 164, 65, .24);
    animation: heroParticles 10s ease-in-out infinite alternate;
}

.hero::after {
    width: 520px;
    height: 520px;
    right: -310px;
    top: 36px;
    border: 1px solid rgba(23, 63, 117, .06);
    box-shadow: inset 0 0 80px rgba(23, 63, 117, .025);
    animation: haloDrift 14s ease-in-out infinite alternate;
}

.hero-glow-a {
    animation: glowA 10s ease-in-out infinite alternate;
}

.hero-glow-b {
    animation: glowB 12s ease-in-out infinite alternate;
}

.hero-copy .eyebrow {
    position: relative;
    overflow: hidden;
}

.hero-copy .eyebrow::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    left: -64px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
    transform: skewX(-18deg);
    animation: eyebrowSweep 5.6s ease-in-out 1.4s infinite;
}

.hero h1 span {
    position: relative;
    background: linear-gradient(105deg, var(--primary-deep) 0%, var(--primary) 36%, #2f6aa9 58%, var(--primary) 78%, var(--primary-deep) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShimmer 7s linear infinite;
}

.hero-signals span::before {
    animation: signalPulse 2.5s ease-in-out infinite;
}

.hero-signals span:nth-child(2)::before { animation-delay: .45s; }
.hero-signals span:nth-child(3)::before { animation-delay: .9s; }

.hero-visual {
    --parallax-x: 0px;
    --parallax-y: 0px;
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
    transition: transform .28s ease-out;
    perspective: 1100px;
    isolation: isolate;
}

.hero-orbit {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    border: 1px dashed rgba(23, 63, 117, .14);
    pointer-events: none;
}

.hero-orbit span {
    position: absolute;
    left: 50%;
    top: -5px;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(217, 164, 65, .10);
}

.orbit-one {
    width: 510px;
    height: 510px;
    animation: orbitSpin 28s linear infinite;
}

.orbit-two {
    width: 425px;
    height: 425px;
    border-style: solid;
    border-color: rgba(23, 63, 117, .075);
    animation: orbitSpinReverse 22s linear infinite;
}

.orbit-two span {
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(23, 63, 117, .08);
}

.hero-spark {
    position: absolute;
    z-index: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(23, 63, 117, .42);
    box-shadow: 0 0 0 7px rgba(23, 63, 117, .055);
    animation: sparkFloat 5s ease-in-out infinite;
}

.spark-one { right: 8%; top: 12%; }
.spark-two { left: 5%; top: 37%; animation-delay: -1.7s; background: rgba(217, 164, 65, .58); }
.spark-three { right: 2%; bottom: 26%; animation-delay: -3.1s; }

.visual-main {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-style: preserve-3d;
    transition: transform .3s ease-out, box-shadow .3s ease;
    animation: visualFloat 6.8s ease-in-out infinite;
}

.visual-main::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -45%;
    width: 34%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent);
    transform: rotate(16deg);
    animation: cardSheen 7.8s ease-in-out 1.8s infinite;
    pointer-events: none;
}

.visual-topline img {
    animation: logoBreathe 5.2s ease-in-out infinite;
}

.flow-node {
    position: relative;
    overflow: hidden;
    transition: border-color .4s ease, background .4s ease, transform .4s ease, box-shadow .4s ease;
}

.flow-node::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: transform .55s ease;
}

.flow-node.is-active {
    border-color: #c7d8eb;
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(23, 63, 117, .08);
}

.flow-node.is-active::after { transform: scaleX(1); }
.flow-node.is-active span { animation: nodePulse 1.15s ease-in-out; }

.flow-line {
    position: relative;
    overflow: hidden;
}

.flow-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateX(-115%);
    animation: flowDash 2.1s ease-in-out infinite;
}

.status-dot {
    animation: onlinePulse 2.2s ease-out infinite;
}

.floating-note {
    --note-x: 0px;
    --note-y: 0px;
    transition: transform .3s ease-out, box-shadow .3s ease, border-color .3s ease;
}

.note-ai {
    animation: noteFloatAi 5.6s ease-in-out infinite;
}

.note-coach {
    animation: noteFloatCoach 6.4s ease-in-out infinite;
}

.support-mini-logos img {
    transition: transform .3s ease, filter .3s ease;
}

.support-mini-logos img:first-child { animation: supportFloat 6s ease-in-out infinite; }
.support-mini-logos img:last-child { animation: supportFloat 6s ease-in-out -2.3s infinite; }

.section-kicker::before {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--accent);
    transform-origin: left;
    animation: kickerLine 3.6s ease-in-out infinite;
}

.ecosystem-card,
.team-card,
.journey-card,
.principles article,
.model-step {
    will-change: transform;
}

.motion-card {
    --card-rx: 0deg;
    --card-ry: 0deg;
    --glow-x: 50%;
    --glow-y: 50%;
    position: relative;
    transform: perspective(900px) rotateX(var(--card-rx)) rotateY(var(--card-ry));
    transform-style: preserve-3d;
    transition: transform .22s ease-out, box-shadow .22s ease, border-color .22s ease;
    overflow: hidden;
}

.motion-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(23, 63, 117, .08), transparent 38%);
    transition: opacity .25s ease;
}

.motion-card:hover::after { opacity: 1; }

.ecosystem-card.is-coming:hover {
    transform: translateY(-3px);
    border-color: #e2d5bc;
    box-shadow: 0 18px 45px rgba(92, 67, 23, .07);
}

.status-badge.active {
    position: relative;
    padding-left: 24px;
}

.status-badge.active::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: currentColor;
    animation: activeBadgePulse 2s ease-out infinite;
}

.model-flow {
    position: relative;
    overflow: hidden;
}

.model-flow::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -95px;
    top: -95px;
    border-radius: 50%;
    background: rgba(23, 63, 117, .045);
    animation: modelHalo 7s ease-in-out infinite alternate;
}

.model-step {
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.model-step:hover {
    transform: translateX(5px);
    border-color: #cbd9e9;
    box-shadow: 0 10px 25px rgba(15, 47, 89, .055);
}

.model-arrow {
    animation: arrowBounce 2s ease-in-out infinite;
}

.journey-card {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.journey-card:hover {
    transform: translateY(-6px);
    border-color: #c2d4e8;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 47, 89, .085);
}

.journey-card > span {
    transition: transform .3s ease, color .3s ease;
}

.journey-card:hover > span {
    transform: translateY(-3px) scale(1.08);
    color: var(--accent);
}

.journey-card::after {
    overflow: hidden;
    background: linear-gradient(90deg, #cbd8e6 0%, var(--primary) 50%, #cbd8e6 100%);
    background-size: 200% 100%;
    animation: journeyConnector 3.2s linear infinite;
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: -60%;
    bottom: -60%;
    left: -45%;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent);
    transform: rotate(15deg);
    animation: buttonSweep 5.2s ease-in-out 1.2s infinite;
}

.card-link:not(.disabled) span,
.primary-nav .nav-cta span,
.btn-primary span {
    transition: transform .22s ease;
}

.card-link:not(.disabled):hover span,
.primary-nav .nav-cta:hover span,
.btn-primary:hover span {
    transform: translate(2px, -2px);
}

.cta-card {
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -120px;
    top: -150px;
    border-radius: 50%;
    background: rgba(255,255,255,.055);
    animation: ctaHalo 7s ease-in-out infinite alternate;
}

.back-to-top {
    opacity: 0;
    transform: translateY(12px) scale(.92);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.reveal {
    --reveal-delay: 0ms;
    opacity: 0;
    transform: translateY(24px) scale(.985);
    filter: blur(5px);
    transition:
        opacity .72s cubic-bezier(.2,.75,.25,1) var(--reveal-delay),
        transform .72s cubic-bezier(.2,.75,.25,1) var(--reveal-delay),
        filter .72s ease var(--reveal-delay);
}

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

@keyframes heroParticles {
    0% { transform: translate3d(0,0,0); opacity: .7; }
    100% { transform: translate3d(18px,-15px,0); opacity: 1; }
}

@keyframes haloDrift {
    from { transform: translate3d(0,0,0) scale(.96); }
    to { transform: translate3d(-28px,20px,0) scale(1.04); }
}

@keyframes glowA {
    from { transform: translate3d(0,0,0) scale(1); }
    to { transform: translate3d(-34px,28px,0) scale(1.12); }
}

@keyframes glowB {
    from { transform: translate3d(0,0,0) scale(.92); }
    to { transform: translate3d(38px,-22px,0) scale(1.08); }
}

@keyframes eyebrowSweep {
    0%, 64% { left: -64px; opacity: 0; }
    74% { opacity: 1; }
    88%, 100% { left: calc(100% + 64px); opacity: 0; }
}

@keyframes textShimmer {
    to { background-position: -220% center; }
}

@keyframes signalPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217,164,65,.20); }
    50% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(217,164,65,0); }
}

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinReverse { to { transform: rotate(-360deg); } }

@keyframes sparkFloat {
    0%,100% { transform: translate3d(0,0,0); opacity: .55; }
    50% { transform: translate3d(6px,-12px,0); opacity: 1; }
}

@keyframes visualFloat {
    0%,100% { translate: 0 0; }
    50% { translate: 0 -7px; }
}

@keyframes cardSheen {
    0%, 58% { left: -45%; opacity: 0; }
    67% { opacity: .9; }
    82%, 100% { left: 120%; opacity: 0; }
}

@keyframes logoBreathe {
    0%,100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.045) rotate(1.2deg); }
}

@keyframes nodePulse {
    0% { transform: scale(.94); }
    55% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes flowDash {
    0% { transform: translateX(-115%); }
    55%,100% { transform: translateX(115%); }
}

@keyframes onlinePulse {
    0% { box-shadow: 0 0 0 0 rgba(46,157,104,.28); }
    70% { box-shadow: 0 0 0 8px rgba(46,157,104,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,157,104,0); }
}

@keyframes noteFloatAi {
    0%,100% { transform: translate3d(var(--note-x), calc(var(--note-y) + 0px), 0); }
    50% { transform: translate3d(var(--note-x), calc(var(--note-y) - 8px), 0); }
}

@keyframes noteFloatCoach {
    0%,100% { transform: translate3d(var(--note-x), calc(var(--note-y) + 0px), 0); }
    50% { transform: translate3d(var(--note-x), calc(var(--note-y) + 7px), 0); }
}

@keyframes supportFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes kickerLine {
    0%,100% { transform: scaleX(.55); opacity: .55; }
    50% { transform: scaleX(1); opacity: 1; }
}

@keyframes activeBadgePulse {
    0% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
    70% { box-shadow: 0 0 0 5px transparent; opacity: .85; }
    100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

@keyframes modelHalo {
    from { transform: translate(0,0) scale(.92); }
    to { transform: translate(-28px,22px) scale(1.12); }
}

@keyframes arrowBounce {
    0%,100% { transform: translateY(-2px); opacity: .65; }
    50% { transform: translateY(3px); opacity: 1; }
}

@keyframes journeyConnector {
    to { background-position: -200% 0; }
}

@keyframes buttonSweep {
    0%, 65% { left: -45%; opacity: 0; }
    74% { opacity: 1; }
    90%,100% { left: 125%; opacity: 0; }
}

@keyframes ctaHalo {
    from { transform: translate3d(0,0,0) scale(1); }
    to { transform: translate3d(-34px,24px,0) scale(1.1); }
}

@media (max-width: 900px) {
    .hero-orbit { display: none; }
    .hero-spark { opacity: .55; }
}

@media (hover: none), (pointer: coarse) {
    .motion-card { transform: none !important; }
    .ecosystem-card:hover,
    .journey-card:hover,
    .model-step:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .hero-glow,
    .hero-orbit,
    .hero-spark,
    .visual-main,
    .visual-main::after,
    .visual-topline img,
    .flow-line::after,
    .status-dot,
    .floating-note,
    .support-mini-logos img,
    .section-kicker::before,
    .status-badge.active::before,
    .model-flow::before,
    .model-arrow,
    .journey-card::after,
    .btn-primary::after,
    .cta-card::before,
    .hero-copy .eyebrow::after,
    .hero-signals span::before {
        animation: none !important;
    }

    .hero h1 span {
        background: none;
        color: var(--primary);
        -webkit-text-fill-color: currentColor;
    }

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

@media (max-width: 560px) {
    /* Preserve the original mobile placement of the floating notes. */
    .note-ai,
    .note-coach {
        animation: none;
    }
}
