/* Home / access page (/) — split layout: brand on the left, access card on the right. */
:root {
    --gl-brand: #007A64;
    --gl-brand-dark: #00564a;
    --gl-deep: #003d33;
    --gl-yellow: #ffcd4a;
    --gl-ink: #1f2933;
    --gl-muted: #6b7280;
    --gl-bg: #f3f8f6;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body.guara-landing {
    margin: 0;
    font-family: 'Poppins', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--gl-ink);
    background: var(--gl-bg);
}

.gl-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

/* ── Brand panel ─────────────────────────────────────────── */
.gl-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background:
        radial-gradient(900px 500px at 15% 10%, rgba(255, 205, 74, .28), transparent 60%),
        radial-gradient(800px 600px at 90% 90%, rgba(0, 122, 100, .18), transparent 60%),
        linear-gradient(160deg, #eaf4f0 0%, #f7fbf9 55%, #fff 100%);
}

.gl-hero::before,
.gl-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.gl-hero::before { width: 420px; height: 420px; right: -140px; top: -120px; background: rgba(0, 122, 100, .07); }
.gl-hero::after  { width: 300px; height: 300px; left: -100px; bottom: -90px; background: rgba(255, 205, 74, .20); }

.gl-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 520px;
    width: 100%;
    text-align: center;
}

.gl-hero-img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    filter: drop-shadow(0 24px 40px rgba(0, 61, 51, .18));
}

.gl-perks {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.gl-perks li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--gl-deep);
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(0, 122, 100, .15);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 61, 51, .06);
}
.gl-perks i { color: var(--gl-brand); }

/* ── Access card ─────────────────────────────────────────── */
.gl-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    background: #fff;
}

.gl-card {
    width: 100%;
    max-width: 400px;
}

.gl-logo { display: block; width: 168px; height: auto; margin: 0 0 28px; }

.gl-eyebrow {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 14px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gl-deep);
    background: var(--gl-yellow);
    border-radius: 6px;
}

.gl-title {
    margin: 0 0 10px;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gl-deep);
}

.gl-lead {
    margin: 0 0 28px;
    font-size: .95rem;
    line-height: 1.6;
    color: var(--gl-muted);
}

.gl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--gl-brand) 0%, var(--gl-brand-dark) 100%);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 122, 100, .28);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.gl-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0, 122, 100, .34); filter: brightness(1.04); }
.gl-btn:active { transform: translateY(0); }
.gl-btn:focus-visible { outline: 3px solid rgba(0, 122, 100, .35); outline-offset: 3px; }
.gl-btn.is-loading { pointer-events: none; opacity: .85; }
.gl-btn.is-loading .gl-btn-icon { display: none; }
.gl-btn .gl-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gl-spin .7s linear infinite;
}
.gl-btn.is-loading .gl-spinner { display: inline-block; }
@keyframes gl-spin { to { transform: rotate(360deg); } }

.gl-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: .78rem;
    color: var(--gl-muted);
}
.gl-secure i { color: var(--gl-brand); }

.gl-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 18px;
    font-size: .75rem;
    color: #9ca3af;
}
.gl-divider::before, .gl-divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }

.gl-new {
    padding: 14px 16px;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--gl-ink);
    background: var(--gl-bg);
    border: 1px solid rgba(0, 122, 100, .12);
    border-radius: 12px;
}
.gl-new a { color: var(--gl-brand); font-weight: 600; text-decoration: none; white-space: nowrap; }
.gl-new a:hover { text-decoration: underline; }

.gl-foot {
    margin-top: 36px;
    font-size: .72rem;
    color: #9ca3af;
    text-align: center;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .gl-shell { grid-template-columns: 1fr; }
    .gl-hero { display: none; }
    .gl-panel {
        min-height: 100vh;
        justify-content: flex-start;
        padding-top: 48px;
        background:
            radial-gradient(500px 260px at 100% 0%, rgba(255, 205, 74, .25), transparent 65%),
            radial-gradient(500px 300px at 0% 100%, rgba(0, 122, 100, .10), transparent 65%),
            #fff;
    }
    .gl-title { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
    .gl-btn, .gl-btn .gl-spinner { transition: none; animation-duration: 2s; }
}
