/* GoldenMail marketing — brand colors from logo (gold + ink) */
:root {
    --gm-ink: #0b1220;
    --gm-ink-soft: #1a2436;
    --gm-muted: #5b6b7c;
    --gm-gold: #e7ae23;
    --gm-gold-deep: #b47204;
    --gm-gold-rich: #d4920f;
    --gm-gold-soft: #f2cd6a;
    --gm-gold-wash: #fbf6ea;
    --gm-gold-wash-2: #fef3c7;
    --gm-surface: #ffffff;
    --gm-section-y: clamp(4.5rem, 8vw, 7rem);
    --gm-pad-x: clamp(1rem, 4vw, 1.5rem);
    --gm-radius: 1.25rem;
    --gm-ease: cubic-bezier(.22, .61, .36, 1);
    --gm-accent: var(--gm-gold-deep);
    --gm-accent-soft: var(--gm-gold-wash);
}

body.gm-marketing {
    font-family: "IBM Plex Sans", "Source Sans 3", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
    color: var(--gm-ink);
    font-size: 1.0625rem;
    line-height: 1.65;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.gm-marketing-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #ffffff !important;
    background-image: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
}

.gm-display {
    font-family: Fraunces, "IBM Plex Serif", Georgia, serif;
    font-optical-sizing: auto;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.gm-kicker {
    font-family: "IBM Plex Sans", "Source Sans 3", sans-serif;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gm-gold-deep);
}

.gm-lead {
    font-size: clamp(1.05rem, 1.15vw + 0.85rem, 1.25rem);
    line-height: 1.7;
    color: var(--gm-muted);
}

.gm-section { padding-block: var(--gm-section-y); }
.gm-container {
    width: min(72rem, calc(100% - (var(--gm-pad-x) * 2)));
    margin-inline: auto;
}

.gm-text-gold { color: var(--gm-gold-deep) !important; }
.gm-text-gold-soft { color: var(--gm-gold) !important; }
.gm-bg-gold {
    background: linear-gradient(180deg, var(--gm-gold) 0%, var(--gm-gold-deep) 100%) !important;
}
.gm-bg-gold-solid { background-color: var(--gm-gold-deep) !important; }
.gm-bg-ink {
    background: linear-gradient(160deg, #141c2c 0%, #0b1220 55%, #1a1408 100%) !important;
}
.gm-bg-wash {
    background: linear-gradient(135deg, var(--gm-gold-wash) 0%, #ffffff 45%, #fff7e6 100%) !important;
}
.gm-ring-gold:focus-within,
.gm-ring-gold:focus {
    box-shadow: 0 0 0 2px rgba(231, 174, 35, .35) !important;
}

.gm-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(180deg, #efbf3a 0%, #c4840a 100%);
    color: #1a1200 !important;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(180, 114, 4, .28);
    transition: transform .3s var(--gm-ease), filter .3s var(--gm-ease), box-shadow .3s var(--gm-ease);
}
.gm-btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(180, 114, 4, .34);
}
.gm-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--gm-ink);
    color: #fff !important;
    font-weight: 600;
    transition: background .3s var(--gm-ease), transform .3s var(--gm-ease);
}
.gm-btn-dark:hover { background: #1a2436; transform: translateY(-1px); }
.gm-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: #fff;
    color: var(--gm-ink) !important;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #e2e8f0;
    transition: background .3s var(--gm-ease), box-shadow .3s var(--gm-ease);
}
.gm-btn-ghost:hover { background: #f8fafc; box-shadow: inset 0 0 0 1px #cbd5e1; }

.gm-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    background: linear-gradient(160deg, #efbf3a, #b47204);
    color: #fff;
    box-shadow: 0 8px 18px rgba(180, 114, 4, .28);
}
.gm-icon-box svg { width: 1.25rem; height: 1.25rem; }
.gm-icon-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(231, 174, 35, .12);
    color: var(--gm-gold-deep);
    box-shadow: inset 0 0 0 1px rgba(231, 174, 35, .22);
}
.gm-icon-soft svg { width: 1.15rem; height: 1.15rem; }
.gm-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #efbf3a, #b47204);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.gm-img-frame {
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, .06),
        0 18px 50px rgba(15, 23, 42, .14);
    outline: 1px solid rgba(15, 23, 42, .08);
}
.gm-img-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gm-feature-card {
    background: linear-gradient(165deg, #151c2b 0%, #0b1220 70%);
    color: #ffffff;
}
.gm-feature-card .gm-feature-tag {
    background: rgba(231, 174, 35, .16);
    color: #f2cd6a;
    box-shadow: inset 0 0 0 1px rgba(231, 174, 35, .35);
}
.gm-feature-card h3 { color: #ffffff !important; }
.gm-feature-card p { color: #cbd5e1 !important; }

.gm-device-banner {
    background: linear-gradient(90deg, #c99212 0%, #b47204 45%, #0b1220 100%);
    overflow: visible;
}
.gm-device-banner h3 {
    color: #ffffff !important;
    line-height: 1.35 !important;
}
.gm-device-banner p {
    color: #fff4d6 !important;
    line-height: 1.65 !important;
}

.gm-plan-featured {
    background: linear-gradient(180deg, #e7ae23 0%, #b47204 100%) !important;
    color: #1a1200;
    box-shadow: 0 18px 40px rgba(180, 114, 4, .28);
}
.gm-plan-featured h3,
.gm-plan-featured p,
.gm-plan-featured li,
.gm-plan-featured .gm-display {
    color: #1a1200 !important;
}
.gm-compare-us {
    background: linear-gradient(180deg, #e7ae23 0%, #9a6208 100%) !important;
    color: #1a1200;
}
.gm-compare-us h3,
.gm-compare-us p,
.gm-compare-us li { color: #1a1200 !important; }
.gm-cta-band {
    background: linear-gradient(135deg, #e7ae23 0%, #b47204 42%, #0b1220 100%) !important;
}

@keyframes gm-marketing-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.gm-rise { animation: gm-marketing-rise .75s var(--gm-ease) both; }
.gm-rise-delay-1 { animation-delay: .1s; }
.gm-rise-delay-2 { animation-delay: .18s; }
.gm-rise-delay-3 { animation-delay: .28s; }

@keyframes gm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.gm-float { animation: gm-float 5.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .gm-rise, .gm-float { animation: none !important; }
}

/* Legal pages — stable two-column layout (avoids missing Tailwind col-span) */
.gm-legal-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.gm-legal-nav {
    width: 100%;
    flex-shrink: 0;
}
.gm-legal-content {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 48rem;
}
.gm-legal-content p {
    overflow-wrap: break-word;
}
@media (min-width: 1024px) {
    .gm-legal-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 3.5rem;
    }
    .gm-legal-nav {
        width: 15.5rem;
    }
    .gm-legal-content {
        max-width: none;
    }
}
