:root {
    /* === QUIPO official palette === */
    --quipo-primary:       #1f5a40;
    --quipo-primary-hover: #174730;
    --quipo-primary-soft:  #e7efea;
    --quipo-sidebar:       #0a2219;
    --quipo-ink:           #18392b;
    --quipo-ink-2:         #2a5a44;

    --quipo-bg:            #f6f4ec;
    --quipo-bg-2:          #eeeadb;
    --quipo-surface:       #ffffff;
    --quipo-line:          #e6e8ea;
    --quipo-text-muted:    #6b7772;

    --quipo-gold:          #b5894a;
    --quipo-gold-hi:       #d4a564;
    --quipo-mint:          #d4f0da;
    --quipo-warning:       #c78a12;
    --quipo-danger:        #b33a2a;

    /* === Legacy aliases (mapped to palette) === */
    --bg:            var(--quipo-bg);
    --bg-soft:       var(--quipo-bg-2);
    --panel:         rgba(255, 255, 255, 0.84);
    --panel-strong:  rgba(255, 255, 255, 0.96);
    --line:          rgba(24, 57, 43, 0.12);
    --line-soft:     rgba(24, 57, 43, 0.08);
    --text:          var(--quipo-ink);
    --text-muted:    var(--quipo-text-muted);
    --text-soft:     rgba(24, 57, 43, 0.48);
    --accent:        var(--quipo-ink);
    --accent-soft:   var(--quipo-primary-soft);
    --accent-strong: var(--quipo-primary);
    --surface-dark:  var(--quipo-sidebar);
    --surface-eerie: var(--quipo-ink);

    --container: min(1180px, calc(100% - 40px));
    --header-height: 84px;
    --radius: 28px;
    --radius-sm: 20px;
    --shadow: 0 22px 56px rgba(24, 57, 43, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    line-height: 1.6;
    overscroll-behavior-y: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(24, 57, 43, 0.22) transparent;
}

body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: rgba(24, 57, 43, 0.14);
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(24, 57, 43, 0.22);
    background-clip: padding-box;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(24, 57, 43, 0.07), transparent 24%),
        radial-gradient(circle at 85% 18%, rgba(24, 57, 43, 0.04), transparent 20%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(246, 244, 235, 0.32));
    pointer-events: none;
    z-index: -1;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    overflow: clip;
}

section {
    scroll-margin-top: calc(var(--header-height) + 32px);
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    background: transparent;
    transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-brand-hidden,
.site-header.is-open {
    background: rgba(246, 244, 236, 0.88);
    border-bottom: 1px solid rgba(24, 57, 43, 0.08);
    backdrop-filter: blur(22px);
    box-shadow: 0 10px 26px rgba(24, 57, 43, 0.04);
}

.header-shell {
    position: relative;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-actions {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
}

.lang-switch-link {
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch-link:hover,
.lang-switch-link:focus-visible {
    color: var(--text);
    outline: none;
}

.lang-switch-link.is-active {
    background: var(--accent);
    color: var(--quipo-bg);
}

.site-nav {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(320px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(250, 248, 241, 0.94);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.site-nav a {
    padding: 13px 14px;
    border-radius: 18px;
    color: var(--text);
    font-size: 0.92rem;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--accent);
    background: rgba(24, 57, 43, 0.08);
    outline: none;
    transform: translateX(2px);
}

.nav-toggle {
    display: inline-flex;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow: 0 14px 26px rgba(24, 57, 43, 0.12);
}

.button-primary {
    background: var(--accent);
    color: var(--quipo-bg);
    border-color: rgba(24, 57, 43, 0.22);
}

.button-secondary,
.button-nav {
    background: rgba(255, 255, 255, 0.88);
    border-color: var(--line);
    color: var(--text);
}

.button-login {
    min-height: 50px;
    padding: 0 24px;
    background: var(--accent);
    border-color: rgba(24, 57, 43, 0.24);
    color: var(--quipo-bg);
    box-shadow: 0 12px 24px rgba(24, 57, 43, 0.14);
}

.button-login:hover,
.button-login:focus-visible {
    background: var(--accent-strong);
}

.button-nav {
    min-height: 46px;
    padding: 0 18px;
}

.hero-stage {
    position: relative;
    --hero-pan-x: 0px;
    --hero-pan-y: 0px;
    min-height: 100svh;
    display: grid;
    place-items: center;
    isolation: isolate;
    background: var(--quipo-sidebar);
}

.hero-video,
.hero-image,
.hero-scrim {
    position: absolute;
    inset: 0;
}

.hero-video,
.hero-image {
    width: 100%;
    height: 100%;
}

.hero-image {
    overflow: hidden;
}

.hero-image::before,
.hero-image::after,
.hero-scrim::before,
.hero-scrim::after {
    content: '';
    position: absolute;
    inset: -2%;
    pointer-events: none;
}

.hero-video,
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    opacity: 0.95;
}

.hero-image img {
    object-position: center center;
    opacity: 0.96;
    filter: saturate(0.92) contrast(1.03) brightness(0.74);
    will-change: transform, opacity;
    animation: heroPushIn 28s cubic-bezier(0.28, 0.08, 0.18, 1) infinite alternate;
}

.hero-image::before {
    background:
        linear-gradient(180deg, rgba(4, 5, 8, 0.02), rgba(4, 5, 8, 0.08)),
        url('../buildingskyline.jpeg') center center / cover no-repeat;
    opacity: 0.16;
    filter: saturate(0.94) brightness(0.66);
    -webkit-mask-image: radial-gradient(circle at 16% 64%, rgba(0, 0, 0, 0.98) 0, rgba(0, 0, 0, 0.98) 18%, transparent 42%);
    mask-image: radial-gradient(circle at 16% 64%, rgba(0, 0, 0, 0.98) 0, rgba(0, 0, 0, 0.98) 18%, transparent 42%);
    will-change: transform, opacity;
    animation: heroForegroundDrift 34s ease-in-out infinite alternate;
}

.hero-image::after {
    background:
        radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.04), transparent 34%),
        url('../buildingskyline.jpeg') center center / cover no-repeat;
    opacity: 0.2;
    filter: blur(14px) saturate(1.01) brightness(0.82);
    -webkit-mask-image: radial-gradient(circle at 72% 34%, rgba(0, 0, 0, 0.98) 0, rgba(0, 0, 0, 0.98) 21%, transparent 58%);
    mask-image: radial-gradient(circle at 72% 34%, rgba(0, 0, 0, 0.98) 0, rgba(0, 0, 0, 0.98) 21%, transparent 58%);
    will-change: transform, opacity;
    animation: heroSkylineAtmosphere 36s ease-in-out infinite alternate;
}

.hero-scrim {
    background:
        linear-gradient(180deg, rgba(2, 3, 6, 0.18) 0%, rgba(2, 3, 6, 0.1) 30%, rgba(2, 3, 6, 0.72) 100%),
        radial-gradient(circle at bottom left, rgba(2, 3, 6, 0.44), transparent 38%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.02), transparent 38%);
}

.hero-scrim::before {
    inset: -8%;
    background:
        radial-gradient(circle at 88% 28%, rgba(244, 211, 162, 0.09), transparent 16%),
        radial-gradient(circle at 76% 40%, rgba(255, 255, 255, 0.04), transparent 22%),
        radial-gradient(circle at 58% 24%, rgba(255, 255, 255, 0.02), transparent 28%);
    filter: blur(24px);
    mix-blend-mode: screen;
    opacity: 0.82;
    will-change: transform, opacity;
    animation: heroAmbientLight 22s ease-in-out infinite alternate;
}

.hero-scrim::after {
    inset: -10%;
    background: linear-gradient(104deg, transparent 44%, rgba(255, 255, 255, 0.06) 50%, transparent 56%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 44%, rgba(0, 0, 0, 0.98) 57%, rgba(0, 0, 0, 0.98) 82%, transparent 96%);
    mask-image: linear-gradient(90deg, transparent 0, transparent 44%, rgba(0, 0, 0, 0.98) 57%, rgba(0, 0, 0, 0.98) 82%, transparent 96%);
    opacity: 0.12;
    will-change: transform, opacity;
    animation: heroGlassShimmer 26s linear infinite;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(100% - 34px, 1320px);
    margin-inline: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--header-height) + 22px) 0 24px;
}

.hero-center {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0;
    width: min(100%, 860px);
    max-width: 860px;
    margin-left: 0;
}

.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;
}

.hero-title-mark {
    position: relative;
    margin: 0;
    width: min(900px, 78vw);
    height: clamp(168px, 18vw, 252px);
    overflow: hidden;
    font-size: 0;
    line-height: 1;
}

.hero-title-image {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(1.1) drop-shadow(0 0 34px rgba(255, 255, 255, 0.14));
}

.hero-logo {
    width: min(78vw, 340px);
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.22));
}

.hero-product,
.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.76rem;
    color: var(--accent);
}

.accent-text {
    color: var(--accent);
}

.hero-center h1,
.statement-copy h2,
.panel-card h2,
.section-intro h2,
.contact-copy h2 {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 600;
}

.hero-subtitle {
    position: absolute;
    left: 50%;
    bottom: clamp(2px, 0.8vw, 8px);
    z-index: 1;
    margin: 0;
    transform: translateX(-50%);
    color: rgba(245, 247, 251, 0.82);
    font-size: clamp(1rem, 1.32vw, 1.16rem);
    max-width: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.hero-badge-stack {
    margin-top: 12px;
    display: grid;
    justify-items: center;
    gap: 0;
}

.hero-powered-by {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(246, 244, 235, 0.78);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: auto;
    align-self: center;
    display: grid;
    align-items: center;
    justify-content: center;
    width: min(100%, 320px);
    margin-top: 0;
    padding: 18px 28px 22px;
    border-radius: 30px;
    border: 1px solid rgba(24, 57, 43, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(24, 57, 43, 0.44);
    backdrop-filter: blur(24px) saturate(110%);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    justify-items: center;
    gap: 8px;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%);
    pointer-events: none;
}

.hero-badge-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-badge-mark img {
    width: 126px;
    max-width: none;
    object-fit: contain;
}

@keyframes heroPushIn {
    0% {
        transform: translate3d(calc(var(--hero-pan-x) * -0.18), calc(var(--hero-pan-y) * -0.18), 0) scale(1.035);
    }
    100% {
        transform: translate3d(calc(var(--hero-pan-x) * -0.3), calc(var(--hero-pan-y) * -0.24), 0) scale(1.085);
    }
}

@keyframes heroForegroundDrift {
    0% {
        transform: translate3d(calc(var(--hero-pan-x) * 0.65), calc(var(--hero-pan-y) * 0.72), 0) scale(1.06);
        opacity: 0.14;
    }
    100% {
        transform: translate3d(calc(var(--hero-pan-x) * 0.92), calc(var(--hero-pan-y) * 0.86), 0) scale(1.11);
        opacity: 0.2;
    }
}

@keyframes heroSkylineAtmosphere {
    0% {
        transform: translate3d(calc(var(--hero-pan-x) * -0.52), calc(var(--hero-pan-y) * -0.38), 0) scale(1.08);
        opacity: 0.16;
    }
    100% {
        transform: translate3d(calc(var(--hero-pan-x) * -0.82), calc(var(--hero-pan-y) * -0.58), 0) scale(1.15);
        opacity: 0.24;
    }
}

@keyframes heroAmbientLight {
    0% {
        transform: translate3d(calc(var(--hero-pan-x) * -0.18), calc(var(--hero-pan-y) * -0.16), 0);
        opacity: 0.62;
    }
    100% {
        transform: translate3d(calc(var(--hero-pan-x) * -0.3), calc(var(--hero-pan-y) * -0.24), 0);
        opacity: 0.92;
    }
}

@keyframes heroGlassShimmer {
    0% {
        transform: translate3d(-4%, 0, 0);
        opacity: 0.04;
    }
    35% {
        opacity: 0.08;
    }
    50% {
        opacity: 0.14;
    }
    100% {
        transform: translate3d(6%, 0, 0);
        opacity: 0.05;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 8px;
}

.hero-meta {
    margin-top: auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-meta article,
.panel-card,
.process-card,
.contact-card {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero-meta article {
    padding: 18px 20px;
    border-radius: 18px;
}

.hero-meta span,
.detail-list dt,
.scenario-note,
.contact-form label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.hero-meta strong {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.minimal-section {
    padding: 112px 0;
}

.statement-section {
    position: relative;
    overflow: hidden;
    padding-top: clamp(92px, 10vw, 126px);
    border-top: 1px solid var(--line-soft);
    background:
        radial-gradient(circle at top center, rgba(24, 57, 43, 0.07), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(246, 244, 235, 0.92) 20%, rgba(246, 244, 235, 1) 100%);
}

.statement-shell,
.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    justify-items: center;
    max-width: 940px;
    margin-inline: auto;
}

.statement-shell,
.dual-panel,
.process-section .container,
.scenario-section .container,
.contact-shell {
    position: relative;
}

.statement-shell {
    max-width: 940px;
    grid-template-columns: 1fr;
    gap: 42px;
    z-index: 1;
}

.statement-copy {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.contact-copy {
    width: min(100%, 760px);
    margin-inline: auto;
    text-align: center;
}

.statement-points {
    width: 100%;
    max-width: 760px;
    padding-top: 0;
    margin-inline: auto;
    justify-items: center;
    text-align: center;
}

.scroll-popup {
    position: absolute;
    z-index: 3;
    max-width: 300px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow);
    text-align: center;
}

.scroll-popup span {
    display: block;
    color: var(--accent);
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.scroll-popup p {
    margin: 10px 0 0;
    color: var(--text);
    font-size: 0.94rem;
    line-height: 1.5;
}

.scroll-popup.is-visible {
    animation: popupFloat 6s ease-in-out infinite;
}

.popup-top-left {
    top: 18px;
    left: 0;
}

.popup-top-right {
    top: 10px;
    right: 0;
}

.popup-bottom-left {
    bottom: 18px;
    left: 0;
}

.statement-copy h2,
.panel-card h2,
.section-intro h2,
.contact-copy h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.statement-lead,
.statement-closure,
.section-intro p,
.contact-copy p,
.process-card p {
    margin: 18px 0 0;
    color: var(--text-muted);
    max-width: 62ch;
    margin-inline: auto;
    text-align: center;
}

.statement-closure {
    color: var(--text);
    margin: 0;
}

.statement-points {
    display: grid;
    gap: 18px;
    max-width: 860px;
}

.statement-box {
    width: 100%;
    margin: 0;
    padding: 24px 28px;
    border-radius: 28px;
    border: 1px solid rgba(24, 57, 43, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 248, 241, 0.94)),
        radial-gradient(circle at top center, rgba(24, 57, 43, 0.05), transparent 46%);
    box-shadow: 0 18px 42px rgba(24, 57, 43, 0.06);
}

.statement-box p {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.08rem, 1.55vw, 1.42rem);
    line-height: 1.45;
    text-align: center;
}

.statement-box-accent {
    border-color: rgba(24, 57, 43, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 244, 235, 0.95)),
        radial-gradient(circle at top center, rgba(24, 57, 43, 0.08), transparent 44%);
}

.line-item {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(24, 57, 43, 0.07);
    text-align: center;
}

.line-item span {
    width: 10px;
    height: 10px;
    margin-top: 0;
    border-radius: 999px;
    background: var(--accent);
    flex: 0 0 auto;
}

.line-item p {
    margin: 0;
    color: var(--text);
}

.dual-panel {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    gap: 22px;
    justify-content: center;
}

.structure-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top center, rgba(24, 57, 43, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(246, 244, 235, 0.96) 18%, rgba(246, 244, 235, 1));
    padding: clamp(96px, 11vw, 136px) 0 92px;
    border-top: 1px solid rgba(24, 57, 43, 0.06);
    border-bottom: 1px solid rgba(24, 57, 43, 0.05);
}

.structure-section::before,
.structure-section::after {
    content: '';
    position: absolute;
    inset: 0;
}

.structure-section::before {
    background:
        radial-gradient(circle at top center, rgba(24, 57, 43, 0.07), transparent 26%),
        radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.32), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 56%, rgba(24, 57, 43, 0.03));
}

.structure-section::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.04) 42%, rgba(24, 57, 43, 0.04) 74%, rgba(24, 57, 43, 0.06));
}

.structure-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 34px;
    align-content: start;
    justify-items: center;
}

.structure-intro {
    position: relative;
    z-index: 3;
    max-width: 760px;
    padding-inline: 12px;
    text-shadow: none;
}

.structure-intro .eyebrow {
    margin-bottom: 16px;
    color: var(--accent);
    font-size: clamp(0.8rem, 1vw, 0.92rem);
    letter-spacing: 0.24em;
}

.structure-intro h2,
.structure-intro p {
    position: relative;
    z-index: 3;
}

.structure-intro h2 {
    font-size: clamp(2.7rem, 5vw, 4.6rem);
    line-height: 0.94;
    color: var(--text);
    text-shadow: none;
}

.structure-intro p {
    max-width: 34ch;
    margin-inline: auto;
    color: var(--text-muted);
}

.structure-visual {
    position: relative;
    z-index: 2;
    width: min(100%, 1040px);
    margin: 0;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(24, 57, 43, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.08)),
        rgba(255, 255, 255, 0.72);
    box-shadow:
        0 22px 52px rgba(24, 57, 43, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.structure-visual::before,
.structure-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.structure-visual::before {
    background:
        linear-gradient(180deg, rgba(24, 57, 43, 0.03), rgba(24, 57, 43, 0.12) 42%, rgba(24, 57, 43, 0.26)),
        linear-gradient(90deg, rgba(24, 57, 43, 0.12), rgba(24, 57, 43, 0.02) 38%, rgba(24, 57, 43, 0.08));
}

.structure-visual::after {
    inset: -8%;
    background:
        radial-gradient(circle at 28% 34%, rgba(255, 255, 255, 0.12), transparent 14%),
        linear-gradient(108deg, transparent 36%, rgba(255, 255, 255, 0.1) 49%, transparent 61%);
    mix-blend-mode: screen;
    opacity: 0.28;
}

.structure-visual img {
    width: 100%;
    aspect-ratio: 16 / 8.4;
    object-fit: cover;
    object-position: 42% 52%;
    display: block;
    filter: saturate(0.94) contrast(1.03) brightness(0.9);
    transform: scale(1.02);
}

.section-intro {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.process-section {
    background:
        radial-gradient(circle at top center, rgba(24, 57, 43, 0.05), transparent 22%),
        linear-gradient(180deg, rgba(246, 244, 235, 1) 0%, rgba(241, 238, 228, 0.94) 100%);
}

.process-section .section-intro p {
    max-width: 58ch;
}

.process-highlights {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 860px;
    margin-inline: auto;
}

.process-highlights span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid rgba(24, 57, 43, 0.14);
    border-radius: 999px;
    background: rgba(24, 57, 43, 0.06);
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.process-flow {
    margin-top: 42px;
    display: grid;
    gap: 18px;
    max-width: 920px;
    margin-inline: auto;
}

.process-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.process-node {
    position: relative;
    display: flex;
    justify-content: center;
}

.process-node::after {
    content: '';
    position: absolute;
    top: 60px;
    bottom: -18px;
    width: 1px;
    background: linear-gradient(180deg, rgba(24, 57, 43, 0.24), rgba(24, 57, 43, 0.05));
}

.process-item:last-child .process-node::after {
    display: none;
}

.process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    min-height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(24, 57, 43, 0.12);
    background: var(--accent);
    box-shadow: 0 18px 36px rgba(24, 57, 43, 0.12);
    color: var(--quipo-bg);
    letter-spacing: 0.24em;
    font-size: 0.76rem;
    text-indent: 0.24em;
}

.process-card {
    position: relative;
    min-height: 0;
    padding: 28px 30px;
    border-radius: 28px;
    border: 1px solid rgba(24, 57, 43, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(250, 248, 241, 0.97)),
        radial-gradient(circle at top right, rgba(24, 57, 43, 0.06), transparent 38%);
    box-shadow: 0 18px 40px rgba(24, 57, 43, 0.065);
    text-align: left;
    transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.process-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(24, 57, 43, 0.03), transparent 30%);
    pointer-events: none;
}

.process-card:hover,
.process-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(24, 57, 43, 0.14);
}

.process-card h3 {
    margin: 0;
    font-size: clamp(1.22rem, 1.7vw, 1.64rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    max-width: none;
}

.process-card p {
    margin: 12px 0 0;
    max-width: 58ch;
    color: var(--text-muted);
    text-align: left;
    font-size: 0.98rem;
    line-height: 1.62;
}

.scenario-section .section-intro p {
    max-width: 56ch;
}

.scenario-table-wrap {
    margin-top: 34px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px);
    width: min(100%, 980px);
    margin-inline: auto;
}

.scenario-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.scenario-table th,
.scenario-table td {
    padding: 18px 22px;
    text-align: center;
    border-bottom: 1px solid var(--line-soft);
}

.scenario-table thead th {
    color: var(--text-soft);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: rgba(255, 255, 255, 0.03);
}

.scenario-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.scenario-table tbody tr:last-child td {
    border-bottom: none;
}

.scenario-table strong {
    font-weight: 700;
}

.scenario-note {
    margin: 18px 0 0;
    text-align: center;
}

.contact-section {
    background:
        radial-gradient(circle at top center, rgba(24, 57, 43, 0.05), transparent 24%),
        linear-gradient(180deg, rgba(241, 238, 228, 0.72), rgba(246, 244, 235, 1));
    border-top: 1px solid var(--line-soft);
}

.contact-card {
    padding: 30px;
    border-radius: var(--radius);
    width: min(100%, 860px);
    margin-inline: auto;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 241, 0.96));
    box-shadow: 0 20px 44px rgba(24, 57, 43, 0.07);
}

.login-main {
    min-height: 100vh;
}

.login-stage {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    isolation: isolate;
    padding: calc(var(--header-height) + 40px) 0 40px;
    background:
        radial-gradient(circle at top left, rgba(24, 57, 43, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(246, 244, 235, 1));
}

.login-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
    gap: 24px;
    align-items: center;
}

.login-intro,
.login-card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 34px;
}

.login-intro h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.login-intro p:last-child,
.login-note {
    margin: 18px 0 0;
    color: var(--text-muted);
}

.login-note {
    font-size: 0.9rem;
}

.login-role-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 4px;
}

.login-role-option {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 18px;
    border: 1px solid rgba(24, 57, 43, 0.08);
    background: rgba(255, 255, 255, 0.84);
    color: var(--text-soft);
    font-weight: 600;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.login-role-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.login-role-option span {
    pointer-events: none;
}

.login-role-option:hover,
.login-role-option:focus-within {
    transform: translateY(-1px);
    border-color: rgba(24, 57, 43, 0.18);
    color: var(--text);
}

.login-role-option.is-active {
    border-color: rgba(24, 57, 43, 0.22);
    background: rgba(24, 57, 43, 0.08);
    color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.form-feedback {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 0.94rem;
    text-align: center;
}

.form-feedback-success {
    background: rgba(24, 57, 43, 0.1);
    border: 1px solid rgba(24, 57, 43, 0.18);
    color: var(--accent);
}

.form-feedback-error {
    background: rgba(229, 83, 83, 0.12);
    border: 1px solid rgba(229, 83, 83, 0.18);
    color: var(--quipo-danger);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(24, 57, 43, 0.24);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 4px rgba(24, 57, 43, 0.06);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field-full {
    grid-column: 1 / -1;
}

.contact-form .is-invalid {
    border-color: rgba(229, 83, 83, 0.4);
    box-shadow: 0 0 0 4px rgba(229, 83, 83, 0.08);
}

.site-footer {
    padding: 48px 0 40px;
    border-top: none;
    background: var(--accent, #18392b);
}

.footer-legal {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.65;
}

.footer-legal__disclaimer {
    margin-bottom: 28px;
}

.footer-legal__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

.footer-legal__link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-legal__link:hover {
    color: #fff;
}

/* Legacy footer layout (keep for dashboard) */
.footer-shell {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(246, 244, 235, 0.68);
    font-size: 0.88rem;
    text-align: center;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-header.is-open .site-nav {
    display: flex;
}

.site-header.is-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.dashboard-page .site-header {
    background: rgba(4, 5, 8, 0.72);
    border-bottom: 1px solid var(--line-soft);
    backdrop-filter: blur(18px);
}

.dashboard-main {
    padding: calc(var(--header-height) + 36px) 0 96px;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 32px;
}

.dashboard-hero h1 {
    margin: 12px 0 0;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.dashboard-lead,
.dashboard-head-copy {
    margin: 18px 0 0;
    color: var(--text-muted);
    max-width: 760px;
}

.dashboard-hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-kicker,
.dashboard-status,
.dashboard-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        rgba(7, 9, 14, 0.84);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.dashboard-kicker,
.dashboard-status {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
}

.dashboard-kicker span,
.dashboard-status span,
.dashboard-label {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dashboard-kicker strong,
.dashboard-status strong {
    font-size: 1rem;
    line-height: 1.3;
}

.dashboard-status.is-emerald,
.dashboard-chip.is-emerald {
    border-color: rgba(96, 188, 124, 0.28);
    background: rgba(96, 188, 124, 0.1);
    color: var(--quipo-mint);
}

.dashboard-status.is-amber,
.dashboard-chip.is-amber {
    border-color: rgba(245, 178, 74, 0.28);
    background: rgba(245, 178, 74, 0.1);
    color: var(--quipo-warning-soft, #fde8b8);
}

.dashboard-status.is-rose,
.dashboard-chip.is-rose {
    border-color: rgba(229, 83, 83, 0.28);
    background: rgba(229, 83, 83, 0.1);
    color: var(--quipo-danger-soft, #f5c9c3);
}

.dashboard-status.is-slate,
.dashboard-chip.is-slate {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-card {
    padding: 26px;
}

.dashboard-metric-card {
    display: grid;
    gap: 10px;
    min-height: 170px;
}

.dashboard-value {
    font-size: clamp(1.65rem, 2.2vw, 2.15rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.dashboard-metric-card p,
.dashboard-read-card p,
.dashboard-asset-card p,
.dashboard-head-copy {
    margin: 0;
    color: var(--text-muted);
}

.dashboard-grid,
.dashboard-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-card-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.dashboard-card-head h2 {
    margin: 10px 0 0;
    font-size: clamp(1.5rem, 2.4vw, 2.35rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.dashboard-inline-metric {
    display: grid;
    gap: 6px;
    text-align: right;
}

.dashboard-inline-metric span {
    color: var(--text-soft);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-inline-metric strong {
    font-size: 0.96rem;
}

.dashboard-chart {
    position: relative;
    min-height: 280px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.dashboard-chart::before,
.dashboard-chart::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dashboard-chart::before {
    background:
        linear-gradient(to top, rgba(255, 255, 255, 0.03), transparent 60%),
        repeating-linear-gradient(
            to top,
            transparent,
            transparent 23%,
            rgba(255, 255, 255, 0.04) 23%,
            rgba(255, 255, 255, 0.04) 24%
        );
}

.dashboard-chart::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.04));
    opacity: 0.4;
}

.dashboard-chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dashboard-chart-area {
    fill: url(#equityArea);
}

.dashboard-chart-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 10px 24px rgba(255, 255, 255, 0.16));
}

.dashboard-chart-foot,
.dashboard-stats-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.dashboard-chart-foot div,
.dashboard-stats-list div {
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
    display: grid;
    gap: 6px;
}

.dashboard-chart-foot span,
.dashboard-stats-list span {
    color: var(--text-soft);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-chart-foot strong,
.dashboard-stats-list strong {
    font-size: 1rem;
}

.dashboard-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.dashboard-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-reads,
.dashboard-asset-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-read-card {
    min-height: 180px;
}

.dashboard-asset-grid {
    margin-top: 22px;
}

.dashboard-asset-card {
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.025);
    display: grid;
    gap: 10px;
}

.dashboard-asset-card strong {
    font-size: 1.3rem;
    line-height: 1.05;
}

.dashboard-asset-return {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.045em;
}

.dashboard-comparison-card,
.dashboard-table-card {
    margin-bottom: 24px;
}

.dashboard-table-wrap {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 16px 0;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
}

.dashboard-table th {
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

.dashboard-table td {
    color: var(--text);
    font-size: 0.95rem;
}

.dashboard-table .is-positive {
    color: var(--quipo-mint);
}

.dashboard-table .is-negative {
    color: var(--quipo-danger-soft, #f5c9c3);
}

.dashboard-error {
    margin-bottom: 24px;
}

@media (max-width: 1080px) {
    .statement-shell,
    .contact-shell,
    .dual-panel,
    .login-shell,
    .dashboard-hero,
    .dashboard-grid,
    .dashboard-data-grid {
        grid-template-columns: 1fr;
    }

    .detail-list,
    .form-grid,
    .hero-meta,
    .dashboard-metrics,
    .dashboard-reads,
    .dashboard-asset-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-meta,
    .dashboard-chart-foot,
    .dashboard-stats-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-center {
        width: 100%;
        max-width: 720px;
    }

    .hero-badge {
        position: static;
        margin-top: 0;
        width: 100%;
        max-width: 420px;
        justify-self: start;
    }

    .hero-image::before {
        opacity: 0.12;
    }

    .hero-image::after {
        opacity: 0.15;
        filter: blur(10px) saturate(1) brightness(0.8);
    }

    .hero-scrim::before {
        opacity: 0.7;
    }

    .hero-title-mark {
        width: min(740px, 86vw);
        height: clamp(148px, 20vw, 214px);
    }

    .scroll-popup {
        position: static;
        max-width: none;
        margin-bottom: 18px;
    }

    .process-flow {
        max-width: 860px;
    }

    .process-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 20px;
    }

    .structure-columns {
        grid-template-columns: 1fr;
    }

    .structure-list {
        grid-template-columns: 1fr;
    }

    .structure-shell {
        gap: 28px;
    }

    .structure-visual {
        width: min(100%, 920px);
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 78px;
    }

    .header-shell {
        justify-content: flex-end;
    }

    .site-nav {
        right: 0;
    }

    .button-login {
        min-height: 46px;
        padding: 0 18px;
    }

    .header-actions {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .lang-switch-link {
        min-width: 38px;
        min-height: 38px;
        padding: 0 10px;
    }
}

@media (max-width: 640px) {
    .container,
    .hero-inner {
        width: min(100% - 24px, 1200px);
    }

    .hero-inner {
        padding-bottom: 28px;
    }

    .hero-center h1,
    .statement-copy h2,
    .panel-card h2,
    .section-intro h2,
    .contact-copy h2 {
        font-size: clamp(2.2rem, 12vw, 3.4rem);
    }

    .hero-center {
        max-width: 100%;
        margin-left: 0;
    }

    .hero-title-mark {
        width: min(520px, 92vw);
        height: clamp(126px, 28vw, 176px);
    }

    .hero-image::before,
    .hero-image::after,
    .hero-scrim::after {
        animation-duration: 40s;
    }

    .hero-scrim::after {
        opacity: 0.08;
    }

    .process-highlights {
        gap: 10px;
    }

    .process-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 16px;
    }

    .process-node::after {
        top: 48px;
    }

    .process-step {
        width: 44px;
        min-height: 44px;
        border-radius: 14px;
        font-size: 0.7rem;
    }

    .process-card {
        padding: 22px 20px;
    }

    .process-card h3 {
        font-size: 1.18rem;
    }

    .hero-badge {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px 22px;
        max-width: 100%;
    }

    .hero-badge-divider {
        width: 100%;
        height: 1px;
    }

    .hero-logo {
        width: min(80vw, 260px);
    }

    .brand-lockup-image {
        width: min(150px, 34vw);
        min-width: 104px;
    }

    .button {
        width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .button-login {
        width: auto;
        padding: 0 16px;
        min-height: 44px;
        font-size: 0.88rem;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
    }

    .site-nav {
        right: 0;
        width: min(100%, 300px);
    }

    .panel-card,
    .process-card,
    .contact-card,
    .dashboard-card,
    .dashboard-kicker,
    .dashboard-status {
        padding: 24px;
    }

    .minimal-section {
        padding: 88px 0;
    }

    .structure-section {
        padding: 84px 0 72px;
    }

    .structure-shell {
        gap: 24px;
    }

    .structure-intro p {
        max-width: 30ch;
    }

    .structure-visual {
        border-radius: 26px;
    }

    .structure-visual img {
        aspect-ratio: 16 / 11.4;
        object-position: 38% 50%;
        transform: scale(1.04);
    }

    .footer-shell {
        flex-direction: column;
    }

    .dashboard-main {
        padding-bottom: 72px;
    }

    .dashboard-hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .dashboard-card-head {
        flex-direction: column;
    }

    .dashboard-chart {
        min-height: 220px;
    }

    .dashboard-chart-foot,
    .dashboard-stats-list,
    .dashboard-hero-meta {
        grid-template-columns: 1fr;
    }

    .dashboard-table {
        min-width: 580px;
    }
}

@media (hover: none), (pointer: coarse) {
    .hero-stage {
        --hero-pan-x: 0px;
        --hero-pan-y: 0px;
    }

    .hero-image::before {
        opacity: 0.11;
    }

    .hero-image::after {
        opacity: 0.14;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image img,
    .hero-image::before,
    .hero-image::after,
    .hero-scrim::before,
    .hero-scrim::after {
        animation: none !important;
        transform: none !important;
    }

    .hero-stage {
        --hero-pan-x: 0px !important;
        --hero-pan-y: 0px !important;
    }
}

@keyframes popupFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* ===================================================================
   Register section — Sprint A.6
   =================================================================== */

.register-section {
    background:
        radial-gradient(circle at top center, rgba(31, 90, 64, 0.06), transparent 26%),
        linear-gradient(180deg, var(--quipo-bg-2), var(--quipo-bg) 80%);
    border-top: 1px solid var(--quipo-line);
}

.register-shell {
    max-width: 760px;
    margin-inline: auto;
    display: grid;
    gap: 40px;
}

.register-card {
    background: var(--quipo-surface);
    border: 1px solid var(--quipo-line);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(24, 57, 43, 0.06);
    display: grid;
    gap: 20px;
}

.register-row {
    display: grid;
    gap: 20px;
}

.register-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 600px) {
    .register-row--2 {
        grid-template-columns: 1fr;
    }
}

.register-row--actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.register-field {
    display: grid;
    gap: 8px;
}

.register-field > span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--quipo-ink);
    letter-spacing: 0.01em;
}

.register-field > span small {
    display: block;
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--quipo-text-muted);
    margin-top: 2px;
}

.register-field input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--quipo-line);
    background: var(--quipo-bg-2);
    color: var(--quipo-ink);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.register-field input:focus {
    outline: none;
    border-color: var(--quipo-primary);
    background: var(--quipo-surface);
    box-shadow: 0 0 0 3px rgba(31, 90, 64, 0.1);
}

.register-field input::placeholder {
    color: var(--quipo-text-muted);
    opacity: 0.7;
}

.register-field--with-validation {
    position: relative;
}

.register-referral-status {
    display: block;
    font-size: 0.8rem;
    min-height: 1.2em;
    margin-top: 4px;
    font-weight: 500;
    color: var(--quipo-text-muted);
}

.register-referral-status--checking {
    color: var(--quipo-text-muted);
}

.register-referral-status--ok {
    color: var(--quipo-primary);
}

.register-referral-status--err {
    color: var(--quipo-danger);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border-radius: 8px;
    border: 1px solid rgba(31, 90, 64, 0.2);
    background: var(--quipo-primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--quipo-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(31, 90, 64, 0.2);
    outline: none;
}

.btn-primary:active {
    transform: translateY(0);
}

.register-status {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--quipo-text-muted);
}

.register-status--ok {
    color: var(--quipo-primary);
}

.register-status--err {
    color: var(--quipo-danger);
}
