:root {
    --gp-seo-bg-top: #edf3f8;
    --gp-seo-bg-bottom: #e4ecf5;

    --gp-seo-surface: rgba(255, 255, 255, 0.82);
    --gp-seo-surface-strong: rgba(255, 255, 255, 0.92);
    --gp-seo-surface-hover: rgba(255, 255, 255, 0.98);

    --gp-seo-border: rgba(43, 61, 91, 0.10);
    --gp-seo-border-strong: rgba(43, 61, 91, 0.18);

    --gp-seo-title: #1f2d44;
    --gp-seo-text: #4d5f77;
    --gp-seo-text-soft: #6f8097;
    --gp-seo-text-faint: #93a0b2;

    --gp-seo-navy-1: #34486a;
    --gp-seo-navy-2: #2b3d5b;
    --gp-seo-navy-3: #22314b;

    --gp-seo-gold-1: #f2b95d;
    --gp-seo-gold-2: #d89627;
    --gp-seo-gold-soft: rgba(241, 178, 77, 0.12);
    --gp-seo-gold-soft-2: rgba(241, 178, 77, 0.18);
    --gp-seo-gold-border: rgba(241, 178, 77, 0.30);

    --gp-seo-shadow-soft: 0 10px 28px rgba(22, 34, 55, 0.08);
    --gp-seo-shadow-mid: 0 18px 42px rgba(22, 34, 55, 0.12);
}

/* page shell */

.gp-seo-page {
    position: relative;
    overflow: hidden;
    background:
            radial-gradient(circle at 12% 10%, rgba(255,255,255,0.70) 0%, transparent 28%),
            radial-gradient(circle at 86% 16%, rgba(241,178,77,0.08) 0%, transparent 18%),
            linear-gradient(180deg, var(--gp-seo-bg-top) 0%, var(--gp-seo-bg-bottom) 100%);
    padding-top: 1rem;
    padding-bottom: 2.5rem;
    margin-top: -5px;
    margin-bottom: -2px;
}

.gp-seo-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 26%);
}

.gp-seo-container {
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    padding: 10px;
    margin-top: -5px;
}

/* generic cards */

.gp-seo-card {
    border-radius: 10px !important;
    border: 1px solid var(--gp-seo-border) !important;
    background: linear-gradient(180deg, var(--gp-seo-surface-strong) 0%, var(--gp-seo-surface) 100%) !important;
    box-shadow: var(--gp-seo-shadow-soft) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
            transform 0.24s ease,
            box-shadow 0.24s ease,
            border-color 0.24s ease,
            background 0.24s ease;
}

.gp-seo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--gp-seo-shadow-mid) !important;
    border-color: var(--gp-seo-border-strong) !important;
    background: linear-gradient(180deg, #ffffff 0%, var(--gp-seo-surface-hover) 100%) !important;
}

.gp-seo-card-body {
    padding: 1.25rem 1.25rem !important;
}

.gp-seo-card-body-lg {
    padding: 1.5rem !important;
}

/* hero */

.gp-seo-hero-title {
    color: var(--gp-seo-title);
    font-weight: 700;
    letter-spacing: 0.2px;
    font-size: clamp(1.65rem, 2vw, 2.2rem);
    line-height: 1.2;
}

.gp-seo-hero-text {
    color: var(--gp-seo-text-soft);
    line-height: 1.75;
    font-size: 1rem;
}

.gp-seo-hero-bullets {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.75rem;
}

.gp-seo-hero-bullets li {
    color: var(--gp-seo-text-soft);
    line-height: 1.7;
    position: relative;
    padding-left: 1.1rem;
}

.gp-seo-hero-bullets li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gp-seo-gold-1), var(--gp-seo-gold-2));
    position: absolute;
    left: 0;
    top: 0.68rem;
    box-shadow: 0 0 0 4px rgba(241,178,77,0.10);
}

/* top outbound links */

.gp-seo-top-links-title {
    color: var(--gp-seo-text-soft);
    line-height: 1.6;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.gp-seo-top-links {
    line-height: 1.5;
}

.gp-seo-top-link {
    color: var(--gp-seo-navy-2) !important;
    text-decoration: none !important;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(43,61,91,0.08);
    background: rgba(255,255,255,0.78);
    display: inline-block;
    margin-right: 0.45rem;
    margin-bottom: 0.45rem;
    font-weight: 500;
    transition:
            background 0.18s ease,
            color 0.18s ease,
            border-color 0.18s ease,
            transform 0.18s ease,
            box-shadow 0.18s ease;
}

.gp-seo-top-link:hover {
    background: var(--gp-seo-gold-soft-2);
    color: #182132 !important;
    border-color: rgba(241,178,77,0.22);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(22,34,55,0.08);
}

/* tool card */

.gp-seo-tool-wrap {
    overflow-x: auto;
    max-width: 100%;
}

/* text block / parametric block / bottom block */

.gp-seo-copy {
    color: var(--gp-seo-text-soft);
    line-height: 1.75;
    font-size: 0.98rem;
}

.gp-seo-copy p {
    color: var(--gp-seo-text-soft);
    line-height: 1.75;
}

.gp-seo-copy h2,
.gp-seo-copy h3,
.gp-seo-copy h4,
.gp-seo-copy h5,
.gp-seo-copy h6 {
    color: var(--gp-seo-title);
    font-weight: 700;
    letter-spacing: 0.15px;
    line-height: 1.3;
}

.gp-seo-section-title-main {
    color: var(--gp-seo-title);
    font-weight: 700;
    font-size: 1.08rem;
    margin-bottom: 0.55rem;
}

.gp-seo-section-title-sub {
    color: var(--gp-seo-title);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0.55rem;
}

.gp-seo-section-text {
    color: var(--gp-seo-text-soft);
    line-height: 1.72;
    font-size: 0.98rem;
}

/* bottom outbound links */

.gp-seo-bottom-links-title {
    color: var(--gp-seo-title);
    line-height: 1.5;
    margin-bottom: 0.65rem;
    font-weight: 700;
    font-size: 0.98rem;
}

.gp-seo-bottom-links {
    line-height: 1.7;
    color: var(--gp-seo-text-soft);
    font-size: 0.96rem;
}

.gp-seo-bottom-link {
    color: var(--gp-seo-navy-2) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.18s ease;
}

.gp-seo-bottom-link:hover {
    color: var(--gp-seo-gold-2) !important;
}

.gp-seo-bottom-sep {
    color: var(--gp-seo-text-faint);
}

/* accent card for bottom links */
.gp-seo-accent-card {
    border-radius: 10px !important;
    border: 1px solid rgba(241,178,77,0.18) !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(248,250,252,0.92) 100%) !important;
    box-shadow: var(--gp-seo-shadow-soft) !important;
}

/* helper spacing */
.gp-seo-row-tight {
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
}

@media (max-width: 767.98px) {
    .gp-seo-card,
    .gp-seo-accent-card {
        border-radius: 10px !important;
    }

    .gp-seo-card-body,
    .gp-seo-card-body-lg {
        padding: 1rem !important;
    }

    .gp-seo-hero-title {
        font-size: 1.45rem;
    }

    .gp-seo-hero-text,
    .gp-seo-section-text,
    .gp-seo-copy {
        font-size: 0.96rem;
    }

    .gp-seo-top-link {
        padding: 0.42rem 0.72rem;
    }
}