/* Public homepage — high contrast SaaS layout */

:root {
    --home-ink: #16181d;
    --home-muted: #5f6570;
    --home-border: #e4e7ec;
    --home-surface: #ffffff;
    --home-alt: #f6f7f9;
    --home-hero: #12151a;
    --home-accent: #ff6b00;
    --home-accent-dark: #c24100;
    --home-subnav-height: 48px;
}

/* Jump targets sit below main nav + sticky subnav */
body.route-home [id^="home-"]:not(#home-top) {
    scroll-margin-top: calc(
        var(--home-subnav-stuck-top,
            calc(
                var(--camp-site-contact-bar-height, 38px)
                + var(--camp-site-nav-height, 76px)
                + 8px
            )
        )
        + var(--home-subnav-height, 48px)
        + 12px
    );
}

/* ── Sticky section jump nav ── */
.home-subnav-sentinel {
    position: relative;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.home-subnav {
    position: sticky;
    /* JS sets --home-subnav-stuck-top from measured header bottom; CSS fallback adds slack */
    top: var(
        --home-subnav-stuck-top,
        calc(var(--camp-site-contact-bar-height, 38px) + var(--camp-site-nav-height, 76px) + 8px)
    );
    z-index: 990;
    min-height: var(--home-subnav-height);
    height: var(--home-subnav-height);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(228, 231, 236, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.22s ease, background 0.22s ease;
}

.home-subnav.is-stuck {
    box-shadow: 0 8px 24px rgba(22, 24, 29, 0.1);
}

.home-subnav__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px 0 12px;
    height: 100%;
    min-height: inherit;
}

.home-subnav__jump {
    display: none;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    min-height: 42px;
    padding: 6px 12px;
    border: 1px solid var(--home-border);
    border-radius: 11px;
    background: #fff;
    color: var(--home-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.home-subnav__jump-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.home-subnav__jump-kicker {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-muted);
    line-height: 1.1;
}

.home-subnav__jump strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--home-ink);
}

.home-subnav__jump > i {
    flex-shrink: 0;
    font-size: 0.9rem;
    color: var(--home-muted);
    transition: transform 0.18s ease;
}

.home-subnav.is-open .home-subnav__jump {
    border-color: rgba(255, 107, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.home-subnav.is-open .home-subnav__jump > i {
    transform: rotate(180deg);
    color: var(--home-accent-dark);
}

.home-subnav__scroller {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 18px), transparent);
}

.home-subnav__scroller::-webkit-scrollbar {
    display: none;
}

.home-subnav__scroller a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 750;
    color: var(--home-muted);
    text-decoration: none;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: color 0.15s ease, background 0.15s ease;
}

.home-subnav__scroller a:hover {
    color: var(--home-ink);
    background: rgba(255, 107, 0, 0.08);
}

.home-subnav__scroller a.is-active {
    color: var(--home-accent-dark);
    background: rgba(255, 107, 0, 0.12);
}

.home-subnav__notify {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 12px;
    border: 0;
    border-radius: 11px;
    background: var(--home-accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.28);
    transition: background 0.15s ease, transform 0.15s ease;
}

.home-subnav__notify:hover,
.home-subnav__notify:focus,
.home-subnav__notify:focus-visible {
    background: #e85d00;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.home-subnav__notify i {
    font-size: 0.9rem;
    line-height: 1;
}

@media (max-width: 767.98px) {
    :root {
        --home-subnav-height: 56px;
    }

    .home-subnav {
        height: auto;
        min-height: var(--home-subnav-height);
    }

    .home-subnav__inner {
        gap: 8px;
        padding: 7px 12px;
        height: auto;
        min-height: calc(var(--home-subnav-height) - 2px);
    }

    .home-subnav__jump {
        display: inline-flex;
    }

    .home-subnav__scroller {
        display: none;
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 6px);
        z-index: 5;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        max-height: min(62vh, 420px);
        overflow-x: hidden;
        overflow-y: auto;
        padding: 8px;
        border: 1px solid var(--home-border);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 16px 40px rgba(22, 24, 29, 0.18);
        mask-image: none;
        scroll-snap-type: none;
        -webkit-overflow-scrolling: touch;
    }

    .home-subnav.is-open .home-subnav__scroller {
        display: flex;
    }

    .home-subnav__scroller a {
        width: 100%;
        padding: 13px 14px;
        border-radius: 10px;
        font-size: 0.92rem;
        white-space: normal;
    }

    .home-subnav__scroller a.is-active {
        background: rgba(255, 107, 0, 0.14);
    }

    .home-subnav__notify {
        min-width: 44px;
        padding: 10px 12px;
    }

    .home-subnav__notify span {
        display: none;
    }
}

@media (min-width: 768px) {
    .home-subnav.is-open .home-subnav__scroller {
        display: flex;
    }
}

html[data-theme="dark"] .home-subnav__jump {
    background: var(--camp-surface, #1a1d24);
    border-color: var(--camp-border, rgba(255, 255, 255, 0.12));
    color: var(--camp-text, #e8eaed);
}

html[data-theme="dark"] .home-subnav__jump strong {
    color: var(--camp-text, #e8eaed);
}

html[data-theme="dark"] .home-subnav__jump-kicker,
html[data-theme="dark"] .home-subnav__jump > i {
    color: var(--camp-text-muted, #9aa0a6);
}

html[data-theme="dark"] .home-subnav.is-open .home-subnav__jump {
    border-color: rgba(255, 107, 0, 0.5);
}

@media (max-width: 767.98px) {
    html[data-theme="dark"] .home-subnav__scroller {
        background: var(--camp-surface, #1a1d24);
        border-color: var(--camp-border, rgba(255, 255, 255, 0.12));
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    }
}

/* ── Small orange section CTAs ── */
.home-section-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-top: 18px;
}

.home-section-ctas--center {
    justify-content: center;
}

.home-section-cta {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--home-accent);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.home-section-cta:hover {
    color: var(--home-accent-dark);
}

.home-section-cta--notify {
    color: var(--home-accent);
}

.home-section-cta--demo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: var(--home-accent);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(255, 107, 0, 0.22);
}

.home-section-cta--demo:hover {
    color: #fff !important;
    opacity: 0.92;
    filter: brightness(1.03);
}

.home-section-ctas--on-dark .home-section-cta {
    color: #ffb366;
}

.home-section-ctas--on-dark .home-section-cta:hover {
    color: #ffd2a1;
}

.home-platform-card .home-section-ctas {
    margin-top: 14px;
}

.home-cta .home-section-ctas {
    margin: 0 0 18px;
}

.home-scoutingsite-card .home-section-ctas {
    margin-top: 16px;
}

/* ── Hero (full viewport, brand-first) ── */
body:not(.logged-in).route-home {
    background: var(--home-hero);
}

.home-hero {
    --home-hero-pad-top: calc(var(--camp-site-contact-bar-height, 38px) + var(--camp-site-nav-height, 76px));
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--home-hero-pad-top) + 24px) 24px 56px;
    color: #fff;
    background:
        radial-gradient(ellipse 85% 55% at 50% -8%, rgba(255, 107, 0, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 15% 80%, rgba(255, 140, 51, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 45% 35% at 90% 60%, rgba(255, 107, 0, 0.08) 0%, transparent 48%),
        linear-gradient(180deg, #0b0d11 0%, #12151a 45%, #181b22 100%);
}

.home-hero .topo-svg { opacity: 0.32; }
.home-hero .topo-map-fill { fill: rgba(255, 255, 255, 0.04); }
.home-hero .topo-grid {
    opacity: 0.09;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}
.home-hero .topo-vignette {
    background: radial-gradient(ellipse 75% 70% at 50% 42%, transparent 18%, rgba(11, 13, 17, 0.7) 100%);
}

.home-hero__glow {
    position: absolute;
    left: 50%;
    bottom: -18%;
    z-index: 1;
    width: min(900px, 120%);
    height: 48%;
    transform: translateX(-50%);
    pointer-events: none;
    background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(255, 107, 0, 0.16) 0%, transparent 65%);
    animation: homeHeroGlow 8s ease-in-out infinite alternate;
}

/* Ambient camp-ops stage — sits behind brand copy */
.home-hero__stage {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    animation: homeHeroStageIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.home-hero__beacon {
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(520px, 78vw);
    height: min(520px, 78vw);
    transform: translate(-50%, -50%);
}

.home-hero__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 107, 0, 0.28);
    transform: translate(-50%, -50%);
    animation: homeHeroRing 6.5s cubic-bezier(0.22, 0.7, 0.3, 1) infinite;
}

.home-hero__ring--a {
    width: 34%;
    height: 34%;
    animation-delay: 0s;
}

.home-hero__ring--b {
    width: 58%;
    height: 58%;
    border-color: rgba(255, 179, 102, 0.2);
    animation-delay: 2.1s;
}

.home-hero__ring--c {
    width: 88%;
    height: 88%;
    border-color: rgba(255, 255, 255, 0.1);
    animation-delay: 4.2s;
}

.home-hero__fire-filter {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.home-hero__brand h1,
.home-hero__wordmark {
    position: relative;
    margin: 0;
    font-size: clamp(2.8rem, 8vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.95;
    color: #fff;
    isolation: isolate;
}

.home-hero__wordmark-text,
.home-hero__wordmark-haze,
.home-hero__wordmark-ember {
    display: block;
}

.home-hero__wordmark-text {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow:
        0 0 12px rgba(255, 120, 20, 0.28),
        0 0 28px rgba(255, 80, 0, 0.14),
        0 2px 0 rgba(80, 20, 0, 0.25);
}

.home-hero__wordmark-haze,
.home-hero__wordmark-ember {
    position: absolute;
    inset: 0;
    pointer-events: none;
    user-select: none;
}

.home-hero__wordmark-haze {
    z-index: 3;
    color: rgba(255, 210, 150, 0.38);
    filter: url(#homeHeroFireHaze) blur(0.35px);
    opacity: 0.42;
    mix-blend-mode: screen;
    animation: homeHeroFireShift 5.5s ease-in-out infinite alternate;
}

.home-hero__wordmark-ember {
    z-index: 1;
    color: transparent;
    background: linear-gradient(
        180deg,
        rgba(255, 230, 180, 0.55) 0%,
        rgba(255, 140, 40, 0.5) 48%,
        rgba(220, 70, 0, 0.35) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    filter: blur(5px);
    opacity: 0.38;
    transform: scale(1.015) translateY(1px);
    animation: homeHeroEmberGlow 4.2s ease-in-out infinite alternate;
}

.home-hero__dot {
    color: var(--home-accent);
}

.home-hero__wordmark-haze .home-hero__dot,
.home-hero__wordmark-ember .home-hero__dot {
    color: #ffb366;
}

.home-hero__scan {
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(640px, 92vw);
    height: min(640px, 92vw);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 107, 0, 0.07) 28deg,
        transparent 56deg,
        transparent 360deg
    );
    mask-image: radial-gradient(circle, transparent 28%, #000 42%, #000 68%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle, transparent 28%, #000 42%, #000 68%, transparent 78%);
    animation: homeHeroScan 9s linear infinite;
    opacity: 0.85;
}

.home-hero__shell {
    position: relative;
    z-index: 2;
    width: min(680px, 100%);
    margin: 0 auto;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero__copy {
    width: 100%;
    text-align: center;
    animation: homeHeroIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
}

.home-hero__brand img {
    height: 52px;
    width: auto;
    max-width: none;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
    animation: homeHeroLogoBreathe 5.5s ease-in-out infinite;
}

.home-hero__brand h1,
.home-hero__wordmark {
    margin: 0;
}

.home-hero__title {
    margin: 0 auto 16px;
    max-width: 36rem;
    min-height: 2.7em;
    font-size: clamp(1.1rem, 2.3vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: rgba(255, 255, 255, 0.88);
}

.home-hero__caret {
    display: inline-block;
    width: 0.08em;
    height: 1em;
    margin-left: 0.12em;
    vertical-align: -0.12em;
    background: var(--home-accent);
    border-radius: 1px;
    animation: homeHeroCaret 1s step-end infinite;
}

.home-hero__title.is-waiting .home-hero__caret {
    animation-duration: 1s;
}

@keyframes homeHeroCaret {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.home-hero__lead {
    margin: 0 auto 30px;
    max-width: 38rem;
    padding: 14px 22px;
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    text-wrap: balance;
    border-radius: 14px;
    border: 1px solid rgba(255, 179, 102, 0.22);
    background: rgba(8, 10, 14, 0.72);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-hero__lead strong {
    color: #fff;
    font-weight: 800;
}

.home-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border: 0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.home-btn--primary {
    background: var(--home-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.26);
}

.home-btn--primary:hover {
    background: #e85d00;
    color: #fff;
    transform: translateY(-1px);
}

.home-hero .home-btn--notify i {
    font-size: 1.2rem;
    line-height: 1;
}

.home-btn--light {
    background: #fff;
    color: var(--home-accent-dark);
}

.home-btn--light:hover {
    background: #fff7f0;
    color: var(--home-accent-dark);
    transform: translateY(-1px);
}

.home-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.home-hero__scroll {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 10px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
}

.home-hero__scroll span {
    display: block;
    width: 18px;
    height: 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    position: relative;
}

.home-hero__scroll span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 6px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.7);
    animation: homeHeroScrollDot 1.6s ease-in-out infinite;
}

.home-hero__scroll:hover span,
.home-hero__scroll:focus-visible span {
    border-color: rgba(255, 255, 255, 0.7);
    outline: none;
}

@keyframes homeHeroIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeHeroStageIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes homeHeroGlow {
    from { opacity: 0.65; transform: translateX(-50%) scale(1); }
    to { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

@keyframes homeHeroScrollDot {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(8px); opacity: 0.2; }
    100% { transform: translateY(0); opacity: 0; }
}

@keyframes homeHeroRing {
    0% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(0.72);
    }
    70% {
        opacity: 0.12;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.18);
    }
}

@keyframes homeHeroScan {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes homeHeroLogoBreathe {
    0%, 100% { transform: translateY(0); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35)); }
    50% { transform: translateY(-3px); filter: drop-shadow(0 14px 28px rgba(255, 107, 0, 0.22)); }
}

@keyframes homeHeroFireShift {
    0% {
        opacity: 0.32;
        transform: translate3d(-0.2%, 0.15%, 0);
    }
    100% {
        opacity: 0.48;
        transform: translate3d(0.25%, -0.2%, 0);
    }
}

@keyframes homeHeroEmberGlow {
    0% {
        opacity: 0.28;
        filter: blur(4px);
        transform: scale(1.01) translateY(1px);
    }
    100% {
        opacity: 0.42;
        filter: blur(5.5px);
        transform: scale(1.02) translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__copy,
    .home-hero__glow,
    .home-hero__scroll span::after,
    .home-hero__caret,
    .home-hero__stage,
    .home-hero__ring,
    .home-hero__scan,
    .home-hero__brand img,
    .home-hero__wordmark-haze,
    .home-hero__wordmark-ember {
        animation: none !important;
    }

    .home-hero__stage {
        opacity: 0.55;
    }

    .home-hero__caret {
        display: none;
    }

    .home-hero__scan {
        opacity: 0.35;
    }

    .home-hero__wordmark-haze {
        filter: none;
        opacity: 0;
    }

    .home-hero__wordmark-ember {
        filter: blur(4px);
        opacity: 0.35;
        transform: none;
    }

    .home-hero__fire-filter animate {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        --home-hero-pad-top: calc(var(--camp-site-contact-bar-height, 38px) + var(--camp-site-nav-height, 64px));
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 32px;
    }

    .home-hero__beacon {
        width: min(420px, 92vw);
        height: min(420px, 92vw);
        top: 48%;
    }

    .home-hero__scan {
        width: min(480px, 98vw);
        height: min(480px, 98vw);
        top: 48%;
        opacity: 0.55;
    }

    .home-hero__brand {
        gap: 14px;
        margin-bottom: 16px;
    }

    .home-hero__brand img {
        height: 46px;
    }

    .home-hero__brand h1,
    .home-hero__wordmark {
        font-size: clamp(2.4rem, 12vw, 3.2rem);
    }

    .home-hero__lead {
        max-width: 100%;
        padding: 12px 14px;
        font-size: 0.9rem;
        line-height: 1.4;
        border-radius: 12px;
    }

    .home-hero__ctas .home-btn--ghost:last-child {
        display: none;
    }
}

/* ── Shared section typography ── */
.section-kicker {
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-accent);
}

.section-title {
    margin: 0 0 16px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--home-ink);
}

.section-copy {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--home-muted);
}

.section-copy strong {
    color: var(--home-ink);
}

.section-copy--center {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.home-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

/* ── Stats ── */
.home-stats {
    background: var(--home-surface) !important;
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
    padding: 48px 0;
}

.home-stats .stat-item .stat-num {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    color: var(--home-ink) !important;
    margin-bottom: 8px;
}

.home-stats .stat-item .stat-suffix {
    font-size: 0.72em;
    color: var(--home-accent) !important;
}

.home-stats .stat-item .stat-lbl {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--home-muted) !important;
}

/* ── Built for scale (scroll dashboard) ── */
.home-scale {
    --home-scale-p: 0;
    --hs-dash: 1;
    --hs-flip: 0;
    --hs-scan: 0;
    --hs-profile: 0;
    --hs-profile-tour: 0;
    --hs-profile-scroll: 0;
    --hs-profile-unlock: 0;
    --hs-profile-travel: 0px;
    --hs-yaw: -11deg;
    --hs-pitch: 0deg;
    --hs-shift: 14px;
    position: relative;
    z-index: 2;
    height: 460vh;
    margin-top: 0;
    scroll-margin-top: calc(var(--camp-site-contact-bar-height, 38px) + var(--camp-site-nav-height, 76px));
    color: var(--home-ink);
    background:
        radial-gradient(ellipse 90% 55% at 50% 18%, rgba(255, 107, 0, 0.08) 0%, transparent 55%),
        var(--home-surface);
}

.home-scale__pin {
    --hs-pin-pad: 24px;
    position: sticky;
    top: calc(var(--camp-site-contact-bar-height, 38px) + var(--camp-site-nav-height, 76px));
    height: calc(100vh - var(--camp-site-contact-bar-height, 38px) - var(--camp-site-nav-height, 76px));
    height: calc(100dvh - var(--camp-site-contact-bar-height, 38px) - var(--camp-site-nav-height, 76px));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--hs-pin-pad) 0;
    overflow: visible;
    box-sizing: border-box;
    opacity: 1;
    pointer-events: none;
}

.home-scale__inner {
    width: 100%;
    max-width: 1120px;
    padding: 0 20px;
    box-sizing: border-box;
    pointer-events: auto;
}

.home-scale__scene {
    position: relative;
    display: grid;
    align-items: center;
    gap: 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Scale + profile: copy | mock — same proportions as QR mode */
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    grid-template-areas: "copy stage";
    perspective: 1400px;
}

.home-scale.is-qr-mode .home-scale__scene {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    grid-template-areas: "stage copy";
}

.home-scale__copy {
    z-index: 2;
    min-width: 0;
    box-sizing: border-box;
    grid-area: copy;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    color: var(--home-ink);
}

/* Only one copy block participates in the grid at a time */
.home-scale__copy--scale,
.home-scale__copy--qr,
.home-scale__copy--profile {
    display: none;
}

.home-scale.is-scale-mode .home-scale__copy--scale,
.home-scale.is-qr-mode .home-scale__copy--qr,
.home-scale.is-profile-mode .home-scale__copy--profile {
    display: block;
}

.home-scale__copy .section-title {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    margin-bottom: 12px;
}

.home-scale__copy .section-kicker {
    margin-bottom: 10px;
}

.home-scale__copy .home-scale__lead,
.home-scale__copy .section-copy {
    margin: 0;
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.65;
}

.home-scale__lead {
    margin: 0;
    max-width: none;
}

.home-scale__bullets {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.home-scale__bullets li {
    position: relative;
    padding-left: 18px;
    font-size: 0.84rem;
    font-weight: 650;
    color: var(--home-muted);
    line-height: 1.45;
}

.home-scale__bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-accent);
}

.home-scale__stage {
    grid-area: stage;
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    min-width: 0;
    z-index: 2;
    align-self: stretch;
    transform: translate3d(var(--hs-shift), 0, 0) rotateX(var(--hs-pitch)) rotateY(var(--hs-yaw));
    transform-style: preserve-3d;
    transform-origin: center bottom;
    will-change: transform;
}

.home-scale__halo {
    position: absolute;
    inset: 12% 8% -8%;
    border-radius: 40%;
    background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.18) 0%, transparent 68%);
    filter: blur(18px);
    opacity: calc(0.2 + var(--hs-dash) * 0.55 + var(--hs-flip) * 0.25);
    pointer-events: none;
    transform: scale(calc(0.85 + var(--hs-dash) * 0.2));
}

.home-scale__frame {
    position: relative;
    border: 1px solid var(--home-border);
    border-radius: 20px;
    overflow: hidden;
    background: #0f1217;
    min-height: 420px;
    box-shadow:
        0 24px 60px rgba(17, 20, 26, 0.16),
        0 2px 0 rgba(255, 255, 255, 0.06) inset;
    transform-origin: center center;
    transform:
        rotateX(var(--tilt-x, 0deg))
        rotateY(var(--tilt-y, 0deg));
    will-change: transform;
    max-height: min(560px, calc(100dvh - 140px));
    opacity: 1;
}

.home-scale__chrome {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    background: linear-gradient(180deg, #232833 0%, #1a1e26 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-scale__dots {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.home-scale__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #5a6170;
}

.home-scale__dots span:first-child { background: #ff6b6b; }
.home-scale__dots span:nth-child(2) { background: #f5c451; }
.home-scale__dots span:nth-child(3) { background: #57c76d; }

.home-scale__url {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.home-scale__url i {
    font-size: 0.65rem;
    color: #57c76d;
}

.home-scale__app {
    position: relative;
    background: #eef1f5;
    min-height: 360px;
    max-height: min(500px, calc(100dvh - 180px));
    overflow: hidden;
}

.home-scale__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(154, 52, 0, 0.96);
    color: #fff;
    opacity: 1;
    transform: none;
}

.home-scale__topbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-scale__logo {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(135deg, #ff8a3d, #ff6b00);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.72rem;
    line-height: 1;
}

.home-scale__logo i {
    display: block;
}

.home-scale__topbar-actions {
    display: flex;
    gap: 6px;
}

.home-scale__topbar-actions span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.12);
    font-size: 0.78rem;
}

.home-scale__body {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    min-height: 0;
}

.home-scale__sidebar {
    padding: 12px 10px 14px;
    background: linear-gradient(180deg, #9a3400 0%, #7a2900 48%, #5c1f00 100%);
    color: #fff;
    opacity: 1;
    transform: none;
}

.home-scale__sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 3px;
}

.home-scale__sidebar li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 9px;
    color: rgba(255,255,255,0.78);
    font-size: 0.68rem;
    font-weight: 700;
}

.home-scale__sidebar li i {
    width: 0.95rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.9;
}

.home-scale__sidebar li.is-active {
    background: rgba(255,255,255,0.16);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.home-scale__sidebar li:nth-child(n + 5) {
    display: none;
}

.home-scale__dash {
    padding: 10px;
    overflow: hidden;
}

.home-scale__widgets .home-scale__widget:last-child {
    display: none;
}

.home-scale__hero {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 14px 14px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a1d24 0%, #2a2218 55%, #3d2208 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
    opacity: 1;
    transform: none;
}

.home-scale__hero-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.12);
    color: #ffb366;
    font-size: 1.15rem;
}

.home-scale__hero-eyebrow {
    margin: 0 0 2px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 200, 160, 0.85);
}

.home-scale__hero-copy > strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 3px;
}

.home-scale__hero-copy > p:not(.home-scale__hero-eyebrow) {
    margin: 0 0 8px;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.72);
    font-weight: 600;
}

.home-scale__hero-badge {
    display: inline-flex;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.22);
    color: #fed7aa;
    border: 1px solid rgba(255, 179, 102, 0.35);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-scale__hero-actions {
    display: grid;
    gap: 6px;
}

.home-scale__hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.66rem;
    font-weight: 800;
    white-space: nowrap;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
}

.home-scale__hero-btn--primary {
    background: linear-gradient(135deg, #ff6b00, #e85d00);
    border: none;
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
}

.home-scale__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.home-scale__stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 8px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 5px 14px rgba(15, 23, 42, 0.05);
    opacity: 1;
    transform: none;
}

.home-scale__stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.home-scale__stat-icon.ic-green  { background: #dcfce7; color: #166534; }
.home-scale__stat-icon.ic-blue   { background: #dbeafe; color: #1e40af; }
.home-scale__stat-icon.ic-amber  { background: #fef3c7; color: #92400e; }
.home-scale__stat-icon.ic-red    { background: #fee2e2; color: #b91c1c; }
.home-scale__stat-icon.ic-slate  { background: #f1f5f9; color: #475569; }
.home-scale__stat-icon.ic-purple { background: #ede9fe; color: #6d28d9; }

.home-scale__stat-label {
    display: block;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 1px;
}

.home-scale__stat-num {
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1;
    color: #c24100;
    font-variant-numeric: tabular-nums;
}

.home-scale__stat-unit {
    font-size: 0.72rem;
    font-weight: 800;
    color: #c24100;
    margin-left: 1px;
}

.home-scale__widgets {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 8px;
}

.home-scale__widget {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 5px 14px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    opacity: 1;
    transform: none;
}

.home-scale__widget-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1a1d24;
    font-size: 0.74rem;
}

.home-scale__widget-head i {
    color: #ff6b00;
}

.home-scale__widget-head strong {
    font-weight: 800;
}

.home-scale__widget-body {
    padding: 10px 12px 12px;
}

.home-scale__announce + .home-scale__announce {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.home-scale__announce-tag {
    display: inline-flex;
    margin-bottom: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff1e6;
    color: #c24100;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-scale__announce strong {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #1a1d24;
    line-height: 1.3;
}

.home-scale__announce small {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 0.6rem;
    font-weight: 650;
}

.home-scale__qa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.home-scale__qa {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 12px;
    background: #f8fafc;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 800;
    color: #334155;
}

.home-scale__qa-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
}

.home-scale__qa-icon.ic-green  { background: #dcfce7; color: #166534; }
.home-scale__qa-icon.ic-blue   { background: #dbeafe; color: #1e40af; }
.home-scale__qa-icon.ic-amber  { background: #fef3c7; color: #92400e; }
.home-scale__qa-icon.ic-purple { background: #ede9fe; color: #6d28d9; }

.home-scale__views {
    position: relative;
    min-height: 320px;
    flex: 1;
    min-width: 0;
}

.home-scale__view {
    height: 100%;
}

.home-scale__view--dash {
    position: relative;
    opacity: calc(1 - var(--hs-flip));
    transform: scale(calc(1 - var(--hs-flip) * 0.04)) translate3d(calc(var(--hs-flip) * -12px), 0, 0);
    transition: none;
    pointer-events: none;
}

.home-scale__view--qr {
    position: absolute;
    inset: 0;
    opacity: calc(var(--hs-flip) * (1 - var(--hs-profile)));
    transform: translate3d(calc((1 - var(--hs-flip)) * 24px), 0, 0);
    pointer-events: none;
    overflow: auto;
}

.home-scale__view--profile {
    position: absolute;
    inset: 0;
    opacity: var(--hs-profile);
    transform: translate3d(calc((1 - var(--hs-profile)) * 18px), 0, 0);
    pointer-events: none;
    overflow: hidden;
    background: #eef1f5;
}

.home-scale__profile-viewport {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.home-scale__profile-viewport::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px;
    background: linear-gradient(180deg, transparent, rgba(238, 241, 245, 0.95));
    opacity: calc(1 - var(--hs-profile-scroll, 0));
    pointer-events: none;
    z-index: 2;
}

.home-scale__profile {
    padding: 12px;
    display: grid;
    gap: 10px;
    transform: translate3d(0, calc(var(--hs-profile-scroll, 0) * var(--hs-profile-travel, 0px) * -1), 0);
    will-change: transform;
}

.home-scale__profile [data-profile-step] {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.96);
}

.home-scale__profile [data-profile-step="1"] {
    opacity: min(1, calc(var(--hs-profile, 0) * 3.2));
    transform: translate3d(0, calc((1 - min(1, var(--hs-profile, 0) * 3.2)) * 14px), 0) scale(calc(0.96 + min(1, var(--hs-profile, 0) * 3.2) * 0.04));
}

.home-scale__profile [data-profile-step="2"] {
    opacity: min(1, calc((var(--hs-profile-tour, 0) - 0.02) / 0.18));
    transform: translate3d(0, calc((1 - min(1, max(0, (var(--hs-profile-tour, 0) - 0.02) / 0.18))) * 16px), 0) scale(calc(0.96 + min(1, max(0, (var(--hs-profile-tour, 0) - 0.02) / 0.18)) * 0.04));
}

.home-scale__profile [data-profile-step="3"] {
    opacity: min(1, calc((var(--hs-profile-tour, 0) - 0.16) / 0.18));
    transform: translate3d(0, calc((1 - min(1, max(0, (var(--hs-profile-tour, 0) - 0.16) / 0.18))) * 16px), 0) scale(calc(0.96 + min(1, max(0, (var(--hs-profile-tour, 0) - 0.16) / 0.18)) * 0.04));
}

.home-scale__profile [data-profile-step="4"] {
    opacity: min(1, calc((var(--hs-profile-tour, 0) - 0.34) / 0.18));
    transform: translate3d(0, calc((1 - min(1, max(0, (var(--hs-profile-tour, 0) - 0.34) / 0.18))) * 16px), 0) scale(calc(0.96 + min(1, max(0, (var(--hs-profile-tour, 0) - 0.34) / 0.18)) * 0.04));
}

.home-scale__profile [data-profile-step="5"] {
    opacity: min(1, calc((var(--hs-profile-tour, 0) - 0.5) / 0.18));
    transform: translate3d(0, calc((1 - min(1, max(0, (var(--hs-profile-tour, 0) - 0.5) / 0.18))) * 16px), 0) scale(calc(0.96 + min(1, max(0, (var(--hs-profile-tour, 0) - 0.5) / 0.18)) * 0.04));
}

.home-scale__profile [data-profile-step="6"] {
    opacity: min(1, calc((var(--hs-profile-tour, 0) - 0.66) / 0.2));
    transform: translate3d(0, calc((1 - min(1, max(0, (var(--hs-profile-tour, 0) - 0.66) / 0.2))) * 16px), 0) scale(calc(0.96 + min(1, max(0, (var(--hs-profile-tour, 0) - 0.66) / 0.2)) * 0.04));
}

.home-scale__qr-shapes i {
    font-size: 1.15rem;
    line-height: 1;
    opacity: 0;
    transform: scale(0.4) rotate(-18deg);
}

.home-scale__qr-shapes i[data-shape="1"] {
    opacity: min(1, calc((var(--hs-profile-tour, 0) - 0.06) / 0.1));
    transform: scale(calc(0.4 + min(1, max(0, (var(--hs-profile-tour, 0) - 0.06) / 0.1)) * 0.6)) rotate(calc((1 - min(1, max(0, (var(--hs-profile-tour, 0) - 0.06) / 0.1))) * -18deg));
}

.home-scale__qr-shapes i[data-shape="2"] {
    opacity: min(1, calc((var(--hs-profile-tour, 0) - 0.1) / 0.1));
    transform: scale(calc(0.4 + min(1, max(0, (var(--hs-profile-tour, 0) - 0.1) / 0.1)) * 0.6)) rotate(calc((1 - min(1, max(0, (var(--hs-profile-tour, 0) - 0.1) / 0.1))) * -18deg));
}

.home-scale__qr-shapes i[data-shape="3"] {
    opacity: min(1, calc((var(--hs-profile-tour, 0) - 0.14) / 0.1));
    transform: scale(calc(0.4 + min(1, max(0, (var(--hs-profile-tour, 0) - 0.14) / 0.1)) * 0.6)) rotate(calc((1 - min(1, max(0, (var(--hs-profile-tour, 0) - 0.14) / 0.1))) * -18deg));
}

.home-scale__qr-shapes i[data-shape="4"] {
    opacity: min(1, calc((var(--hs-profile-tour, 0) - 0.18) / 0.1));
    transform: scale(calc(0.4 + min(1, max(0, (var(--hs-profile-tour, 0) - 0.18) / 0.1)) * 0.6)) rotate(calc((1 - min(1, max(0, (var(--hs-profile-tour, 0) - 0.18) / 0.1))) * -18deg));
}

.home-scale__qr-fields > div[data-unlock="1"],
.home-scale__qr-fields > div[data-unlock="2"] {
    transition: none;
}

.home-scale__qr-fields > div[data-unlock="1"]:not(.is-locked),
.home-scale__qr-fields > div[data-unlock="2"]:not(.is-locked) {
    opacity: 1;
    filter: none;
    transform: none;
    background: #ecfdf5;
    box-shadow: inset 0 0 0 1px #a7f3d0;
}

.home-scale__qr-fields > div[data-unlock="1"]:not(.is-locked) strong,
.home-scale__qr-fields > div[data-unlock="2"]:not(.is-locked) strong {
    color: #065f46;
}

.home-scale__qr-chip.is-unlocking {
    background: rgba(251, 191, 36, 0.22);
    border-color: rgba(251, 191, 36, 0.45);
    color: #fde68a;
}

.home-scale__qr-chip.is-unlocked {
    background: rgba(52, 211, 153, 0.22);
    border-color: rgba(52, 211, 153, 0.45);
    color: #a7f3d0;
}

.home-scale__qr-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
}

.home-scale__qr-contact:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.home-scale__qr-contact strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #1a1d24;
}

.home-scale__qr-contact small {
    display: block;
    margin-top: 2px;
    font-size: 0.62rem;
    font-weight: 650;
    color: #64748b;
}

.home-scale__qr-contact > span {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 800;
    color: #0f766e;
    font-variant-numeric: tabular-nums;
}

.home-scale__qr-notes {
    display: grid;
    gap: 8px;
}

.home-scale__qr-notes p {
    margin: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.7rem;
    font-weight: 650;
    line-height: 1.4;
}

.home-scale__qr-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.home-scale__qr-timeline li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
    padding: 7px 8px;
    border-radius: 10px;
    background: #f8fafc;
}

.home-scale__qr-timeline li span {
    font-size: 0.62rem;
    font-weight: 800;
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

.home-scale__qr-timeline li strong {
    font-size: 0.72rem;
    font-weight: 800;
    color: #1a1d24;
}

.home-scale__qr-timeline li.is-now {
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.home-scale__qr-timeline li.is-now span {
    color: #1d4ed8;
}

.home-scale__qr {
    padding: 12px;
}

.home-scale__hero--qr {
    margin-bottom: 10px;
    background: linear-gradient(135deg, #142033 0%, #1e3a5f 55%, #1d4ed8 120%);
    grid-template-columns: auto 1fr auto;
    opacity: 1;
    transform: none;
}

.home-scale__hero--qr .home-scale__hero-icon {
    color: #93c5fd;
}

.home-scale__hero--qr .home-scale__hero-eyebrow {
    color: rgba(191, 219, 254, 0.9);
}

.home-scale__hero-btn--qr.home-scale__hero-btn--primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.home-scale__qr-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
}

.home-scale__scanner {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 5px 14px rgba(15, 23, 42, 0.05);
}

.home-scale__viewfinder {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(59, 130, 246, 0.18), transparent 42%),
        linear-gradient(160deg, #1a1d24, #0f172a 70%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.home-scale__corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2.5px solid #60a5fa;
    z-index: 2;
}

.home-scale__corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.home-scale__corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.home-scale__corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.home-scale__corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }

.home-scale__scan-line {
    position: absolute;
    left: 16%;
    right: 16%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.85);
    top: calc(20% + var(--hs-scan) * 52%);
    opacity: calc(var(--hs-flip) * max(0, 1 - ((var(--hs-scan) - 0.7) / 0.3)));
    z-index: 3;
}

.home-scale__fake-qr {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: calc(0.35 + var(--hs-scan) * 0.65);
    transform: scale(calc(0.9 + var(--hs-scan) * 0.1));
    z-index: 1;
}

.home-scale__fake-qr img {
    width: min(46%, 148px);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    image-rendering: pixelated;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.home-scale__scan-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.68rem;
    font-weight: 700;
}

.home-scale.is-scan-locked .home-scale__scan-status {
    background: #ecfdf5;
    color: #047857;
}

.home-scale__scan-result {
    opacity: calc((var(--hs-scan) - 0.55) / 0.45);
    transform: translateY(calc((1 - var(--hs-scan)) * 16px));
}

.home-scale__profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 12px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 5px 14px rgba(15, 23, 42, 0.05);
}

.home-scale__profile-id {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ff8a3d, #ff6b00);
    color: #fff;
    font-weight: 900;
    font-size: 0.95rem;
}

.home-scale__profile-card strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 850;
    color: #1a1d24;
}

.home-scale__profile-card small {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 650;
}

.home-scale__profile-flag {
    grid-column: 2;
    justify-self: start;
    padding: 3px 8px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-scale__scan-hint {
    margin: 8px 2px 0;
    font-size: 0.68rem;
    font-weight: 650;
    color: #64748b;
    line-height: 1.4;
}

.home-scale__qr-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a1d24 0%, #2a2218 55%, #3d2208 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.home-scale__qr-hero-id {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: #ffb366;
    font-size: 1.1rem;
    font-weight: 900;
}

.home-scale__qr-hero-body strong {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 2px;
}

.home-scale__qr-hero-body p {
    margin: 0 0 8px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.home-scale__qr-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.home-scale__qr-panel {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 5px 14px rgba(15, 23, 42, 0.05);
}

.home-scale__qr-panel-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    color: #1a1d24;
}

.home-scale__qr-panel-head i {
    color: #dc2626;
}

.home-scale__qr-panel[data-profile-step="3"] .home-scale__qr-panel-head i {
    color: #ff6b00;
}

.home-scale__qr-panel[data-profile-step="4"] .home-scale__qr-panel-head i {
    color: #0f766e;
}

.home-scale__qr-panel[data-profile-step="5"] .home-scale__qr-panel-head i {
    color: #c2410c;
}

.home-scale__qr-panel[data-profile-step="6"] .home-scale__qr-panel-head i {
    color: #1d4ed8;
}

.home-scale__qr-shapes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
}

.home-scale__qr-perms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-scale__qr-perms span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

.home-scale__qr-perms .is-yes {
    background: #ecfdf5;
    color: #047857;
}

.home-scale__qr-perms .is-muted {
    background: #f1f5f9;
    color: #64748b;
}

.home-scale__qr-fields {
    display: grid;
    gap: 8px;
}

.home-scale__qr-fields > div {
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.home-scale__qr-fields > div.is-locked {
    background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
    opacity: 0.72;
}

.home-scale__qr-fields small {
    display: block;
    margin-bottom: 3px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
}

.home-scale__qr-fields strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #1a1d24;
}

.home-scale__qr-fields > div.is-locked strong {
    color: #64748b;
}

.home-scale__toast {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 280px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #166534;
    border: 1.5px solid #6ee7b7;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    z-index: 3;
}

.home-scale__toast i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #d1fae5;
    color: #047857;
    flex-shrink: 0;
}

.home-scale__toast strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #065f46;
}

.home-scale__toast span {
    display: block;
    margin-top: 2px;
    font-size: 0.62rem;
    color: #047857;
    font-weight: 650;
    opacity: 0.85;
}

/* Dashboard mock — scroll-driven pop-in */
.home-scale [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.92);
    transition:
        opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.home-scale [data-reveal].is-in {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.home-scale__toast[data-reveal].is-in {
    opacity: calc(1 - var(--hs-flip));
    transform: translate3d(0, calc(var(--hs-flip) * 8px), 0) scale(1);
}

.home-scale.is-ready:not(.is-scale-mode) [data-reveal] {
    /* Keep pieces visible once the dash flips to QR / profile */
    opacity: 1;
    transform: none;
}

.home-scale.is-ready:not(.is-scale-mode) .home-scale__toast[data-reveal] {
    opacity: calc(1 - var(--hs-flip));
    transform: translate3d(0, calc(var(--hs-flip) * 8px), 0);
}

@media (max-width: 991.98px) {
    .home-scale {
        height: 360vh;
        margin-top: 0;
        --hs-pitch: 8deg;
        --hs-yaw: -6deg;
        --hs-shift: 0px;
        perspective: 900px;
    }

    .home-scale__pin {
        --hs-pin-pad: 16px;
        position: sticky;
        top: calc(var(--camp-site-contact-bar-height, 38px) + var(--camp-site-nav-height, 64px));
        height: calc(100vh - var(--camp-site-contact-bar-height, 38px) - var(--camp-site-nav-height, 64px));
        height: calc(100dvh - var(--camp-site-contact-bar-height, 38px) - var(--camp-site-nav-height, 64px));
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
        padding: var(--hs-pin-pad) 0;
        opacity: 1;
        pointer-events: none;
    }

    .home-scale__inner {
        pointer-events: auto;
    }

    .home-scale__scene,
    .home-scale.is-scale-mode .home-scale__scene,
    .home-scale.is-qr-mode .home-scale__scene,
    .home-scale.is-profile-mode .home-scale__scene {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        perspective: 900px;
    }

    .home-scale__copy {
        flex: 0 0 auto;
        text-align: left;
    }

    .home-scale__copy .section-title {
        font-size: clamp(1.15rem, 4.6vw, 1.4rem);
        margin-bottom: 8px;
    }

    .home-scale__copy .home-scale__lead,
    .home-scale__copy .section-copy {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .home-scale__bullets {
        margin-top: 10px;
        gap: 6px;
    }

    .home-scale__bullets li {
        font-size: 0.8rem;
    }

    .home-scale__stage {
        flex: 0 1 auto;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        transform: translate3d(var(--hs-shift), 0, 0) rotateX(var(--hs-pitch)) rotateY(var(--hs-yaw));
        transform-origin: center bottom;
        will-change: transform;
    }

    .home-scale__frame {
        min-height: 0;
        max-height: min(52dvh, 460px);
        transform: none;
    }

    .home-scale__app {
        display: flex;
        flex-direction: column;
        min-height: 260px;
        max-height: min(46dvh, 400px);
    }

    .home-scale__body {
        grid-template-columns: 1fr;
        flex: 1 1 auto;
        min-height: 0;
    }

    .home-scale__sidebar {
        display: none;
    }

    .home-scale__views {
        min-height: 0;
        height: 100%;
    }

    .home-scale__view--qr,
    .home-scale__view--profile {
        overflow: hidden;
    }

    /* Free vertical room when the mock flips to QR / profile */
    .home-scale.is-qr-mode .home-scale__lead,
    .home-scale.is-profile-mode .home-scale__lead,
    .home-scale.is-qr-mode .home-scale__bullets,
    .home-scale.is-profile-mode .home-scale__bullets,
    .home-scale.is-qr-mode .home-section-ctas,
    .home-scale.is-profile-mode .home-section-ctas {
        display: none;
    }

    .home-scale.is-qr-mode .home-scale__copy .section-title,
    .home-scale.is-profile-mode .home-scale__copy .section-title {
        font-size: clamp(1.05rem, 4.2vw, 1.25rem);
        margin-bottom: 0;
    }

    .home-scale.is-qr-mode .home-scale__frame,
    .home-scale.is-profile-mode .home-scale__frame {
        max-height: min(68dvh, 560px);
    }

    .home-scale.is-qr-mode .home-scale__app,
    .home-scale.is-profile-mode .home-scale__app {
        max-height: min(62dvh, 520px);
    }

    .home-scale__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-scale__widgets,
    .home-scale__qr-layout {
        grid-template-columns: 1fr;
    }

    .home-scale__qr {
        padding: 8px;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        box-sizing: border-box;
    }

    .home-scale__hero--qr {
        margin-bottom: 0;
        padding: 10px 10px;
        gap: 8px;
        flex: 0 0 auto;
    }

    .home-scale__hero--qr .home-scale__hero-actions,
    .home-scale__hero--qr .home-scale__hero-copy > p:not(.home-scale__hero-eyebrow) {
        display: none;
    }

    .home-scale__qr-layout {
        flex: 1 1 auto;
        min-height: 0;
        align-content: start;
        gap: 8px;
    }

    .home-scale__scanner {
        padding: 8px;
    }

    .home-scale__viewfinder {
        width: min(100%, 220px);
        max-height: min(36dvh, 220px);
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .home-scale__fake-qr img {
        width: min(48%, 110px);
        padding: 8px;
    }

    .home-scale__scan-status {
        margin-top: 8px;
        padding: 7px 8px;
        font-size: 0.62rem;
    }

    .home-scale__scan-hint {
        display: none;
    }

    .home-scale__profile-card {
        padding: 10px;
    }

    .home-scale__profile-viewport {
        height: 100%;
    }

    .home-scale__profile {
        padding: 8px;
        overflow: visible;
    }

    .home-scale__qr-hero {
        padding: 10px;
        margin-bottom: 0;
    }

    .home-scale__qr-panel {
        padding: 8px 10px;
        margin-bottom: 0;
    }

    .home-scale__hero {
        grid-template-columns: auto 1fr;
    }

    .home-scale__hero-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .home-scale__halo {
        inset: 18% 4% -4%;
        opacity: calc(0.35 + var(--hs-dash) * 0.35);
    }
}

@media (max-width: 575.98px) {
    .home-scale {
        height: 340vh;
        --hs-pitch: 10deg;
    }

    .home-scale__bullets li:nth-child(n + 3) {
        display: none;
    }

    .home-scale__frame {
        max-height: min(50dvh, 420px);
        border-radius: 16px;
    }

    .home-scale__app {
        max-height: min(44dvh, 360px);
    }

    .home-scale.is-qr-mode .home-scale__frame,
    .home-scale.is-profile-mode .home-scale__frame {
        max-height: min(72dvh, 540px);
    }

    .home-scale.is-qr-mode .home-scale__app,
    .home-scale.is-profile-mode .home-scale__app {
        max-height: min(66dvh, 500px);
    }

    .home-scale__viewfinder {
        width: min(100%, 200px);
        max-height: min(34dvh, 200px);
    }

    .home-scale__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-scale {
        height: auto;
        --hs-pitch: 10deg;
        --hs-yaw: -4deg;
        --hs-shift: 0px;
    }

    .home-scale__pin {
        position: relative;
        min-height: 0;
        height: auto;
        padding: 72px 0 56px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .home-scale__scene {
        display: flex;
        flex-direction: column;
        gap: 28px;
        perspective: 900px;
    }

    .home-scale__stage {
        transform: translate3d(0, 0, 0) rotateX(var(--hs-pitch)) rotateY(var(--hs-yaw));
        transform-origin: center bottom;
        max-width: 560px;
        margin: 0 auto;
        will-change: auto;
    }

    .home-scale__frame,
    .home-scale__copy,
    .home-scale__halo,
    .home-scale__view--dash,
    .home-scale__view--qr,
    .home-scale__view--profile {
        transform: none;
        opacity: 1;
    }

    .home-scale__app {
        max-height: none;
    }

    .home-scale__topbar,
    .home-scale__sidebar,
    .home-scale__hero,
    .home-scale__stat,
    .home-scale__widget,
    .home-scale__toast,
    .home-scale__scan-result,
    .home-scale [data-reveal],
    .home-scale [data-reveal].is-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-scale__toast[data-reveal],
    .home-scale__toast[data-reveal].is-in {
        opacity: 1;
        transform: none;
    }

    .home-scale__profile,
    .home-scale__profile [data-profile-step],
    .home-scale__qr-shapes i {
        opacity: 1;
        transform: none;
    }

    .home-scale__profile-viewport::after {
        display: none;
    }
}



/* ── Features ── */
.home-features {
    background: var(--home-alt);
    padding: 80px 0;
}

.feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 24px;
    transition:
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

/* Homepage scroll reveal — skip on About (uses its own reveal / always-visible content) */
body:not(.route-about) .feature-card {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.18s ease,
        border-color 0.18s ease;
    will-change: opacity, transform;
}

body:not(.route-about) .feature-card.is-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.home-features .row > [class*="col-"]:nth-child(1) .feature-card { transition-delay: 0s; }
.home-features .row > [class*="col-"]:nth-child(2) .feature-card { transition-delay: 0.07s; }
.home-features .row > [class*="col-"]:nth-child(3) .feature-card { transition-delay: 0.14s; }
.home-features .row > [class*="col-"]:nth-child(4) .feature-card { transition-delay: 0.21s; }
.home-features .row > [class*="col-"]:nth-child(5) .feature-card { transition-delay: 0.28s; }
.home-features .row > [class*="col-"]:nth-child(6) .feature-card { transition-delay: 0.35s; }
.home-features .row > [class*="col-"]:nth-child(7) .feature-card { transition-delay: 0.42s; }
.home-features .row > [class*="col-"]:nth-child(8) .feature-card { transition-delay: 0.49s; }
.home-features .row > [class*="col-"]:nth-child(9) .feature-card { transition-delay: 0.56s; }

body:not(.route-about) .feature-card.is-in:hover {
    transform: translateY(-3px) scale(1);
    border-color: #ffd2ad;
    box-shadow: 0 16px 36px rgba(22, 24, 29, 0.08);
}

.about-person-card.feature-card:hover {
    transform: translateY(-3px);
    border-color: #ffd2ad;
    box-shadow: 0 16px 36px rgba(22, 24, 29, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    .feature-card {
        opacity: 1;
        transform: none;
        transition: border-color 0.18s ease, box-shadow 0.18s ease;
        will-change: auto;
    }

    .feature-card.is-in:hover {
        transform: translateY(-3px);
    }
}

.feature-card .fc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #fff1e6;
    color: var(--home-accent);
    font-size: 1.2rem;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--home-ink);
}

.feature-card p {
    flex: 1 1 auto;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--home-muted);
}

.feature-card__link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 107, 0, 0.35);
    background: #fff7ed;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--home-accent-dark, #c24100);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.feature-card__link::after {
    content: "\f138";
    font-family: "bootstrap-icons";
    font-size: 0.78rem;
    line-height: 1;
}

.feature-card__link:hover {
    background: #ffedd5;
    border-color: var(--home-accent, #ff6b00);
    color: var(--home-accent-dark, #c24100);
    transform: translateY(-1px);
}

.home-features-all {
    margin-top: 28px;
}

.home-features .home-section-ctas,
.home-spot--more .home-section-ctas {
    margin-top: 16px;
    margin-bottom: 8px;
}

.home-features .home-section-cta,
.home-spot--more .home-section-cta,
.home-features-all .home-section-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 107, 0, 0.35);
    background: #fff;
    color: var(--home-accent-dark, #c24100);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.home-features .home-section-cta:hover,
.home-spot--more .home-section-cta:hover,
.home-features-all .home-section-cta:hover {
    background: #fff7ed;
    border-color: var(--home-accent, #ff6b00);
    color: var(--home-accent-dark, #c24100);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.12);
}

.home-features .home-section-cta--notify,
.home-spot--more .home-section-cta--notify {
    background: var(--home-accent, #ff6b00);
    border-color: var(--home-accent, #ff6b00);
    color: #fff;
}

.home-features .home-section-cta--notify:hover,
.home-spot--more .home-section-cta--notify:hover {
    background: var(--home-accent-dark, #c24100);
    border-color: var(--home-accent-dark, #c24100);
    color: #fff;
}

/* ── Printed lanyards ── */
.home-spot-visual--lanyard {
    display: flex;
    justify-content: center;
    padding: 8px 0 4px;
    animation: none;
}

.home-lanyard-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 280px;
    perspective: 900px;
}

.home-lanyard-scene__tag {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--home-muted);
    min-height: 1.1em;
    transition: opacity 0.25s ease;
}

.home-lanyard-scene__note {
    margin: 0;
    max-width: 260px;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--home-muted);
    min-height: 2.6em;
    transition: opacity 0.25s ease;
}

.home-lanyard {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(-3deg);
    filter: drop-shadow(0 28px 42px rgba(22, 24, 29, 0.16));
    transform-origin: 50% 0;
}

.home-lanyard-scene.is-active:not(.is-flipped) .home-lanyard {
    animation: homeLanyardSway 3.6s ease-in-out infinite;
}

.home-lanyard-scene.is-flipped .home-lanyard {
    animation: none;
    transform: rotate(0deg);
}

.home-lanyard-scene.is-active .home-lanyard__shapes i {
    animation: homeLanyardShapePulse 2.4s ease-in-out infinite;
}

.home-lanyard-scene.is-active .home-lanyard__shapes i:nth-child(2) { animation-delay: 0.15s; }
.home-lanyard-scene.is-active .home-lanyard__shapes i:nth-child(3) { animation-delay: 0.3s; }

@keyframes homeLanyardSway {
    0%, 100% { transform: rotate(-3.5deg) translateY(0); }
    50% { transform: rotate(2.5deg) translateY(4px); }
}

@keyframes homeLanyardShapePulse {
    0%, 100% { transform: scale(1); opacity: 0.92; }
    50% { transform: scale(1.12); opacity: 1; }
}

.home-lanyard__hardware {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -2px;
    z-index: 3;
}

.home-lanyard__ring {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #9aa3b2;
    background: linear-gradient(145deg, #f8fafc 0%, #cbd5e1 100%);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.home-lanyard__strap {
    width: 14px;
    height: 28px;
    margin-top: -4px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #1f2937 0%, #374151 45%, #1f2937 100%);
}

.home-lanyard__flip {
    position: relative;
    width: min(72vw, 248px);
    aspect-ratio: 105 / 148.5;
    transform-style: preserve-3d;
    transition: transform 0.85s cubic-bezier(0.4, 0.12, 0.2, 1);
}

.home-lanyard-scene.is-flipped .home-lanyard__flip {
    transform: rotateY(180deg);
}

.home-lanyard__face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.home-lanyard__face--back {
    transform: rotateY(180deg);
}

.home-lanyard__pager {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 6px;
    padding: 14px;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
}

.home-lanyard__pager--back {
    background: #f8fafc;
}

.home-lanyard__shield {
    position: relative;
    height: 100%;
    border-radius: 8px;
    padding: 18px 14px 58px;
    text-align: center;
    color: #fff;
    /* Scouts section colour */
    background: #106161;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.home-lanyard__shield::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% -10%, rgba(255, 255, 255, 0.14) 0%, transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%);
    pointer-events: none;
}

.home-lanyard__logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.82;
    margin-bottom: 10px;
}

.home-lanyard__id {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 2.5px solid rgba(255, 255, 255, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    margin-bottom: 8px;
}

.home-lanyard__name {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.05;
}

.home-lanyard__group {
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-lanyard__group span {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-lanyard__group small {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
}

.home-lanyard__shapes {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.home-lanyard__shapes i {
    font-size: 0.78rem;
    line-height: 1;
    flex-shrink: 0;
}

.home-lanyard__qr {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 72px;
    height: 72px;
    padding: 3px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.home-lanyard__qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.home-lanyard__schedule {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    padding: 14px 12px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    box-sizing: border-box;
}

.home-lanyard__schedule-head {
    margin: 0 0 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.home-lanyard__schedule-head strong {
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-lanyard__schedule-head span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.home-lanyard__schedule ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.home-lanyard__schedule li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 8px;
    align-items: baseline;
    font-size: 0.78rem;
    line-height: 1.25;
}

.home-lanyard__schedule li b {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #106161;
}

.home-lanyard__schedule li span {
    font-weight: 600;
    color: #334155;
}

.home-lanyard__schedule-foot {
    margin: 10px 0 0;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: center;
}

/* ── NFC bands (coming soon) ── */
.home-spot--nfc {
    background: var(--home-surface);
}

.home-spot-visual--nfc {
    position: relative;
    padding: 0;
    background:
        radial-gradient(ellipse 45% 35% at 85% 12%, rgba(255, 107, 0, 0.08) 0%, transparent 55%),
        linear-gradient(160deg, #eef6f4 0%, #f7f5f1 45%, #ebe8e2 100%);
    min-height: 360px;
    overflow: hidden;
}

.home-nfc-scene {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 360px;
    padding: 0;
    display: block;
}

.home-nfc-soon {
    display: inline-flex;
    align-items: center;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a3412;
    background: #ffedd5;
    border: 1px solid #fdba74;
}

.home-nfc-scene__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a3412;
    background: #ffedd5;
    border: 1px solid #fdba74;
    border-radius: 999px;
    padding: 5px 11px;
    pointer-events: none;
}

.home-nfc-stage {
    position: absolute;
    inset: 0 0 36px;
    min-height: 0;
    display: block;
}

/* Soft ring behind the strap — reads as a wristband the phone is tapping */
.home-nfc-stage::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 58%;
    width: min(300px, 78%);
    height: 128px;
    transform: translate(-50%, -50%) perspective(480px) rotateX(58deg) rotateZ(-8deg);
    border: 34px solid rgba(15, 118, 110, 0.16);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 1px rgba(45, 212, 191, 0.2),
        0 18px 36px rgba(15, 118, 110, 0.1);
    background:
        radial-gradient(ellipse 70% 55% at 50% 45%, rgba(45, 212, 191, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.home-nfc-stage::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 58%;
    width: min(220px, 58%);
    height: 72px;
    transform: translate(-50%, -50%) perspective(480px) rotateX(58deg) rotateZ(-8deg);
    border: 14px solid rgba(13, 148, 136, 0.12);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.home-nfc-band-pad {
    position: absolute;
    left: 50%;
    top: 62%;
    width: 250px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.home-nfc-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    z-index: 2;
    transform: perspective(420px) rotateX(52deg) rotateZ(-8deg);
    transform-style: preserve-3d;
    filter: drop-shadow(0 16px 18px rgba(15, 118, 110, 0.28));
}

.home-nfc-band__strap {
    flex: 1 1 auto;
    height: 34px;
    background:
        linear-gradient(180deg, #2dd4bf 0%, #0f766e 38%, #115e59 70%, #0f766e 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.home-nfc-band__strap--left {
    border-radius: 10px 0 0 10px;
    margin-right: -2px;
}

.home-nfc-band__strap--right {
    border-radius: 0 10px 10px 0;
    margin-left: -2px;
}

.home-nfc-band__module {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    background:
        linear-gradient(180deg, #14b8a6 0%, #0d9488 45%, #0f766e 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 2px 0 rgba(0, 0, 0, 0.12);
}

.home-nfc-band__chip {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    flex-shrink: 0;
    background:
        linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.45) 46% 54%, transparent 55%),
        linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.28) 46% 54%, transparent 55%),
        #ccfbf1;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.4);
}

.home-nfc-band__label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}

.home-nfc-waves {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    pointer-events: none;
    opacity: 0;
    z-index: 3;
}

.home-nfc-waves span {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(15, 118, 110, 0.55);
    border-radius: 50%;
    opacity: 0;
}

.home-nfc-scene.is-tap .home-nfc-waves {
    opacity: 1;
}

.home-nfc-scene.is-tap .home-nfc-waves span {
    animation: homeNfcWave 1.1s ease-out infinite;
}

.home-nfc-scene.is-tap .home-nfc-waves span:nth-child(2) { animation-delay: 0.22s; }
.home-nfc-scene.is-tap .home-nfc-waves span:nth-child(3) { animation-delay: 0.44s; }

@keyframes homeNfcWave {
    0% { transform: scale(0.35); opacity: 0.7; }
    100% { transform: scale(1.65); opacity: 0; }
}

.home-nfc-phone {
    position: absolute;
    left: 50%;
    top: 4%;
    width: 148px;
    margin-left: -74px;
    z-index: 4;
    transform: translateY(0) rotate(6deg);
    filter: drop-shadow(0 22px 36px rgba(22, 24, 29, 0.2));
    transition: transform 0.65s cubic-bezier(0.4, 0.12, 0.2, 1);
}

.home-nfc-scene.is-tap .home-nfc-phone {
    transform: translateY(72px) rotate(0deg);
}

.home-nfc-phone__bezel {
    position: relative;
    background: #111827;
    border-radius: 24px;
    padding: 12px 8px 14px;
    border: 2px solid #1f2937;
}

.home-nfc-phone__notch {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 42px;
    height: 5px;
    margin-left: -21px;
    border-radius: 999px;
    background: #0b1220;
    z-index: 2;
}

.home-nfc-phone__screen {
    background: linear-gradient(180deg, #f0fdf9 0%, #ecfdf5 100%);
    border-radius: 16px;
    min-height: 200px;
    max-height: 200px;
    padding: 16px 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-nfc-phone__app {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
}

.home-nfc-phone__idle {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 22px;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.home-nfc-scene.is-success .home-nfc-phone__idle {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.home-nfc-phone__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    font-size: 1.6rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.home-nfc-scene.is-tap:not(.is-success) .home-nfc-phone__icon {
    transform: scale(1.08);
    background: rgba(15, 118, 110, 0.2);
}

.home-nfc-phone__hint {
    margin: 14px 0 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    line-height: 1.35;
    max-width: 9em;
}

.home-nfc-phone__result {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 38px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    overflow: hidden;
}

.home-nfc-scene.is-success .home-nfc-phone__result {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.home-nfc-phone__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
    background: linear-gradient(145deg, #ff8a3d 0%, #ff6b00 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(255, 107, 0, 0.28);
    flex-shrink: 0;
}

.home-nfc-phone__name {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #134e4a;
    line-height: 1.2;
    white-space: nowrap;
}

.home-nfc-phone__meta {
    display: block;
    margin-top: 3px;
    font-size: 0.62rem;
    font-weight: 600;
    color: #5f857e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.home-nfc-phone__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #bbf7d0;
    box-shadow: 0 6px 16px rgba(22, 101, 52, 0.1);
    color: #15803d;
    font-size: 0.62rem;
    font-weight: 800;
    white-space: nowrap;
    max-width: 100%;
    flex-shrink: 0;
}

.home-nfc-phone__status i {
    font-size: 0.78rem;
    flex-shrink: 0;
}

.home-nfc-phone__status span {
    white-space: nowrap;
}

.home-nfc-scene__caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    margin: 0;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--home-muted);
    letter-spacing: 0.02em;
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .home-spot-visual--nfc,
    .home-nfc-scene {
        min-height: 300px;
    }

    .home-nfc-phone {
        width: 128px;
        margin-left: -64px;
    }

    .home-nfc-scene.is-tap .home-nfc-phone {
        transform: translateY(58px) rotate(0deg);
    }

    .home-nfc-band-pad {
        width: 210px;
        top: 64%;
    }

    .home-nfc-phone__screen {
        min-height: 184px;
        max-height: 184px;
    }
}

/* ── ScoutingSite partner ── */
.home-scoutingsite {
    background: var(--home-alt);
    padding: 80px 0;
}

.home-scoutingsite-card {
    border: 1px solid #e9d5ff;
    border-radius: 20px;
    padding: 40px 36px;
    background: linear-gradient(135deg, #faf5ff 0%, #fff 48%, #fdf4ff 100%);
    box-shadow: 0 18px 44px rgba(124, 58, 237, 0.08);
}

.home-scoutingsite-kicker {
    color: #7c3aed !important;
}

.home-scoutingsite-card .section-copy a {
    color: #7c3aed;
    font-weight: 700;
    text-decoration: none;
}

.home-scoutingsite-card .section-copy a:hover {
    text-decoration: underline;
}

.home-scoutingsite-logo {
    display: inline-block;
    max-width: 220px;
}

.home-scoutingsite-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.home-btn--scoutingsite {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #8b3fd4 0%, #6d28d9 100%);
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-btn--scoutingsite:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(109, 40, 217, 0.34);
}

/* ── Feature spotlights ── */
.home-spot {
    background: var(--home-surface);
    padding: 88px 0;
}

.home-spot--alt {
    background: var(--home-alt);
}

.home-spot-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.home-spot-list li {
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--home-muted);
    font-weight: 600;
}

.home-spot-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, #fff 0 28%, transparent 29%),
        var(--home-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.home-spot-visual {
    border: 1px solid var(--home-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(22, 24, 29, 0.08);
    overflow: hidden;
    animation: homeSpotIn 0.7s ease both;
}

.home-spot:nth-of-type(odd) .home-spot-visual {
    animation-delay: 0.05s;
}

@keyframes homeSpotIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-chat-mock__head,
.home-email-mock,
.home-export-mock,
.home-profile-mock,
.home-meals-mock,
.home-medical-mock,
.home-kanban-mock,
.home-con-mock,
.home-sched-mock,
.home-jamb-mock {
    padding: 22px;
}

.home-chat-mock__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--home-border);
    background: linear-gradient(180deg, #f8faf8 0%, #fff 100%);
}

.home-chat-mock__avatars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.home-chat-mock__avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #eef6ec;
    color: #2d5a27;
    font-size: 0.72rem;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(22, 24, 29, 0.08);
}

.home-chat-mock__avatar--2,
.home-chat-mock__avatar--3 {
    margin-left: -10px;
}

.home-chat-mock__avatar--2 {
    background: #fff1e6;
    color: #c24100;
}

.home-chat-mock__avatar--3 {
    background: #e0e7ff;
    color: #3730a3;
}

.home-chat-mock__head strong {
    display: block;
    color: var(--home-ink);
    font-size: 0.95rem;
}

.home-chat-mock__head small {
    color: var(--home-muted);
    font-size: 0.75rem;
}

.home-chat-mock__live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.home-chat-mock__live b {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: homeChatLivePulse 1.8s ease infinite;
}

.home-chat-mock__thread {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    padding: 18px;
    background: linear-gradient(180deg, #f7faf6 0%, #fff 55%);
    height: 380px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
}

.home-chat-mock__msg {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex-shrink: 0;
    pointer-events: none;
}

.home-chat-mock__msg--me {
    align-items: flex-end;
}

.home-chat-mock__msg.is-in {
    display: flex;
    pointer-events: auto;
    animation: homeChatMsgIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes homeChatMsgIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.home-chat-mock__bubble {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.45;
    font-weight: 600;
}

.home-chat-mock__from {
    display: block;
    margin: 0 0 4px;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #2d5a27;
}

.home-chat-mock__bubble--them {
    background: #fff;
    border: 1px solid #dce5dc;
    color: #243028;
    border-bottom-left-radius: 5px;
}

.home-chat-mock__bubble--me {
    background: var(--home-accent);
    color: #fff;
    border-bottom-right-radius: 5px;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.22);
}

.home-chat-mock__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    max-width: 92%;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-chat-mock__meta.is-in {
    opacity: 1;
    transform: translateY(0);
}

.home-chat-mock__meta--me {
    justify-content: flex-end;
}

.home-chat-mock__receipt,
.home-chat-mock__seen {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--home-muted);
}

.home-chat-mock__seen {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-chat-mock__seen.is-in,
.home-chat-mock__seen.is-solid {
    opacity: 1;
    transform: scale(1);
}

.home-chat-mock__receipt.is-hide {
    display: none;
}

.home-chat-mock__seen i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 0.55rem;
    font-weight: 800;
    background: #fff1e6;
    color: #c24100;
}

.home-chat-mock__seen[data-chat-step="seen1-c"] i,
.home-chat-mock__seen[data-chat-step="seen3"] i {
    background: #e0e7ff;
    color: #3730a3;
}

.home-chat-mock__seen.is-solid i {
    background: #eef6ec;
    color: #2d5a27;
}

.home-chat-mock__typing {
    display: none;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    flex-shrink: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dce5dc;
    pointer-events: none;
}

.home-chat-mock__typing.is-in {
    display: inline-flex;
    animation: homeChatMsgIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-chat-mock__typing[data-chat-step="typing1"],
.home-chat-mock__typing[data-chat-step="typing5"] {
    align-self: flex-end;
    background: #fff7ed;
    border-color: #ffd2ad;
}

.home-chat-mock__typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: homeChatTyping 1.1s ease-in-out infinite;
}

.home-chat-mock__typing span:nth-child(2) { animation-delay: 0.15s; }
.home-chat-mock__typing span:nth-child(3) { animation-delay: 0.3s; }

.home-chat-mock__typing em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--home-muted);
}

@keyframes homeChatTyping {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-3px); opacity: 1; }
}

@keyframes homeChatLivePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
    .home-chat-mock__msg.is-in,
    .home-chat-mock__typing.is-in {
        animation: none;
    }

    .home-chat-mock__meta,
    .home-chat-mock__seen {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-chat-mock__live b,
    .home-chat-mock__typing span {
        animation: none;
    }

    .home-chat-mock__thread {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.home-kanban-mock {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #f4f6f4;
    min-height: 268px;
    overflow: hidden;
}

.home-kanban-col {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    padding: 12px;
    display: grid;
    gap: 8px;
    align-content: start;
    min-height: 0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-kanban-col--active {
    border-color: #ffd2ad;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.home-kanban-col strong {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.home-kanban-stack {
    display: grid;
    gap: 8px;
    align-content: start;
    /* Reserve two taller card slots (title + link chips) so height stays put */
    min-height: 168px;
}

.home-kanban-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 5px;
    padding: 9px 10px;
    border-radius: 10px;
    background: var(--home-alt);
    border: 1px solid var(--home-border);
    color: var(--home-ink);
    box-shadow: 0 1px 0 rgba(17, 20, 26, 0.03);
    will-change: transform;
}

.home-kanban-card.is-moving {
    z-index: 4;
    box-shadow: 0 14px 28px rgba(17, 20, 26, 0.16);
    border-color: #ffd2ad;
}

.home-kanban-card.is-moving .home-kanban-chip {
    transform: scale(1.04);
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.18);
}

.home-kanban-card > span {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-kanban-card > small {
    display: block;
    font-size: 0.64rem;
    font-weight: 650;
    color: var(--home-muted);
    letter-spacing: 0.01em;
}

.home-kanban-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.home-kanban-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 750;
    font-style: normal;
    line-height: 1.3;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-kanban-chip i {
    font-size: 0.62rem;
}

.home-kanban-chip--leader { background: #ede9fe; color: #5b21b6; }
.home-kanban-chip--child { background: #dbeafe; color: #1e40af; }
.home-kanban-chip--visitor { background: #fef3c7; color: #92400e; }
.home-kanban-chip--group { background: #fff7ed; color: #c2410c; }
.home-kanban-chip--minibus { background: #e0f2fe; color: #0369a1; }
.home-kanban-chip--first-aid { background: #fee2e2; color: #991b1b; }

@media (prefers-reduced-motion: reduce) {
    .home-kanban-card {
        will-change: auto;
    }

    .home-kanban-card.is-moving {
        box-shadow: 0 1px 0 rgba(17, 20, 26, 0.03);
        border-color: var(--home-border);
    }

    .home-kanban-card.is-moving .home-kanban-chip {
        transform: none;
        box-shadow: none;
    }
}

/* ── Activity scheduling mock ── */
.home-sched-mock {
    display: grid;
    gap: 12px;
    align-content: start;
    background: linear-gradient(180deg, #f7f9fc 0%, #fff 58%);
    min-height: 360px;
    height: 360px;
    overflow: hidden;
    box-sizing: border-box;
}

.home-sched-mock__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.home-sched-mock__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff8a3d, #ff6b00);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(255, 107, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-sched-mock__btn--ghost {
    background: #fff;
    color: #475569;
    border: 1px solid var(--home-border);
    box-shadow: none;
}

.home-sched-mock__btn.is-press {
    transform: scale(0.96);
}

.home-sched-mock__btn.is-pulse {
    animation: homeSchedPulse 0.7s ease;
}

@keyframes homeSchedPulse {
    0%, 100% { box-shadow: 0 6px 14px rgba(255, 107, 0, 0.22); }
    50% { box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.22), 0 8px 18px rgba(255, 107, 0, 0.28); }
}

.home-sched-mock__status {
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c24100;
    font-size: 0.68rem;
    font-weight: 800;
    transition: background 0.3s ease, color 0.3s ease;
}

.home-sched-mock__status b {
    font-variant-numeric: tabular-nums;
}

.home-sched-mock__status.is-gaps {
    background: #fef3c7;
    color: #92400e;
}

.home-sched-mock__status.is-full {
    background: #dcfce7;
    color: #166534;
}

.home-sched-mock__grid {
    display: grid;
    grid-template-columns: minmax(78px, 92px) repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.home-sched-mock__corner {
    min-height: 22px;
}

.home-sched-mock__slot-h {
    text-align: center;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--home-muted);
    padding: 4px 0;
}

.home-sched-mock__row-h {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--home-ink);
    padding: 0 2px;
}

.home-sched-mock__row-h i {
    color: var(--home-accent);
    font-size: 0.85rem;
}

.home-sched-mock__cell {
    position: relative;
    min-height: 52px;
    border-radius: 10px;
    border: 1.5px dashed #d5dde8;
    background: rgba(248, 250, 252, 0.9);
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 3px;
    padding: 5px;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.home-sched-mock__cell.is-selecting {
    border-style: solid;
    border-color: #fdba74;
    background: #fff7ed;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
    transform: scale(1.02);
}

.home-sched-mock__cell.is-booked {
    border-style: solid;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.home-sched-mock__cell.is-booked::before {
    content: attr(data-act);
    position: absolute;
    top: 4px;
    left: 6px;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1d4ed8;
    opacity: 0.75;
}

.home-sched-mock__cell.is-filled {
    border-color: #86efac;
    background: #f0fdf4;
    padding-top: 16px;
}

.home-sched-mock__cell.is-filled::before {
    color: #166534;
}

.home-sched-mock__pool {
    display: grid;
    gap: 6px;
    min-height: 56px;
}

.home-sched-mock__pool-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.home-sched-mock__people {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 28px;
}

.home-sched-mock__person {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.6rem;
    font-weight: 800;
    font-style: normal;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-sched-mock__person--leader {
    background: #ffedd5;
    color: #c24100;
}

.home-sched-mock__cell .home-sched-mock__person {
    opacity: 0;
    transform: scale(0.7);
}

.home-sched-mock__cell .home-sched-mock__person.is-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 767.98px) {
    .home-sched-mock {
        height: auto;
        min-height: 340px;
        overflow: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-sched-mock__btn.is-pulse {
        animation: none;
    }
}

/* ── Consolidation mock ── */
.home-con-mock {
    display: grid;
    gap: 14px;
    align-content: start;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.home-con-mock__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-con-mock__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.12);
    color: var(--home-accent);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.home-con-mock__title {
    display: grid;
    line-height: 1.25;
    min-width: 0;
}

.home-con-mock__title strong {
    font-size: 0.9rem;
    color: #16181d;
}

.home-con-mock__title small {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-con-mock__status {
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.home-con-mock__status b {
    font-variant-numeric: tabular-nums;
}

.home-con-mock__status.is-gaps {
    background: #fef3c7;
    color: #92400e;
}

.home-con-mock__status.is-full {
    background: #dcfce7;
    color: #166534;
}

.home-con-mock__rows {
    display: grid;
    gap: 8px;
}

.home-con-mock__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.home-con-mock__row.is-matched {
    border-color: #86efac;
    background: #f0fdf4;
}

.home-con-mock__row.is-flag {
    border-color: #fcd34d;
    background: #fffbeb;
}

.home-con-mock__name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
}

.home-con-mock__state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #94a3b8;
    white-space: nowrap;
}

.home-con-mock__row.is-matched .home-con-mock__state {
    color: #16a34a;
}

.home-con-mock__row.is-flag .home-con-mock__state {
    color: #b45309;
}

.home-con-mock__alerts {
    display: grid;
}

.home-con-mock__alerts > * {
    grid-area: 1 / 1;
}

.home-con-mock__unexpected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    background: #fffbeb;
    color: #92400e;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-con-mock__unexpected.is-in {
    opacity: 1;
    transform: none;
}

.home-con-mock__unexpected > i {
    font-size: 1rem;
    flex-shrink: 0;
}

.home-con-mock__unexpected-body {
    display: grid;
    line-height: 1.3;
    min-width: 0;
}

.home-con-mock__unexpected-body strong {
    font-size: 0.74rem;
}

.home-con-mock__unexpected-body span {
    font-size: 0.7rem;
    font-weight: 600;
}

.home-con-mock__link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #92400e;
    color: #fffbeb;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.home-con-mock__link-btn.is-press {
    transform: scale(0.94);
}

.home-con-mock__complete {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #86efac;
    border-radius: 12px;
    background: #f0fdf4;
    color: #166534;
    font-size: 0.76rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-con-mock__complete.is-in {
    opacity: 1;
    transform: none;
}

.home-con-mock__complete i {
    font-size: 1rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.home-con-mock__osm {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
}

.home-con-mock__osm-badge,
.home-con-note__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.12);
    color: var(--home-accent);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.home-con-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 0;
    padding: 12px 14px;
    border: 1px dashed rgba(255, 107, 0, 0.4);
    border-radius: 14px;
    background: rgba(255, 107, 0, 0.05);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--home-muted);
}

.home-con-note__badge {
    margin-top: 2px;
}

/* ── Camp terminal (TV display) mock ─────────────────────────────────── */
.home-spot-visual--terminal {
    background: #2b160b;
    border-color: rgba(249, 115, 22, 0.35);
}

.home-term-mock {
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    min-height: 340px;
    color: #fff;
    background:
        linear-gradient(rgba(249, 115, 22, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 115, 22, 0.05) 1px, transparent 1px),
        #2b160b;
    background-size: 42px 42px, 42px 42px, auto;
}

.home-term-mock__hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f97316, #c2410c);
}

.home-term-mock__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.home-term-mock__clock {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
}

.home-term-mock__prog {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.home-term-mock__prog span {
    display: block;
    height: 100%;
    width: 0%;
    background: #fdba74;
    transition: width 0.5s linear;
}

.home-term-mock__body {
    position: relative;
    min-height: 190px;
}

.home-term-mock__page {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 18px 20px;
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.home-term-mock__page.is-on {
    opacity: 1;
    transform: translateX(0);
}

.home-term-mock__page.is-out {
    opacity: 0;
    transform: translateX(-26px);
}

.home-term-mock__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.home-term-mock__tag i {
    color: #fdba74;
}

.home-term-mock__headline {
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
}

.home-term-mock__text {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
}

.home-term-mock__wx {
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-term-mock__wx-icon {
    font-size: 2.6rem;
    line-height: 1;
}

.home-term-mock__wx-temp {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}

.home-term-mock__wx-temp b {
    font-size: 1.1rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
}

.home-term-mock__wx-desc {
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.4;
}

.home-term-mock__wx-desc em {
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.home-term-mock__now {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(194, 65, 12, 0.12));
}

.home-term-mock__now strong {
    font-size: 1.05rem;
    font-weight: 900;
}

.home-term-mock__live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fdba74;
}

.home-term-mock__live b {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fdba74;
    box-shadow: 0 0 7px #fdba74;
    animation: homeTermBlink 2s ease-in-out infinite;
}

@keyframes homeTermBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.home-term-mock__next {
    display: grid;
    gap: 7px;
}

.home-term-mock__next span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    font-weight: 700;
}

.home-term-mock__next i {
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    font-variant-numeric: tabular-nums;
}

.home-term-mock__page--call {
    justify-items: center;
    align-content: center;
    text-align: center;
}

.home-term-mock__call {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #fff;
}

.home-term-mock__call span {
    display: inline-block;
    padding: 2px 14px;
    border: 2px solid rgba(253, 186, 116, 0.5);
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.25);
    color: #fdba74;
}

.home-term-mock__ticker {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.home-term-mock__ticker-label {
    flex-shrink: 0;
    padding: 8px 14px;
    background: #f97316;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}

.home-term-mock__ticker-track {
    flex: 1;
    overflow: hidden;
}

.home-term-mock__ticker-inner {
    display: inline-flex;
    white-space: nowrap;
    animation: homeTermTicker 26s linear infinite;
}

.home-term-mock__ticker-inner span {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    padding-left: 16px;
}

@keyframes homeTermTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.home-term-mock__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 14px;
}

.home-term-mock__dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-term-mock__dots span.is-on {
    background: #fdba74;
    box-shadow: 0 0 8px #fdba74;
    transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
    .home-term-mock__ticker-inner {
        animation: none;
    }
    .home-term-mock__live b {
        animation: none;
    }
}

.home-meals-mock {
    display: grid;
    gap: 12px;
    align-content: start;
    background: linear-gradient(180deg, #f7faf6 0%, #fff 55%);
    /* Locked so filter / alts animation never shifts the section */
    min-height: 520px;
    height: 520px;
    overflow: hidden;
    box-sizing: border-box;
}

.home-meals-mock__chrome {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-meals-mock__chrome > i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eef6ec;
    color: #2d5a27;
    font-size: 1.1rem;
}

.home-meals-mock__chrome strong {
    display: block;
    color: var(--home-ink);
    font-size: 0.92rem;
}

.home-meals-mock__chrome small {
    color: var(--home-muted);
    font-size: 0.74rem;
    font-weight: 650;
}

.home-meals-mock__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.home-meals-mock__filters span {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #d5e3d3;
    background: #fff;
    color: #3d5c39;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease;
}

.home-meals-mock__filters span.is-on {
    background: #2d5a27;
    border-color: #2d5a27;
    color: #fff;
}

.home-meals-mock__filters span.is-press {
    transform: scale(0.94);
}

.home-meals-mock__options {
    display: grid;
    gap: 8px;
    align-content: start;
    /* Always reserve four option rows */
    min-height: calc(4 * 64px + 3 * 8px);
}

.home-meals-mock__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #dce5dc;
    background: #fff;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.3s ease;
}

.home-meals-mock__option.is-in {
    opacity: 1;
    transform: none;
}

.home-meals-mock__option.is-filtered-out {
    /* Stay in layout so the box height never collapses */
    opacity: 0.22;
    transform: none;
    filter: grayscale(0.35);
}

.home-meals-mock__option-main {
    min-width: 0;
}

.home-meals-mock__option strong,
.home-email-mock strong {
    display: block;
    color: var(--home-ink);
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.home-meals-mock__option em {
    font-style: normal;
    color: var(--home-muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.home-meals-mock__option-allergen {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f4f7f3;
    color: #4b6b46;
    font-size: 0.62rem;
    font-weight: 800;
    white-space: nowrap;
}

.home-meals-mock__match {
    margin: 0;
    min-height: 1.15em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--home-muted);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-meals-mock__match.is-in {
    opacity: 1;
    transform: none;
}

.home-meals-mock__alts {
    opacity: 0.35;
    transform: none;
    transition: opacity 0.4s ease;
    display: grid;
    gap: 8px;
    /* Keep the alternatives block reserved even before the reveal */
    min-height: 118px;
}

.home-meals-mock__alts.is-in {
    opacity: 1;
}

.home-meals-mock__alts-title {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.home-meals-mock__alt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fff7f7;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-meals-mock__alt.is-in {
    opacity: 1;
    transform: none;
}

.home-meals-mock__alt i {
    color: #dc2626;
    font-size: 1.05rem;
}

.home-meals-mock__alt strong {
    display: block;
    color: var(--home-ink);
    font-size: 0.82rem;
    margin: 0;
}

.home-meals-mock__alt small {
    color: var(--home-muted);
    font-size: 0.72rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .home-meals-mock {
        height: auto;
        min-height: 480px;
        overflow: visible;
    }
}

.home-medical-mock {
    position: relative;
    display: grid;
    grid-template-areas: "stack";
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    /* Both scenes share one cell so height stays at the taller RIDDOR layout */
    align-content: start;
}

.home-medical-mock__scene {
    grid-area: stack;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: start;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.home-medical-mock__scene.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.home-medical-mock.is-riddor {
    background: linear-gradient(180deg, #fff7f7 0%, #fff 55%);
}

/* Report and email compose share one slot so the box height stays put */
.home-medical-mock__swap {
    display: grid;
    grid-template-areas: "swap";
    align-items: stretch;
}

.home-medical-mock__swap > .home-medical-mock__report,
.home-medical-mock__swap > .home-medical-mock__compose {
    grid-area: swap;
    align-self: stretch;
}

.home-medical-mock__toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff1e6;
    border: 1px solid #ffd2ad;
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-medical-mock__toast.is-in {
    opacity: 1;
    transform: none;
}

.home-medical-mock__toast--alert {
    background: #fef2f2;
    border-color: #fecaca;
}

.home-medical-mock__toast > i {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #ff6b00;
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.home-medical-mock__toast--alert > i {
    background: #dc2626;
}

.home-medical-mock__toast strong,
.home-medical-mock__report-head strong {
    display: block;
    color: var(--home-ink);
    font-size: 0.88rem;
}

.home-medical-mock__toast small,
.home-medical-mock__report-head small {
    color: var(--home-muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.home-medical-mock__report {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--home-border);
    background: #fff;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.home-medical-mock__report.is-in {
    opacity: 1;
    transform: none;
}

.home-medical-mock__report.is-out {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    z-index: 0;
}

.home-medical-mock__report-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.home-medical-mock__report-head > i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff1e6;
    color: var(--home-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.home-medical-mock__pill {
    margin-left: auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.65rem;
    font-weight: 800;
    white-space: nowrap;
}

.home-medical-mock__pill.is-ok {
    background: #dcfce7;
    color: #166534;
}

.home-medical-mock__pill--warn {
    background: #fee2e2;
    color: #991b1b;
}

.home-medical-mock__report--alert {
    border-color: #fecaca;
    box-shadow: 0 10px 28px rgba(185, 28, 28, 0.08);
}

.home-medical-mock__report--alert .home-medical-mock__report-head > i {
    background: #fee2e2;
    color: #b91c1c;
}

.home-medical-mock__report p {
    margin: 0 0 14px;
    color: var(--home-muted);
    font-size: 0.85rem;
    line-height: 1.55;
    font-weight: 600;
}

.home-medical-mock__actions {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-medical-mock__actions.is-in {
    opacity: 1;
    transform: none;
}

.home-medical-mock__ack {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #ff8a3d, #ff6b00);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(255, 107, 0, 0.25);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
    pointer-events: none;
}

.home-medical-mock__ack.is-in {
    opacity: 1;
    transform: none;
}

.home-medical-mock__ack.is-press {
    transform: scale(0.96);
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.2);
}

.home-medical-mock__ack--riddor {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 8px 18px rgba(185, 28, 28, 0.28);
}

.home-medical-mock__ack--riddor.is-press {
    box-shadow: 0 4px 10px rgba(185, 28, 28, 0.22);
}

.home-medical-mock.is-acked .home-medical-mock__ack:not(.home-medical-mock__ack--riddor),
.home-medical-mock.is-riddor-sent .home-medical-mock__ack--riddor,
.home-medical-mock.is-riddor-sent .home-medical-mock__send {
    opacity: 0.35;
}

.home-medical-mock__compose {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #fecaca;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition:
        opacity 0.4s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.4s ease;
    z-index: 0;
}

.home-medical-mock__compose.is-in {
    opacity: 1;
    visibility: visible;
    transform: none;
    z-index: 2;
}

.home-medical-mock__compose-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.home-medical-mock__compose-head strong {
    color: #991b1b;
    font-size: 0.88rem;
}

.home-medical-mock__compose-head span {
    color: var(--home-muted);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-medical-mock__compose-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.home-medical-mock__compose-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.68rem;
    font-weight: 800;
}

.home-medical-mock__compose p {
    margin: 0;
    color: var(--home-muted);
    font-size: 0.82rem;
    line-height: 1.55;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.home-medical-mock__compose p.is-in {
    opacity: 1;
}

.home-medical-mock__send {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border: 0;
    border-radius: 10px;
    padding: 9px 14px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(185, 28, 28, 0.25);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
    pointer-events: none;
}

.home-medical-mock__send.is-in {
    opacity: 1;
    transform: none;
}

.home-medical-mock__send.is-press {
    transform: scale(0.96);
    box-shadow: 0 4px 10px rgba(185, 28, 28, 0.2);
}

.home-medical-mock__done {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    font-size: 0.78rem;
    font-weight: 750;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.home-medical-mock__done.is-in {
    opacity: 1;
    transform: none;
}

.home-medical-mock__done--riddor {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.home-email-mock {
    display: grid;
    gap: 14px;
    background: linear-gradient(180deg, #eff6ff 0%, #fff 46%);
    min-height: 320px;
    align-content: start;
}

.home-email-mock__label {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.home-email-mock__picks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-email-mock__picks span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #fff;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 800;
    opacity: 0.45;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.home-email-mock__picks span.is-on {
    opacity: 1;
    transform: scale(1);
    background: #dbeafe;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.home-email-mock__compose {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-email-mock__compose.is-in {
    opacity: 1;
    transform: none;
}

.home-email-mock__compose strong {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.home-email-mock__compose strong.is-in {
    opacity: 1;
}

.home-email-mock__compose p {
    margin: 10px 0 0;
    color: var(--home-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.4s ease 0.05s;
}

.home-email-mock__compose p.is-in {
    opacity: 1;
}

.home-email-mock__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
}

.home-email-mock__btn.is-in {
    opacity: 1;
    transform: none;
}

.home-email-mock__btn.is-press {
    transform: scale(0.96);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.home-email-mock.is-sent .home-email-mock__btn {
    opacity: 0.35;
}

.home-email-mock__sent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    font-size: 0.78rem;
    font-weight: 750;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.home-email-mock__sent.is-in {
    opacity: 1;
    transform: none;
}

/* ── Export & Print Centre demo ── */
.home-export-mock {
    display: grid;
    gap: 12px;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 48%);
    min-height: 360px;
    align-content: start;
}

.home-export-mock__chrome {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-export-mock__chrome > i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #dcfce7;
    color: #166534;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.home-export-mock__chrome strong {
    display: block;
    color: var(--home-ink);
    font-size: 0.95rem;
}

.home-export-mock__chrome small {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--home-muted);
}

.home-export-mock__label {
    margin: 2px 0 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.home-export-mock__picks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-export-mock__picks span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid #bbf7d0;
    background: #fff;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 800;
    opacity: 0.45;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.home-export-mock__picks span.is-on {
    opacity: 1;
    transform: scale(1);
    background: #dcfce7;
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.14);
}

.home-export-mock__cols {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-export-mock__cols.is-in {
    opacity: 1;
    transform: none;
}

.home-export-mock__cols span {
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px dashed #86efac;
    background: rgba(255, 255, 255, 0.7);
    color: var(--home-muted);
    font-size: 0.68rem;
    font-weight: 750;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-export-mock__cols span.is-on {
    border-style: solid;
    border-color: #4ade80;
    background: #f0fdf4;
    color: #166534;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2);
}

.home-export-mock__sheet {
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-export-mock__sheet.is-in {
    opacity: 1;
    transform: none;
}

.home-export-mock__row {
    display: grid;
    grid-template-columns: 1.1fr 1.15fr 0.9fr 1fr;
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid #e8f5e9;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--home-ink);
}

.home-export-mock__row--head {
    border-top: 0;
    background: #f0fdf4;
    color: #166534;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-export-mock__row:not(.home-export-mock__row--head) {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-export-mock__row.is-in {
    opacity: 1;
    transform: none;
}

.home-export-mock__row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-export-mock__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-export-mock__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.28);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
}

.home-export-mock__btn--ghost {
    background: #fff;
    color: #166534;
    border: 1px solid #86efac;
    box-shadow: none;
}

.home-export-mock__btn.is-in {
    opacity: 1;
    transform: none;
}

.home-export-mock__btn.is-press {
    transform: scale(0.96);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.home-export-mock.is-done .home-export-mock__btn:not(.home-export-mock__btn--ghost) {
    opacity: 0.4;
}

.home-export-mock__done {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    font-size: 0.78rem;
    font-weight: 750;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.home-export-mock__done.is-in {
    opacity: 1;
    transform: none;
}

/* ── Public Profiles demo ── */
.home-spot-visual--profiles {
    background: transparent;
    border: none;
    box-shadow: none;
}

.home-profile-mock {
    display: grid;
    gap: 0;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    background: #fff;
    box-shadow: 0 22px 48px rgba(22, 24, 29, 0.08);
    min-height: 420px;
    --profile-accent: #1f6b3a;
    --profile-soft: #e8f5ec;
    --profile-ink: #143d24;
}

.home-profile-mock[data-theme="blue"] {
    --profile-accent: #2563eb;
    --profile-soft: #eff6ff;
    --profile-ink: #1e3a8a;
}

.home-profile-mock[data-theme="navy"] {
    --profile-accent: #1e3a5f;
    --profile-soft: #eef2f7;
    --profile-ink: #0f172a;
}

.home-profile-mock[data-theme="teal"] {
    --profile-accent: #0f766e;
    --profile-soft: #ecfdf8;
    --profile-ink: #134e4a;
}

.home-profile-mock[data-theme="sunset"] {
    --profile-accent: #c2410c;
    --profile-soft: #fff7ed;
    --profile-ink: #7c2d12;
}

.home-profile-mock__chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f8faf8 0%, #f1f5f1 100%);
    border-bottom: 1px solid var(--home-border);
}

.home-profile-mock__traffic {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.home-profile-mock__traffic span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d1d5db;
}

.home-profile-mock__traffic span:nth-child(1) { background: #ff5f57; }
.home-profile-mock__traffic span:nth-child(2) { background: #febc2e; }
.home-profile-mock__traffic span:nth-child(3) { background: #28c840; }

.home-profile-mock__url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--home-ink);
    font-variant-numeric: tabular-nums;
}

.home-profile-mock__url i {
    color: #16a34a;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.home-profile-mock__url span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 1.2em;
}

.home-profile-mock__caret {
    width: 2px;
    height: 0.95em;
    background: var(--profile-accent);
    flex-shrink: 0;
    opacity: 0;
    animation: none;
}

.home-profile-mock__caret.is-in {
    opacity: 1;
    animation: homeProfileCaret 1s step-end infinite;
}

@keyframes homeProfileCaret {
    50% { opacity: 0; }
}

.home-profile-mock__page {
    padding: 20px 18px 18px;
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, color-mix(in srgb, var(--profile-accent) 22%, transparent), transparent 70%),
        linear-gradient(180deg, var(--profile-soft) 0%, #fff 42%);
    transition: background 0.45s ease;
}

.home-profile-mock__hero {
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-profile-mock__hero.is-in {
    opacity: 1;
    transform: none;
}

.home-profile-mock__logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--profile-accent);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--profile-accent) 35%, transparent);
    opacity: 0;
    transform: scale(0.7) rotate(-8deg);
    transition:
        opacity 0.4s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.home-profile-mock__logo.is-in {
    opacity: 1;
    transform: none;
}

.home-profile-mock__hero strong {
    display: block;
    color: var(--profile-ink);
    font-size: 1.05rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.4s ease, color 0.35s ease;
}

.home-profile-mock__hero strong.is-in {
    opacity: 1;
    transform: none;
}

.home-profile-mock__hero p {
    margin: 8px auto 0;
    max-width: 28ch;
    color: var(--home-muted);
    font-size: 0.84rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.home-profile-mock__hero p.is-in {
    opacity: 1;
    transform: none;
}

.home-profile-mock__social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.home-profile-mock__social.is-in {
    opacity: 1;
    transform: none;
}

.home-profile-mock__social span {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--profile-accent) 22%, #e5e7eb);
    color: var(--profile-accent);
    font-size: 0.9rem;
    transition: color 0.35s ease, border-color 0.35s ease;
}

.home-profile-mock__themes {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.home-profile-mock__themes.is-in {
    opacity: 1;
    transform: none;
}

.home-profile-mock__themes span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(22, 24, 29, 0.12);
    cursor: default;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-profile-mock__themes span.is-on {
    transform: scale(1.18);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--profile-accent) 35%, transparent);
}

.home-profile-mock__themes span[data-profile-theme="forest"] { background: #1f6b3a; }
.home-profile-mock__themes span[data-profile-theme="blue"] { background: #2563eb; }
.home-profile-mock__themes span[data-profile-theme="navy"] { background: #1e3a5f; }
.home-profile-mock__themes span[data-profile-theme="teal"] { background: #0f766e; }
.home-profile-mock__themes span[data-profile-theme="sunset"] { background: #c2410c; }

.home-profile-mock__eyebrow {
    margin: 14px 0 8px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--profile-accent);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.4s ease, color 0.35s ease;
}

.home-profile-mock__eyebrow.is-in {
    opacity: 1;
    transform: none;
}

.home-profile-mock__camp {
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--profile-accent) 18%, #e5e7eb);
    box-shadow: 0 10px 24px rgba(22, 24, 29, 0.06);
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    transition:
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease;
}

.home-profile-mock__camp.is-in {
    opacity: 1;
    transform: none;
}

.home-profile-mock__camp-head {
    margin-bottom: 12px;
}

.home-profile-mock__camp-head strong {
    display: block;
    color: var(--home-ink);
    font-size: 0.92rem;
}

.home-profile-mock__camp-head small {
    display: block;
    margin-top: 3px;
    color: var(--home-muted);
    font-size: 0.78rem;
}

.home-profile-mock__logins {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-profile-mock__logins span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 10px;
    background: var(--profile-soft);
    color: var(--profile-ink);
    font-size: 0.72rem;
    font-weight: 750;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(8px) scale(0.94);
    transition:
        opacity 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;
}

.home-profile-mock__logins span.is-in {
    opacity: 1;
    transform: none;
    border-color: color-mix(in srgb, var(--profile-accent) 28%, transparent);
}

.home-profile-mock__logins span i {
    color: var(--profile-accent);
}

.home-profile-mock__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--profile-accent) 12%, #fff);
    color: var(--profile-ink);
    font-size: 0.72rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.35s ease, color 0.35s ease;
}

.home-profile-mock__live.is-in {
    opacity: 1;
    transform: none;
}

.home-profile-mock__live b {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.home-profile-mock.is-live .home-profile-mock__live b {
    animation: homeProfileLivePulse 1.8s ease infinite;
}

@keyframes homeProfileLivePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
    50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .home-profile-mock__caret,
    .home-profile-mock.is-live .home-profile-mock__live b {
        animation: none !important;
    }
}

.home-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 22px;
}

.home-more-item {
    height: 100%;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 24px;
    opacity: 0;
    transform: translateY(22px) scale(0.94);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.18s ease,
        border-color 0.18s ease;
    will-change: opacity, transform;
}

.home-more-item.is-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.home-more-grid .home-more-item:nth-child(1) { transition-delay: 0s; }
.home-more-grid .home-more-item:nth-child(2) { transition-delay: 0.07s; }
.home-more-grid .home-more-item:nth-child(3) { transition-delay: 0.14s; }
.home-more-grid .home-more-item:nth-child(4) { transition-delay: 0.21s; }
.home-more-grid .home-more-item:nth-child(5) { transition-delay: 0.28s; }
.home-more-grid .home-more-item:nth-child(6) { transition-delay: 0.35s; }

.home-more-item.is-in:hover {
    transform: translateY(-3px) scale(1);
    border-color: #ffd2ad;
    box-shadow: 0 16px 36px rgba(22, 24, 29, 0.08);
}

.home-more-item i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #fff1e6;
    color: var(--home-accent);
    font-size: 1.2rem;
}

.home-more-item h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--home-ink);
}

.home-more-item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--home-muted);
}

@media (prefers-reduced-motion: reduce) {
    .home-spot-visual {
        animation: none;
    }

    .home-lanyard-scene.is-active .home-lanyard,
    .home-lanyard-scene.is-active .home-lanyard__shapes i,
    .home-notify__trigger {
        animation: none !important;
    }

    .home-lanyard__flip {
        transition: none;
    }

    .home-nfc-phone,
    .home-nfc-phone__idle,
    .home-nfc-phone__result,
    .home-nfc-phone__icon {
        transition: none !important;
    }

    .home-nfc-scene.is-tap .home-nfc-waves span {
        animation: none !important;
        opacity: 0.45;
        transform: scale(1.2);
    }

    .home-more-item,
    .home-platform-card,
    .home-cta .container > * {
        opacity: 1;
        transform: none;
        transition: border-color 0.18s ease, box-shadow 0.18s ease;
        will-change: auto;
    }
}

/* ── Platform ── */
.home-platform {
    background: var(--home-surface);
    padding: 80px 0;
}

.home-platform-card {
    border: 1px solid var(--home-border);
    border-radius: 20px;
    padding: 40px 36px;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    box-shadow: 0 18px 44px rgba(22, 24, 29, 0.06);
    opacity: 0;
    transform: translateY(22px) scale(0.97);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-platform-card.is-in {
    opacity: 1;
    transform: none;
}

.home-notify {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.home-notify__trigger {
    position: relative;
    animation: homeNotifyRing 2.4s ease-in-out infinite;
}

.home-notify__trigger::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 14px;
    border: 2px solid rgba(255, 107, 0, 0.45);
    opacity: 0;
    animation: homeNotifyRipple 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes homeNotifyRing {
    0%, 86%, 100% { transform: rotate(0deg); }
    88% { transform: rotate(10deg); }
    90% { transform: rotate(-8deg); }
    92% { transform: rotate(7deg); }
    94% { transform: rotate(-5deg); }
    96% { transform: rotate(3deg); }
}

@keyframes homeNotifyRipple {
    0%, 70% { opacity: 0; transform: scale(0.92); }
    78% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.08); }
}

/* Launch notify modal — styles live in launch-notify.css */

/* ── CTA ── */
.home-cta {
    background: var(--home-hero);
    color: #fff;
    padding: 72px 20px;
    text-align: center;
}

body:not(.route-about):not(.route-usecases) .home-cta .container > * {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.route-about):not(.route-usecases) .home-cta .container > h2.is-in,
body:not(.route-about):not(.route-usecases) .home-cta .container > p.is-in,
body:not(.route-about):not(.route-usecases) .home-cta .container > a.is-in {
    opacity: 1;
    transform: none;
}

.home-cta .container > h2 { transition-delay: 0s; }
.home-cta .container > p { transition-delay: 0.1s; }
.home-cta .container > .home-btn { transition-delay: 0.2s; display: inline-flex; }

.home-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #fff;
}

.home-cta p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
}

/* ── Dark mode — unified with portal theme surfaces ── */
html[data-theme="dark"] .home-subnav {
    background: rgba(22, 24, 29, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .home-subnav.is-stuck {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .home-subnav__scroller a {
    color: var(--camp-text-muted, #9aa0a6);
}

html[data-theme="dark"] .home-subnav__scroller a:hover {
    color: var(--camp-text, #e8eaed);
    background: rgba(255, 107, 0, 0.14);
}

html[data-theme="dark"] .home-subnav__scroller a.is-active {
    color: #ffb366;
    background: rgba(255, 107, 0, 0.18);
}

html[data-theme="dark"] .home-section-cta {
    color: #ff9a4d;
}

html[data-theme="dark"] .home-section-cta:hover {
    color: #ffb366;
}

html[data-theme="dark"] .home-section-cta--demo {
    color: #fff !important;
    background: var(--home-accent);
    box-shadow: 0 8px 18px rgba(255, 107, 0, 0.28);
}

html[data-theme="dark"] .home-section-cta--demo:hover {
    color: #fff !important;
}

html[data-theme="dark"] .feature-card__link,
html[data-theme="dark"] .home-features .home-section-cta,
html[data-theme="dark"] .home-spot--more .home-section-cta,
html[data-theme="dark"] .home-features-all .home-section-cta {
    background: rgba(255, 107, 0, 0.12);
    border-color: rgba(255, 179, 102, 0.35);
    color: #ffb366;
    box-shadow: none;
}

html[data-theme="dark"] .feature-card__link:hover,
html[data-theme="dark"] .home-features .home-section-cta:hover,
html[data-theme="dark"] .home-spot--more .home-section-cta:hover,
html[data-theme="dark"] .home-features-all .home-section-cta:hover {
    background: rgba(255, 107, 0, 0.22);
    border-color: #ff9a4d;
    color: #ffd2a1;
}

html[data-theme="dark"] .home-features .home-section-cta--notify,
html[data-theme="dark"] .home-spot--more .home-section-cta--notify {
    background: var(--home-accent, #ff6b00);
    border-color: var(--home-accent, #ff6b00);
    color: #fff;
}

html[data-theme="dark"] .home-features .home-section-cta--notify:hover,
html[data-theme="dark"] .home-spot--more .home-section-cta--notify:hover {
    background: #ea580c;
    border-color: #ea580c;
    color: #fff;
}

html[data-theme="dark"] .home-hero {
    background:
        radial-gradient(ellipse 80% 55% at 0% 20%, rgba(var(--camp-hero-glow-rgb), 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 70%, rgba(var(--camp-hero-glow-rgb), 0.08) 0%, transparent 50%),
        linear-gradient(165deg, var(--camp-bg-muted) 0%, var(--camp-bg) 52%, var(--camp-bg-muted) 100%) !important;
    color: var(--camp-text);
}

html[data-theme="dark"] body:not(.logged-in).route-home {
    background: var(--camp-bg);
}

html[data-theme="dark"] .home-hero .topo-svg {
    opacity: 0.22;
}

html[data-theme="dark"] .home-hero .topo-map-fill {
    fill: rgba(var(--camp-hero-glow-rgb), 0.06);
}

html[data-theme="dark"] .home-hero .topo-grid {
    opacity: 0.08;
}

html[data-theme="dark"] .home-hero__brand h1,
html[data-theme="dark"] .home-hero__wordmark-text,
html[data-theme="dark"] .home-hero__lead strong {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-hero__title {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-hero__lead {
    color: var(--camp-text-muted);
    border-color: rgba(var(--camp-hero-glow-rgb, 255, 107, 0), 0.22);
    background: rgba(6, 8, 12, 0.78);
}

html[data-theme="dark"] .home-btn--ghost {
    color: var(--camp-text);
    border-color: var(--camp-border);
    background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .home-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--camp-text);
}

html[data-theme="dark"] .home-hero__dot {
    color: var(--camp-brand-primary, #ff6b00);
}

html[data-theme="dark"] .home-stats,
html[data-theme="dark"] .home-spot,
html[data-theme="dark"] .home-platform {
    background: var(--camp-bg);
}

html[data-theme="dark"] .home-spot--alt,
html[data-theme="dark"] .home-features {
    background: var(--camp-bg-muted);
}

html[data-theme="dark"] .home-scoutingsite {
    background: var(--camp-bg-muted);
}

html[data-theme="dark"] .home-scoutingsite-card {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, #7c3aed 12%, var(--camp-surface)) 0%,
        var(--camp-surface) 52%,
        color-mix(in srgb, #7c3aed 8%, var(--camp-surface)) 100%
    );
    border-color: color-mix(in srgb, #7c3aed 28%, var(--camp-border));
    box-shadow: none;
}

html[data-theme="dark"] .home-scoutingsite-kicker {
    color: #c4b5fd !important;
}

html[data-theme="dark"] .home-scoutingsite-card .section-copy a {
    color: #c4b5fd;
}

html[data-theme="dark"] .home-lanyard-scene__tag,
html[data-theme="dark"] .home-lanyard-scene__note {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-lanyard__pager,
html[data-theme="dark"] .home-lanyard__schedule {
    background: var(--camp-surface);
    border-color: var(--camp-border);
    color: var(--camp-text);
}

html[data-theme="dark"] .home-lanyard__pager--back {
    background: var(--camp-bg-muted);
}

html[data-theme="dark"] .home-lanyard__schedule-head,
html[data-theme="dark"] .home-lanyard__schedule-foot {
    border-color: var(--camp-border);
}

html[data-theme="dark"] .home-lanyard__schedule-head span,
html[data-theme="dark"] .home-lanyard__schedule-foot {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-lanyard__schedule li span {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-lanyard__schedule li b {
    color: #2dd4bf;
}

html[data-theme="dark"] .home-spot-visual--nfc {
    background:
        radial-gradient(ellipse 45% 35% at 85% 12%, rgba(255, 107, 0, 0.08) 0%, transparent 55%),
        linear-gradient(160deg, #151a1c 0%, #1a1f22 50%, #121618 100%);
}

html[data-theme="dark"] .home-nfc-stage::before {
    border-color: rgba(45, 212, 191, 0.18);
    box-shadow:
        inset 0 0 0 1px rgba(45, 212, 191, 0.16),
        0 18px 36px rgba(0, 0, 0, 0.25);
    background:
        radial-gradient(ellipse 70% 55% at 50% 45%, rgba(45, 212, 191, 0.07) 0%, transparent 65%);
}

html[data-theme="dark"] .home-nfc-stage::after {
    border-color: rgba(45, 212, 191, 0.12);
}

html[data-theme="dark"] .home-nfc-soon,
html[data-theme="dark"] .home-nfc-scene__badge {
    color: #fdba74;
    background: rgba(154, 52, 18, 0.35);
    border-color: rgba(251, 146, 60, 0.45);
}

html[data-theme="dark"] .home-nfc-phone__screen {
    background: linear-gradient(180deg, #0f1f1c 0%, #13241f 100%);
}

html[data-theme="dark"] .home-nfc-phone__hint {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-nfc-phone__name {
    color: #ccfbf1;
}

html[data-theme="dark"] .home-nfc-phone__meta {
    color: #5eead4;
}

html[data-theme="dark"] .home-nfc-phone__status {
    background: rgba(15, 23, 22, 0.9);
    border-color: rgba(34, 197, 94, 0.35);
    color: #86efac;
}

html[data-theme="dark"] .home-nfc-scene__caption {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-stats {
    background: var(--camp-bg) !important;
    border-color: var(--camp-border);
}

html[data-theme="dark"] .home-stats .stat-item .stat-num {
    color: var(--camp-text) !important;
}

html[data-theme="dark"] .home-stats .stat-item .stat-suffix {
    color: var(--camp-brand-primary-light) !important;
}

html[data-theme="dark"] .home-stats .stat-item .stat-lbl {
    color: var(--camp-text-muted) !important;
}

html[data-theme="dark"] .section-kicker {
    color: var(--camp-brand-primary-light);
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .feature-card h3,
html[data-theme="dark"] .home-more-item h3,
html[data-theme="dark"] .home-chat-mock__head strong,
html[data-theme="dark"] .home-meals-mock__option strong,
html[data-theme="dark"] .home-meals-mock__chrome strong,
html[data-theme="dark"] .home-meals-mock__alt strong,
html[data-theme="dark"] .home-email-mock strong,
html[data-theme="dark"] .home-export-mock__chrome strong,
html[data-theme="dark"] .home-medical-mock__toast strong,
html[data-theme="dark"] .home-medical-mock__report-head strong,
html[data-theme="dark"] .home-medical-mock__compose-head strong,
html[data-theme="dark"] .home-kanban-card > span,
html[data-theme="dark"] .section-copy strong {
    color: var(--camp-text);
}

html[data-theme="dark"] .section-copy,
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .home-more-item p,
html[data-theme="dark"] .home-spot-list li,
html[data-theme="dark"] .home-chat-mock__head small,
html[data-theme="dark"] .home-meals-mock__option em,
html[data-theme="dark"] .home-meals-mock__chrome small,
html[data-theme="dark"] .home-meals-mock__match,
html[data-theme="dark"] .home-email-mock p,
html[data-theme="dark"] .home-export-mock__chrome small,
html[data-theme="dark"] .home-export-mock__label,
html[data-theme="dark"] .home-medical-mock__toast small,
html[data-theme="dark"] .home-medical-mock__report-head small,
html[data-theme="dark"] .home-medical-mock__report p,
html[data-theme="dark"] .home-medical-mock__compose p,
html[data-theme="dark"] .home-medical-mock__compose-head span,
html[data-theme="dark"] .home-kanban-col strong {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .home-more-item,
html[data-theme="dark"] .home-platform-card,
html[data-theme="dark"] .home-spot-visual,
html[data-theme="dark"] .home-kanban-col,
html[data-theme="dark"] .home-meals-mock__option,
html[data-theme="dark"] .home-medical-mock__report,
html[data-theme="dark"] .home-chat-mock__bubble--them {
    background: var(--camp-surface);
    border-color: var(--camp-border);
    box-shadow: none;
}


html[data-theme="dark"] .home-chat-mock__head,
html[data-theme="dark"] .home-chat-mock__thread,
html[data-theme="dark"] .home-kanban-mock,
html[data-theme="dark"] .home-meals-mock,
html[data-theme="dark"] .home-medical-mock,
html[data-theme="dark"] .home-email-mock,
html[data-theme="dark"] .home-export-mock,
html[data-theme="dark"] .home-profile-mock {
    background: var(--camp-surface);
}

html[data-theme="dark"] .home-profile-mock__chrome {
    background: rgba(255, 255, 255, 0.03);
    border-bottom-color: var(--camp-border);
}

html[data-theme="dark"] .home-profile-mock__url {
    background: rgba(15, 23, 42, 0.45);
    border-color: var(--camp-border);
    color: var(--camp-text);
}

html[data-theme="dark"] .home-profile-mock__page {
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, color-mix(in srgb, var(--profile-accent) 28%, transparent), transparent 70%),
        var(--camp-surface);
}

html[data-theme="dark"] .home-profile-mock__hero strong,
html[data-theme="dark"] .home-profile-mock__camp-head strong {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-profile-mock__hero p,
html[data-theme="dark"] .home-profile-mock__camp-head small {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-profile-mock__social span,
html[data-theme="dark"] .home-profile-mock__camp {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--camp-border);
}

html[data-theme="dark"] .home-profile-mock__logins span {
    background: rgba(255, 255, 255, 0.05);
    color: var(--camp-text);
}

html[data-theme="dark"] .home-export-mock__chrome > i {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
}

html[data-theme="dark"] .home-export-mock__picks span {
    background: var(--camp-bg-muted);
    border-color: var(--camp-border);
    color: #86efac;
}

html[data-theme="dark"] .home-export-mock__picks span.is-on {
    background: rgba(22, 101, 52, 0.35);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

html[data-theme="dark"] .home-export-mock__cols span {
    background: rgba(15, 23, 42, 0.35);
    border-color: var(--camp-border);
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-export-mock__cols span.is-on {
    border-color: #4ade80;
    background: rgba(22, 101, 52, 0.28);
    color: #bbf7d0;
}

html[data-theme="dark"] .home-export-mock__sheet {
    background: rgba(15, 23, 42, 0.35);
    border-color: var(--camp-border);
}

html[data-theme="dark"] .home-export-mock__row {
    border-color: var(--camp-border);
    color: var(--camp-text);
}

html[data-theme="dark"] .home-export-mock__row--head {
    background: rgba(22, 101, 52, 0.28);
    color: #bbf7d0;
}

html[data-theme="dark"] .home-export-mock__btn--ghost {
    background: var(--camp-bg-muted);
    color: #bbf7d0;
    border-color: var(--camp-border);
}

html[data-theme="dark"] .home-export-mock__done {
    background: rgba(22, 101, 52, 0.28);
    border-color: rgba(74, 222, 128, 0.35);
    color: #bbf7d0;
}

html[data-theme="dark"] .home-chat-mock__avatar {
    background: rgba(106, 179, 86, 0.16);
    color: #a7d4a0;
}

html[data-theme="dark"] .home-meals-mock__filters span {
    background: var(--camp-bg-muted);
    border-color: var(--camp-border);
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-meals-mock__filters span.is-on {
    background: #2d5a27;
    border-color: #3f7a38;
    color: #fff;
}

html[data-theme="dark"] .home-meals-mock__option-allergen {
    background: rgba(106, 179, 86, 0.14);
    color: #a7d4a0;
}

html[data-theme="dark"] .home-chat-mock__avatar {
    border-color: var(--camp-surface);
}

html[data-theme="dark"] .home-chat-mock__avatar--2 {
    background: rgba(255, 107, 0, 0.16);
    color: #fdba74;
}

html[data-theme="dark"] .home-chat-mock__avatar--3 {
    background: rgba(99, 102, 241, 0.18);
    color: #a5b4fc;
}

html[data-theme="dark"] .home-chat-mock__from {
    color: #a7d4a0;
}

html[data-theme="dark"] .home-chat-mock__typing {
    background: var(--camp-bg-muted);
    border-color: var(--camp-border);
}

html[data-theme="dark"] .home-chat-mock__typing[data-chat-step="typing1"],
html[data-theme="dark"] .home-chat-mock__typing[data-chat-step="typing5"] {
    background: rgba(255, 107, 0, 0.12);
    border-color: rgba(255, 107, 0, 0.28);
}

html[data-theme="dark"] .home-chat-mock__live {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
}

html[data-theme="dark"] .home-meals-mock__chrome > i {
    background: rgba(106, 179, 86, 0.16);
    color: #a7d4a0;
}

html[data-theme="dark"] .home-kanban-card {
    background: var(--camp-bg-muted);
    border-color: var(--camp-border);
}

html[data-theme="dark"] .home-kanban-card > small {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-kanban-card.is-moving {
    border-color: rgba(255, 107, 0, 0.45);
}

html[data-theme="dark"] .home-kanban-chip--leader { background: rgba(91, 33, 182, 0.28); color: #ddd6fe; }
html[data-theme="dark"] .home-kanban-chip--child { background: rgba(30, 64, 175, 0.28); color: #bfdbfe; }
html[data-theme="dark"] .home-kanban-chip--visitor { background: rgba(146, 64, 14, 0.28); color: #fde68a; }
html[data-theme="dark"] .home-kanban-chip--group { background: rgba(194, 65, 12, 0.28); color: #fdba74; }
html[data-theme="dark"] .home-kanban-chip--minibus { background: rgba(3, 105, 161, 0.28); color: #bae6fd; }
html[data-theme="dark"] .home-kanban-chip--first-aid { background: rgba(153, 27, 27, 0.28); color: #fecaca; }

html[data-theme="dark"] .home-sched-mock {
    background: linear-gradient(180deg, var(--camp-surface) 0%, var(--camp-bg-muted) 100%);
}

html[data-theme="dark"] .home-sched-mock__btn--ghost {
    background: var(--camp-bg-muted);
    color: var(--camp-text);
    border-color: var(--camp-border);
}

html[data-theme="dark"] .home-sched-mock__status {
    background: rgba(255, 107, 0, 0.16);
    color: #fdba74;
}

html[data-theme="dark"] .home-sched-mock__status.is-gaps {
    background: rgba(146, 64, 14, 0.28);
    color: #fde68a;
}

html[data-theme="dark"] .home-sched-mock__status.is-full {
    background: rgba(22, 101, 52, 0.28);
    color: #bbf7d0;
}

html[data-theme="dark"] .home-sched-mock__row-h,
html[data-theme="dark"] .home-sched-mock__slot-h {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-sched-mock__row-h {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-sched-mock__cell {
    border-color: var(--camp-border);
    background: rgba(15, 23, 42, 0.35);
}

html[data-theme="dark"] .home-sched-mock__cell.is-selecting {
    border-color: rgba(255, 107, 0, 0.55);
    background: rgba(255, 107, 0, 0.12);
}

html[data-theme="dark"] .home-sched-mock__cell.is-booked {
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(37, 99, 235, 0.16);
}

html[data-theme="dark"] .home-sched-mock__cell.is-filled {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(22, 163, 74, 0.14);
}

html[data-theme="dark"] .home-sched-mock__person {
    background: rgba(99, 102, 241, 0.28);
    color: #c7d2fe;
}

html[data-theme="dark"] .home-sched-mock__person--leader {
    background: rgba(194, 65, 12, 0.3);
    color: #fdba74;
}

html[data-theme="dark"] .home-con-mock {
    background: linear-gradient(180deg, var(--camp-surface) 0%, var(--camp-bg-muted) 100%);
}

html[data-theme="dark"] .home-con-mock__title strong {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-con-mock__title small,
html[data-theme="dark"] .home-con-mock__osm {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-con-mock__status {
    background: rgba(148, 163, 184, 0.16);
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-con-mock__status.is-gaps {
    background: rgba(146, 64, 14, 0.28);
    color: #fde68a;
}

html[data-theme="dark"] .home-con-mock__status.is-full {
    background: rgba(22, 101, 52, 0.28);
    color: #bbf7d0;
}

html[data-theme="dark"] .home-con-mock__row {
    border-color: var(--camp-border);
    background: rgba(15, 23, 42, 0.35);
}

html[data-theme="dark"] .home-con-mock__row.is-matched {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(22, 163, 74, 0.14);
}

html[data-theme="dark"] .home-con-mock__row.is-flag {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(180, 83, 9, 0.16);
}

html[data-theme="dark"] .home-con-mock__name {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-con-mock__row.is-matched .home-con-mock__state {
    color: #86efac;
}

html[data-theme="dark"] .home-con-mock__row.is-flag .home-con-mock__state {
    color: #fcd34d;
}

html[data-theme="dark"] .home-con-mock__unexpected {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(180, 83, 9, 0.18);
    color: #fde68a;
}

html[data-theme="dark"] .home-con-mock__link-btn {
    background: #b45309;
    color: #fffbeb;
}

html[data-theme="dark"] .home-con-mock__complete {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(22, 163, 74, 0.16);
    color: #bbf7d0;
}

html[data-theme="dark"] .home-con-note {
    border-color: rgba(255, 107, 0, 0.45);
    background: rgba(255, 107, 0, 0.1);
}

html[data-theme="dark"] .home-con-mock__osm-badge,
html[data-theme="dark"] .home-con-note__badge {
    background: rgba(255, 107, 0, 0.2);
    color: #fdba74;
}

html[data-theme="dark"] .home-platform-card {
    background: linear-gradient(
        180deg,
        var(--camp-surface) 0%,
        color-mix(in srgb, var(--camp-surface) 88%, var(--camp-bg-muted)) 100%
    );
}

html[data-theme="dark"] .home-scale {
    background:
        radial-gradient(ellipse 90% 55% at 50% 18%, rgba(var(--camp-hero-glow-rgb), 0.12) 0%, transparent 55%),
        var(--camp-bg);
}

html[data-theme="dark"] .home-scale__frame {
    border-color: var(--camp-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .home-scale__app,
html[data-theme="dark"] .home-scale__dash {
    background: var(--camp-bg-muted);
}

html[data-theme="dark"] .home-scale__stat,
html[data-theme="dark"] .home-scale__widget,
html[data-theme="dark"] .home-scale__qa {
    background: var(--camp-surface);
    border-color: var(--camp-border);
}

html[data-theme="dark"] .home-scale__widget-head,
html[data-theme="dark"] .home-scale__announce strong,
html[data-theme="dark"] .home-scale__qa {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-scale__widget-head {
    border-bottom-color: var(--camp-border);
}

html[data-theme="dark"] .home-scale__stat-label,
html[data-theme="dark"] .home-scale__announce small,
html[data-theme="dark"] .home-scale__caption {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-scale__toast {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.35);
    color: #86efac;
}

html[data-theme="dark"] .home-scale__toast strong {
    color: #bbf7d0;
}

html[data-theme="dark"] .home-scale__toast span {
    color: #86efac;
}

html[data-theme="dark"] .home-scale__scanner,
html[data-theme="dark"] .home-scale__profile-card,
html[data-theme="dark"] .home-scale__qr-panel,
html[data-theme="dark"] .home-scale__view--profile {
    background: var(--camp-surface);
}

html[data-theme="dark"] .home-scale__qr-shapes,
html[data-theme="dark"] .home-scale__qr-fields > div {
    background: var(--camp-bg-muted);
    border-color: var(--camp-border);
}

html[data-theme="dark"] .home-scale__qr-panel-head,
html[data-theme="dark"] .home-scale__qr-fields strong {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-scale__qr-contact strong,
html[data-theme="dark"] .home-scale__qr-timeline li strong {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-scale__qr-contact small,
html[data-theme="dark"] .home-scale__qr-timeline li span {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-scale__qr-contact {
    border-top-color: var(--camp-border);
}

html[data-theme="dark"] .home-scale__qr-timeline li {
    background: var(--camp-bg-muted);
}

html[data-theme="dark"] .home-scale__qr-timeline li.is-now {
    background: rgba(59, 130, 246, 0.16);
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.35);
}

html[data-theme="dark"] .home-scale__qr-notes p {
    background: rgba(255, 107, 0, 0.12);
    border-color: rgba(255, 107, 0, 0.28);
    color: #fdba74;
}

html[data-theme="dark"] .home-scale__profile-viewport::after {
    background: linear-gradient(180deg, transparent, rgba(15, 18, 23, 0.95));
}

html[data-theme="dark"] .home-scale__qr-fields > div[data-unlock="1"]:not(.is-locked),
html[data-theme="dark"] .home-scale__qr-fields > div[data-unlock="2"]:not(.is-locked) {
    background: rgba(16, 185, 129, 0.12);
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35);
}

html[data-theme="dark"] .home-scale__qr-fields > div[data-unlock="1"]:not(.is-locked) strong,
html[data-theme="dark"] .home-scale__qr-fields > div[data-unlock="2"]:not(.is-locked) strong {
    color: #6ee7b7;
}

html[data-theme="dark"] .home-scale__profile-card strong {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-scale__profile-card small,
html[data-theme="dark"] .home-scale__scan-hint,
html[data-theme="dark"] .home-scale__bullets li {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-scale__scan-status {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
}

html[data-theme="dark"] .feature-card .fc-icon,
html[data-theme="dark"] .home-more-item i {
    background: rgba(var(--camp-hero-glow-rgb), 0.14);
    color: var(--camp-brand-primary-light);
}

html[data-theme="dark"] .home-cta {
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(var(--camp-hero-glow-rgb), 0.08) 0%, transparent 58%),
        var(--camp-bg-muted) !important;
    border-top: 1px solid var(--camp-border);
    color: var(--camp-text);
}

html[data-theme="dark"] .home-cta h2 {
    color: var(--camp-text);
}

html[data-theme="dark"] .home-cta p {
    color: var(--camp-text-muted);
}

html[data-theme="dark"] .home-btn--light {
    background: var(--camp-surface);
    color: var(--camp-brand-primary-light);
    border: 1px solid var(--camp-border);
    box-shadow: none;
}

html[data-theme="dark"] .home-btn--light:hover {
    background: var(--camp-surface-raised);
    color: var(--camp-brand-primary-light);
}

@media (max-width: 767.98px) {
    .home-features,
    .home-spot {
        padding: 56px 0;
    }

    .home-kanban-mock {
        grid-template-columns: 1fr;
    }

    .home-more-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-scoutingsite {
        padding: 56px 0;
    }

    .home-platform {
        padding: 56px 0;
    }

    .home-scoutingsite-card {
        padding: 28px 22px;
    }

    .home-platform-card {
        padding: 28px 22px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .home-more-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Pay per camp promo ── */
.home-payper {
    background: var(--home-alt);
    padding: 88px 0;
}

.home-payper-card {
    border: 1px solid var(--home-border);
    border-radius: 24px;
    padding: clamp(28px, 5vw, 52px);
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    box-shadow: 0 18px 44px rgba(22, 24, 29, 0.06);
}

.home-payper-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.28);
    color: var(--home-accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-payper-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.home-payper-ctas .home-btn--ghost {
    background: transparent;
    color: var(--home-accent-dark);
    border: 1px solid rgba(255, 107, 0, 0.35);
}

.home-payper-ctas .home-btn--ghost:hover {
    background: rgba(255, 107, 0, 0.08);
    color: var(--home-accent-dark);
    border-color: rgba(255, 107, 0, 0.55);
}

.home-payper-panel {
    max-width: 340px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 26px 24px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(ellipse 90% 70% at 50% -10%, rgba(255, 154, 77, 0.25) 0%, transparent 60%),
        linear-gradient(160deg, #1f2937 0%, #111827 60%, #0f172a 100%);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28);
}

.home-payper-panel__eyebrow {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffb366;
}

.home-payper-panel__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 18px;
}

.home-payper-panel__currency {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffb366;
}

.home-payper-panel__amount {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.home-payper-panel__period {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
}

.home-payper-panel__lines {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    text-align: left;
    display: grid;
    gap: 9px;
}

.home-payper-panel__lines li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.home-payper-panel__lines i {
    color: #ffb366;
    flex-shrink: 0;
}

.home-payper-panel__foot {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.74rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}

html[data-theme="dark"] .home-payper {
    background: var(--camp-bg-muted);
}

html[data-theme="dark"] .home-payper-card {
    background: var(--camp-surface);
    border-color: var(--camp-border);
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .home-payper {
        padding: 56px 0;
    }

    .home-payper-ctas .home-btn {
        width: 100%;
    }
}

/* ── Scout Camp Ultimate promo ── */
.home-ultimate {
    background: var(--home-surface);
    padding: 88px 0;
}

.home-ultimate-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: clamp(28px, 5vw, 52px);
    color: #fff;
    background:
        radial-gradient(ellipse 85% 70% at 12% 0%, rgba(255, 154, 77, 0.22) 0%, transparent 58%),
        linear-gradient(150deg, #1c1108 0%, #451a03 48%, #7c2d12 100%);
    border: 1px solid rgba(255, 154, 77, 0.3);
    box-shadow: 0 24px 60px rgba(69, 26, 3, 0.35);
}

.home-ultimate-card__glow {
    position: absolute;
    inset: -45%;
    pointer-events: none;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 154, 77, 0.08) 70deg, transparent 140deg, rgba(255, 107, 0, 0.06) 240deg, transparent 320deg);
    animation: homeUltGlowSpin 16s linear infinite;
}

@keyframes homeUltGlowSpin {
    to { transform: rotate(360deg); }
}

.home-ultimate-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 154, 77, 0.16);
    border: 1px solid rgba(255, 176, 102, 0.45);
    color: #ffd7ad;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    overflow: hidden;
}

.home-ultimate-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: homeUltBadgeShine 5s ease-in-out infinite;
}

@keyframes homeUltBadgeShine {
    0%, 72% { left: -80%; }
    100% { left: 140%; }
}

.home-ultimate-card .home-ultimate-title {
    color: #fff;
}

.home-ultimate-card .home-ultimate-copy {
    color: rgba(255, 236, 220, 0.85);
}

.home-ultimate-card .home-ultimate-copy strong {
    color: #ffd7ad;
}

.home-ultimate-card .home-ultimate-list li {
    color: rgba(255, 244, 235, 0.92);
}

.home-ultimate-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    position: relative;
}

.home-ultimate-ctas .home-btn--primary {
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.45);
}

/* Visual: rolling platform mock */
.home-ultimate-visual {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.home-ultimate-mock {
    position: relative;
    border-radius: 18px;
    background: rgba(12, 8, 4, 0.55);
    border: 1px solid rgba(255, 176, 102, 0.28);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
    padding: 18px;
    backdrop-filter: blur(6px);
}

.home-ultimate-mock__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 176, 102, 0.18);
}

.home-ultimate-mock__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.18);
    color: #ff9a4d;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.home-ultimate-mock__head strong {
    display: block;
    font-size: 0.92rem;
}

.home-ultimate-mock__head small {
    color: rgba(255, 220, 190, 0.6);
    font-size: 0.72rem;
}

.home-ultimate-mock__plan {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8c33 0%, #ff6b00 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-ultimate-mock__events {
    display: grid;
    gap: 8px;
    padding: 14px 0;
}

.home-ultimate-mock__event {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: homeUltEventPulse 9s ease-in-out infinite;
}

.home-ultimate-mock__event[data-ult-event="2"] { animation-delay: 3s; }
.home-ultimate-mock__event[data-ult-event="3"] { animation-delay: 6s; }

@keyframes homeUltEventPulse {
    0%, 26%, 100% {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.08);
        transform: none;
    }
    8%, 18% {
        background: rgba(255, 107, 0, 0.14);
        border-color: rgba(255, 154, 77, 0.5);
        transform: translateX(4px);
    }
}

.home-ultimate-mock__event-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 154, 77, 0.14);
    color: #ffb066;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.home-ultimate-mock__event strong {
    display: block;
    font-size: 0.85rem;
}

.home-ultimate-mock__event small {
    color: rgba(255, 220, 190, 0.6);
    font-size: 0.72rem;
}

.home-ultimate-mock__event-state {
    margin-left: auto;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 236, 220, 0.7);
    white-space: nowrap;
}

.home-ultimate-mock__event-state--next {
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: #86efac;
    animation: homeUltNextPulse 2.4s ease-in-out infinite;
}

@keyframes homeUltNextPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.35); }
    50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.home-ultimate-mock__keep {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px dashed rgba(255, 154, 77, 0.45);
}

.home-ultimate-mock__keep-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 154, 77, 0.18);
    color: #ffb066;
    font-size: 1rem;
    flex-shrink: 0;
}

.home-ultimate-mock__keep-copy strong {
    display: block;
    font-size: 0.83rem;
}

.home-ultimate-mock__keep-copy small {
    color: rgba(255, 220, 190, 0.65);
    font-size: 0.72rem;
}

.home-ultimate-mock__keep-sync {
    margin-left: auto;
    color: #ffb066;
    font-size: 1.15rem;
    display: inline-flex;
}

.home-ultimate-mock__keep-sync i {
    animation: homeUltSyncSpin 3.2s linear infinite;
}

@keyframes homeUltSyncSpin {
    to { transform: rotate(360deg); }
}

.home-ultimate-price-tag {
    position: absolute;
    top: -16px;
    right: -8px;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    padding: 10px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff8c33 0%, #ff6b00 100%);
    color: #fff;
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.45);
    animation: homeUltPriceFloat 4.5s ease-in-out infinite;
}

@keyframes homeUltPriceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.home-ultimate-price-tag__amount {
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
}

.home-ultimate-price-tag__period {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
    .home-ultimate-card__glow,
    .home-ultimate-badge::after,
    .home-ultimate-mock__event,
    .home-ultimate-mock__event-state--next,
    .home-ultimate-mock__keep-sync i,
    .home-ultimate-price-tag {
        animation: none;
    }
}

html[data-theme="dark"] .home-ultimate {
    background: var(--camp-bg);
}

@media (max-width: 767.98px) {
    .home-ultimate {
        padding: 56px 0;
    }

    .home-ultimate-price-tag {
        top: -14px;
        right: 4px;
    }

    .home-ultimate-ctas .home-btn {
        width: 100%;
    }
}

/* ── Payments homepage demo ── */
.home-payments-mock {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 12, 18, 0.72);
    padding: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.home-payments-mock__chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.home-payments-mock__chrome i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.16);
    color: #ff8c33;
    font-size: 1.1rem;
}

.home-payments-mock__chrome strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
}

.home-payments-mock__chrome small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

.home-payments-mock__summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.home-payments-mock__stat {
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-payments-mock__stat.is-in {
    opacity: 1;
    transform: none;
}

.home-payments-mock__stat span {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
}

.home-payments-mock__stat strong {
    color: #fff;
    font-size: 1rem;
}

.home-payments-mock__rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.home-payments-mock__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-payments-mock__row.is-in {
    opacity: 1;
    transform: none;
}

.home-payments-mock__row i {
    color: #4ade80;
    font-size: 1rem;
}

.home-payments-mock__row:nth-child(2) i {
    color: #fbbf24;
}

.home-payments-mock__row:nth-child(3) i {
    color: #fb923c;
}

.home-payments-mock__row strong {
    display: block;
    color: #fff;
    font-size: 0.86rem;
}

.home-payments-mock__row small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
}

.home-payments-mock__row em {
    font-style: normal;
    font-weight: 700;
    color: #fff;
    font-size: 0.86rem;
}

.home-payments-mock__stripe {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-payments-mock__stripe.is-in {
    opacity: 1;
    transform: none;
}

/* ── LIVE location map demo ── */
.home-spot-visual--location {
    min-height: 420px;
    overflow: visible;
}

.home-location-mock {
    position: relative;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
    padding: 14px;
    overflow: hidden;
}

.home-location-mock__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.home-location-mock__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.home-location-mock__title strong {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 800;
}

.home-location-mock__title small {
    color: #64748b;
    font-size: 0.76rem;
}

.home-location-mock__live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-location-mock__live b {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
}

.home-location-mock__live.is-in {
    opacity: 1;
    transform: none;
}

.home-location-mock__live.is-pulse b {
    animation: homeLocLivePulse 1.2s ease-in-out infinite;
}

@keyframes homeLocLivePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
    50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
}

.home-location-mock__board {
    display: grid;
    grid-template-columns: 1.55fr 0.9fr;
    gap: 10px;
    min-height: 280px;
}

.home-location-mock__map {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 280px;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.35s ease;
}

.home-location-mock__map.is-in {
    opacity: 1;
    transform: none;
}

.home-location-mock__terrain {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 40% at 18% 22%, rgba(34, 197, 94, 0.35), transparent 60%),
        radial-gradient(ellipse 45% 35% at 78% 30%, rgba(22, 163, 74, 0.28), transparent 55%),
        radial-gradient(ellipse 50% 40% at 70% 78%, rgba(14, 165, 233, 0.18), transparent 50%),
        linear-gradient(160deg, #166534 0%, #14532d 38%, #1e3a5f 72%, #0f172a 100%);
}

.home-location-mock__wood {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 40% 40%, rgba(21, 128, 61, 0.9) 0 28%, transparent 30%),
        radial-gradient(circle at 62% 48%, rgba(22, 101, 52, 0.85) 0 24%, transparent 26%),
        radial-gradient(circle at 48% 62%, rgba(20, 83, 45, 0.8) 0 22%, transparent 24%);
    opacity: 0.9;
}

.home-location-mock__wood--a { left: 6%; top: 10%; transform: scale(1.15); }
.home-location-mock__wood--b { left: 58%; top: 8%; transform: scale(0.9); }
.home-location-mock__wood--c { left: 72%; top: 55%; transform: scale(1.05); }

.home-location-mock__stream {
    position: absolute;
    left: -8%;
    top: 38%;
    width: 120%;
    height: 18px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.45), rgba(56, 189, 248, 0.35), transparent);
    transform: rotate(-18deg);
    border-radius: 999px;
    filter: blur(0.5px);
}

.home-location-mock__hill {
    position: absolute;
    right: -10%;
    bottom: -18%;
    width: 55%;
    height: 55%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(74, 222, 128, 0.35), rgba(21, 128, 61, 0.15) 55%, transparent 70%);
}

.home-location-mock__trail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.home-location-mock__base {
    position: absolute;
    left: 58%;
    top: 34%;
    transform: translate(-50%, -50%) scale(0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 2;
}

.home-location-mock__base.is-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.home-location-mock__base i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #c24100;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    font-size: 0.85rem;
}

.home-location-mock__base em {
    font-style: normal;
    font-size: 0.62rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-location-mock__scout {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%) scale(0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    z-index: 3;
    opacity: 0;
    transition:
        left 1.1s cubic-bezier(0.4, 0, 0.2, 1),
        top 1.1s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease,
        transform 0.35s ease;
}

.home-location-mock__scout.is-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.home-location-mock__scout.is-walk .home-location-mock__scout-dot {
    animation: homeLocScoutBob 0.55s ease-in-out infinite alternate;
}

.home-location-mock__scout-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--scout-tone, #38bdf8);
    color: #0f172a;
    font-size: 0.62rem;
    font-weight: 900;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}

.home-location-mock__scout-dot i {
    font-size: 0.85rem;
    color: #fff;
}

.home-location-mock__scout-label {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.home-location-mock__scout-ripple {
    position: absolute;
    left: 50%;
    top: 11px;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
    z-index: 0;
}

.home-location-mock__scout.is-panic {
    z-index: 5;
}

.home-location-mock__scout.is-panic .home-location-mock__scout-dot {
    background: #ef4444;
    color: #fff;
    animation: homeLocPanicPulse 0.7s ease-in-out infinite;
}

.home-location-mock__scout.is-panic .home-location-mock__scout-ripple {
    border-color: rgba(239, 68, 68, 0.7);
    animation: homeLocRipple 1.1s ease-out infinite;
}

.home-location-mock__scout--leader .home-location-mock__scout-dot {
    width: 32px;
    height: 32px;
}

.home-location-mock__scout.is-respond .home-location-mock__scout-label {
    background: #c24100;
}

@keyframes homeLocScoutBob {
    from { transform: translateY(0); }
    to { transform: translateY(-3px); }
}

@keyframes homeLocPanicPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
    50% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

@keyframes homeLocRipple {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(2.6); opacity: 0; }
}

.home-location-mock__toast {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 20px);
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-location-mock__toast.is-in {
    opacity: 1;
    transform: none;
}

.home-location-mock__toast i {
    color: #0d9488;
}

.home-location-mock__phone {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 7;
    opacity: 0;
    transform: translateY(18px) scale(0.92);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.home-location-mock__phone.is-in {
    opacity: 1;
    transform: none;
}

.home-location-mock__phone-bezel {
    position: relative;
    width: 112px;
    padding: 8px 8px 10px;
    border-radius: 18px;
    background: #0f172a;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.home-location-mock__phone-notch {
    display: block;
    width: 36px;
    height: 5px;
    margin: 0 auto 8px;
    border-radius: 999px;
    background: #1e293b;
}

.home-location-mock__phone-screen {
    position: relative;
    background: linear-gradient(180deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    padding: 10px 8px 12px;
    text-align: center;
}

.home-location-mock__phone-app {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.home-location-mock__phone-meta {
    display: block;
    margin: 2px 0 10px;
    font-size: 0.55rem;
    color: #64748b;
}

.home-location-mock__panic {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border: none;
    border-radius: 50%;
    background: linear-gradient(145deg, #ef4444, #b91c1c);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 18px rgba(185, 28, 28, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-location-mock__panic i {
    font-size: 1.15rem;
}

.home-location-mock__panic.is-press {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.5);
}

.home-location-mock__panic.is-armed {
    animation: homeLocPanicBtn 0.7s ease-in-out infinite;
}

@keyframes homeLocPanicBtn {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.home-location-mock__finger {
    position: absolute;
    right: 18px;
    bottom: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50% 50% 50% 10%;
    background: linear-gradient(145deg, #fde68a, #d97706);
    border: 2px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translate(12px, 16px) rotate(25deg);
    transition: opacity 0.25s ease, transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
    z-index: 2;
}

.home-location-mock__finger.is-in {
    opacity: 1;
    transform: translate(-18px, -42px) rotate(18deg);
}

.home-location-mock__finger.is-tap {
    transform: translate(-22px, -48px) rotate(12deg) scale(0.92);
}

.home-location-mock__side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 4px 2px;
}

.home-location-mock__side-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.home-location-mock__roster {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-location-mock__roster.is-in {
    opacity: 1;
    transform: none;
}

.home-location-mock__person {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.25s ease, background 0.25s ease;
}

.home-location-mock__person.is-in {
    opacity: 1;
    transform: none;
}

.home-location-mock__person.is-panic {
    background: #fef2f2;
    border-color: #fecaca;
}

.home-location-mock__av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--scout-tone, #38bdf8);
    color: #0f172a;
    font-size: 0.58rem;
    font-weight: 900;
}

.home-location-mock__person strong {
    display: block;
    font-size: 0.74rem;
    color: #0f172a;
    line-height: 1.2;
}

.home-location-mock__person small {
    color: #64748b;
    font-size: 0.66rem;
}

.home-location-mock__person.is-panic small {
    color: #b91c1c;
    font-weight: 700;
}

.home-location-mock__alarm {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #7f1d1d;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-location-mock__alarm.is-in {
    opacity: 1;
    transform: none;
    animation: homeLocAlarmFlash 0.8s ease-in-out 2;
}

.home-location-mock__alarm i {
    color: #dc2626;
    font-size: 1.2rem;
}

.home-location-mock__alarm strong {
    display: block;
    font-size: 0.82rem;
}

.home-location-mock__alarm small {
    font-size: 0.7rem;
    color: #991b1b;
}

.home-location-mock.is-alarm .home-location-mock__map {
    box-shadow: inset 0 0 0 2px rgba(239, 68, 68, 0.55);
}

.home-location-mock__foot {
    margin-top: 10px;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}

@keyframes homeLocAlarmFlash {
    0%, 100% { background: #fef2f2; }
    50% { background: #fee2e2; }
}

@media (max-width: 720px) {
    .home-location-mock__board {
        grid-template-columns: 1fr;
    }

    .home-location-mock__map {
        min-height: 240px;
    }

    .home-location-mock__side {
        display: none;
    }
}

/* ── Jamboree site-plan mock ── */
.home-spot-visual--jamboree {
    min-height: 420px;
    overflow: visible;
}

.home-jamb-mock {
    background: #fff;
    position: relative;
}

.home-jamb-mock__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.home-jamb-mock__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff1e6;
    color: #c24100;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.home-jamb-mock__title strong {
    display: block;
    color: var(--home-ink);
    font-size: 0.95rem;
    line-height: 1.2;
}

.home-jamb-mock__title small {
    display: block;
    color: var(--home-muted);
    font-size: 0.74rem;
}

.home-jamb-mock__phase {
    margin-left: auto;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #64748b;
    transition: background 0.3s ease, color 0.3s ease;
}

.home-jamb-mock__phase.is-placing {
    background: #fff7ed;
    color: #c24100;
}

.home-jamb-mock__phase.is-assigning {
    background: #eff6ff;
    color: #1d4ed8;
}

.home-jamb-mock__phase.is-ready {
    background: #f0fdf4;
    color: #15803d;
}

.home-jamb-mock__board {
    display: grid;
    grid-template-columns: 1fr 118px;
    gap: 12px;
    align-items: stretch;
    height: 300px;
}

.home-jamb-mock__site {
    position: relative;
    height: 100%;
    min-height: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #d9e5d4;
    background: linear-gradient(160deg, #eef8e8 0%, #e4f0dc 45%, #dceadf 100%);
}

.home-jamb-mock__grass {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 18% 22%, rgba(74, 222, 128, 0.18), transparent 42%),
        radial-gradient(ellipse at 78% 28%, rgba(56, 189, 248, 0.12), transparent 40%),
        radial-gradient(ellipse at 48% 78%, rgba(251, 191, 36, 0.14), transparent 44%),
        repeating-linear-gradient(-22deg, transparent 0 16px, rgba(45, 90, 39, 0.04) 16px 17px);
    pointer-events: none;
}

.home-jamb-mock__paths {
    position: absolute;
    inset: 12% 10%;
    border-radius: 40% 60% 45% 55% / 50% 40% 60% 50%;
    border: 2px dashed rgba(45, 90, 39, 0.18);
    pointer-events: none;
}

.home-jamb-mock__camps {
    position: absolute;
    inset: 0;
}

.home-jamb-mock__camp {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 78px;
    height: 78px;
    margin-left: -39px;
    margin-top: -39px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    text-align: center;
    border: 2.5px solid var(--camp-border, #86efac);
    background: var(--camp-bg, #f0fdf4);
    box-shadow: 0 8px 22px rgba(22, 24, 29, 0.1);
    opacity: 0;
    transform: scale(0.55);
    z-index: 2;
    will-change: left, top, transform, opacity;
    transition:
        left 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        top 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.2s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
}

.home-jamb-mock__camp.is-dragging {
    opacity: 1;
    transform: scale(1.08) rotate(-4deg);
    z-index: 5;
    box-shadow: 0 16px 32px rgba(22, 24, 29, 0.22);
}

.home-jamb-mock__camp.is-placed {
    opacity: 1;
    transform: scale(1);
}

.home-jamb-mock__camp.is-pop {
    animation: homeJambCampPop 0.45s ease;
}

.home-jamb-mock__camp-name {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--camp-ink, #166534);
    line-height: 1.1;
}

.home-jamb-mock__camp-people {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    max-width: 64px;
    min-height: 16px;
}

.home-jamb-mock__person-chip {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.48rem;
    font-weight: 800;
    color: #fff;
    background: var(--p-color, #64748b);
    border: 1.5px solid #fff;
    box-shadow: 0 1px 4px rgba(22, 24, 29, 0.15);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-jamb-mock__person-chip.is-in {
    opacity: 1;
    transform: scale(1);
}

.home-jamb-mock__cursor {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    margin: -2px 0 0 -2px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-40deg) scale(0);
    background: #0f172a;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
    opacity: 0;
    z-index: 6;
    pointer-events: none;
    will-change: left, top;
    transition:
        left 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        top 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.home-jamb-mock__cursor.is-on {
    opacity: 1;
    transform: rotate(-40deg) scale(1);
}

.home-jamb-mock__cursor.is-grab {
    transform: rotate(-40deg) scale(0.85);
    background: #c24100;
}

.home-jamb-mock__fly {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 8;
    overflow: visible;
}

.home-jamb-mock__flyer {
    position: absolute;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    background: var(--p-color, #64748b);
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(22, 24, 29, 0.22);
    z-index: 9;
    transition:
        left 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        top 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s ease;
    transform: scale(1);
}

.home-jamb-mock__flyer.is-fly {
    transform: scale(1.15);
}

.home-jamb-mock__side {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.home-jamb-mock__side-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-muted);
    flex-shrink: 0;
}

.home-jamb-mock__tray,
.home-jamb-mock__roster {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-jamb-mock__tray {
    flex: 0 0 auto;
    min-height: 132px; /* reserves space for up to 4 sub-camps */
}

.home-jamb-mock__roster {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.home-jamb-mock__tray-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border-radius: 10px;
    border: 1.5px solid var(--camp-border, #86efac);
    background: var(--camp-bg, #f0fdf4);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--camp-ink, #166534);
    opacity: 1;
    transform: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-jamb-mock__tray-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--camp-border, #86efac);
    flex-shrink: 0;
}

.home-jamb-mock__tray-item.is-gone {
    opacity: 0;
    transform: translateX(8px) scale(0.9);
    pointer-events: none;
}

.home-jamb-mock__roster-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 7px;
    border-radius: 9px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--home-ink);
    opacity: 1;
    transform: none;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-jamb-mock__roster-item.is-gone {
    opacity: 0;
    transform: translateX(-10px) scale(0.85);
}

.home-jamb-mock__roster-av {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.52rem;
    font-weight: 800;
    color: #fff;
    background: var(--p-color, #64748b);
    flex-shrink: 0;
}

.home-jamb-mock__foot {
    margin-top: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #f8faf8;
    border: 1px solid var(--home-border);
    color: var(--home-muted);
    font-size: 0.78rem;
    font-weight: 600;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.home-jamb-mock__foot.is-ready {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

@keyframes homeJambCampPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@media (max-width: 575.98px) {
    .home-spot-visual--jamboree {
        min-height: 0;
    }
    .home-jamb-mock__board {
        grid-template-columns: 1fr;
        height: auto;
    }
    .home-jamb-mock__side {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        height: auto;
        overflow: visible;
    }
    .home-jamb-mock__side-label {
        width: 100%;
    }
    .home-jamb-mock__tray,
    .home-jamb-mock__roster {
        flex-direction: row;
        flex-wrap: wrap;
        flex: 1;
        min-height: 0;
    }
    .home-jamb-mock__site {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-jamb-mock__camp,
    .home-jamb-mock__cursor,
    .home-jamb-mock__person-chip,
    .home-jamb-mock__tray-item,
    .home-jamb-mock__roster-item {
        transition: none !important;
        animation: none !important;
    }
}

html[data-theme="dark"] .home-jamb-mock {
    background: transparent;
}

html[data-theme="dark"] .home-jamb-mock__site {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, #1e3328 0%, #1a2f28 45%, #152428 100%);
}

html[data-theme="dark"] .home-jamb-mock__paths {
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .home-jamb-mock__roster-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .home-jamb-mock__foot {
    background: rgba(255, 255, 255, 0.04);
}
