/* AMC Secure homepage — systematic layout & section rhythm */

body.global-homepage {
    --home-container: min(100% - 28px, 1180px);
    --home-gap: 10px;
    --home-hero-body-min: clamp(160px, 14vw, 200px);
    --home-hero-body-min-rail: clamp(240px, 20vw, 288px);
    --home-hero-rail-h: 48px;
    --hero-orbit-tilt: 58deg;
    --hero-orbit-tilt-inv: -58deg;
    --hero-logo-max: clamp(148px, 16vw, 200px);
    --hero-logo-clear: clamp(148px, 16vw, 200px);
    --hero-banner-rail-height: 48px;
    font-family: Inter, "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body.global-homepage .global-home-main {
    display: flex;
    flex-direction: column;
    gap: var(--home-gap);
    overflow-x: hidden;
    padding: 14px 0 48px;
    background:
        radial-gradient(circle at 82% 8%, rgba(16, 185, 129, 0.14), transparent 28%),
        radial-gradient(circle at 10% 14%, rgba(14, 165, 233, 0.11), transparent 26%),
        linear-gradient(180deg, #eaf3f8 0%, #eef6fa 52%, #f8fbff 100%);
}

body.global-homepage .home-section {
    width: var(--home-container);
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 1 — Hero galaxy hub (3D orbits around logo sun) */
body.global-homepage .home-section--hero,
body.global-homepage .global-hero,
body.global-homepage .hero-galaxy-banner--galaxy {
    position: relative !important;
    z-index: 3;
    display: block !important;
    min-height: var(--home-hero-body-min, clamp(160px, 14vw, 200px)) !important;
    max-height: none !important;
    padding: clamp(12px, 1.4vw, 20px) clamp(10px, 1.4vw, 20px) !important;
    overflow: hidden !important;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    color: #f8fafc;
    background:
        radial-gradient(ellipse 70% 55% at 50% 45%, rgba(14, 165, 233, 0.14), transparent 65%),
        radial-gradient(ellipse 50% 40% at 15% 80%, rgba(139, 92, 246, 0.14), transparent 58%),
        linear-gradient(155deg, #020617 0%, #0b1224 50%, #111827 100%) !important;
    box-shadow: 0 16px 40px rgba(2, 8, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    grid-template-columns: unset !important;
    align-items: unset !important;
    gap: 0 !important;
}

body.global-homepage .home-section--hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.7) 0, transparent 1.5px),
        radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.55) 0, transparent 1.5px),
        radial-gradient(circle at 40% 75%, rgba(255, 255, 255, 0.5) 0, transparent 1.5px),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.6) 0, transparent 1.5px);
    background-size: 140px 140px, 170px 170px, 120px 120px, 160px 160px;
    opacity: 0.55;
    pointer-events: none;
    content: "";
    animation: heroGalaxyDrift 80s linear infinite;
}

body.global-homepage .home-section--hero::after {
    position: absolute;
    inset: -20%;
    z-index: 0;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(129, 140, 248, 0.12), transparent, rgba(34, 211, 238, 0.1), transparent, rgba(244, 114, 182, 0.08), transparent);
    opacity: 0.8;
    pointer-events: none;
    content: "";
    animation: heroGalaxySpin 70s linear infinite;
}

body.global-homepage .hero-galaxy-cosmos {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

body.global-homepage .hero-starfield {
    position: absolute;
    inset: -8%;
    opacity: 0.7;
    background-repeat: repeat;
}

body.global-homepage .hero-starfield--deep {
    background-image:
        radial-gradient(1.5px 1.5px at 10% 20%, rgba(255, 255, 255, 0.95), transparent),
        radial-gradient(1px 1px at 35% 65%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 72% 28%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1.5px 1.5px at 88% 78%, rgba(255, 255, 255, 0.75), transparent);
    background-size: 180px 150px;
    animation: heroStarfieldDrift 100s linear infinite;
}

body.global-homepage .hero-starfield--mid {
    opacity: 0.85;
    background-image:
        radial-gradient(2px 2px at 18% 38%, rgba(103, 232, 249, 0.95), transparent),
        radial-gradient(1.5px 1.5px at 48% 12%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 64% 58%, rgba(196, 181, 253, 0.95), transparent);
    background-size: 130px 110px;
    animation: heroStarfieldDrift 60s linear infinite reverse;
}

body.global-homepage .hero-galaxy-spiral {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(52, 211, 153, 0.1), transparent, rgba(34, 211, 238, 0.09), transparent);
    opacity: 0.9;
    animation: heroGalaxySpin 55s linear infinite;
}

body.global-homepage .hero-galaxy-nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(16px);
    opacity: 0.85;
}

body.global-homepage .hero-galaxy-nebula--violet {
    width: 50%;
    height: 50%;
    top: -8%;
    right: 0;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 70%);
    animation: heroGalaxyNebulaFloat 18s ease-in-out infinite;
}

body.global-homepage .hero-galaxy-nebula--cyan {
    width: 46%;
    height: 46%;
    bottom: -10%;
    left: 0;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.38), transparent 70%);
    animation: heroGalaxyNebulaFloat 24s ease-in-out infinite reverse;
}

body.global-homepage .hero-galaxy-nebula--rose {
    width: 34%;
    height: 34%;
    top: 30%;
    left: 42%;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.28), transparent 70%);
    animation: heroGalaxyNebulaFloat 14s ease-in-out infinite;
}

body.global-homepage .hero-galaxy-dust {
    position: absolute;
    inset: -25%;
    background: conic-gradient(from 100deg, transparent, rgba(255, 255, 255, 0.08), transparent, rgba(52, 211, 153, 0.1), transparent);
    opacity: 0.65;
    animation: heroGalaxySpin 50s linear infinite;
}

body.global-homepage .hero-galaxy-dust--reverse {
    inset: -35%;
    opacity: 0.4;
    animation: heroGalaxySpin 35s linear infinite reverse;
}

body.global-homepage .hero-galaxy-pin {
    position: absolute;
    top: var(--star-y);
    left: var(--star-x);
    width: var(--star-size);
    height: var(--star-size);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
    opacity: 0.55;
    animation: heroGalaxyTwinkle 3.5s ease-in-out infinite, heroGalaxyPinDrift 14s ease-in-out infinite;
    animation-delay: var(--star-delay);
}

body.global-homepage .hero-meteor {
    position: absolute;
    top: var(--meteor-top);
    left: var(--meteor-left);
    width: 90px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #fff 35%, rgba(103, 232, 249, 0.8) 65%, transparent);
    box-shadow: 0 0 14px rgba(103, 232, 249, 0.7);
    opacity: 0;
    transform: rotate(-40deg);
    animation: heroMeteorStreak 5s linear infinite;
    animation-delay: var(--meteor-delay);
}

body.global-homepage .hero-meteor::before {
    position: absolute;
    left: 55%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, #67e8f9);
    box-shadow: 0 0 12px #67e8f9;
    transform: translate(-50%, -50%);
    content: "";
}

body.global-homepage .hero-asteroid {
    position: absolute;
    top: var(--rock-y);
    left: var(--rock-x);
    width: var(--rock-size);
    height: var(--rock-size);
    border-radius: 42% 58% 48% 52%;
    background: linear-gradient(135deg, rgba(186, 230, 253, 0.9), rgba(100, 116, 139, 0.75));
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.5);
    opacity: 0.7;
    animation: heroAsteroidFloat 11s ease-in-out infinite;
    animation-delay: var(--rock-delay);
}

/* Galaxy hub — 3D tilted ovals, logo-only center */
body.global-homepage .hero-galaxy-hub {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    pointer-events: none;
    overflow: visible;
    perspective: 1200px;
    perspective-origin: 50% 48%;
    transform-style: preserve-3d;
}

body.global-homepage .hero-galaxy-tilt {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(var(--hero-orbit-tilt));
    transform-origin: 50% 50%;
}

body.global-homepage .hero-asteroid-belt {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 92%;
    height: 76%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, transparent 64%, rgba(45, 212, 191, 0.08) 65%, rgba(45, 212, 191, 0.16) 67%, rgba(45, 212, 191, 0.08) 69%, transparent 70%);
    pointer-events: none;
    opacity: 0.65;
}

body.global-homepage .hero-orbit-track {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--orbit-w, 98%);
    height: var(--orbit-h, 78%);
    transform-style: preserve-3d;
    transform: translate(-50%, -50%);
    animation: heroOrbitSpin var(--orbit-duration, 200s) linear infinite;
    overflow: visible;
}

body.global-homepage .hero-orbit-track--decorative {
    animation: none;
    pointer-events: none;
}

body.global-homepage .hero-orbit-track--inner .hero-orbit-path {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.28);
    opacity: 0.5;
}

body.global-homepage .hero-orbit-track--saturn {
    z-index: 4;
}

body.global-homepage .hero-orbit-path--saturn {
    border-width: 1.5px;
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 18px rgba(186, 230, 253, 0.2), inset 0 0 12px rgba(34, 211, 238, 0.08);
}

body.global-homepage .hero-orbit-path {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 14px rgba(186, 230, 253, 0.16);
    pointer-events: none;
}

body.global-homepage .hero-orbit-track--1 .hero-orbit-path { border-color: rgba(255, 255, 255, 0.5); }
body.global-homepage .hero-orbit-track--2 .hero-orbit-path { border-color: rgba(167, 243, 208, 0.45); }
body.global-homepage .hero-orbit-track--3 .hero-orbit-path { border-color: rgba(196, 181, 253, 0.42); }
body.global-homepage .hero-orbit-track--4 .hero-orbit-path { border-color: rgba(125, 211, 252, 0.4); }

body.global-homepage .hero-galaxy-core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 12;
    transform: translate(-50%, -50%) rotateX(var(--hero-orbit-tilt-inv)) translateZ(52px);
    transform-style: preserve-3d;
    display: grid;
    place-items: center;
    pointer-events: none;
}

body.global-homepage .hero-galaxy-hub--logo-only .hero-galaxy-core {
    transform: translate(-50%, -50%) !important;
    transform-style: flat !important;
    display: flex !important;
    width: auto !important;
    height: auto !important;
}

body.global-homepage .hero-galaxy-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

body.global-homepage .hero-galaxy-hub:not(.hero-galaxy-hub--logo-only) .hero-galaxy-halo {
    transform: translate(-50%, -50%) rotateX(var(--hero-orbit-tilt-inv)) translateZ(40px);
    transform-style: preserve-3d;
    width: min(300px, 46vw);
    height: min(300px, 46vw);
}

body.global-homepage .hero-galaxy-core::before {
    position: absolute;
    inset: calc(var(--hero-logo-clear) / -2);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 6, 23, 0.72) 0%, rgba(2, 6, 23, 0.38) 50%, rgba(2, 6, 23, 0.1) 72%, transparent 82%);
    content: "";
    z-index: -1;
    pointer-events: none;
}

body.global-homepage .hero-galaxy-halo .hero-galaxy-core__shade {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 6, 23, 0.72) 0%, rgba(2, 6, 23, 0.38) 50%, rgba(2, 6, 23, 0.1) 72%, transparent 82%);
    pointer-events: none;
}

body.global-homepage .hero-galaxy-hub--logo-only .hero-galaxy-core::before {
    display: none !important;
    content: none !important;
}

body.global-homepage .hero-galaxy-sun,
body.global-homepage .hero-galaxy-halo .hero-galaxy-sun {
    position: absolute;
    inset: -36%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 224, 71, 0.6) 0%, rgba(251, 146, 60, 0.35) 30%, rgba(52, 211, 153, 0.1) 55%, transparent 72%);
    filter: blur(4px);
    animation: heroGalaxySunPulse 4s ease-in-out infinite;
}

body.global-homepage .hero-logo-core,
body.global-homepage .logo-glow-ring--hero {
    position: relative;
    z-index: 2;
    margin: 0;
    filter: none !important;
    pointer-events: auto;
    animation: none !important;
    transform: none !important;
}

body.global-homepage .hero-logo-core img,
body.global-homepage .logo-glow-ring--hero img {
    object-fit: contain !important;
    transform: none !important;
}

body.global-homepage .hero-orbit-node {
    position: absolute;
    inset: 0;
    transform: rotate(var(--orbit-angle));
    transform-style: preserve-3d;
    text-decoration: none;
    pointer-events: none;
}

body.global-homepage .hero-orbit-node__pill {
    position: absolute;
    top: 0;
    left: 50%;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    transform: translate(-50%, -50%) rotateX(var(--hero-orbit-tilt-inv));
    transform-style: preserve-3d;
    pointer-events: auto;
    animation: none;
    transition: opacity 0.4s ease;
    will-change: transform, opacity;
}

body.global-homepage .hero-orbit-node__sphere {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.7), transparent 40%),
        radial-gradient(circle at 68% 72%, rgba(0, 0, 0, 0.28), transparent 48%),
        radial-gradient(circle at 50% 50%, var(--planet-tone, #38bdf8), color-mix(in srgb, var(--planet-tone, #0ea5e9) 50%, #0f172a));
    box-shadow: 0 0 20px color-mix(in srgb, var(--planet-tone, #38bdf8) 65%, transparent), inset 0 -3px 6px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

body.global-homepage .hero-orbit-node__sphere img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    border-radius: 2px;
    transform: none !important;
}

body.global-homepage .hero-orbit-node__tag {
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(2, 6, 23, 0.88);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform: none !important;
}

body.global-homepage .hero-orbit-node:hover .hero-orbit-node__sphere {
    filter: brightness(1.15);
    box-shadow: 0 0 22px color-mix(in srgb, var(--planet-tone, #38bdf8) 70%, transparent);
}

body.global-homepage .hero-orbit-node:hover .hero-orbit-node__tag {
    background: rgba(15, 23, 42, 0.82);
    color: #a5f3fc;
}

/* Layer 3 — copy + transparent currency */
body.global-homepage .global-hero-copy {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    max-width: min(34%, 360px);
    padding: clamp(8px, 1vw, 14px) clamp(10px, 1.4vw, 20px);
    pointer-events: auto;
}

body.global-homepage .global-hero-copy > p {
    display: inline-flex;
    align-items: center;
    margin: 0 0 6px;
    padding: 4px 9px;
    border: 1px solid rgba(110, 231, 183, 0.28);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(14, 116, 144, 0.42), rgba(6, 95, 70, 0.38));
    color: #ccfbf1;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.global-homepage .hero-title-multicolor {
    margin: 0;
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

body.global-homepage .hero-title-part {
    display: inline;
    margin-right: 0.18em;
}

body.global-homepage .hero-title-part--sky { color: #67e8f9; }
body.global-homepage .hero-title-part--mint { color: #6ee7b7; }
body.global-homepage .hero-title-part--violet { color: #c4b5fd; }
body.global-homepage .hero-title-part--amber { color: #fcd34d; }

body.global-homepage .hero-title-part--custom {
    background: linear-gradient(92deg, #67e8f9 0%, #6ee7b7 30%, #c4b5fd 62%, #fcd34d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.global-homepage .global-hero-copy h1,
body.global-homepage .global-hero-copy h1 span {
    color: inherit;
}

body.global-homepage .global-hero-copy > span {
    display: block;
    max-width: 420px;
    margin-top: 6px;
    color: rgba(226, 232, 240, 0.86);
    font-size: clamp(11px, 0.85vw, 13px);
    line-height: 1.45;
}

body.global-homepage .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

body.global-homepage .hero-actions a:first-child {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0891b2 0%, #059669 52%, #4f46e5 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(8, 145, 178, 0.24);
}

body.global-homepage .hero-actions a:last-child {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

body.global-homepage .hero-trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    max-width: 420px;
    margin-top: 8px;
}

body.global-homepage .hero-trust-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.32);
    color: rgba(241, 245, 249, 0.9);
    font-size: 7.5px;
    line-height: 1.12;
    text-align: center;
    backdrop-filter: blur(8px);
}

body.global-homepage .hero-currency-card,
body.global-homepage .hero-currency-card--glass {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: auto;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 3px;
    width: min(100px, 22vw);
    padding: 3px 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #f8fafc;
    box-shadow: none;
    pointer-events: auto;
    overflow: hidden;
}

body.global-homepage .hero-currency-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    grid-column: 1 / -1;
    margin: 0 0 1px;
    padding: 0 0 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.global-homepage .hero-currency-card strong {
    font-size: 6.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #a7f3d0;
    line-height: 1.1;
}

body.global-homepage .hero-currency-card a {
    font-size: 6px;
    font-weight: 700;
    color: #67e8f9;
    text-decoration: none;
    white-space: nowrap;
}

body.global-homepage .hero-currency-card > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    min-height: 0;
    padding: 2px 3px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.22);
    font-size: 6.5px;
    line-height: 1.1;
    color: rgba(241, 245, 249, 0.88);
}

body.global-homepage .hero-currency-card b {
    color: #e2e8f0;
    font-weight: 800;
    font-size: 6.5px;
}

body.global-homepage .hero-currency-card small {
    color: #86efac;
    font-weight: 700;
    font-size: 6px;
    line-height: 1.1;
}

@keyframes heroGalaxySpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes heroOrbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes heroOrbitUpright {
    from { transform: translate(-50%, -50%) rotateX(var(--hero-orbit-tilt-inv)) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotateX(var(--hero-orbit-tilt-inv)) rotate(-360deg); }
}

@keyframes heroSolarSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes heroSolarUpright {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes heroOvalSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes heroOvalUprightOuter {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes heroOvalUprightInner {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes heroGalaxyUprightOuter {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes heroGalaxyUprightInner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes heroGalaxyDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-12%, -8%, 0); }
}

@keyframes heroStarfieldDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-8%, -6%, 0); }
}

@keyframes heroMeteorStreak {
    0% { transform: translateX(0) translateY(0) rotate(-40deg); opacity: 0; }
    6% { opacity: 1; }
    22% { transform: translateX(-200px) translateY(120px) rotate(-40deg); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes heroAsteroidFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.35; }
    50% { transform: translate3d(-18px, 12px, 0) rotate(180deg); opacity: 0.75; }
}

@keyframes heroGalaxyNebulaFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(6%, -4%, 0) scale(1.06); }
}

@keyframes heroGalaxyTwinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.85); }
    50% { opacity: 0.9; transform: scale(1.15); }
}

@keyframes heroGalaxySunPulse {
    0%, 100% { opacity: 0.72; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes heroGalaxyPinDrift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(4px, -3px, 0); }
}

@media (prefers-reduced-motion: reduce) {
    body.global-homepage .home-section--hero::before,
    body.global-homepage .home-section--hero::after,
    body.global-homepage .hero-starfield,
    body.global-homepage .hero-galaxy-spiral,
    body.global-homepage .hero-galaxy-dust,
    body.global-homepage .hero-galaxy-nebula,
    body.global-homepage .hero-galaxy-pin,
    body.global-homepage .hero-meteor,
    body.global-homepage .hero-asteroid,
    body.global-homepage .hero-orbit-track,
    body.global-homepage .hero-galaxy-sun {
        animation: none !important;
    }

    body.global-homepage .hero-galaxy-hub.is-static .hero-orbit-track--saturn {
        animation: none !important;
    }
}

/* 2 — Trust counters */
body.global-homepage .home-section--trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body.global-homepage .home-section--trust article {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    text-align: center;
    backdrop-filter: blur(16px);
}

body.global-homepage .home-section--trust strong {
    display: block;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.1;
}

body.global-homepage .home-section--trust span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* 3 — Service icon rail */
body.global-homepage .home-section--services {
    position: relative;
    z-index: 4;
    display: block;
    height: 132px;
    min-height: 132px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 244, 0.88), rgba(255, 255, 255, 0.96));
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

body.global-homepage .service-icon-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: max-content;
    height: 132px;
    animation: amcHomeServiceRail 110s linear infinite;
    will-change: transform;
}

body.global-homepage .home-section--services:hover .service-icon-track {
    animation-play-state: paused;
}

body.global-homepage .home-section--services .ui-icon-card {
    display: grid;
    flex: 0 0 168px;
    width: 168px;
    min-width: 168px;
    height: 132px;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 14px 12px;
    border: 0;
    border-right: 1px solid rgba(203, 213, 225, 0.66);
    border-radius: 0;
    background: radial-gradient(circle at 20% 0, rgba(167, 255, 204, 0.32), transparent 38%), linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.82));
    box-shadow: none;
    text-align: center;
    text-decoration: none;
}

body.global-homepage .home-section--services .ui-icon-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

body.global-homepage .home-section--services .ui-icon-card strong {
    max-width: 126px;
    margin: 0 auto;
    color: #071225;
    font-size: 12.5px;
    font-weight: 850;
    line-height: 1.12;
}

@keyframes amcHomeServiceRail {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* 4 — Marketplace */
body.global-homepage .home-section--marketplace {
    padding: clamp(18px, 2.4vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(20px);
}

body.global-homepage .home-section--marketplace .section-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

body.global-homepage .home-section--marketplace .section-title-row.home-section-subhead {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body.global-homepage .home-section--marketplace .section-title-row p {
    margin: 0 0 6px;
    color: #059669;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.global-homepage .home-section--marketplace .section-title-row h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.12;
}

body.global-homepage .home-section--marketplace .section-title-row > div > span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* 5 — Portal cards */
body.global-homepage .home-section--portals {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body.global-homepage .home-section--portals .ui-portal-card,
body.global-homepage .home-section--portals .ui-global-presence-card {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

/* 6 — Client slider */
body.global-homepage .home-section--clients {
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px) saturate(150%);
}

body.global-homepage .client-logo-slider-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 12px;
}

body.global-homepage .client-logo-slider-head p {
    margin: 0 0 4px;
    color: #059669;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.global-homepage .client-logo-slider-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.14;
}

body.global-homepage .client-logo-rail {
    overflow: hidden;
}

body.global-homepage .client-logo-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: max-content;
    gap: 14px;
    animation: amcClientRail 54s linear infinite reverse;
}

body.global-homepage .client-logo-card {
    display: grid;
    flex: 0 0 190px;
    width: 190px;
    grid-template-columns: 42px 1fr;
    align-items: center;
    column-gap: 12px;
    min-height: 92px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: inherit;
}

body.global-homepage .client-logo-card img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    grid-row: 1 / span 2;
}

@keyframes amcClientRail {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* 7 — Currency */
body.global-homepage .home-section--currency {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

body.global-homepage .home-section--currency article {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

/* 8 — Global presence */
body.global-homepage .home-section--presence {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    padding: clamp(18px, 2.4vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(20px);
}

body.global-homepage .home-section--presence p {
    margin: 0 0 8px;
    color: #059669;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.global-homepage .home-section--presence h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.08;
}

body.global-homepage .home-section--presence > div > span {
    display: block;
    margin-top: 12px;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1100px) {
    body.global-homepage {
        --home-container: min(100% - 32px, 1100px);
        --home-gap: 18px;
    }

    body.global-homepage .home-section--portals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.global-homepage .home-section--currency {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.global-homepage {
        --home-container: min(100% - 20px, 1180px);
    }

    body.global-homepage .home-section--hero,
    body.global-homepage .global-hero,
    body.global-homepage .hero-galaxy-banner--galaxy {
        min-height: clamp(148px, 16vw, 188px) !important;
    }

    body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail.global-hero {
        min-height: clamp(268px, calc(22vw + 52px), 312px) !important;
        grid-template-rows: minmax(clamp(220px, 22vw, 264px), 1fr) auto !important;
    }

    body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .global-hero-copy {
        max-width: min(52%, 420px) !important;
        bottom: var(--home-hero-rail-h, 48px) !important;
    }

    body.global-homepage .global-hero-copy {
        max-width: 46%;
    }

    body.global-homepage .hero-title-multicolor {
        font-size: clamp(18px, 4.5vw, 26px);
    }

    body.global-homepage .hero-galaxy-hub {
        inset: 0 !important;
    }

    body.global-homepage .hero-orbit-track--saturn {
        --orbit-w: 114% !important;
        --orbit-h: 90% !important;
    }

    body.global-homepage .home-section--trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.global-homepage .home-section--services {
        height: 112px;
        min-height: 112px;
    }

    body.global-homepage .service-icon-track,
    body.global-homepage .home-section--services .ui-icon-card {
        height: 112px;
    }

    body.global-homepage .home-section--services .ui-icon-card {
        flex: 0 0 136px;
        width: 136px;
        min-width: 136px;
    }

    body.global-homepage .home-section--presence {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    body.global-homepage .hero-actions,
    body.global-homepage .hero-trust-row {
        grid-template-columns: 1fr;
    }

    body.global-homepage .global-hero-copy {
        max-width: 100%;
    }

    body.global-homepage .home-section--trust,
    body.global-homepage .home-section--portals,
    body.global-homepage .home-section--currency {
        grid-template-columns: 1fr;
    }

    body.global-homepage .home-section--marketplace .section-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    body.global-homepage .hero-currency-card,
    body.global-homepage .hero-currency-card--glass {
        top: 5px;
        right: 5px;
        width: min(96px, 38vw);
    }
}

/* Beat app.css legacy hero grid / oversized logo rules */
body.global-homepage .hero-galaxy-banner--galaxy.global-hero {
    display: block !important;
    grid-template-columns: unset !important;
    min-height: var(--home-hero-body-min, clamp(160px, 14vw, 200px)) !important;
    max-height: none !important;
    padding: clamp(12px, 1.4vw, 20px) clamp(10px, 1.4vw, 20px) !important;
}

body.global-homepage .hero-galaxy-banner--galaxy .hero-galaxy-hub {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    overflow: visible !important;
}

body.global-homepage .hero-galaxy-banner--galaxy .hero-orbit-node,
body.global-homepage .hero-galaxy-banner--galaxy .hero-orbit-node__pill,
body.global-homepage .hero-galaxy-banner--galaxy .hero-orbit-node__sphere {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Homepage hero — logo only (no orbit services) */
body.global-homepage .hero-galaxy-hub--logo-only .hero-galaxy-tilt {
    transform: none !important;
    transform-style: flat !important;
}

body.global-homepage .hero-galaxy-hub--logo-only .hero-galaxy-halo .hero-galaxy-core__shade {
    display: none !important;
}

body.global-homepage .hero-galaxy-hub--logo-only .hero-asteroid-belt {
    display: none !important;
}

body.global-homepage .hero-galaxy-hub--logo-only .hero-galaxy-halo,
body.global-homepage .hero-galaxy-hub--logo-only .hero-galaxy-sun,
body.global-homepage .hero-galaxy-hub--logo-only .hero-galaxy-halo .hero-galaxy-sun,
body.global-homepage .hero-galaxy-hub--logo-only .hero-galaxy-halo .hero-galaxy-core__shade {
    display: none !important;
}

body.global-homepage .hero-galaxy-hub--logo-only .hero-logo-core,
body.global-homepage .hero-galaxy-hub--logo-only .logo-glow-ring--hero {
    filter: none !important;
}

body.global-homepage .hero-galaxy-hub--logo-only .logo-glow-ring--hero img {
    animation: none !important;
    filter: none !important;
}

body.global-homepage .hero-galaxy-banner--galaxy .logo-glow-ring--hero::before,
body.global-homepage .hero-galaxy-banner--galaxy .logo-glow-ring--hero::after,
body.global-homepage .hero-galaxy-banner--galaxy .hero-logo-core::before,
body.global-homepage .hero-galaxy-banner--galaxy .hero-logo-core::after {
    display: none !important;
    content: none !important;
}

/* Beat app.css fixed square hero logo dimensions */
body.global-homepage .hero-galaxy-hub--logo-only .hero-logo-core img,
body.global-homepage .hero-galaxy-hub--logo-only .logo-glow-ring--hero img {
    width: auto !important;
    height: auto !important;
    max-height: var(--hero-logo-max) !important;
    max-width: calc(var(--hero-logo-max) * var(--amc-logo-aspect)) !important;
    object-fit: contain !important;
}

body.global-homepage .hero-galaxy-banner--galaxy .global-hero-copy h1 {
    font-size: clamp(20px, 2.5vw, 32px) !important;
    line-height: 1.02 !important;
    margin: 4px 0 !important;
}

body.global-homepage .hero-galaxy-banner--galaxy .global-hero-copy > span {
    font-size: clamp(10px, 0.8vw, 12px) !important;
    line-height: 1.4 !important;
    max-width: 380px !important;
}

body.global-homepage .hero-galaxy-banner--galaxy .hero-actions {
    margin-top: 6px !important;
    gap: 6px !important;
}

body.global-homepage .hero-galaxy-banner--galaxy .hero-actions a {
    min-height: 30px !important;
    padding: 0 12px !important;
    font-size: 10px !important;
}

body.global-homepage .hero-galaxy-banner--galaxy .hero-trust-row {
    margin-top: 6px !important;
    gap: 4px !important;
}

body.global-homepage .hero-galaxy-banner--galaxy .hero-trust-row span {
    min-height: 22px !important;
    padding: 3px 5px !important;
    font-size: 7px !important;
}

body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail.global-hero {
    display: grid !important;
    grid-template-rows: minmax(var(--home-hero-body-min-rail, clamp(240px, 20vw, 288px)), 1fr) auto;
    min-height: clamp(288px, calc(20vw + 52px), 336px) !important;
    max-height: none !important;
    padding-bottom: 0 !important;
}

body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .global-hero-copy {
    top: 0 !important;
    left: 0 !important;
    bottom: var(--home-hero-rail-h, 48px) !important;
    max-width: min(40%, 400px) !important;
    padding: clamp(10px, 1.2vw, 18px) clamp(10px, 1.4vw, 20px) !important;
    box-sizing: border-box !important;
}

body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .hero-galaxy-hub {
    inset: 0 0 var(--home-hero-rail-h, 48px) 0 !important;
}

body.global-homepage .hero-galaxy-hub--logo-only .hero-galaxy-halo {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .hero-currency-card,
body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .hero-currency-card--glass {
    top: 5px;
    right: 5px;
    bottom: calc(var(--home-hero-rail-h, 48px) + 2px);
    height: auto;
    max-height: none;
    align-content: start;
}

body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .hero-galaxy-hub--logo-only .hero-galaxy-core {
    top: 46% !important;
}

body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .hero-galaxy-hub,
body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .global-hero-copy,
body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .hero-currency-card {
    grid-column: 1;
    grid-row: 1;
}

body.global-homepage .hero-galaxy-hub--logo-only .hero-galaxy-halo {
    display: none !important;
}

body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .hero-currency-card {
    top: 5px;
    right: 5px;
}

body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .hero-master-rail {
    grid-column: 1;
    grid-row: 2;
    margin-inline: 0;
    z-index: 7;
    border-radius: 0 0 14px 14px;
    min-height: var(--home-hero-rail-h, 48px);
}

body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .hero-master-rail__track {
    height: var(--home-hero-rail-h, 48px) !important;
}

body.global-homepage .hero-galaxy-banner--galaxy.hero-has-master-rail .hero-master-rail__card {
    height: var(--home-hero-rail-h, 48px) !important;
    min-height: var(--home-hero-rail-h, 48px) !important;
}

/* Homepage hero — no rail: text left, logo right, no overlap */
body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail).global-hero,
body.global-homepage .home-section--hero.hero-galaxy-banner--galaxy:not(.hero-has-master-rail) {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    gap: clamp(14px, 2.4vw, 28px) !important;
    min-height: clamp(228px, 20vw, 280px) !important;
    padding: clamp(18px, 2.2vw, 28px) clamp(20px, 2.4vw, 32px) !important;
}

body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .global-hero-copy {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    z-index: 5 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    display: grid !important;
    gap: 10px !important;
    align-content: center !important;
}

body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .global-hero-copy > p {
    margin: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.35 !important;
}

body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .global-hero-copy > span {
    max-width: 52ch !important;
    margin-top: 0 !important;
}

body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .hero-actions {
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 4px !important;
}

body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .hero-galaxy-hub {
    position: relative !important;
    inset: auto !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    z-index: 4 !important;
    min-height: clamp(168px, 16vw, 228px) !important;
    pointer-events: none !important;
    overflow: visible !important;
}

body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .hero-galaxy-tilt {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: inherit !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .hero-galaxy-hub--logo-only .hero-galaxy-core {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .hero-galaxy-hub--logo-only .hero-logo-core img,
body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .hero-galaxy-hub--logo-only .logo-glow-ring--hero img {
    max-height: var(--hero-logo-max) !important;
    max-width: calc(var(--hero-logo-max) * var(--amc-logo-aspect)) !important;
}

@media (max-width: 900px) {
    body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr) !important;
        min-height: clamp(200px, 24vw, 248px) !important;
    }
}

@media (max-width: 720px) {
    body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        min-height: 0 !important;
        padding: 18px 16px !important;
    }

    body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .global-hero-copy {
        grid-row: 1 !important;
    }

    body.global-homepage .hero-galaxy-banner--galaxy:not(.hero-has-master-rail) .hero-galaxy-hub {
        grid-column: 1 !important;
        grid-row: 2 !important;
        min-height: clamp(140px, 32vw, 180px) !important;
    }
}

/* Admin-driven promo / CTA blocks */
body.global-homepage .home-promo-banner,
body.global-homepage .home-contact-cta {
    width: var(--home-container);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 20px;
    background: var(--home-promo-bg, #0b4ea2);
    color: var(--home-promo-fg, #fff);
}

body.global-homepage .home-contact-cta {
    background: var(--home-cta-bg, #08111f);
    color: var(--home-cta-fg, #fff);
}

body.global-homepage .home-promo-banner p,
body.global-homepage .home-contact-cta p,
body.global-homepage .home-footer-cta p,
body.global-homepage .home-split-block__copy p {
    margin: 0 0 6px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
}

body.global-homepage .home-promo-banner h2,
body.global-homepage .home-contact-cta h2,
body.global-homepage .home-footer-cta h2,
body.global-homepage .home-split-block__copy h2 {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 2.4vw, 1.8rem);
    line-height: 1.2;
}

body.global-homepage .home-promo-banner span,
body.global-homepage .home-contact-cta span,
body.global-homepage .home-footer-cta span,
body.global-homepage .home-split-block__copy span {
    display: block;
    max-width: 58ch;
    opacity: 0.9;
    line-height: 1.55;
}

body.global-homepage .home-promo-banner__cta,
body.global-homepage .home-contact-cta__btn,
body.global-homepage .home-footer-cta__btn,
body.global-homepage .home-split-block__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

body.global-homepage .home-split-block {
    width: var(--home-container);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
    gap: clamp(18px, 3vw, 32px);
    align-items: center;
    padding: clamp(18px, 2.5vw, 28px);
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

body.global-homepage .home-split-block--reverse {
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
}

body.global-homepage .home-split-block--reverse .home-split-block__copy {
    order: 2;
}

body.global-homepage .home-split-block--reverse .home-split-block__visual {
    order: 1;
}

body.global-homepage .home-split-block__visual img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
}

body.global-homepage .home-split-block__cta {
    margin-top: 14px;
    width: fit-content;
    background: #0f8f58;
    border-color: #0f8f58;
    color: #fff;
}

body.global-homepage .home-footer-cta {
    width: var(--home-container);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(18px, 2.5vw, 26px);
    border-radius: 16px;
    border: 1px dashed rgba(15, 143, 88, 0.35);
    background: rgba(15, 143, 88, 0.06);
}

body.global-homepage .home-footer-cta__btn {
    background: #0f8f58;
    border-color: #0f8f58;
    color: #fff;
}

@media (max-width: 900px) {
    body.global-homepage .home-promo-banner,
    body.global-homepage .home-contact-cta,
    body.global-homepage .home-footer-cta,
    body.global-homepage .home-split-block,
    body.global-homepage .home-split-block--reverse {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    body.global-homepage .home-split-block--reverse .home-split-block__copy,
    body.global-homepage .home-split-block--reverse .home-split-block__visual {
        order: unset;
    }
}

/* FAQ & testimonials */
body.global-homepage .home-faq-section,
body.global-homepage .home-testimonial-section {
    padding: clamp(18px, 2.5vw, 28px);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

body.global-homepage .home-faq-head p,
body.global-homepage .home-testimonial-head p {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f8f58;
}

body.global-homepage .home-faq-head h2,
body.global-homepage .home-testimonial-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    color: #0f172a;
}

body.global-homepage .home-faq-head span,
body.global-homepage .home-testimonial-head span {
    display: block;
    color: #475569;
    max-width: 62ch;
}

body.global-homepage .home-faq-list {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

body.global-homepage .home-faq-item {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
}

body.global-homepage .home-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    padding: 14px 0;
    list-style: none;
}

body.global-homepage .home-faq-item summary::-webkit-details-marker {
    display: none;
}

body.global-homepage .home-faq-item p {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.55;
}

body.global-homepage .home-testimonial-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

body.global-homepage .home-testimonial-card {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(15, 143, 88, 0.18);
    background: linear-gradient(180deg, #f8fffb 0%, #ffffff 100%);
}

body.global-homepage .home-testimonial-card blockquote {
    margin: 0 0 12px;
    color: #1e293b;
    line-height: 1.55;
    font-style: normal;
}

body.global-homepage .home-testimonial-card footer {
    display: grid;
    gap: 2px;
}

body.global-homepage .home-testimonial-card footer strong {
    color: #0f172a;
}

body.global-homepage .home-testimonial-card footer span {
    color: #64748b;
    font-size: 0.88rem;
}

body.global-homepage .home-testimonial-rating {
    color: #f59e0b;
    letter-spacing: 0.08em;
}
