:root {
    --koi-charcoal: #0f1720;
    --koi-blue: #123a63;
    --koi-blue-deep: #08243e;
    --koi-aqua: #19c7d5;
    --koi-orange: #ff6b2c;
    --koi-mist: #f3f6f8;
    --koi-white: #ffffff;
    --koi-border: #d7dde7;
    --koi-copy: #4b5b68;
    --shell: 1180px;
    color: var(--koi-charcoal);
    background: var(--koi-white);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--koi-white);
}

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

a {
    color: inherit;
}

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

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

p {
    text-wrap: pretty;
}

.shell {
    width: min(calc(100% - 3rem), var(--shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--koi-white);
    background: var(--koi-charcoal);
    border-radius: 0.5rem;
    transform: translateY(-180%);
    transition: transform 160ms ease;
}

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

:focus-visible {
    outline: 3px solid var(--koi-charcoal);
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgb(217 229 235 / 82%);
    background: rgb(255 255 255 / 92%);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 5.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

.brand,
.footer-brand {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 7.6rem;
}

nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

nav a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    padding: 0 0.85rem;
    border-radius: 999px;
    color: #40515e;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

nav a:hover {
    color: var(--koi-blue);
    background: var(--koi-mist);
}

.access-state,
.market-access {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 1rem;
    border: 1px solid var(--koi-border);
    border-radius: 999px;
    color: #60727f;
    background: #f7f9fa;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: not-allowed;
    white-space: nowrap;
}

.access-state small,
.market-access small {
    color: #60727f;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgb(25 199 213 / 14%), transparent 25rem),
        radial-gradient(circle at 95% 75%, rgb(255 107 44 / 12%), transparent 22rem),
        linear-gradient(135deg, #ffffff 0%, #f7fbfc 64%, #edf8fa 100%);
}

.hero::before {
    position: absolute;
    z-index: -1;
    top: 7rem;
    right: -9rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgb(25 199 213 / 24%);
    border-radius: 50%;
    content: "";
}

.hero-grid {
    min-height: min(46rem, calc(100vh - 5.25rem));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    padding-block: 6.5rem;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.35rem;
    color: var(--koi-blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 2.1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--koi-aqua), var(--koi-orange));
}

.hero h1 {
    max-width: 12ch;
    margin-bottom: 1.6rem;
    color: var(--koi-charcoal);
    font-size: clamp(3rem, 6vw, 5.6rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 0.99;
}

.hero h1 em {
    color: var(--koi-blue);
    font-style: normal;
}

.hero-lead {
    max-width: 39rem;
    margin-bottom: 2.2rem;
    color: var(--koi-copy);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.7;
}

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

.button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.8rem 1.25rem;
    border-radius: 0.85rem;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button-primary {
    color: var(--koi-charcoal);
    background: var(--koi-orange);
    box-shadow: 0 0.9rem 2rem rgb(255 107 44 / 24%);
}

.button-primary:hover {
    background: #e95518;
    box-shadow: 0 1.1rem 2.2rem rgb(255 107 44 / 30%);
}

.button-secondary {
    color: var(--koi-blue);
    border: 1px solid var(--koi-border);
    background: rgb(255 255 255 / 72%);
}

.platform-map {
    position: relative;
    width: min(100%, 30rem);
    aspect-ratio: 1;
    justify-self: end;
    border: 1px solid rgb(18 58 99 / 10%);
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgb(25 199 213 / 13%) 0 18%, transparent 18.5%),
        radial-gradient(circle at center, transparent 0 42%, rgb(18 58 99 / 8%) 42.5% 43%, transparent 43.5%),
        rgb(255 255 255 / 52%);
    box-shadow: 0 2.5rem 5rem rgb(18 58 99 / 10%);
}

.platform-map::before,
.platform-map::after {
    position: absolute;
    inset: 13%;
    border: 1px dashed rgb(25 199 213 / 48%);
    border-radius: 50%;
    content: "";
}

.platform-map::after {
    inset: 27%;
    border-color: rgb(255 107 44 / 40%);
}

.platform-map__center {
    position: absolute;
    z-index: 2;
    inset: 50% auto auto 50%;
    width: 45%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 2.4rem;
    border-radius: 50%;
    background: var(--koi-white);
    box-shadow: 0 1.2rem 3rem rgb(18 58 99 / 16%);
    transform: translate(-50%, -50%);
}

.platform-map__label {
    position: absolute;
    z-index: 3;
    margin: 0;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgb(217 229 235 / 80%);
    border-radius: 999px;
    color: var(--koi-blue);
    background: var(--koi-white);
    box-shadow: 0 0.75rem 1.8rem rgb(18 58 99 / 12%);
    font-size: 0.75rem;
    font-weight: 750;
}

.platform-map__label--one {
    top: 11%;
    left: 13%;
}

.platform-map__label--two {
    top: 24%;
    right: -2%;
}

.platform-map__label--three {
    bottom: 12%;
    left: 5%;
}

.platform-section,
.evolution-section {
    padding-block: clamp(5rem, 10vw, 8.5rem);
}

.section-heading {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    column-gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    margin-bottom: 3.2rem;
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
}

.section-heading h2 {
    margin-bottom: 0;
    color: var(--koi-charcoal);
    font-size: clamp(2.25rem, 4vw, 4.25rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.section-heading > p:last-child {
    max-width: 36rem;
    margin-bottom: 0.2rem;
    color: var(--koi-copy);
    font-size: 1.05rem;
    line-height: 1.75;
}

.eyebrow-dark {
    color: var(--koi-blue);
}

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

.principle-card {
    min-height: 20rem;
    display: flex;
    flex-direction: column;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    border: 1px solid var(--koi-border);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, #ffffff, #f7fafb);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.principle-card:hover {
    border-color: rgb(25 199 213 / 46%);
    box-shadow: 0 1.3rem 3rem rgb(18 58 99 / 8%);
    transform: translateY(-4px);
}

.card-number {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    margin-bottom: auto;
    border-radius: 50%;
    color: var(--koi-blue);
    background: rgb(25 199 213 / 12%);
    font-size: 0.72rem;
    font-weight: 800;
}

.principle-card h3 {
    margin: 2.5rem 0 0.75rem;
    font-size: 1.35rem;
    letter-spacing: -0.025em;
}

.principle-card p {
    margin-bottom: 0;
    color: var(--koi-copy);
    line-height: 1.7;
}

.market-section {
    padding-block: 2rem;
    background: var(--koi-white);
}

.market-panel {
    min-height: 40rem;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(23rem, 0.85fr);
    overflow: hidden;
    border-radius: 1.7rem;
    background: var(--koi-blue-deep);
    box-shadow: 0 2rem 5rem rgb(8 36 62 / 16%);
}

.market-visual {
    min-height: 32rem;
    overflow: hidden;
    background: #eefafd;
}

.market-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
}

.market-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.2rem, 5vw, 4.5rem);
    color: var(--koi-white);
}

.market-lockup {
    width: 10rem;
    margin-bottom: 2rem;
    padding: 0.8rem;
    border-radius: 0.8rem;
    background: var(--koi-white);
}

.eyebrow-light {
    color: var(--koi-aqua);
}

.market-copy h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    letter-spacing: -0.05em;
    line-height: 1.02;
}

.market-copy > p:not(.eyebrow) {
    margin-bottom: 1.5rem;
    color: #c8d7e2;
    line-height: 1.75;
}

.market-list {
    display: grid;
    gap: 0.8rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.market-list li {
    position: relative;
    padding-left: 1.6rem;
    color: #e8f1f5;
}

.market-list li::before {
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--koi-aqua);
    content: "";
}

.market-access {
    align-self: flex-start;
    color: #dce8ee;
    border-color: rgb(255 255 255 / 18%);
    background: rgb(255 255 255 / 8%);
}

.market-access small {
    color: #9fb3bf;
}

.evolution-section {
    background: var(--koi-mist);
}

.evolution-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(26rem, 1.2fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}

.section-heading--compact {
    display: block;
    margin-bottom: 0;
}

.section-heading--compact h2 {
    margin-bottom: 1.4rem;
}

.section-heading--compact > p:last-child {
    margin-bottom: 0;
}

.evolution-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.evolution-steps li {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 1.6rem;
    padding: 1.6rem 0;
    border-top: 1px solid #cddbe2;
}

.evolution-steps li:last-child {
    border-bottom: 1px solid #cddbe2;
}

.evolution-steps > li > span {
    align-self: start;
    color: #60727f;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.evolution-steps .is-current > span {
    color: var(--koi-blue);
}

.evolution-steps h3 {
    margin-bottom: 0.35rem;
    color: var(--koi-blue);
    font-size: 1.25rem;
}

.evolution-steps p {
    margin-bottom: 0;
    color: var(--koi-copy);
}

footer {
    padding-block: 2.4rem;
    border-top: 1px solid var(--koi-border);
    background: var(--koi-white);
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

.footer-brand img {
    width: 6.5rem;
}

.footer-inner p {
    margin-bottom: 0;
    color: #637582;
    font-size: 0.82rem;
}

.endorsement {
    padding-left: 1.1rem;
    border-left: 1px solid var(--koi-border);
}

.endorsement strong {
    color: var(--koi-charcoal);
}

.not-found {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background:
        radial-gradient(circle at 50% 15%, rgb(25 199 213 / 18%), transparent 20rem),
        var(--koi-mist);
}

.not-found > img {
    width: 8rem;
    margin-bottom: 2.5rem;
}

.not-found .eyebrow {
    display: block;
}

.not-found h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 7vw, 4.8rem);
    letter-spacing: -0.055em;
}

.not-found > p:not(.eyebrow) {
    max-width: 34rem;
    margin-bottom: 2rem;
    color: var(--koi-copy);
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    nav {
        justify-self: end;
    }

    .access-state {
        display: none;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 4rem;
        padding-block: 5rem;
    }

    .platform-map {
        width: min(100%, 26rem);
        justify-self: center;
    }

    .section-heading,
    .evolution-layout {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        margin-bottom: 1.5rem;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

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

    .card-number {
        margin-bottom: 2.3rem;
    }

    .principle-card h3 {
        margin-top: 0;
    }

    .market-panel {
        grid-template-columns: 1fr;
    }

    .market-visual {
        min-height: 25rem;
    }

    .footer-inner {
        grid-template-columns: auto 1fr;
    }

    .endorsement {
        grid-column: 1 / -1;
        padding: 1rem 0 0;
        border-top: 1px solid var(--koi-border);
        border-left: 0;
    }
}

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

    .site-header {
        position: static;
    }

    .header-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-block: 1rem;
    }

    .brand {
        justify-self: center;
    }

    nav {
        width: 100%;
        justify-content: center;
        gap: 0;
    }

    nav a {
        padding-inline: 0.6rem;
        font-size: 0.75rem;
    }

    .hero-grid {
        gap: 3.2rem;
        padding-block: 4rem 4.5rem;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 14vw, 4.2rem);
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .platform-map {
        width: min(100%, 21rem);
    }

    .platform-map__center {
        padding: 1.8rem;
    }

    .platform-map__label {
        font-size: 0.65rem;
    }

    .platform-section,
    .evolution-section {
        padding-block: 4.5rem;
    }

    .section-heading {
        margin-bottom: 2.2rem;
    }

    .market-section {
        padding: 0;
    }

    .market-panel {
        width: 100%;
        border-radius: 0;
    }

    .market-visual {
        min-height: 19rem;
    }

    .market-copy {
        padding: 2.2rem 1rem 3rem;
    }

    .market-lockup {
        width: 8.5rem;
    }

    .evolution-layout {
        gap: 2.5rem;
    }

    .evolution-steps li {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .footer-brand {
        justify-self: center;
    }

    .endorsement {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
