:root {
    --bg: #f5f1ec;
    --bg-soft: #fbf8f4;
    --surface: rgba(255, 252, 249, 0.72);
    --surface-strong: rgba(255, 252, 249, 0.92);
    --ink: #11161d;
    --ink-soft: #253140;
    --muted: #657180;
    --line: rgba(17, 22, 29, 0.1);
    --line-strong: rgba(17, 22, 29, 0.16);
    --accent: #c62f36;
    --accent-strong: #89111a;
    --accent-shadow: rgba(17, 22, 29, 0.16);
    --shadow: 0 30px 60px rgba(19, 24, 32, 0.08);
    --content-width: min(1180px, calc(100vw - 48px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(17, 22, 29, 0.12), transparent 30%),
        linear-gradient(180deg, #fbfaf7 0%, #eef3f7 42%, #f5f4f1 100%);
    min-height: 100vh;
}

body.is-nav-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.page-shell {
    position: relative;
    overflow: clip;
}

.topbar,
.hero,
.section,
.footer {
    width: var(--content-width);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 16px;
    z-index: 20;
    display: flex;
    justify-content: center;
    padding: 18px 0 0;
    transform: translateY(0);
    opacity: 1;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
    will-change: transform, opacity;
}

.topbar.is-hidden {
    transform: translateY(calc(-100% - 28px));
    opacity: 0;
    pointer-events: none;
}

.topbar-shell {
    width: min(100%, 833px);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 7px 14px 7px 24px;
    border-radius: 999px;
    border: 1px solid rgba(17, 22, 29, 0.08);
    background: rgba(255, 251, 247, 0.76);
    box-shadow: 0 16px 36px rgba(17, 22, 29, 0.08);
    backdrop-filter: blur(14px);
}

.topbar-panel {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.topbar-brand,
.topbar-panel-brand {
    width: 48px;
    height: 48px;
    margin-left: 14px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    border-radius: 17px;
    border: 1px solid rgba(17, 22, 29, 0.14);
    background: transparent;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.topbar-brand::after,
.topbar-panel-brand::after {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(198, 47, 54, 0.42), transparent);
}

.topbar-brand span,
.topbar-panel-brand span {
    position: relative;
    z-index: 1;
    font-family: "Michroma", "Sora", "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.topbar-brand:hover,
.topbar-brand:focus-visible,
.topbar-panel-brand:hover,
.topbar-panel-brand:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(17, 22, 29, 0.2);
    background: rgba(17, 22, 29, 0.02);
}

.topbar-panel-brand {
    display: none;
    margin-left: 0;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    min-width: 0;
    scrollbar-width: none;
}

.topbar-nav::-webkit-scrollbar {
    display: none;
}

.topbar-nav a {
    padding: 9px 15px;
    border-radius: 999px;
    color: var(--muted);
    white-space: nowrap;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.topbar-nav a:hover,
.topbar-nav a:focus-visible,
.topbar-nav a.is-active {
    background: rgba(17, 22, 29, 0.06);
    color: var(--ink);
    transform: translateY(-1px);
}

.locale-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

.locale-button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.locale-button:hover,
.locale-button:focus-visible {
    transform: translateY(-1px);
    background: rgba(17, 22, 29, 0.04);
    border-color: rgba(17, 22, 29, 0.12);
}

.locale-button.is-active {
    background: rgba(17, 22, 29, 0.06);
    border-color: rgba(17, 22, 29, 0.14);
}

.locale-flag {
    width: 17px;
    height: 17px;
    position: relative;
    display: block;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(17, 22, 29, 0.12);
}

.locale-flag--pl {
    background: linear-gradient(180deg, #fffdfa 0 50%, #d63838 50% 100%);
}

.locale-flag--en {
    background:
        linear-gradient(
            180deg,
            #d63838 0 14%,
            #fffdfa 14% 28%,
            #d63838 28% 42%,
            #fffdfa 42% 56%,
            #d63838 56% 70%,
            #fffdfa 70% 84%,
            #d63838 84% 100%
        );
}

.locale-flag--en::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 48%;
    height: 52%;
    border-bottom-right-radius: 8px;
    background: #20324f;
}

.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;
}

.topbar-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(17, 22, 29, 0.14);
    border-radius: 15px;
    background: rgba(255, 252, 249, 0.9);
    box-shadow: 0 12px 24px rgba(17, 22, 29, 0.08);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.topbar-toggle:hover,
.topbar-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(17, 22, 29, 0.18);
    background: rgba(255, 252, 249, 0.98);
    box-shadow: 0 16px 28px rgba(17, 22, 29, 0.1);
}

.topbar-toggle-lines {
    display: grid;
    gap: 4px;
}

.topbar-toggle-line {
    width: 20px;
    height: 1.8px;
    display: block;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 220ms ease, opacity 220ms ease;
}

.topbar-backdrop {
    display: none;
}

.hero {
    position: relative;
    min-height: calc(100svh - 34px);
    padding: 68px 0 42px;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(14px);
}

.hero-glow-a {
    display: none;
}

.hero-glow-b {
    width: 360px;
    height: 360px;
    bottom: 2%;
    left: -10%;
    background: radial-gradient(circle, rgba(17, 22, 29, 0.12), transparent 68%);
}

.hero-gridlines {
    position: absolute;
    inset: 8% 4% 2%;
    border-radius: 38px;
    background-image:
        linear-gradient(rgba(17, 22, 29, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 22, 29, 0.05) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
}

.hero-brand-stage {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
    padding: 24px 0 18px;
}

.hero-brand-mark {
    width: 112px;
    height: 112px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    border-radius: 36px;
    background: transparent;
    border: 1px solid rgba(17, 22, 29, 0.14);
    margin-bottom: 25px;
    overflow: hidden;
}

.hero-brand-mark::after {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(198, 47, 54, 0.42), transparent);
}

.hero-brand-mark span {
    position: relative;
    z-index: 1;
    font-family: "Michroma", "Sora", "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 1.72rem;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.hero-brand-kicker,
.hero-brand-subtitle {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
}

.hero-brand-kicker {
    font-size: 0.74rem;
}

.hero-brand-subtitle {
    font-size: 0.8rem;
}

.hero-wordmark {
    margin: 0;
    width: min(100%, 936px);
}

.hero-wordmark-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.hero-wordmark-svg text {
    text-transform: uppercase;
    paint-order: stroke fill;
    text-rendering: geometricPrecision;
}

.hero-wordmark-gross {
    font-family: "Michroma", "Sora", "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 119px;
    letter-spacing: 12px;
    fill: #11161d;
    stroke: rgba(17, 22, 29, 0.14);
    stroke-width: 0.8;
}

.hero-wordmark-horn {
    font-family: "Michroma", "Sora", "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 119px;
    letter-spacing: 15px;
    fill: url(#grossHornSignal);
    stroke: rgba(17, 22, 29, 0.12);
    stroke-width: 0.8;
}

.hero-wordmark-frame path {
    fill: none;
    stroke: rgba(17, 22, 29, 0.24);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.hero-wordmark-divider-glow {
    fill: none;
    stroke: url(#grossHornDivider);
    stroke-linecap: round;
    stroke-width: 8.2;
    opacity: 0.16;
}

.hero-wordmark-divider-core {
    fill: url(#grossHornDivider);
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(17, 22, 29, 0.16));
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 40px;
    align-items: center;
    margin-top: 28px;
}

.hero-copy {
    position: relative;
}

.eyebrow {
    margin: 0 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-strong);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, rgba(17, 22, 29, 0), rgba(17, 22, 29, 0.58));
}

.hero-copy h2,
.section-heading h2,
.flow-intro h2 {
    margin: 0;
    font-family: "Sora", "Space Grotesk", "Segoe UI", sans-serif;
    font-size: clamp(2.5rem, 4.8vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 11ch;
}

.hero-lead,
.section-heading p,
.flow-intro p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.72;
}

.hero-lead {
    max-width: 60ch;
    margin: 22px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff8f7;
    background: linear-gradient(135deg, #89111a, #d63838);
    box-shadow: 0 18px 30px rgba(17, 22, 29, 0.18);
}

.button-secondary {
    color: var(--ink);
    border-color: rgba(17, 22, 29, 0.14);
    background: rgba(255, 252, 249, 0.72);
}

.hero-stats {
    display: grid;
    gap: 14px;
    margin: 0;
}

.hero-stats div {
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(17, 22, 29, 0.08);
    background: rgba(255, 252, 249, 0.64);
    box-shadow: 0 18px 34px rgba(17, 22, 29, 0.06);
}

.hero-stats dt {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-bottom: 8px;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.hero-stats dd {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.58;
}

.hero-visual {
    position: relative;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-content: center;
    gap: 18px;
    padding: 30px;
    border-radius: 38px;
    border: 1px solid rgba(17, 22, 29, 0.08);
    background:
        linear-gradient(180deg, rgba(250, 252, 255, 0.92), rgba(236, 242, 247, 0.8)),
        radial-gradient(circle at 18% 18%, rgba(17, 22, 29, 0.12), transparent 34%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 22, 29, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 22, 29, 0.06) 1px, transparent 1px);
    background-size: 74px 74px;
    opacity: 0.55;
    mask-image: linear-gradient(180deg, black, transparent 95%);
}

.hero-visual-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px dashed rgba(17, 22, 29, 0.18);
}

.orbit-a {
    inset: 12% 14%;
}

.orbit-b {
    inset: 26% 20% 22%;
}

.hero-surface-card,
.hero-service-stack {
    position: relative;
    z-index: 1;
    border-radius: 28px;
    border: 1px solid rgba(17, 22, 29, 0.08);
    background: rgba(249, 252, 255, 0.84);
    box-shadow: 0 20px 42px rgba(17, 22, 29, 0.08);
    backdrop-filter: blur(16px);
}

.hero-surface-card {
    padding: 22px 22px 20px;
}

.surface-primary {
    grid-column: 1;
    align-self: start;
    margin-top: 8px;
}

.surface-accent {
    grid-column: 2;
    align-self: start;
    margin-top: 52px;
}

.surface-wide {
    grid-column: 1 / -1;
}

.surface-label {
    display: inline-flex;
    margin-bottom: 12px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(37, 49, 64, 0.74);
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.hero-surface-card h3,
.hero-service-stack strong,
.domain-card h3,
.system-card h3,
.flow-card h3 {
    margin: 0;
    font-family: "Sora", "Space Grotesk", "Segoe UI", sans-serif;
    letter-spacing: -0.03em;
}

.hero-surface-card h3 {
    font-size: 1.3rem;
    line-height: 1.08;
}

.hero-surface-card p,
.domain-card p,
.system-card p,
.flow-card p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.64;
}

.hero-service-stack {
    grid-column: 1 / -1;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-service-stack div {
    padding: 14px 14px 12px;
    border-radius: 20px;
    border: 1px solid rgba(17, 22, 29, 0.08);
    background: rgba(246, 250, 253, 0.84);
    box-shadow: 0 18px 34px rgba(17, 22, 29, 0.06);
}

.hero-service-stack strong {
    display: block;
    font-size: 0.98rem;
}

.hero-service-stack span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section {
    position: relative;
    padding: 88px 0;
}

.section-heading {
    display: grid;
    gap: 16px;
    max-width: 780px;
    margin-bottom: 38px;
}

.section-heading h2 {
    max-width: 14ch;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.section-heading p {
    margin: 0;
}

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

.domain-card,
.system-card,
.flow-card {
    position: relative;
    border-radius: 30px;
    border: 1px solid rgba(17, 22, 29, 0.08);
    background: rgba(255, 252, 249, 0.82);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.domain-card {
    padding: 28px;
}

.domain-index {
    display: inline-flex;
    margin-bottom: 28px;
    color: rgba(137, 17, 26, 0.72);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.domain-card ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 12px;
    color: var(--ink-soft);
}

.domain-card li {
    position: relative;
    padding-left: 20px;
    line-height: 1.58;
}

.domain-card li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

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

.system-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    padding: 26px 22px 24px;
    min-width: 0;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.system-card:hover,
.system-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 26px 52px rgba(17, 22, 29, 0.12);
    border-color: rgba(17, 22, 29, 0.18);
}

.system-tag {
    color: var(--accent-strong);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.system-card h3 {
    font-size: 1.08rem;
    line-height: 1.12;
}

.system-link {
    margin-top: auto;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    word-break: break-word;
}

.section-flow {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: start;
}

.flow-intro {
    position: static;
    min-width: 0;
    padding-right: 8px;
}

.flow-intro h2 {
    max-width: 13ch;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    font-size: clamp(1.9rem, 3.2vw, 3.1rem);
    text-align: start;
    text-wrap: balance;
}

.flow-intro p {
    text-align: start;
}

.flow-intro p + p {
    margin-top: 14px;
}

.flow-track {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.flow-card {
    padding: 24px;
}

.flow-card span {
    display: inline-flex;
    margin-bottom: 18px;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: rgba(137, 17, 26, 0.72);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.footer {
    padding: 16px 0 42px;
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
    color: var(--muted);
}

.footer p {
    margin: 0;
}

.footer-mark + p {
    margin-top: 45px;
}

.footer-mark {
    width: 84px;
    height: 84px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    border-radius: 28px;
    background: transparent;
    border: 1px solid rgba(17, 22, 29, 0.12);
    overflow: hidden;
}

.footer-mark::after {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(198, 47, 54, 0.42), transparent);
}

.footer-mark span {
    position: relative;
    z-index: 1;
    font-family: "Michroma", "Sora", "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 1.18rem;
    letter-spacing: 0.06em;
    color: var(--ink);
}

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

.js .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 700ms ease, transform 700ms ease;
}

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

[data-parallax] {
    will-change: transform;
}

@media (max-width: 1120px) {
    .hero-layout,
    .section-flow {
        grid-template-columns: 1fr;
    }

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

    .hero-copy h2 {
        max-width: 14ch;
    }

    .flow-intro {
        position: static;
    }
}

@media (max-width: 860px) {
    .hero {
        padding-top: 44px;
    }

    .hero-wordmark {
        width: min(100%, 720px);
    }

    .hero-visual {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .surface-primary,
    .surface-accent,
    .surface-wide,
    .hero-service-stack {
        grid-column: 1;
        margin-top: 0;
    }

    .hero-service-stack {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .topbar,
    .hero,
    .section,
    .footer {
        width: calc(100vw - 24px);
    }

    .topbar {
        top: 10px;
        justify-content: flex-end;
    }

    .topbar-shell {
        width: auto;
        gap: 0;
        padding: 0;
        justify-content: flex-end;
        border: none;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .topbar-panel {
        position: fixed;
        top: 10px;
        right: 12px;
        width: min(320px, calc(100vw - 24px));
        max-height: calc(100svh - 20px);
        padding: 68px 18px 18px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        border-radius: 28px;
        border: 1px solid rgba(17, 22, 29, 0.1);
        background: rgba(255, 251, 247, 0.96);
        box-shadow: 0 24px 56px rgba(17, 22, 29, 0.18);
        backdrop-filter: blur(20px);
        overflow: auto;
        transform: translateX(calc(100% + 32px));
        opacity: 0;
        pointer-events: none;
        transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
        z-index: 26;
    }

    .topbar.is-menu-open .topbar-panel {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .topbar-nav {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        overflow: visible;
    }

    .topbar-brand {
        display: none;
    }

    .topbar-panel-brand {
        width: 40px;
        height: 40px;
        display: grid;
        margin-left: 0;
        justify-self: center;
        border-radius: 15px;
    }

    .topbar-panel-brand::after {
        top: 8px;
        bottom: 8px;
    }

    .topbar-panel-brand span {
        font-size: 0.78rem;
    }

    .topbar-nav a {
        width: 100%;
        padding: 12px 14px;
        text-align: center;
    }

    .locale-switcher {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding-top: 12px;
        border-top: 1px solid rgba(17, 22, 29, 0.08);
    }

    .locale-button {
        width: 100%;
        height: 42px;
    }

    .topbar-toggle {
        display: inline-flex;
        position: relative;
        z-index: 27;
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }

    .topbar-toggle-lines {
        gap: 5px;
    }

    .topbar-toggle-line {
        width: 24px;
        height: 2px;
    }

    .topbar.is-menu-open .topbar-toggle-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .topbar.is-menu-open .topbar-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .topbar.is-menu-open .topbar-toggle-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .topbar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(17, 22, 29, 0.18);
        backdrop-filter: blur(2px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease;
        z-index: 24;
    }

    .topbar.is-menu-open .topbar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .hero-brand-mark {
        width: 88px;
        height: 88px;
        border-radius: 28px;
    }

    .hero-brand-mark span {
        font-size: 1.44rem;
    }

    .hero-wordmark {
        width: min(100%, 540px);
    }

    .hero-copy h2,
    .section-heading h2,
    .flow-intro h2 {
        font-size: clamp(2rem, 10vw, 3.3rem);
    }

    .hero-actions,
    .systems-grid,
    .domain-grid {
        grid-template-columns: 1fr;
    }

    .systems-grid {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .hero-stats div,
    .domain-card,
    .system-card,
    .flow-card {
        border-radius: 24px;
    }

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