:root {
    --brand-deep: #0F6E56;
    --brand-teal: #1D9E75;
    --brand-teal-light: #E1F5EE;
    --brand-amber: #FAC775;
    --brand-amber-dark: #EF9F27;
    --brand-coral: #D85A30;
    --brand-purple: #7F77DD;
    --text-dark: #1f2937;
    --text-muted: #667085;
    --bg: #ffffff;
}

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    scroll-behavior: smooth;
}

img, svg {
    max-width: 100%;
}

a {
    text-decoration: none;
}

/* ---------- Nav ---------- */

.portal-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eef1f3;
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

    .portal-brand .beacon-mark {
        width: 34px;
        height: 34px;
    }

    .portal-brand span {
        font-weight: 700;
        font-size: 1.25rem;
        letter-spacing: 0.2px;
    }

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-teal);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(29, 158, 117, 0.35);
    transition: background 0.2s, transform 0.2s;
}

    .btn-login:hover {
        background: var(--brand-deep);
        transform: translateY(-1px);
    }

/* ---------- Hero ---------- */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 32px 56px;
}

.hero-copy {
    flex: 1 1 480px;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--brand-teal-light);
    color: var(--brand-deep);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin: 0 0 18px;
    color: var(--text-dark);
}

    .hero h1 span {
        color: var(--brand-teal);
    }

.hero p {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 30px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-teal);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 22px rgba(29, 158, 117, 0.35);
    transition: background 0.2s, transform 0.2s;
}

    .btn-hero:hover {
        background: var(--brand-deep);
        transform: translateY(-2px);
    }

.hero-note {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.hero-visual {
    flex: 1 1 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

    .hero-visual .glow {
        position: absolute;
        width: 320px;
        height: 320px;
        background: radial-gradient(circle, rgba(29, 158, 117, 0.16), rgba(255, 255, 255, 0) 70%);
        border-radius: 50%;
        z-index: 0;
    }

    .hero-visual .beacon-mark {
        width: 220px;
        height: 220px;
        position: relative;
        z-index: 1;
        animation: floatMark 5s ease-in-out infinite;
    }

@keyframes floatMark {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ---------- Sections ---------- */

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 32px;
}

.section-heading {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 44px;
}

    .section-heading h2 {
        font-size: 1.9rem;
        margin: 0 0 12px;
        color: var(--text-dark);
    }

    .section-heading p {
        color: var(--text-muted);
        font-size: 1rem;
        line-height: 1.6;
        margin: 0;
    }

/* ---------- Feature grid ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #eef1f3;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 18px rgba(16, 24, 40, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
    }

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

.feature-card h3 {
    font-size: 1.08rem;
    margin: 0 0 8px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Trust strip ---------- */

.trust-strip {
    background: var(--brand-teal-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.trust-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

    .trust-item svg {
        flex-shrink: 0;
        width: 26px;
        height: 26px;
        color: var(--brand-deep);
        margin-top: 2px;
    }

    .trust-item h4 {
        margin: 0 0 4px;
        font-size: 1rem;
        color: var(--text-dark);
    }

    .trust-item p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--text-muted);
        line-height: 1.6;
    }

/* ---------- Companion app strip ---------- */

.app-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-teal));
    border-radius: 20px;
    padding: 40px 44px;
    color: #ffffff;
    flex-wrap: wrap;
}

    .app-strip h2 {
        font-size: 1.5rem;
        margin: 0 0 8px;
    }

    .app-strip p {
        margin: 0;
        color: rgba(255, 255, 255, 0.85);
        max-width: 420px;
        line-height: 1.6;
    }

.app-strip-mark {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

/* ---------- Footer ---------- */

.portal-footer {
    border-top: 1px solid #eef1f3;
    padding: 28px 32px;
}

.portal-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.86rem;
}

    .portal-footer-inner a {
        color: var(--text-muted);
        margin-left: 18px;
    }

        .portal-footer-inner a:hover {
            color: var(--brand-teal);
        }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual .beacon-mark {
        width: 160px;
        height: 160px;
    }

    .app-strip {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .portal-footer-inner {
        flex-direction: column;
        text-align: center;
    }

        .portal-footer-inner a {
            margin: 0 9px;
        }
}
