@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-latin-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/manrope-latin-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/manrope-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/manrope-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #f3f6fb;
    --bg-raised: #ffffff;
    --ink: #0c1b33;
    --text: #334155;
    --muted: #52627a;
    --faint: #6b7c93;
    --line: rgba(12, 27, 51, 0.08);
    --line-strong: rgba(12, 27, 51, 0.14);
    --blue: #1d4ed8;
    --violet: #4338ca;
    --blue-soft: rgba(29, 78, 216, 0.1);
    --violet-soft: rgba(67, 56, 202, 0.1);
    --header: rgba(255, 255, 255, 0.9);
    --shadow: 0 18px 48px rgba(12, 27, 51, 0.08);
    --radius: 20px;
    --max: 1120px;
    --header-h: 104px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(37, 99, 235, 0.12), transparent 60%),
        radial-gradient(700px 380px at 100% 0%, rgba(67, 56, 202, 0.08), transparent 55%),
        var(--bg);
    color: var(--text);
    font-family: Inter, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
summary {
    font: inherit;
}

p,
ul {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink);
    font-family: Manrope, Inter, sans-serif;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
}

.skip-link:focus {
    top: 1rem;
}

.wrap {
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-h);
    border-bottom: 1px solid var(--line);
    background: var(--header);
    backdrop-filter: blur(16px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: 0 1 auto;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.brand img {
    height: calc(100% - 4px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--ink);
    background: rgba(12, 27, 51, 0.05);
}

a.header-cta {
    display: none;
}

.nav-toggle {
    position: relative;
}

.nav-toggle summary {
    list-style: none;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle summary::-webkit-details-marker {
    display: none;
}

.nav-toggle summary .icon-close {
    display: none;
}

.nav-toggle[open] summary .icon-open {
    display: none;
}

.nav-toggle[open] summary .icon-close {
    display: block;
}

.nav-mobile {
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    width: min(320px, calc(100vw - 2rem));
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-mobile .nav-link,
.nav-mobile .btn {
    justify-content: flex-start;
}

.hero,
.section {
    padding: 5.5rem 0;
}

.hero {
    padding-top: 4.5rem;
    padding-bottom: 4rem;
}

.hero-grid,
.split,
.work-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 1.4rem;
    height: 1px;
    background: linear-gradient(90deg, var(--blue), var(--violet));
}

h1 {
    font-size: clamp(2.7rem, 6vw, 4.6rem);
    max-width: 12ch;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    max-width: 18ch;
}

h3 {
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.lede {
    max-width: 38rem;
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 1.15rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, var(--violet));
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.btn-secondary {
    border-color: var(--line-strong);
    background: #fff;
    color: var(--ink);
}

.btn-secondary:hover {
    border-color: rgba(37, 99, 235, 0.4);
    background: #f8fafc;
}

.section-head {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
    max-width: 44rem;
}

.section-head p,
.prose p + p {
    margin-top: 1rem;
}

.kicker {
    color: var(--violet);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-raised);
    box-shadow: 0 1px 2px rgba(12, 27, 51, 0.04);
}

.cards,
.benefit-grid,
.journey-grid {
    display: grid;
    gap: 1rem;
}

.card,
.benefit,
.journey {
    padding: 1.35rem 1.4rem 1.45rem;
}

.card h3,
.benefit h3,
.journey h3 {
    margin-bottom: 0.55rem;
}

.card p,
.benefit p,
.journey p,
.note {
    color: var(--muted);
}

.card .index {
    margin-bottom: 1rem;
    color: var(--faint);
    font-family: Manrope, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.geometry {
    position: relative;
    min-height: 420px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.08), transparent 46%),
        linear-gradient(180deg, #ffffff, #eef3fa);
    overflow: hidden;
}

.geometry svg {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.flow-line {
    stroke-dasharray: 180;
    stroke-dashoffset: 180;
    animation: draw 1.8s ease forwards;
}

.node-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse 3.6s ease-in-out infinite;
}

.product-frame {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line-strong);
    background: #fff;
    box-shadow: var(--shadow);
}

.product-chrome {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(12, 27, 51, 0.16);
}

.product-chrome span {
    margin-left: 0.4rem;
    color: var(--faint);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.product-screen {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 280px;
}

.product-side,
.product-main {
    padding: 1.1rem;
}

.product-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    border-bottom: 1px solid var(--line);
}

.product-side strong {
    color: var(--ink);
    font-size: 0.82rem;
}

.chip {
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.78rem;
}

.chip.active {
    color: var(--ink);
    background: var(--blue-soft);
}

.product-main {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(12, 27, 51, 0.08);
}

.bar.short { width: 42%; }
.bar.mid { width: 68%; background: linear-gradient(90deg, var(--blue), var(--violet)); }

.ui-rows {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.4rem;
}

.ui-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.ui-row b {
    display: block;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 600;
}

.ui-row small {
    color: var(--faint);
}

.pill {
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--violet-soft);
    color: var(--violet);
    font-size: 0.72rem;
    font-weight: 600;
}

.ecosystem {
    display: grid;
    gap: 0.75rem;
}

.eco-node {
    padding: 1.25rem 1.3rem;
}

.eco-node .role {
    margin-bottom: 0.35rem;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eco-arrow {
    justify-self: center;
    color: var(--faint);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.paths {
    display: grid;
    gap: 1rem;
}

.path {
    padding: 1.25rem;
}

.path header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.path header span {
    color: var(--violet);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

pre {
    margin: 0;
    overflow-x: auto;
    padding: 1rem 1.05rem;
    border-radius: 14px;
    background: #f8fafc;
    color: var(--ink);
    border: 1px solid var(--line);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    line-height: 1.6;
}

code {
    font-family: inherit;
}

.token-key { color: var(--blue); }
.token-str { color: var(--violet); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.1rem;
    color: var(--blue);
    font-weight: 600;
}

.link-arrow:hover {
    color: #1e3a8a;
}

.work-card {
    display: grid;
    gap: 0.7rem;
    padding: 1.35rem;
    height: 100%;
}

.domain,
.work-card .domain {
    color: var(--faint);
    font-size: 0.82rem;
}

p code,
li code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
    color: var(--ink);
    background: var(--blue-soft);
    padding: 0.08em 0.35em;
    border-radius: 6px;
}

.meta-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.meta-list div {
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}

.meta-list dt {
    color: var(--faint);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.meta-list dd {
    margin: 0.25rem 0 0;
    color: var(--text);
}

.arch {
    display: grid;
    gap: 0.5rem;
}

.arch span {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 0.92rem;
}

.arch i {
    display: block;
    height: 14px;
    margin-left: 1.2rem;
    border-left: 1px solid var(--line-strong);
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.depth-list {
    display: grid;
    gap: 0;
    margin: 1.5rem 0 0;
    padding: 0;
}

.depth-list li {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 1rem;
    padding: 0.95rem 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.depth-list span {
    color: var(--faint);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.principle {
    padding: 1.5rem;
}

.principle strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ink);
    font-family: Manrope, sans-serif;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 3.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer-brand p {
    max-width: 28rem;
    margin-top: 0.9rem;
    color: var(--muted);
}

.footer-brand a {
    color: var(--blue);
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 0.45rem;
}

.footer-col h2 {
    margin-bottom: 0.35rem;
    color: var(--ink);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-col a {
    color: var(--muted);
}

.footer-col a:hover,
.footer-brand a:hover {
    color: var(--ink);
}

.legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 0.85rem;
}

.legal a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.legal a:hover {
    color: var(--ink);
}

.legal-copy h2 {
    margin-top: 2.75rem;
    max-width: 22ch;
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.legal-copy h2:first-of-type {
    margin-top: 0;
}

.legal-copy p,
.legal-copy ul {
    margin-top: 0.85rem;
}

.legal-copy ul {
    padding-left: 1.15rem;
    display: grid;
    gap: 0.35rem;
}

.legal-copy a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.page-hero {
    padding: 4.25rem 0 1rem;
}

.page-hero h1 {
    max-width: 16ch;
}

.narrow {
    max-width: 42rem;
}

.stack {
    display: grid;
    gap: 1rem;
}

.tech-note {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 0.95rem;
}

.split .cards {
    grid-template-columns: 1fr;
}

@media (min-width: 760px) {
    .cards,
    .benefit-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .split .cards {
        grid-template-columns: 1fr;
    }

    .product-screen {
        grid-template-columns: 180px 1fr;
    }

    .product-side {
        display: grid;
        align-content: start;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }

    .journey-grid,
    .paths {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .ecosystem {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: stretch;
    }

    .eco-arrow {
        align-self: center;
    }

    .work-grid {
        grid-template-columns: 1fr 1fr;
    }

    .split,
    .hero-grid,
    .work-layout {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 4rem;
    }

    .depth-list li {
        grid-template-columns: 9rem 1fr;
    }
}

@media (max-width: 759px) {
    h1,
    h2,
    .page-hero h1 {
        max-width: 100%;
    }
}

@media (max-width: 979px) {
    .site-header {
        height: auto;
    }

    .header-inner {
        height: auto;
        padding-block: 0.45rem;
    }

    .brand {
        width: calc(100% - 3.5rem);
        height: auto;
    }

    .brand img {
        width: 100%;
        height: auto;
        max-height: none;
    }
}

@media (min-width: 980px) {
    .site-header .wrap {
        width: min(1240px, calc(100% - 3rem));
    }

    .nav-desktop {
        display: flex;
        flex-shrink: 0;
    }

    a.header-cta {
        display: inline-flex;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .nav-toggle {
        display: none;
    }

    .wrap {
        width: min(var(--max), calc(100% - 4rem));
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .flow-line,
    .node-pulse,
    .btn {
        animation: none;
        transition: none;
    }

    .flow-line {
        stroke-dashoffset: 0;
    }
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.55;
    }
    50% {
        opacity: 1;
    }
}
