:root {
    --bg: #03040c;
    --bg-soft: #080a16;
    --purple: #8b3dff;
    --purple-soft: rgba(139, 61, 255, .14);
    --cyan: #55d7ff;
    --cyan-soft: rgba(85, 215, 255, .14);
    --moon: #dce7ff;
    --text: #f4f7ff;
    --muted: #9db2d8;
    --faint: #6b7a9c;
    --green: #35d68a;
    --red: #ff5d71;
    --light-bg: #f6f7fb;
    --light-text: #0b0d18;
    --light-muted: #565b73;
    --font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --ease: cubic-bezier(.16, .8, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

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

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(53, 214, 138, .5);
    animation: live-pulse 2.2s ease-out infinite;
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(53, 214, 138, .5); }
    70% { box-shadow: 0 0 0 8px rgba(53, 214, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(53, 214, 138, 0); }
}

/* ============ Scroll reveal ============ */

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

[data-reveal-delay="1"] { transition-delay: 90ms; }
[data-reveal-delay="2"] { transition-delay: 180ms; }
[data-reveal-delay="3"] { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============ Buttons ============ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease, filter 160ms ease;
}

.btn-primary {
    color: #05030d;
    background: linear-gradient(120deg, var(--cyan), var(--purple));
    box-shadow: 0 12px 30px rgba(139, 61, 255, .35);
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
}

.btn-secondary:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

.btn-lg { height: 56px; padding: 0 34px; font-size: 16px; }

.positive { color: var(--green); }
.negative { color: var(--red); }

/* ============ Nav ============ */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(20px, 5vw, 64px);
    background: rgba(3, 4, 12, .72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand-symbol { height: 26px; width: auto; }
.nav-brand-word { height: 14px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 4px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.lang-toggle span { padding: 3px 8px; border-radius: 999px; transition: background 160ms ease, color 160ms ease; }
.lang-toggle i { width: 1px; height: 12px; background: rgba(255, 255, 255, .16); }
html[data-lang="es"] .lang-toggle span[data-lang-option="es"],
html[data-lang="en"] .lang-toggle span[data-lang-option="en"] {
    background: var(--purple);
    color: #fff;
}

.nav-cta {
    height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--cyan), var(--purple));
    color: #05030d;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
}

/* ============ Hero ============ */

.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 69px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 70px) clamp(20px, 5vw, 64px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% -10% -10%;
    background:
        radial-gradient(38% 55% at 20% 25%, rgba(139, 61, 255, .3), transparent 70%),
        radial-gradient(32% 48% at 85% 15%, rgba(85, 215, 255, .22), transparent 70%),
        radial-gradient(40% 40% at 50% 100%, rgba(139, 61, 255, .12), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: -1;
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
}

.hero-scroll-cue span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 999px;
    background: var(--cyan);
    animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
    0% { opacity: 1; transform: translateY(0); }
    70% { opacity: 0; transform: translateY(14px); }
    100% { opacity: 0; transform: translateY(14px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-cue span { animation: none; }
}

@media (max-height: 760px) {
    .hero { min-height: auto; padding: 20px 0 60px; }
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.01em;
}

.hero-title-accent {
    background: linear-gradient(120deg, var(--cyan), var(--purple) 65%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-body {
    max-width: 480px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

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

.hero-note {
    margin: 16px 0 0;
    color: var(--faint);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    perspective: 1400px;
}

.hero-terminal-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    background: #0a0e1a;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03);
    transform: rotateY(-8deg) rotateX(3deg) rotateZ(1deg);
    transition: transform 300ms ease;
    will-change: transform;
}

.hero-terminal-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 14px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: var(--muted);
    font-size: 12px;
}

.hero-terminal-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(53, 214, 138, .5);
}

.hero-terminal-bar strong { margin-left: auto; font-family: var(--font-mono); }

.hero-terminal-image { width: 100%; display: block; }

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(14, 16, 28, .9);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
    animation: chip-float 5s ease-in-out infinite;
}

.float-chip small { display: block; color: var(--faint); font-size: 10px; }
.float-chip strong { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; }

.float-chip-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.float-chip-icon-cyan { background: var(--cyan-soft); color: var(--cyan); }
.float-chip-icon-green { background: rgba(53, 214, 138, .16); color: var(--green); }
.float-chip-icon-violet { background: var(--purple-soft); color: var(--purple); }

.float-chip-signal { top: -18px; right: -10px; animation-delay: 0s; }
.float-chip-exit { bottom: 64px; left: -30px; animation-delay: 1.4s; }
.float-chip-journal { bottom: -20px; right: 40px; animation-delay: 2.8s; }

@keyframes chip-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-terminal-frame { transform: none; }
    .float-chip { animation: none; }
    .live-dot { animation: none; }
}

/* ============ Broker row ============ */

.broker-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 20px 0 70px;
}

.broker-row-label {
    color: var(--faint);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.broker-row-track {
    display: flex;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.broker-row-list {
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 0 28px;
    flex: 0 0 auto;
    animation: broker-scroll 22s linear infinite;
}

.broker-row-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.broker-row-list img { width: 24px; height: 24px; object-fit: contain; }

@keyframes broker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
    .broker-row-list { animation: none; }
}

/* ============ Feature sections ============ */

.feature-section {
    padding: clamp(24px, 3vw, 36px) clamp(10px, 2.4vw, 24px);
}

/* The light sections aren't full-bleed page-color changes — they're a big
   rounded "window" card floating inset within the dark page, like a panel
   nested inside the main canvas. */
.section-window {
    max-width: 1680px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 56px);
    border-radius: 32px;
}

.section-window-light {
    background: var(--light-bg);
    color: var(--light-text);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .35), inset 0 1px rgba(255, 255, 255, .6);
}

.section-window-light .eyebrow { color: var(--purple); }

.feature-intro {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.feature-intro h2 {
    margin-top: 14px;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.01em;
}

.feature-intro p {
    margin: 14px 0 0;
    color: var(--light-muted);
    font-size: 16px;
    line-height: 1.6;
}

.steps-section .feature-intro p,
.trust-section .feature-intro p { color: var(--muted); }

/* Split intro: title block on the left, supporting copy on the right —
   avoids the "everything is one centered paragraph" look. */
.feature-intro-split {
    max-width: none;
    margin: 0 0 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    gap: 32px;
    align-items: end;
    text-align: left;
}

.feature-intro-split h2 { margin-top: 10px; }

.feature-intro-split p {
    margin: 0;
    padding-bottom: 4px;
    font-size: 16px;
}

@media (max-width: 760px) {
    .feature-intro-split { grid-template-columns: 1fr; align-items: start; }
}

.feature-tabs { max-width: 1160px; margin: 0 auto; }

.feature-tab-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.feature-tab-list button {
    height: 42px;
    padding: 0 20px;
    border: 1px solid rgba(11, 13, 24, .12);
    border-radius: 999px;
    background: #fff;
    color: var(--light-muted);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.feature-tab-list button.is-active {
    background: var(--light-text);
    color: #fff;
    border-color: var(--light-text);
}

.feature-tab-panel {
    display: none;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
}

.feature-tab-panel.is-active { display: grid; animation: tab-in 420ms var(--ease) both; }

@keyframes tab-in {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .feature-tab-panel.is-active { animation: none; }
}

.feature-tab-copy h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; }
.feature-tab-copy p { margin: 14px 0 0; color: var(--light-muted); line-height: 1.6; }

.feature-tab-copy ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }

.feature-tab-copy li {
    position: relative;
    padding-left: 22px;
    color: var(--light-text);
    font-size: 14px;
    font-weight: 500;
}

.feature-tab-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: linear-gradient(120deg, var(--cyan), var(--purple));
}

.feature-tab-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-tab-images-wide { grid-template-columns: 1fr; }

.feature-tab-images img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 24px 50px rgba(11, 13, 24, .18);
    border: 1px solid rgba(11, 13, 24, .08);
}

@media (max-width: 820px) {
    .feature-tab-panel { grid-template-columns: minmax(0, 1fr); }
    .feature-tab-images { grid-template-columns: 1fr; }
}

/* ============ Steps (dark) ============ */

.steps-section { padding: clamp(60px, 8vw, 110px) clamp(20px, 5vw, 64px); }

.steps-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-card {
    position: relative;
    padding: 30px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
}

.step-icon { width: 34px; height: 34px; margin-bottom: 18px; }

.step-number {
    position: absolute;
    top: 26px;
    right: 24px;
    color: rgba(255, 255, 255, .14);
    font-family: var(--font-mono);
    font-size: 30px;
    font-weight: 700;
}

.step-card h3 { font-size: 1.2rem; font-weight: 650; }
.step-card p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

@media (max-width: 820px) {
    .steps-grid { grid-template-columns: 1fr; }
}

/* ============ Journal grid ============ */

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

.journal-card {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(11, 13, 24, .08);
    box-shadow: 0 20px 44px rgba(11, 13, 24, .12);
}

.journal-card-wide { grid-column: 1 / -1; }

.journal-card img { width: 100%; }

.journal-card figcaption { padding: 16px 18px 20px; }

.journal-card b { display: block; font-size: 15px; font-weight: 700; }
.journal-card span { display: block; margin-top: 4px; color: var(--light-muted); font-size: 13.5px; line-height: 1.5; }

@media (max-width: 820px) {
    .journal-grid { grid-template-columns: 1fr; }
}

/* ============ Ecosystem hub ============ */

.ecosystem-section { padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 64px); }

.ecosystem-flow {
    position: relative;
    max-width: 1280px;
    height: clamp(420px, 46vw, 520px);
    margin: 0 auto;
}

.eco-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.eco-line {
    fill: none;
    stroke: rgba(255, 255, 255, .12);
    stroke-width: .3;
    vector-effect: non-scaling-stroke;
}

.eco-line-fan { stroke: rgba(139, 61, 255, .16); }

.eco-flow {
    fill: none;
    stroke: var(--purple);
    stroke-width: .55;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 6 14;
    filter: drop-shadow(0 0 2px rgba(139, 61, 255, .85));
    animation: eco-flow-move 1.8s linear infinite;
    animation-delay: var(--flow-delay, 0s);
}

.eco-flow-fan { stroke-dasharray: 5 16; }

.eco-flow-cyan {
    stroke: var(--cyan);
    filter: drop-shadow(0 0 2px rgba(85, 215, 255, .85));
}

@keyframes eco-flow-move {
    from { stroke-dashoffset: 40; }
    to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .eco-flow { animation: none; }
}

.eco-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    width: 130px;
    transform: translate(-50%, -50%);
}

.eco-node strong { font-size: 13px; font-weight: 700; }
.eco-node small { color: var(--muted); font-size: 11px; line-height: 1.4; }

.eco-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    margin-bottom: 2px;
}

.eco-icon img { width: 24px; height: 24px; object-fit: contain; }

.eco-icon-hub {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--cyan-soft), var(--purple-soft));
    box-shadow: inset 0 0 0 1px rgba(85, 215, 255, .45), 0 0 34px rgba(139, 61, 255, .3);
    animation: eco-pulse 2.4s ease-in-out infinite;
}

.eco-icon-hub img { width: 36px; height: 36px; }

@keyframes eco-pulse {
    0%, 100% { box-shadow: inset 0 0 0 1px rgba(85, 215, 255, .45), 0 0 24px rgba(139, 61, 255, .25); }
    50% { box-shadow: inset 0 0 0 1px rgba(85, 215, 255, .7), 0 0 42px rgba(139, 61, 255, .45); }
}

.eco-node-broker { width: 96px; gap: 4px; }
.eco-node-broker strong { font-size: 11px; font-weight: 600; color: var(--muted); }

.eco-icon-broker {
    width: 44px;
    height: 44px;
    background: #fff;
    padding: 6px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 0 16px rgba(0, 0, 0, .2);
}

.eco-icon-broker img { width: 100%; height: 100%; }

.eco-pos-tv { left: 4%; top: 50%; }
.eco-pos-vylmoon { left: 23%; top: 50%; }
.eco-pos-b1 { left: 52%; top: 8%; }
.eco-pos-b2 { left: 52%; top: 29%; }
.eco-pos-b3 { left: 52%; top: 50%; }
.eco-pos-b4 { left: 52%; top: 71%; }
.eco-pos-b5 { left: 52%; top: 92%; }
.eco-pos-protect { left: 76%; top: 50%; }
.eco-pos-journal { left: 96%; top: 50%; }

@media (max-width: 900px) {
    .ecosystem-flow { height: auto; }
    .eco-svg { display: none; }
    .ecosystem-flow {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .eco-node { position: static; transform: none; width: auto; }
    .eco-node-broker { flex-direction: row; gap: 10px; }
}

/* ============ Trust (dark) ============ */

.trust-section { padding: clamp(60px, 8vw, 110px) clamp(20px, 5vw, 64px); }

.trust-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.trust-card {
    padding: 28px 22px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    border: 1px solid rgba(255, 255, 255, .07);
}

.trust-icon { width: 30px; height: 30px; margin-bottom: 16px; }
.trust-card h3 { font-size: 1.05rem; font-weight: 650; }
.trust-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 820px) {
    .trust-grid { grid-template-columns: 1fr; }
}

/* ============ Final CTA ============ */

.final-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: clamp(70px, 10vw, 120px) 20px;
    background: radial-gradient(60% 100% at 50% 0%, rgba(139, 61, 255, .18), transparent 70%);
}

.final-cta h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
.final-cta p { margin: 0; color: var(--muted); font-size: 16px; }
.final-cta .btn { margin-top: 14px; }

/* ============ Pricing ============ */

.pricing-section { padding: clamp(60px, 8vw, 110px) clamp(20px, 5vw, 64px); }

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

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
    transition: box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.pricing-card:hover { transform: translateY(-3px); }

.pricing-card-pro { box-shadow: inset 0 0 0 1px rgba(139, 61, 255, .4); background: rgba(139, 61, 255, .05); }

.pricing-badge {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pricing-badge-founder { color: var(--green); background: rgba(53, 214, 138, .12); box-shadow: inset 0 0 0 1px rgba(53, 214, 138, .3); }
.pricing-badge-pro { color: #fff; background: var(--purple); box-shadow: 0 0 18px rgba(139, 61, 255, .45); }

.pricing-card h3 { font-size: 1.3rem; font-weight: 700; }

.pricing-price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 20px; }
.pricing-price span { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }
.pricing-price small { color: var(--faint); font-size: 14px; }

.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }

.pricing-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pricing-dot-cyan { background: var(--cyan); box-shadow: 0 0 8px rgba(85, 215, 255, .7); }
.pricing-dot-green { background: var(--green); box-shadow: 0 0 8px rgba(53, 214, 138, .7); }
.pricing-dot-purple { background: var(--purple); box-shadow: 0 0 8px rgba(139, 61, 255, .7); }

.pricing-btn { width: 100%; justify-content: center; }

.pricing-secure {
    max-width: 520px;
    margin: 28px auto 0;
    color: var(--faint);
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

/* ============ VYLMOON wordmark spotlight ============ */

.wordmark-wrap {
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin-top: 40px;
}

.vylmoon-wordmark {
    --spot-x: 50%;
    --spot-y: 50%;
    position: relative;
    display: inline-grid;
    place-items: center;
    cursor: default;
    user-select: none;
    width: min(1300px, 100%);
    padding: .1em 0;
    font-family: var(--font-display);
    font-size: clamp(4.2rem, 14vw, 11rem);
    font-weight: 300;
    line-height: .9;
    letter-spacing: .075em;
    text-transform: uppercase;
    text-align: center;
}

.vylmoon-wordmark-base,
.vylmoon-wordmark-light { grid-area: 1 / 1; }

.vylmoon-wordmark-base {
    color: rgba(148, 163, 184, .08);
    text-shadow: 0 0 22px rgba(15, 23, 42, .55);
}

.vylmoon-wordmark-light {
    color: transparent;
    background: radial-gradient(circle 260px at var(--spot-x) var(--spot-y),
        rgba(226, 232, 240, .82) 0%, rgba(148, 163, 184, .42) 34%,
        rgba(85, 215, 255, .22) 58%, rgba(15, 23, 42, 0) 76%);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0;
    filter: drop-shadow(0 0 16px rgba(85, 215, 255, .12));
    transition: opacity .16s ease-out;
    will-change: opacity, background;
}

.vylmoon-wordmark:hover .vylmoon-wordmark-light { opacity: 1; }

.pricing-legal-note {
    max-width: 640px;
    margin: 28px auto 0;
    color: var(--faint);
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
}

/* ============ Footer ============ */

.site-footer {
    padding: 60px 32px 50px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.site-footer-top {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1.1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.site-footer-logo { height: 28px; margin-bottom: 16px; }

.site-footer-copyright {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 700;
}

.site-footer-trademark,
.site-footer-risk-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.site-footer-contact { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.site-footer-contact a { color: var(--cyan); font-weight: 600; }
.site-footer-contact a:hover { color: var(--text); }

.site-footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.site-footer-social a {
    padding: 6px 12px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, .12);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    transition: color 160ms ease, border-color 160ms ease;
}
.site-footer-social a:hover { color: var(--cyan); border-color: rgba(85, 215, 255, .45); }

.site-footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--muted); }
.site-footer-col a { transition: color 160ms ease; }
.site-footer-col a:hover { color: var(--text); }

.site-footer-col-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 3px;
    font-weight: 700;
}

.footer-legal-link {
    all: unset;
    cursor: pointer;
    font-size: 15px;
    color: var(--muted);
    transition: color 160ms ease;
}
.footer-legal-link:hover { color: var(--cyan); }

.site-footer-disclaimers {
    max-width: 1400px;
    margin: 42px auto 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-footer-disclaimers p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

@media (max-width: 860px) {
    .site-footer-top { grid-template-columns: 1fr; gap: 36px; }
}

/* ============ Legal page (fullscreen) ============ */

.legal-page-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.legal-page-backdrop.is-open { opacity: 1; pointer-events: auto; }

.legal-page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.legal-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(3, 4, 12, .95);
    backdrop-filter: blur(12px);
}

.legal-nav-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: linear-gradient(120deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    flex-shrink: 0;
}

.legal-nav-tabs {
    display: flex;
    gap: 16px;
    flex: 1;
}

.legal-tab-btn {
    all: unset;
    padding: 8px 14px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

.legal-tab-btn:hover { color: var(--cyan); }

.legal-tab-btn.is-active {
    color: var(--text);
    background: rgba(85, 215, 255, .1);
    box-shadow: inset 0 0 0 1px rgba(85, 215, 255, .3);
}

.legal-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.legal-nav-home,
.legal-nav-close {
    all: unset;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

.legal-nav-home:hover { color: var(--cyan); background: rgba(85, 215, 255, .08); }
.legal-nav-close:hover { color: var(--red); background: rgba(255, 93, 113, .08); }

.legal-content-area {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.legal-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 64px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
}

.legal-summary-box {
    padding: 16px 18px;
    margin-bottom: 28px;
    border-radius: 12px;
    background: rgba(85, 215, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(85, 215, 255, .25);
}

.legal-summary-label {
    margin: 0 0 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 700;
}

.legal-summary-box p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.legal-subtitle { margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.legal-section { margin-bottom: 32px; }
.legal-section h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); }
.legal-section p { margin: 0 0 12px; color: var(--muted); line-height: 1.75; }

.legal-section ul { display: flex; flex-direction: column; gap: 10px; }
.legal-section li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); line-height: 1.7; }
.legal-bullet { color: var(--cyan); flex-shrink: 0; font-weight: 700; margin-top: 2px; }

/* ============ Responsive ============ */

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; }
    .hero-visual { margin-top: 40px; }
    .nav-links { display: none; }
}

@media (max-width: 560px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
}

/* ============ 2026 LIGHT PRODUCT REDESIGN ============ */

:root {
    --page: #f8f8fc;
    --surface: #ffffff;
    --ink: #111329;
    --ink-soft: #272a45;
    --page-muted: #62677f;
    --page-faint: #9297aa;
    --page-line: #e7e6ef;
    --terminal: #050710;
}

html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(circle at 12% 5%, rgba(139, 61, 255, .10), transparent 25rem),
        radial-gradient(circle at 88% 3%, rgba(85, 215, 255, .12), transparent 28rem),
        var(--page);
    color: var(--ink);
}

main { overflow: hidden; }

.nav {
    top: 14px;
    width: min(1180px, calc(100% - 32px));
    min-height: 64px;
    padding: 10px 14px 10px 20px;
    border: 1px solid rgba(17, 19, 41, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 18px 50px rgba(37, 31, 82, .09);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    margin-left: auto;
    margin-right: auto;
}

.nav-brand { gap: 9px; }
.nav-brand-symbol { width: 30px; height: 30px; }
.nav-brand-word { width: 92px; filter: brightness(0) saturate(100%); opacity: .88; }
.nav-links { gap: 34px; }
.nav-links a { color: #565b72; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.lang-toggle { color: #686d82; background: #f2f1f7; box-shadow: inset 0 0 0 1px rgba(17, 19, 41, .07); }
.lang-toggle i { background: rgba(17, 19, 41, .12); }
.lang-toggle span.is-active { color: #fff; }
.nav-cta {
    min-height: 42px;
    padding: 0 20px;
    color: #fff;
    background: var(--ink);
    box-shadow: 0 8px 24px rgba(17, 19, 41, .18);
}

.hero {
    width: min(1220px, calc(100% - 40px));
    display: grid;
    min-height: 700px;
    margin: 0 auto;
    padding: 120px 8px 72px;
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    gap: 34px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 70px -12% 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 40%, rgba(139, 61, 255, .14), transparent 23rem),
        radial-gradient(circle at 82% 36%, rgba(85, 215, 255, .16), transparent 26rem);
    filter: blur(16px);
}

.hero-inner { display: contents; }
.hero-copy { align-self: center; max-width: 610px; }
.hero .eyebrow-dark { color: #7452d5; }
.hero-title {
    max-width: 700px;
    font-size: clamp(3.65rem, 4.7vw, 4.55rem);
    line-height: .98;
    letter-spacing: -.055em;
    color: var(--ink);
}
.hero-title-accent { background: linear-gradient(100deg, #19bdec 0%, #7352ff 48%, #be2ce8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-body { max-width: 600px; color: var(--page-muted); font-size: 18px; line-height: 1.65; }
.hero-note { color: var(--page-faint); }
.btn { min-height: 50px; padding-inline: 25px; }
.btn-primary { color: #fff; background: var(--ink); box-shadow: 0 14px 32px rgba(17, 19, 41, .2); }
.btn-primary:hover { background: #242744; box-shadow: 0 18px 40px rgba(17, 19, 41, .25); }
.btn-secondary { color: var(--ink); background: rgba(255, 255, 255, .75); border-color: rgba(17, 19, 41, .12); }
.btn-secondary:hover { color: var(--ink); background: #fff; }

.hero-visual { align-self: center; perspective: 1300px; }
.hero-terminal {
    border: 1px solid rgba(120, 104, 255, .25);
    box-shadow: 0 48px 110px rgba(48, 35, 94, .28), 0 0 0 10px rgba(255, 255, 255, .62);
}
.float-chip { box-shadow: 0 22px 50px rgba(17, 19, 41, .22); }
.scroll-cue { color: var(--page-faint); border-color: rgba(17, 19, 41, .2); }

.broker-row {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 30px 0;
    border-top: 1px solid var(--page-line);
    border-bottom: 1px solid var(--page-line);
    color: var(--page-muted);
}
.broker-row-label { color: var(--page-faint); }
.broker-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.broker-set b { color: #41455d; }

.proof-strip {
    width: min(1180px, calc(100% - 40px));
    margin: 44px auto 100px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--page-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 20px 60px rgba(35, 31, 68, .06);
}
.proof-item { min-height: 118px; padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.proof-item + .proof-item { border-left: 1px solid var(--page-line); }
.proof-item strong { font-family: var(--font-display); font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.proof-item span { color: var(--page-muted); font-size: 13px; line-height: 1.5; }

.feature-section { padding: 0 20px 110px; }
.section-window {
    width: min(1220px, 100%);
    padding: clamp(42px, 6vw, 78px);
    border: 1px solid var(--page-line);
    border-radius: 34px;
}
.section-window-light {
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 32px 90px rgba(35, 31, 68, .09);
}
.feature-intro h2,
.showcase-copy h2,
.faq-intro h2,
.final-cta h2 {
    font-size: clamp(2.7rem, 4.5vw, 3.65rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.feature-intro-split { align-items: end; }
.feature-intro-split p { color: var(--page-muted); font-size: 17px; }
.feature-tab-list { gap: 10px; margin-top: 46px; }
.feature-tab-list button { padding: 13px 21px; border-color: var(--page-line); background: #f8f8fb; color: var(--page-muted); }
.feature-tab-list button.is-active { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: 0 10px 25px rgba(17, 19, 41, .16); }
.feature-tab-panel { min-height: 480px; margin-top: 30px; padding: 36px; border: 1px solid var(--page-line); border-radius: 24px; background: linear-gradient(145deg, #fbfbfd, #f2f1f8); }
.feature-tab-copy h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.feature-tab-images img { border: 1px solid rgba(116, 82, 213, .18); box-shadow: 0 28px 65px rgba(24, 20, 52, .22); }

.showcase-section {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto 110px;
    padding: 72px;
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    align-items: center;
    gap: 56px;
    color: #fff;
    border-radius: 34px;
    background:
        radial-gradient(circle at 10% 20%, rgba(139, 61, 255, .22), transparent 24rem),
        radial-gradient(circle at 90% 0%, rgba(85, 215, 255, .14), transparent 24rem),
        var(--terminal);
    box-shadow: 0 42px 100px rgba(13, 10, 35, .24);
}
.showcase-copy .eyebrow { color: #7edfff; }
.showcase-copy h2 { margin-top: 14px; color: #fff; }
.showcase-copy p { margin: 22px 0 0; color: #aeb6d2; font-size: 16px; line-height: 1.72; }
.showcase-list { margin-top: 28px; display: grid; gap: 13px; }
.showcase-list li { position: relative; padding-left: 27px; color: #dbe1f3; line-height: 1.5; }
.showcase-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.showcase-window { margin: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .11); border-radius: 18px; background: #080a11; box-shadow: 0 32px 80px rgba(0, 0, 0, .48); transform: perspective(1200px) rotateY(-3deg); transform-origin: center left; }
.showcase-window-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: #777f98; font: 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.showcase-window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #34384a; }
.showcase-window-bar i:first-child { background: #8b3dff; }
.showcase-window-bar span { margin-left: auto; }
.showcase-window img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left center; }

.steps-section,
.trust-section,
.pricing-section,
.ecosystem-section {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}
.steps-section { padding: 35px 0 115px; color: var(--ink); }
.steps-section .feature-intro h2 { color: var(--ink); }
.steps-section .eyebrow { color: #7452d5; }
.step-card { border-color: var(--page-line); background: #fff; box-shadow: 0 18px 55px rgba(35, 31, 68, .07); }
.step-card h3 { color: var(--ink); }
.step-card p { color: var(--page-muted); }
.step-number { color: #7452d5; }

.ecosystem-section {
    margin-bottom: 110px;
    padding: 72px;
    border-radius: 34px;
    color: #fff;
    background: radial-gradient(circle at 50% 0%, rgba(139, 61, 255, .24), transparent 55%), var(--terminal);
    box-shadow: 0 38px 90px rgba(13, 10, 35, .2);
}
.ecosystem-section .feature-intro h2 { color: #fff; }

.trust-section { padding: 20px 0 110px; color: var(--ink); }
.trust-section .feature-intro h2 { color: var(--ink); }
.trust-section .eyebrow { color: #7452d5; }
.trust-card { border-color: var(--page-line); background: #fff; box-shadow: 0 18px 55px rgba(35, 31, 68, .07); }
.trust-card h3 { color: var(--ink); }
.trust-card p { color: var(--page-muted); }

.pricing-section { padding: 0 0 110px; color: var(--ink); background: none; }
.pricing-section .feature-intro h2 { color: var(--ink); }
.pricing-section .feature-intro p { color: var(--page-muted); }
.pricing-section .eyebrow { color: #7452d5; }
.pricing-card { border: 1px solid var(--page-line); background: #fff; box-shadow: 0 22px 65px rgba(35, 31, 68, .08); }
.pricing-card-pro { border-color: rgba(139, 61, 255, .32); background: linear-gradient(160deg, #fff, #f7f2ff); box-shadow: 0 26px 75px rgba(96, 54, 168, .15); }
.pricing-card h3,
.pricing-price span { color: var(--ink); }
.pricing-price small,
.pricing-features li,
.pricing-secure,
.pricing-legal-note { color: var(--page-muted); }
.pricing-card .btn-secondary { border-color: var(--page-line); }
.wordmark-wrap { opacity: .14; }

.faq-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 110px;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 90px;
    align-items: start;
}
.faq-intro { position: sticky; top: 120px; }
.faq-intro .eyebrow { color: #7452d5; }
.faq-intro h2 { margin-top: 14px; }
.faq-intro p { margin-top: 20px; color: var(--page-muted); line-height: 1.7; }
.faq-list { border-top: 1px solid var(--page-line); }
.faq-list details { border-bottom: 1px solid var(--page-line); }
.faq-list summary { position: relative; padding: 26px 48px 26px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 19px; font-weight: 650; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 21px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--page-line); border-radius: 50%; color: #7452d5; background: #fff; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: -4px 48px 24px 0; color: var(--page-muted); line-height: 1.72; }

.final-cta-light {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 110px;
    padding: 64px 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid rgba(139, 61, 255, .15);
    border-radius: 32px;
    color: var(--ink);
    background:
        radial-gradient(circle at 0 0, rgba(85, 215, 255, .18), transparent 24rem),
        radial-gradient(circle at 100% 100%, rgba(139, 61, 255, .16), transparent 26rem),
        #fff;
    box-shadow: 0 30px 80px rgba(35, 31, 68, .1);
}
.final-cta-light .eyebrow { color: #7452d5; }
.final-cta-light h2 { margin-top: 12px; }
.final-cta-light p { margin-top: 14px; color: var(--page-muted); }
.final-cta-light .btn { flex: 0 0 auto; }

.site-footer { color: #dfe5f5; background: var(--terminal); }
.site-footer::before { content: ""; display: block; height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 61, 255, .55), rgba(85, 215, 255, .45), transparent); }

@media (max-width: 980px) {
    .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 145px; text-align: center; }
    .hero-copy { margin: 0 auto; }
    .hero-body { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { width: min(820px, 100%); margin: 25px auto 0; }
    .proof-strip { grid-template-columns: repeat(2, 1fr); }
    .proof-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--page-line); }
    .proof-item:nth-child(4) { border-top: 1px solid var(--page-line); }
    .showcase-section { grid-template-columns: 1fr; padding: 58px; }
    .showcase-window { transform: none; }
    .faq-section { grid-template-columns: 1fr; gap: 42px; }
    .faq-intro { position: static; }
    .final-cta-light { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
    .nav { top: 8px; width: calc(100% - 16px); padding-left: 12px; }
    .nav-brand-word { display: none; }
    .nav-actions { gap: 7px; }
    .lang-toggle { padding-inline: 7px; }
    .nav-cta { padding-inline: 15px; }
    .hero { width: calc(100% - 28px); padding-top: 125px; padding-bottom: 65px; }
    .hero-title { font-size: clamp(3rem, 15vw, 4.2rem); }
    .hero-body { font-size: 16px; }
    .hero-terminal { box-shadow: 0 30px 70px rgba(48, 35, 94, .25), 0 0 0 5px rgba(255, 255, 255, .7); }
    .float-chip { display: none; }
    .proof-strip { grid-template-columns: 1fr; margin-bottom: 70px; }
    .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--page-line); }
    .feature-section { padding-inline: 14px; padding-bottom: 75px; }
    .section-window { padding: 34px 20px; border-radius: 24px; }
    .feature-intro h2, .showcase-copy h2, .faq-intro h2, .final-cta h2 { font-size: 2.45rem; }
    .feature-tab-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
    .feature-tab-list { justify-content: flex-start; scrollbar-width: none; }
    .feature-tab-list::-webkit-scrollbar { display: none; }
    .feature-tab-list button { flex: 0 0 auto; }
    .feature-tab-panel { padding: 24px 18px; min-height: 0; }
    .showcase-section, .ecosystem-section { width: calc(100% - 28px); padding: 38px 22px; border-radius: 24px; }
    .showcase-window-bar span { display: none; }
    .showcase-window img { aspect-ratio: 4 / 3; }
    .steps-section, .trust-section, .pricing-section, .faq-section { width: calc(100% - 28px); }
    .final-cta-light { width: calc(100% - 28px); padding: 42px 24px; border-radius: 24px; }
    .final-cta-light .btn { width: 100%; justify-content: center; }
}

/* ============ WIDE CANVAS + LIGHT LEGAL SYSTEM ============ */

.nav {
    width: min(1640px, calc(100% - 24px));
}

.hero {
    width: min(1640px, calc(100% - 24px));
    min-height: 780px;
    padding: 106px 18px 78px;
    grid-template-columns: minmax(460px, .82fr) minmax(0, 1.18fr);
    gap: clamp(34px, 4vw, 70px);
}

.hero-copy { max-width: 680px; }
.hero-visual { width: 100%; }
.hero-terminal { width: 100%; }

.broker-row,
.proof-strip,
.steps-section,
.trust-section,
.pricing-section,
.faq-section,
.final-cta-light {
    width: min(1600px, calc(100% - 32px));
}

.feature-section { padding-inline: 12px; }
.section-window { width: min(1640px, 100%); }
.showcase-section,
.ecosystem-section { width: min(1600px, calc(100% - 32px)); }

.section-window,
.showcase-section,
.ecosystem-section,
.final-cta-light { border-radius: 28px; }

/* Replace the old mouse spotlight with a stable brand treatment. */
.wordmark-wrap {
    margin-top: 58px;
    padding: 16px 0 8px;
    overflow: visible;
    opacity: 1;
}

.vylmoon-wordmark {
    width: 100%;
    padding: 0;
    font-size: clamp(4.5rem, 13vw, 12rem);
    font-weight: 700;
    line-height: .78;
    letter-spacing: .045em;
}

.vylmoon-wordmark-base {
    color: transparent;
    background: linear-gradient(90deg, rgba(69, 207, 255, .16), rgba(116, 82, 213, .19), rgba(190, 44, 232, .15));
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
}

.vylmoon-wordmark-light { display: none; }

/* Footer follows the new light product language. */
.site-footer {
    padding: 70px 24px 42px;
    color: var(--ink);
    border-top: 1px solid var(--page-line);
    background:
        radial-gradient(circle at 8% 0%, rgba(85, 215, 255, .12), transparent 28rem),
        radial-gradient(circle at 92% 0%, rgba(139, 61, 255, .10), transparent 30rem),
        #f2f2f8;
}

.site-footer::before { display: none; }
.site-footer-top,
.site-footer-disclaimers { max-width: 1600px; }
.site-footer-logo { filter: brightness(0) saturate(100%); opacity: .88; }
.site-footer-copyright { color: #777c91; }
.site-footer-trademark,
.site-footer-risk-note,
.site-footer-contact,
.site-footer-col,
.site-footer-disclaimers p { color: var(--page-muted); }
.site-footer-contact a,
.site-footer-col-label { color: #6f4bd8; }
.site-footer-contact a:hover,
.site-footer-col a:hover,
.footer-legal-link:hover { color: var(--ink); }
.site-footer-social a {
    color: var(--ink-soft);
    border-color: rgba(17, 19, 41, .12);
    background: rgba(255, 255, 255, .62);
}
.site-footer-social a:hover { color: #6f4bd8; border-color: rgba(111, 75, 216, .38); background: #fff; }
.footer-legal-link { color: var(--page-muted); }
.site-footer-disclaimers { border-color: rgba(17, 19, 41, .10); }

/* Full-screen legal pages and their tab submenus. */
.legal-page-backdrop {
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 0%, rgba(139, 61, 255, .09), transparent 28rem),
        radial-gradient(circle at 92% 10%, rgba(85, 215, 255, .11), transparent 30rem),
        var(--page);
}

.legal-nav {
    padding: 14px 24px;
    border-bottom: 1px solid var(--page-line);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 35px rgba(35, 31, 68, .06);
}

.legal-nav-brand {
    color: var(--ink);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.legal-nav-tabs {
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--page-line);
    border-radius: 14px;
    background: #f4f3f8;
}

.legal-tab-btn { color: var(--page-muted); border-radius: 10px; }
.legal-tab-btn:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.legal-tab-btn.is-active {
    color: #fff;
    background: var(--ink);
    box-shadow: 0 8px 18px rgba(17, 19, 41, .16);
}

.legal-nav-home,
.legal-nav-close { color: var(--page-muted); border: 1px solid transparent; }
.legal-nav-home:hover { color: #6f4bd8; background: #f3efff; border-color: #e5dcff; }
.legal-nav-close:hover { color: #c53e55; background: #fff0f2; border-color: #ffd8de; }

.legal-content {
    max-width: 1500px;
    padding: 56px clamp(28px, 6vw, 96px) 90px;
    color: var(--ink);
}

.legal-content > h1,
.legal-content > h2 { color: var(--ink); }
.legal-subtitle,
.legal-summary-box p:last-child,
.legal-section p,
.legal-section li { color: var(--page-muted); }
.legal-section h3 { color: var(--ink); }
.legal-bullet,
.legal-summary-label { color: #6f4bd8; }
.legal-summary-box {
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--page-line), 0 16px 45px rgba(35, 31, 68, .06);
}

@media (min-width: 1500px) {
    .hero-title { font-size: clamp(4.6rem, 5.3vw, 5.65rem); }
    .hero-body { font-size: 19px; }
    .showcase-section { grid-template-columns: .62fr 1.38fr; }
}

@media (max-width: 980px) {
    .hero {
        width: calc(100% - 24px);
        min-height: auto;
        padding-top: 130px;
        grid-template-columns: 1fr;
    }
    .broker-row,
    .proof-strip,
    .steps-section,
    .trust-section,
    .pricing-section,
    .faq-section,
    .final-cta-light,
    .showcase-section,
    .ecosystem-section { width: calc(100% - 24px); }
}

@media (max-width: 760px) {
    .legal-nav { align-items: flex-start; gap: 10px; padding: 10px; flex-wrap: wrap; }
    .legal-nav-brand { padding: 9px 7px; }
    .legal-nav-tabs {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .legal-nav-tabs::-webkit-scrollbar { display: none; }
    .legal-tab-btn { flex: 0 0 auto; white-space: nowrap; }
    .legal-nav-actions { margin-left: auto; }
    .legal-content { padding: 34px 20px 70px; }
    .wordmark-wrap { margin-top: 40px; }
}

/* ============ INTEGRATED CANVAS + GLASS NAV ============ */

body {
    background:
        radial-gradient(ellipse 55% 32% at 12% 5%, rgba(139, 61, 255, .12), transparent 72%),
        radial-gradient(ellipse 52% 34% at 88% 7%, rgba(85, 215, 255, .14), transparent 72%),
        linear-gradient(180deg, #fbfbfe 0%, #f7f7fb 44%, #fafafd 100%);
}

main { overflow-x: clip; overflow-y: visible; }

/* The hero glow belongs to the page, not to a rectangular hero container. */
.hero { overflow: visible; }
.hero::before { display: none; }

/* A stronger, visible cue on the light background. */
.hero-scroll-cue {
    bottom: 18px;
    width: 28px;
    height: 44px;
    border-color: rgba(17, 19, 41, .28);
    background: rgba(255, 255, 255, .54);
    box-shadow: 0 10px 26px rgba(41, 37, 75, .11), inset 0 0 0 1px rgba(255, 255, 255, .7);
    backdrop-filter: blur(10px);
}
.hero-scroll-cue span {
    width: 5px;
    height: 9px;
    margin-left: -2.5px;
    background: linear-gradient(180deg, #7252ff, #28c7ec);
    box-shadow: 0 0 10px rgba(114, 82, 255, .38);
}

/* Keep only the two chips that explain the core execution loop. */
.float-chip-journal { display: none; }

/* Modern glass header with the page visible through it. */
.nav {
    border-color: rgba(255, 255, 255, .72);
    background: linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .30));
    box-shadow: 0 16px 44px rgba(44, 39, 82, .10), inset 0 1px 0 rgba(255, 255, 255, .76);
    backdrop-filter: blur(24px) saturate(165%);
    -webkit-backdrop-filter: blur(24px) saturate(165%);
}

.lang-toggle { background: rgba(255, 255, 255, .42); }

/* The broker marquee always has enough repeated content for wide screens. */
.broker-row-track { align-items: center; }
.broker-row-list {
    gap: clamp(38px, 4vw, 70px);
    padding-inline: 34px;
    animation-duration: 28s;
}
.broker-row-list span { color: #555a71; }
.broker-row-list b { color: #41465e; }

section[id] { scroll-margin-top: 96px; }
.proof-strip { margin-bottom: 34px; }
.section-window { padding-top: clamp(48px, 4vw, 64px); }

/* Open sections: content sits directly on the page instead of inside white cards. */
.section-window-light {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.feature-tab-panel {
    padding: 30px 0 0;
    border: 0;
    background: transparent;
}

.step-card,
.trust-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.step-card + .step-card,
.trust-card + .trust-card { border-left: 1px solid var(--page-line); }

.journal-card {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.journal-card img {
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(29, 24, 61, .15);
}
.journal-card figcaption { padding: 16px 4px 0; }

@media (max-width: 820px) {
    .step-card + .step-card,
    .trust-card + .trust-card {
        border-left: 0;
        border-top: 1px solid var(--page-line);
    }
}

@media (max-width: 700px) {
    .hero-scroll-cue { display: none; }
    .feature-tab-panel { padding-top: 22px; }
}

/* ============ GUIDED FEATURE TOUR ============ */

.feature-tab-list button {
    position: relative;
    overflow: hidden;
}

.feature-tab-list button::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #3dd4f3, #9b62ff);
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
}

.feature-tab-list.is-cycling button.is-active::after {
    opacity: 1;
    animation: feature-tab-progress var(--tab-duration, 6000ms) linear forwards;
}

.feature-tab-list.is-paused button.is-active::after { animation-play-state: paused; }

@keyframes feature-tab-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.feature-tab-panel.is-active { animation: guided-tab-in 420ms var(--ease) both; }

@keyframes guided-tab-in {
    from { opacity: 0; transform: translateX(14px) scale(.992); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .feature-tab-list button::after { display: none; }
    .feature-tab-panel.is-active { animation: none; }
}

/* ============ OFFLINE LOGIN ============ */

body.login-open { overflow: hidden; }

.login-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(17, 15, 34, .42);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.login-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.login-dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(460px, 1.18fr);
    width: min(940px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow: hidden auto;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 28px;
    background: rgba(252, 251, 255, .94);
    box-shadow: 0 36px 100px rgba(26, 20, 55, .32), inset 0 1px 0 rgba(255, 255, 255, .8);
    opacity: 0;
    transform: translateY(18px) scale(.98);
    transition: opacity 280ms ease, transform 360ms cubic-bezier(.2, .8, .2, 1);
}

.login-backdrop.is-open .login-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.login-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(40, 33, 70, .09);
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
    color: #29223f;
    font: 400 25px/1 sans-serif;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.login-close:hover { background: #fff; transform: rotate(4deg); }
.login-close:focus-visible { outline: 3px solid rgba(125, 77, 255, .28); outline-offset: 2px; }

.login-brand-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 620px;
    padding: 38px 36px 34px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 15% 18%, rgba(66, 211, 242, .18), transparent 31%),
        radial-gradient(circle at 90% 82%, rgba(151, 91, 255, .24), transparent 38%),
        linear-gradient(145deg, #18142f 0%, #242044 52%, #151329 100%);
}

.login-brand-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .25;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.login-brand { width: 132px; }
.login-brand img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.login-brand-copy { margin: auto 0 42px; }
.login-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #72ddf2;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.login-brand-copy h2 {
    max-width: 300px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4vw, 54px);
    line-height: .98;
    letter-spacing: -.05em;
}
.login-brand-copy p {
    max-width: 310px;
    margin: 22px 0 0;
    color: rgba(240, 238, 255, .7);
    font-size: 14px;
    line-height: 1.65;
}
.login-status-list { display: grid; gap: 10px; }
.login-status-list > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
    color: rgba(244, 242, 255, .74);
    font-size: 11px;
    letter-spacing: .015em;
}
.login-status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #50e0b1;
    box-shadow: 0 0 0 4px rgba(80, 224, 177, .1), 0 0 16px rgba(80, 224, 177, .55);
}

.login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 620px;
    padding: 72px 70px 48px;
    color: #252039;
}
.login-mobile-brand { display: none; }
.login-form-heading h1 {
    margin: 0;
    color: #211c35;
    font-size: clamp(32px, 3.5vw, 44px);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.login-form-heading p {
    margin: 14px 0 0;
    color: #706a82;
    font-size: 14px;
    line-height: 1.55;
}
.login-form { display: grid; margin-top: 34px; }
.login-form > label,
.login-label-row label {
    margin-bottom: 8px;
    color: #3c3650;
    font-size: 12px;
    font-weight: 700;
}
.login-form > input,
.login-password-field input {
    width: 100%;
    height: 50px;
    border: 1px solid #ded9e8;
    border-radius: 13px;
    background: rgba(255, 255, 255, .82);
    color: #211c35;
    padding: 0 15px;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.login-form > input:focus,
.login-password-field input:focus {
    border-color: #8a5cff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(125, 77, 255, .1);
}
.login-form > input { margin-bottom: 21px; }
.login-label-row { display: flex; align-items: center; justify-content: space-between; }
.login-label-row button {
    margin: 0 0 8px;
    border: 0;
    background: transparent;
    color: #6e43dc;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}
.login-password-field { position: relative; }
.login-password-field input { padding-right: 76px; }
.login-password-field button {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #6e43dc;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}
.login-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin: 17px 0 21px !important;
    color: #6f697e !important;
    font-weight: 500 !important;
    cursor: pointer;
}
.login-remember input { width: 15px; height: 15px; accent-color: #7248df; }
.login-submit {
    height: 51px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #25203c, #171428);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .02em;
    box-shadow: 0 14px 28px rgba(32, 27, 53, .18);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.login-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(32, 27, 53, .24); }
.login-submit:focus-visible { outline: 3px solid rgba(125, 77, 255, .25); outline-offset: 3px; }
.login-message {
    min-height: 18px;
    margin: 11px 0 0;
    color: #695d80;
    font-size: 11px;
    line-height: 1.45;
    opacity: 0;
    transition: opacity 180ms ease;
}
.login-message.is-visible { opacity: 1; }
.login-create { margin: 10px 0 0; color: #777084; font-size: 12px; text-align: center; }
.login-create a { margin-left: 4px; color: #6e43dc; font-weight: 750; text-decoration: none; }
.login-security-note {
    margin: 28px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e7e3ee;
    color: #9891a3;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 760px) {
    .login-backdrop { padding: 8px; }
    .login-dialog {
        grid-template-columns: 1fr;
        width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 22px;
    }
    .login-brand-panel {
        min-height: auto;
        padding: 25px 24px;
        background:
            radial-gradient(circle at 20% 0%, rgba(66, 211, 242, .18), transparent 40%),
            linear-gradient(145deg, #18142f, #242044);
    }
    .login-brand { width: 105px; }
    .login-brand-copy { margin: 32px 0 0; }
    .login-brand-copy h2 { max-width: none; font-size: 31px; }
    .login-brand-copy p,
    .login-status-list { display: none; }
    .login-form-panel { min-height: auto; padding: 34px 24px 27px; }
    .login-form-heading h1 { font-size: 31px; }
    .login-form { margin-top: 26px; }
    .login-security-note { margin-top: 21px; }
    .login-close { top: 16px; right: 16px; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.08); color: #fff; }
}

@media (max-width: 420px) and (max-height: 720px) {
    .login-brand-copy { display: none; }
    .login-form-panel { padding-top: 27px; }
    .login-form { margin-top: 20px; }
    .login-security-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .login-backdrop,
    .login-dialog { transition: none; }
}
