/* ===========================
   Home page CSS
   Assumes a wrapper: <div id="home-page">…</div>
   =========================== */

#home-page {
    --sb-bg: var(--bs-body-bg, #f8fafc);
    --sb-text: var(--bs-body-color, #0f172a);
    --sb-muted: var(--bs-secondary-color, #64748b);
    --sb-card: rgba(255, 255, 255, 0.86);
    --sb-card-strong: rgba(255, 255, 255, 0.96);
    --sb-border: rgba(15, 23, 42, 0.08);
    --sb-border-strong: rgba(15, 23, 42, 0.12);
    --sb-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
    --sb-shadow-md: 0 18px 50px rgba(15, 23, 42, 0.10);
    --sb-shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.14);
    --sb-primary: #0d6efd;
    --sb-primary-strong: #0b5ed7;
    --sb-accent: #7c3aed;
    --sb-success: #198754;
    --sb-warm: #f59e0b;
    color: var(--sb-text);
    background: transparent;
}

html[data-bs-theme="dark"] #home-page {
    --sb-bg: #0b0e13;
    --sb-text: rgba(255, 255, 255, 0.94);
    --sb-muted: rgba(255, 255, 255, 0.72);
    --sb-card: rgba(17, 22, 29, 0.82);
    --sb-card-strong: rgba(20, 25, 33, 0.94);
    --sb-border: rgba(255, 255, 255, 0.08);
    --sb-border-strong: rgba(255, 255, 255, 0.14);
    --sb-shadow-sm: 0 14px 34px rgba(0, 0, 0, 0.28);
    --sb-shadow-md: 0 22px 56px rgba(0, 0, 0, 0.34);
    --sb-shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.42);
}

#home-page .container-narrow {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

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

#home-page .hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--sb-border);
    border-radius: 28px;
    background: radial-gradient(circle at 0% 0%, rgba(13, 110, 253, 0.16), transparent 36%), radial-gradient(circle at 100% 20%, rgba(124, 58, 237, 0.12), transparent 32%), linear-gradient(145deg, var(--sb-card-strong), var(--sb-card));
    box-shadow: var(--sb-shadow-lg);
    backdrop-filter: blur(10px);
    color: var(--sb-text);
}

    #home-page .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent 28%);
        opacity: 0.8;
    }

    #home-page .hero::after {
        content: "";
        position: absolute;
        inset: -30%;
        pointer-events: none;
        background: radial-gradient(420px 300px at 85% 18%, rgba(255,255,255,0.28), transparent 60%), radial-gradient(320px 260px at 8% 92%, rgba(255,255,255,0.18), transparent 60%);
        opacity: 0.7;
    }

html[data-bs-theme="dark"] #home-page .hero {
    background: radial-gradient(circle at 0% 0%, rgba(88, 142, 255, 0.20), transparent 36%), radial-gradient(circle at 100% 20%, rgba(168, 85, 247, 0.16), transparent 32%), linear-gradient(145deg, rgba(21, 27, 36, 0.96), rgba(13, 17, 24, 0.92));
}

    html[data-bs-theme="dark"] #home-page .hero::before {
        background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 28%);
    }

    html[data-bs-theme="dark"] #home-page .hero::after {
        background: radial-gradient(520px 360px at 80% 15%, rgba(255,255,255,0.06), transparent 60%), radial-gradient(340px 260px at 12% 88%, rgba(255,255,255,0.05), transparent 60%);
        opacity: 1;
    }

#home-page .hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
    gap: 1.6rem;
    padding: 2rem;
}

#home-page .title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

    #home-page .title h1,
    #home-page h1 {
        margin: 0 0 0.9rem;
        font-size: clamp(2rem, 4vw, 3.25rem);
        line-height: 1.03;
        letter-spacing: -0.03em;
        font-weight: 800;
    }

#home-page .kicker {
    font-size: 0.95rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sb-muted);
}

#home-page .bug {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-primary);
    background: linear-gradient(180deg, rgba(13,110,253,0.14), rgba(13,110,253,0.06));
    border: 1px solid rgba(13, 110, 253, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
    flex: 0 0 auto;
}

#home-page .bug img {
    display: block;
    border-radius: 11px;
}

html[data-bs-theme="dark"] #home-page .bug {
    background: linear-gradient(180deg, rgba(88,142,255,0.18), rgba(88,142,255,0.08));
    border-color: rgba(88, 142, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

#home-page .subtitle {
    max-width: 62ch;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--sb-muted);
    margin-bottom: 1.4rem;
}

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

#home-page .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

#home-page .btn-primary,
#home-page .btn-outline,
#home-page .btn-static {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.8rem 1.1rem;
    border-radius: 14px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

#home-page .btn-primary {
    color: #fff;
    background: linear-gradient(180deg, var(--sb-primary), var(--sb-primary-strong));
    border: 1px solid rgba(11, 94, 215, 0.65);
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.24);
}

    #home-page .btn-primary:hover,
    #home-page .btn-primary:focus-visible {
        transform: translateY(-1px);
        color: #fff;
        box-shadow: 0 14px 28px rgba(13, 110, 253, 0.30);
    }

#home-page .btn-outline {
    color: var(--sb-text);
    background: rgba(255,255,255,0.52);
    border: 1px solid var(--sb-border-strong);
    box-shadow: var(--sb-shadow-sm);
}

    #home-page .btn-outline:hover,
    #home-page .btn-outline:focus-visible {
        transform: translateY(-1px);
        color: var(--sb-text);
        background: rgba(255,255,255,0.82);
    }

html[data-bs-theme="dark"] #home-page .btn-outline {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.92);
}

    html[data-bs-theme="dark"] #home-page .btn-outline:hover,
    html[data-bs-theme="dark"] #home-page .btn-outline:focus-visible {
        background: rgba(255,255,255,0.10);
        color: rgba(255,255,255,0.98);
    }

#home-page .btn-static {
    color: var(--sb-muted);
    background: rgba(148, 163, 184, 0.08);
    border: 1px dashed var(--sb-border-strong);
    cursor: not-allowed;
}

/* ===========================
   Chips
   =========================== */

#home-page .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--sb-border);
    background: var(--sb-card);
    color: var(--sb-text);
    box-shadow: var(--sb-shadow-sm);
}

    #home-page .chip strong {
        font-weight: 750;
    }

/* ===========================
   Cards
   =========================== */

#home-page .cards {
    display: grid;
    gap: 1rem;
}

#home-page .card {
    border: 1px solid var(--sb-border);
    border-radius: 22px;
    background: var(--sb-card);
    box-shadow: var(--sb-shadow-md);
    padding: 1.15rem 1.15rem 1.05rem;
    backdrop-filter: blur(8px);
    transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

    #home-page .card:hover {
        transform: translateY(-1px);
        box-shadow: var(--sb-shadow-lg);
    }

    #home-page .card h3 {
        margin: 0 0 0.45rem;
        font-size: 1.05rem;
        font-weight: 750;
        letter-spacing: -0.01em;
        color: var(--sb-text);
    }

    #home-page .card p {
        margin: 0;
        color: var(--sb-muted);
        line-height: 1.65;
    }

#home-page .cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
    color: var(--sb-primary);
    font-weight: 700;
    text-decoration: none;
}

#home-page a.cta:hover,
#home-page a.cta:focus-visible {
    color: var(--sb-primary-strong);
    text-decoration: none;
}

/* ===========================
   Lower grid
   =========================== */

#home-page .lower-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.25rem;
    margin-top: 1.35rem;
}

/* ===========================
   Lists
   =========================== */

#home-page .list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

    #home-page .list li {
        display: grid;
        grid-template-columns: 28px 1fr;
        gap: 0.85rem;
        align-items: start;
        padding: 0.2rem 0;
        color: var(--sb-text);
        border-bottom: 1px dashed transparent;
    }

    #home-page .list strong {
        font-weight: 750;
        color: var(--sb-text);
    }

    #home-page .list div:last-child {
        line-height: 1.65;
        color: var(--sb-muted);
    }

    #home-page .list a.cta {
        margin-top: 0;
    }

html[data-bs-theme="dark"] #home-page .list li {
    border-bottom-color: rgba(255,255,255,.14);
}

html[data-bs-theme="dark"] #home-page .list .text-muted {
    color: rgba(255,255,255,.82) !important;
}

/* ===========================
   Utility overrides
   =========================== */

#home-page .mb-2 {
    margin-bottom: 0.75rem !important;
}

#home-page .mt-3 {
    margin-top: 1rem !important;
}

#home-page .mt-4 {
    margin-top: 1.5rem !important;
}

#home-page .text-muted {
    color: var(--sb-muted) !important;
}

#home-page a {
    text-decoration: none;
}

    #home-page a:hover,
    #home-page a:focus-visible {
        text-decoration: none;
    }

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

@media (max-width: 991.98px) {
    #home-page .hero-grid,
    #home-page .lower-grid {
        grid-template-columns: 1fr;
    }

    #home-page .hero-grid {
        padding: 1.35rem;
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {
    #home-page .container-narrow {
        padding: 1.1rem 0.8rem 2rem;
    }

    #home-page .hero {
        border-radius: 22px;
    }

    #home-page .hero-grid {
        padding: 1rem;
    }

    #home-page .title {
        align-items: flex-start;
    }

    #home-page .bug {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    #home-page .btn-row {
        flex-direction: column;
        align-items: stretch;
    }

    #home-page .btn-primary,
    #home-page .btn-outline,
    #home-page .btn-static {
        width: 100%;
    }

    #home-page .card {
        border-radius: 18px;
        padding: 1rem;
    }

    #home-page .list li {
        grid-template-columns: 24px 1fr;
        gap: 0.7rem;
    }
}

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

#home-page .hero-grid {
    align-items: center;
}

#home-page .hero-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--sb-border-strong);
    box-shadow: var(--sb-shadow-lg);
    background: var(--sb-card);
    aspect-ratio: 4 / 3;
}

    #home-page .hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    #home-page .hero-media-badge {
        position: absolute;
        left: 12px;
        bottom: 12px;
        right: 12px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--sb-text);
        background: var(--sb-card-strong);
        border: 1px solid var(--sb-border-strong);
        box-shadow: var(--sb-shadow-md);
        backdrop-filter: blur(6px);
    }

        #home-page .hero-media-badge span[aria-hidden] {
            color: var(--sb-warm);
        }

/* ===========================
   Feature bands (image + copy)
   =========================== */

#home-page .feature-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.6rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.4rem;
    border: 1px solid var(--sb-border);
    border-radius: 24px;
    background: linear-gradient(145deg, var(--sb-card-strong), var(--sb-card));
    box-shadow: var(--sb-shadow-md);
    backdrop-filter: blur(8px);
}

    #home-page .feature-band--reverse .feature-band-media {
        order: 2;
    }

    #home-page .feature-band--reverse .feature-band-copy {
        order: 1;
    }

#home-page .feature-band-media {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--sb-border-strong);
    box-shadow: var(--sb-shadow-md);
    aspect-ratio: 3 / 2;
}

    #home-page .feature-band-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

#home-page .feature-band-copy h2 {
    margin: 0.35rem 0 0.7rem;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--sb-text);
}

#home-page .feature-band-copy p {
    margin: 0 0 0.9rem;
    color: var(--sb-muted);
    line-height: 1.65;
}

#home-page .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sb-primary);
}

#home-page .feature-band-note {
    font-size: 0.85rem;
    color: var(--sb-muted);
}

#home-page .feature-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0.4rem 0 0.9rem;
}

/* ===========================
   Flow steps
   =========================== */

#home-page .flow {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

    #home-page .flow li {
        display: grid;
        grid-template-columns: 30px 1fr;
        gap: 0.75rem;
        align-items: start;
    }

    #home-page .flow-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 10px;
        font-weight: 800;
        font-size: 0.9rem;
        color: var(--sb-primary);
        background: linear-gradient(180deg, rgba(13,110,253,0.14), rgba(13,110,253,0.06));
        border: 1px solid rgba(13, 110, 253, 0.20);
        flex: 0 0 auto;
    }

    #home-page .flow li strong {
        display: block;
        font-weight: 750;
        color: var(--sb-text);
    }

    #home-page .flow li span:last-child {
        color: var(--sb-muted);
        line-height: 1.55;
        font-size: 0.92rem;
    }

html[data-bs-theme="dark"] #home-page .flow-num {
    background: linear-gradient(180deg, rgba(88,142,255,0.20), rgba(88,142,255,0.08));
    border-color: rgba(88, 142, 255, 0.28);
}

/* ===========================
   Feature card grid
   =========================== */

#home-page .feature-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

#home-page .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.6rem;
    border-radius: 12px;
    font-size: 1.25rem;
    background: linear-gradient(180deg, rgba(124,58,237,0.14), rgba(124,58,237,0.05));
    border: 1px solid rgba(124, 58, 237, 0.18);
}

#home-page .card--with-media .card-media {
    margin: -0.15rem 0 0.9rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--sb-border-strong);
    aspect-ratio: 16 / 7;
}

    #home-page .card--with-media .card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ===========================
   Responsive (media additions)
   =========================== */

@media (max-width: 991.98px) {
    #home-page .hero-media {
        aspect-ratio: 16 / 9;
    }

    #home-page .feature-band,
    #home-page .feature-cards {
        grid-template-columns: 1fr;
    }

    #home-page .feature-band--reverse .feature-band-media {
        order: 1;
    }

    #home-page .feature-band--reverse .feature-band-copy {
        order: 2;
    }
}

@media (max-width: 767.98px) {
    #home-page .feature-cards {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #home-page .feature-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===========================
   Motion safety
   =========================== */

@media (prefers-reduced-motion: reduce) {
    #home-page .btn-primary,
    #home-page .btn-outline,
    #home-page .card {
        transition: none;
    }

        #home-page .btn-primary:hover,
        #home-page .btn-outline:hover,
        #home-page .card:hover {
            transform: none;
        }
}

/* ===== Product tour video ===== */
#home-page .tour-video {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 1.6rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.4rem;
    border: 1px solid var(--sb-border);
    border-radius: 24px;
    background: linear-gradient(145deg, var(--sb-card-strong), var(--sb-card));
    box-shadow: var(--sb-shadow-md);
}

#home-page .tour-video-copy h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    margin: 0.35rem 0 0.6rem;
}

#home-page .tour-video-copy p {
    color: var(--sb-muted);
    margin: 0;
}

#home-page .tour-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: var(--sb-shadow-sm);
}

#home-page .tour-video-frame iframe,
#home-page .tour-video-play,
#home-page .tour-video-play img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#home-page .tour-video-play {
    padding: 0;
    cursor: pointer;
    background: none;
}

#home-page .tour-video-play img {
    object-fit: cover;
}

#home-page .tour-video-play-icon {
    position: absolute;
    /* Below the poster's title and tagline, in its empty lower band. */
    top: 79%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

#home-page .tour-video-play:hover .tour-video-play-icon,
#home-page .tour-video-play:focus-visible .tour-video-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

#home-page .tour-video-length {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
}

/* Mirrored variant: video on the left, copy on the right. */
#home-page .tour-video--reverse {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
}

/* These posters have no title text to dodge, so the play button sits dead center. */
#home-page .tour-video--reverse .tour-video-play-icon,
#home-page .tour-video-frame--center-play .tour-video-play-icon {
    top: 50%;
}

@media (max-width: 900px) {
    #home-page .tour-video,
    #home-page .tour-video--reverse {
        grid-template-columns: 1fr;
    }

    /* Keep the heading above the video when the columns stack. */
    #home-page .tour-video--reverse .tour-video-copy {
        order: -1;
    }
}


/* ===== More video tutorials strip ===== */
#home-page .video-strip {
    margin-top: 1.5rem;
    padding: 1.4rem;
    border: 1px solid var(--sb-border);
    border-radius: 24px;
    background: linear-gradient(145deg, var(--sb-card-strong), var(--sb-card));
    box-shadow: var(--sb-shadow-md);
}

#home-page .video-strip-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

#home-page .video-strip-head h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 800;
    margin: 0.35rem 0 0.4rem;
}

#home-page .video-strip-head p {
    color: var(--sb-muted);
    margin: 0;
}

#home-page .video-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

#home-page .video-strip-item .tour-video-frame {
    border-radius: 12px;
}

#home-page .video-strip-item .tour-video-play-icon {
    top: 50%;
}

#home-page .video-strip-item .tour-video-length {
    right: 8px;
    bottom: 8px;
    font-size: 0.75rem;
}

#home-page .video-strip-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0.55rem 0 0;
}

@media (max-width: 991.98px) {
    #home-page .video-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479.98px) {
    #home-page .video-strip-grid {
        grid-template-columns: 1fr;
    }
}

/* Help Center strip - public guide links on the homepage */
#home-page .help-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

#home-page .help-strip-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--sb-border);
    border-radius: 14px;
    background: var(--sb-card);
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

#home-page .help-strip-item:hover,
#home-page .help-strip-item:focus-visible {
    border-color: var(--bs-primary, #2563eb);
    transform: translateY(-1px);
}

#home-page .help-strip-item span {
    color: var(--sb-muted);
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    #home-page .help-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    #home-page .help-strip-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Homepage for trade businesses: .hm-* sections.
   2026-11-17 look: black background, green accent, see-through cards with coloured borders, moving
   dots behind the hero (js/dot-network.js), Satoshi type. Dark by default (ViewData["DefaultTheme"]),
   with a light version for people who pick Light in the Theme menu.
   Developer/agency content lives at /developers (Views/Home/Developers.cshtml).
   ===================================================================== */
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi/Satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi/Satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi/Satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi/Satoshi-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

#home-page .hm {
    --hm-acc: #12b76a;
    --hm-acc-rgb: 18, 183, 106;
    --hm-fg: #0b1220;
    --hm-muted: #3f4a5a;
    --hm-muted2: #5b6675;
    --hm-card: #fff;
    --hm-line: rgba(15, 23, 42, .12);
    --hm-panel: #fff;
    --hm-chip: rgba(15, 23, 42, .04);
    --hm-shadow: 0 24px 60px rgba(15, 23, 42, .12);
    --hm-g: #067a45; --hm-b: #0369a1; --hm-p: #7e22ce; --hm-a: #b45309;
    --hm-glow: .12;
    --hm-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    position: relative;
    display: flex; flex-direction: column; gap: 0;
    padding-block: 0 56px;
    font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--hm-fg);
}
html[data-bs-theme="dark"] #home-page .hm {
    --hm-fg: #fff;
    --hm-muted: #c3c9d4;
    --hm-muted2: #9ca3af;
    --hm-card: rgba(255, 255, 255, .03);
    --hm-line: rgba(255, 255, 255, .1);
    --hm-panel: rgba(10, 14, 20, .85);
    --hm-chip: rgba(255, 255, 255, .04);
    --hm-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    --hm-g: #4ade80; --hm-b: #7dd3fc; --hm-p: #d8b4fe; --hm-a: #fcd34d;
    --hm-glow: .22;
}
#home-page .hm h1, #home-page .hm h2, #home-page .hm h3 { text-wrap: balance; color: var(--hm-fg); }
#home-page .hm a:not([class]) { color: var(--hm-g); }

/* Full-width glow + moving dots behind the hero. #home-page sits in the layout's .container, so the
   sky is pulled out to the window's width; the page's <style> clips the overflow. */
#home-page .hm-sky {
    position: absolute; top: -1.5rem; left: 50%; width: 100vw; height: 980px; transform: translateX(-50%);
    pointer-events: none; z-index: 0;
    background: radial-gradient(circle at 28% 38%, rgba(var(--hm-acc-rgb), var(--hm-glow)), transparent 55%),
                radial-gradient(circle at 85% 70%, rgba(56, 189, 248, .1), transparent 45%);
    -webkit-mask-image: linear-gradient(#000 70%, transparent);
    mask-image: linear-gradient(#000 70%, transparent);
}
#home-page .hm-sky canvas { width: 100%; height: 100%; display: block; }
#home-page .hm > section, #home-page .hm > div:not(.hm-sky) { position: relative; z-index: 1; }

/* Shared pieces */
#home-page .hm-pill-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hm-line); background: var(--hm-chip); font: 600 12px/1.2 var(--hm-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--hm-fg); }
#home-page .hm-pill-badge::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 999px; background: var(--hm-acc); box-shadow: 0 0 12px var(--hm-acc); }
#home-page .hm-kicker, #home-page .hm-head .hm-kicker { font: 600 12px/1 var(--hm-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hm-g); margin: 0; }
#home-page .hm .btn-primary,
#home-page .hm .btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border-radius: 14px; font-weight: 700; font-size: 1.05rem; text-decoration: none; box-shadow: none; transition: background .15s, box-shadow .15s, transform .15s; }
#home-page .hm .btn-primary { background: var(--hm-acc); border: 1px solid var(--hm-acc); color: #04110a; box-shadow: 0 0 28px rgba(var(--hm-acc-rgb), .3); }
#home-page .hm .btn-primary:hover, #home-page .hm .btn-primary:focus-visible { background: #16c977; color: #04110a; transform: translateY(-1px); }
#home-page .hm .btn-outline { background: var(--hm-chip); border: 1px solid var(--hm-line); color: var(--hm-fg); }
#home-page .hm .btn-outline:hover, #home-page .hm .btn-outline:focus-visible { border-color: var(--hm-acc); color: var(--hm-fg); background: rgba(var(--hm-acc-rgb), .1); transform: translateY(-1px); }

/* Coloured see-through cards: green, blue, purple, amber */
#home-page .hm-tint { border-radius: 14px; padding: 16px 18px; border: 1px solid var(--hm-line); background: var(--hm-card); min-width: 0; }
#home-page .hm-tint h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; }
#home-page .hm-tint p { margin: 0; color: var(--hm-muted); font-size: .93rem; line-height: 1.5; }
#home-page .hm-tint--green { border-color: rgba(18, 183, 106, .45); background: rgba(18, 183, 106, .08); }
#home-page .hm-tint--green h3 { color: var(--hm-g); }
#home-page .hm-tint--blue { border-color: rgba(56, 189, 248, .45); background: rgba(56, 189, 248, .08); }
#home-page .hm-tint--blue h3 { color: var(--hm-b); }
#home-page .hm-tint--purple { border-color: rgba(168, 85, 247, .4); background: rgba(168, 85, 247, .08); }
#home-page .hm-tint--purple h3 { color: var(--hm-p); }
#home-page .hm-tint--amber { border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .08); }
#home-page .hm-tint--amber h3 { color: var(--hm-a); }

/* Hero */
#home-page .hm-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr); gap: 48px; align-items: center; padding: 48px 0 88px; }
@media (max-width: 960px) { #home-page .hm-hero { grid-template-columns: 1fr; padding-top: 28px; } }
#home-page .hm-hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
#home-page .hm-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 900; line-height: 1.04; letter-spacing: -.03em; margin: 0; }
#home-page .hm-lede { font-size: 1.2rem; line-height: 1.6; color: var(--hm-muted); max-width: 40em; margin: 0; }
#home-page .hm-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { #home-page .hm-points { grid-template-columns: 1fr; } }
#home-page .hm-points h3::before { content: "\2713\00a0"; }
#home-page .hm-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
#home-page .hm-login { margin: 0; color: var(--hm-muted2); font-size: .95rem; }

#home-page .hm-day { background: var(--hm-panel); border: 1px solid var(--hm-line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--hm-shadow); min-width: 0; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#home-page .hm-day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--hm-line); font: 600 11px/1.3 var(--hm-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--hm-g); }
#home-page .hm-day-head strong { font: 700 1.15rem/1.2 "Satoshi", sans-serif; letter-spacing: 0; text-transform: none; color: var(--hm-fg); }
#home-page .hm-ev { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--hm-line); background: var(--hm-card); font-size: .95rem; }
#home-page .hm-ev time { color: var(--hm-muted2); font: 500 .8rem var(--hm-mono); }
#home-page .hm-pill { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
#home-page .hm-pill--paid { border-color: rgba(18, 183, 106, .5); background: rgba(18, 183, 106, .12); color: var(--hm-g); }
#home-page .hm-pill--sent { border-color: rgba(56, 189, 248, .5); background: rgba(56, 189, 248, .1); color: var(--hm-b); }
#home-page .hm-pill--text { border-color: rgba(245, 158, 11, .5); background: rgba(245, 158, 11, .1); color: var(--hm-a); }
#home-page .hm-bubble { align-self: flex-end; max-width: 85%; background: rgba(var(--hm-acc-rgb), .14); border: 1px solid rgba(var(--hm-acc-rgb), .45); color: var(--hm-fg); padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: .92rem; }
#home-page .hm-bubble small { display: block; color: var(--hm-muted2); font-size: .75rem; margin-top: 2px; }

/* Sections */
#home-page .hm-sec { display: flex; flex-direction: column; gap: 28px; padding: 72px 0; border-top: 1px solid var(--hm-line); }
#home-page .hm-head { display: flex; flex-direction: column; gap: 10px; max-width: 46em; }
#home-page .hm-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; line-height: 1.1; margin: 0; letter-spacing: -.02em; }
#home-page .hm-head p { color: var(--hm-muted); margin: 0; font-size: 1.1rem; }

#home-page .hm-trades { display: flex; flex-wrap: wrap; gap: 10px; }
#home-page .hm .hm-trades a { text-decoration: none; color: var(--hm-fg); background: var(--hm-chip); border: 1px solid var(--hm-line); border-radius: 999px; padding: 10px 18px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; transition: border-color .15s, background .15s; }
#home-page .hm .hm-trades a:hover, #home-page .hm .hm-trades a:focus-visible { border-color: var(--hm-acc); background: rgba(var(--hm-acc-rgb), .1); }
#home-page .hm .hm-trades a:last-child { border-color: rgba(var(--hm-acc-rgb), .5); color: var(--hm-g); }

#home-page .hm-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: hmstep; }
@media (max-width: 960px) { #home-page .hm-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { #home-page .hm-flow { grid-template-columns: 1fr; } }
#home-page .hm-flow li { counter-increment: hmstep; background: var(--hm-card); border: 1px solid var(--hm-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#home-page .hm-flow li:last-child { border-color: rgba(18, 183, 106, .45); background: rgba(18, 183, 106, .08); }
#home-page .hm-flow li::before { content: "0" counter(hmstep); font: 600 12px/1 var(--hm-mono); letter-spacing: .1em; color: var(--hm-g); }
#home-page .hm-flow strong { font-size: 1.08rem; }
#home-page .hm-flow span { color: var(--hm-muted); font-size: .93rem; line-height: 1.5; }

#home-page .hm-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { #home-page .hm-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { #home-page .hm-feats { grid-template-columns: 1fr; } }
#home-page .hm-feats > div { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
#home-page .hm-feats h3 { font-size: 1.1rem; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#home-page .hm-feats p { flex: 1; }
#home-page .hm-feats a { font-weight: 600; font-size: .95rem; color: var(--hm-fg); text-decoration: underline; text-decoration-color: var(--hm-line); text-underline-offset: 3px; }
#home-page .hm-feats a:hover { text-decoration-color: currentColor; }
#home-page .hm-tag { font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(245, 158, 11, .5); color: var(--hm-a); }

/* Videos: the facade markup and play button come from the .tour-video rules above. */
#home-page .hm-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { #home-page .hm-videos { grid-template-columns: 1fr; } }
#home-page .hm .hm-video { margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 14px; border-radius: 22px; border: 1px solid var(--hm-line); background: var(--hm-panel); box-shadow: var(--hm-shadow); }
#home-page .hm .hm-video .tour-video-copy { padding: 0 6px 6px; }
#home-page .hm .hm-video .tour-video-copy h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 4px; }
#home-page .hm .hm-video .tour-video-copy p { color: var(--hm-muted); margin: 0; font-size: .95rem; }
#home-page .hm .hm-video--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: 22px; }
#home-page .hm .hm-video--wide .tour-video-copy h3 { font-size: 1.5rem; }
#home-page .hm .hm-video--wide .tour-video-copy p { font-size: 1.05rem; }
@media (max-width: 860px) { #home-page .hm .hm-video--wide { grid-template-columns: 1fr; } }

#home-page .hm-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { #home-page .hm-plans { grid-template-columns: 1fr; } }
#home-page .hm-plans > div { background: var(--hm-card); border: 1px solid var(--hm-line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
#home-page .hm-plans > .hm-plan--featured { border-color: var(--hm-acc); background: rgba(var(--hm-acc-rgb), .07); box-shadow: 0 0 40px rgba(var(--hm-acc-rgb), .15); }
#home-page .hm-plan-top { display: flex; flex-direction: column; gap: 6px; }
#home-page .hm-plan-top h3 { font-size: 1.15rem; font-weight: 700; margin: 0; }
#home-page .hm-plan-top span { font-size: 2.6rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
#home-page .hm-plan-top small { font-size: .95rem; font-weight: 500; color: var(--hm-muted2); }
#home-page .hm-plans p { color: var(--hm-muted); margin: 0; }
#home-page .hm-more { font-weight: 700; color: var(--hm-g); }

#home-page .hm-dev { padding: 0 0 56px; color: var(--hm-muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; }
#home-page .hm-dev p { margin: 0; max-width: 70ch; }
#home-page .hm-dev strong { color: var(--hm-fg); }
#home-page .hm-dev a { font-weight: 700; color: var(--hm-g); }

#home-page .hm-end { text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; border-radius: 22px; padding: 56px 24px; border: 1px solid var(--hm-line); background: radial-gradient(circle at 50% 0%, rgba(var(--hm-acc-rgb), var(--hm-glow)), transparent 60%), var(--hm-panel); box-shadow: var(--hm-shadow); }
#home-page .hm-end h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; margin: 0; letter-spacing: -.02em; }
#home-page .hm-end p { color: var(--hm-muted); margin: 0 0 6px; font-size: 1.1rem; }

#home-page .hm-feedback { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; margin-top: 56px; }
@media (max-width: 860px) { #home-page .hm-feedback { grid-template-columns: 1fr; } }
#home-page .hm-feedback > div { background: var(--hm-card); border: 1px solid var(--hm-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
#home-page .hm-feedback > div > form { width: 100%; }
#home-page .hm-feedback h2 { font-size: 1.3rem; font-weight: 700; margin: 0; }
#home-page .hm-feedback p { color: var(--hm-muted); margin: 0; }
html[data-bs-theme="dark"] #home-page .hm-feedback .form-control { background: rgba(255, 255, 255, .04); border-color: var(--hm-line); color: var(--hm-fg); }
#home-page .hm-feedback .btn-success { background: var(--hm-acc); border-color: var(--hm-acc); color: #04110a; font-weight: 700; }
