﻿:root {
    --navy: #142844;
    --navy-deep: #0c1a30;
    --navy-soft: #1d3358;
    --blue: hsl(221, 83%, 53%);
    --blue-bright: hsl(221, 90%, 62%);
    --blue-soft: hsl(221, 83%, 96%);
    --ink: hsl(222, 47%, 11%);
    --muted: hsl(220, 15%, 45%);
    --line: hsl(220, 20%, 90%);
    --bg: #f7f9fc;
    --card: #ffffff;
    --success: #16a34a;
    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(20, 40, 68, 0.06);
    --shadow-md: 0 10px 30px -12px rgba(20, 40, 68, 0.18);
    --shadow-lg: 0 30px 60px -20px rgba(20, 40, 68, 0.35);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#mainlogo {max-height:90px; max-width:90%;}

h1, h2, h3, h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ink);
}

p {
    margin: 0;
}

a {
    color: var(--blue);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* ========== Header ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--navy);
}

    .brand svg {
        display: block;
    }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

    .brand-text small {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        color: var(--muted);
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-top: 2px;
    }

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}

    .header-nav .pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 999px;
        background: var(--blue-soft);
        color: var(--blue);
        font-weight: 600;
        font-size: 12.5px;
    }

        .header-nav .pill::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--success);
            box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
        }

/* ========== Hero / Main ========== */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1200px 500px at 80% -10%, rgba(37, 99, 235, 0.16), transparent 60%), radial-gradient(900px 400px at -10% 110%, rgba(20, 40, 68, 0.10), transparent 60%), var(--bg);
    padding: 64px 28px 48px;
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

    .eyebrow svg {
        color: var(--blue);
    }

h1.title {
    font-size: clamp(34px, 4.6vw, 52px);
    line-height: 1.05;
    margin-top: 18px;
    color: var(--navy);
    font-weight: 700;
}

    h1.title em {
        font-style: normal;
        background: linear-gradient(120deg, var(--blue) 0%, var(--blue-bright) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.lede {
    margin-top: 18px;
    font-size: 17px;
    color: var(--muted);
    max-width: 560px;
}

.cta-row {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--navy);
    color: #fff;
    box-shadow: var(--shadow-md);
}

    .btn-primary:hover {
        background: var(--navy-soft);
        transform: translateY(-1px);
        box-shadow: var(--shadow-lg);
        text-decoration: none;
    }

    .btn-primary:active {
        transform: translateY(0);
    }

.btn-secondary {
    background: #fff;
    color: var(--navy);
    border-color: var(--line);
}

    .btn-secondary:hover {
        border-color: var(--navy);
        text-decoration: none;
    }

.meta-row {
    margin-top: 22px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13.5px;
}

    .meta-row span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .meta-row svg {
        color: var(--blue);
    }

/* ========== Connect Card ========== */
.connect-card {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

    .connect-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(90deg, var(--navy), var(--blue), var(--blue-bright));
    }

.card-head {
    padding: 28px 28px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-pair {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-chip {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}

    .logo-chip.brd {
        background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
        border-color: transparent;
    }

    .logo-chip.bb {
        background: #fff;
    }

    .logo-chip svg {
        display: block;
    }

.connector {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--blue);
}

    .connector .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
        opacity: 0.5;
        animation: pulse 1.6s ease-in-out infinite;
    }

        .connector .dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .connector .dot:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes pulse {
    0%, 100% {
        opacity: 0.25;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.card-title {
    padding: 18px 28px 0;
}

    .card-title h2 {
        font-size: 22px;
        color: var(--navy);
    }

    .card-title p {
        color: var(--muted);
        margin-top: 6px;
        font-size: 14.5px;
    }

.scope-list {
    list-style: none;
    margin: 22px 0 0;
    padding: 0 28px;
}

    .scope-list li {
        display: flex;
        gap: 12px;
        padding: 12px 0;
        border-top: 1px solid var(--line);
        font-size: 14.5px;
    }

        .scope-list li:first-child {
            border-top: 0;
        }

    .scope-list .icon {
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: var(--blue-soft);
        color: var(--blue);
        display: grid;
        place-items: center;
    }

    .scope-list strong {
        display: block;
        color: var(--ink);
        font-weight: 600;
        font-size: 14.5px;
    }

    .scope-list .desc {
        color: var(--muted);
        font-size: 13px;
        margin-top: 2px;
    }

.card-actions {
    margin-top: 22px;
    padding: 22px 28px 28px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #fff 0%, #f8fafd 100%);
}

    .card-actions .btn-primary {
        width: 100%;
        justify-content: center;
        background: var(--blue);
        box-shadow: 0 12px 24px -10px rgba(37, 99, 235, 0.55);
    }

        .card-actions .btn-primary:hover {
            background: var(--blue-bright);
        }

    .card-actions .legal {
        margin-top: 14px;
        font-size: 12.5px;
        color: var(--muted);
        text-align: center;
        line-height: 1.5;
    }

/* ========== Sections ========== */
section.band {
    padding: 80px 28px;
}

.band-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.section-eyebrow {
    color: var(--blue);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(26px, 3vw, 36px);
    color: var(--navy);
    margin-top: 8px;
    max-width: 720px;
}

.section-sub {
    color: var(--muted);
    margin-top: 14px;
    max-width: 680px;
    font-size: 16px;
}

/* How it works */
.steps {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: step;
}

.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .step:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: #d6e1f0;
    }

    .step::before {
        counter-increment: step;
        content: "0" counter(step);
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        font-size: 14px;
        color: var(--blue);
        letter-spacing: 0.08em;
    }

    .step h3 {
        margin-top: 12px;
        font-size: 18px;
        color: var(--navy);
    }

    .step p {
        margin-top: 8px;
        color: var(--muted);
        font-size: 14.5px;
    }

/* Trust */
.band.trust {
    background: var(--navy);
    color: #e6edf7;
}

    .band.trust .section-title {
        color: #fff;
    }

    .band.trust .section-sub {
        color: #a9b8d1;
    }

    .band.trust .section-eyebrow {
        color: #7fb3ff;
    }

.trust-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 22px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

    .trust-card:hover {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(127, 179, 255, 0.4);
        transform: translateY(-2px);
    }

    .trust-card .icon-wrap {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(127, 179, 255, 0.15);
        color: #7fb3ff;
        display: grid;
        place-items: center;
        margin-bottom: 14px;
    }

    .trust-card h4 {
        color: #fff;
        font-size: 16px;
    }

    .trust-card p {
        color: #a9b8d1;
        font-size: 13.5px;
        margin-top: 6px;
        line-height: 1.55;
    }

/* FAQ */
.faq {
    margin-top: 40px;
    display: grid;
    gap: 12px;
}

details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    details[open] {
        border-color: #cdd9ec;
        box-shadow: var(--shadow-sm);
    }

summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 15.5px;
}

    summary::-webkit-details-marker {
        display: none;
    }

    summary::after {
        content: "+";
        font-family: 'Outfit', sans-serif;
        font-size: 22px;
        color: var(--blue);
        transition: transform 0.2s ease;
        line-height: 1;
    }

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--navy-deep);
    color: #8da3c4;
    padding: 36px 28px;
    font-size: 13.5px;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

    .footer-inner .brand {
        color: #fff;
        font-size: 16px;
    }

        .footer-inner .brand small {
            color: #7fb3ff;
        }

.footer-links {
    display: flex;
    gap: 22px;
}

    .footer-links a {
        color: #a9b8d1;
    }

        .footer-links a:hover {
            color: #fff;
            text-decoration: none;
        }

/* Toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 24px);
    background: var(--navy);
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .toast.show {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .toast .spinner {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: #fff;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.in {
        opacity: 1;
        transform: none;
    }

/* Responsive */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 40px 20px 32px;
    }

    section.band {
        padding: 56px 20px;
    }

    .header-inner {
        padding: 14px 20px;
    }

    .header-nav .pill {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .card-head, .card-title, .scope-list, .card-actions {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
