/* Game Pass landing page (/Subscription/game-pass). Prefixed with gp- so nothing clashes with site.css.
   Same visual language as cart.css, product-tabs.css and subscription-cart.css (Fluent blue, 14px cards),
   with the dark "tiles" surface of the home slider and footer for the hero. Xbox green is only an accent. */

.gp {
    --gp-blue: #0078D4;
    --gp-blue-dark: #005FB8;
    --gp-blue-soft: #EAF3FC;
    --gp-link: #005FB8;
    --gp-sky: #60CDFF;
    --gp-text: #1F1F1F;
    --gp-muted: #6B6B6B;
    --gp-border: #E6E6E6;
    --gp-card: #FFFFFF;
    --gp-track: #F7F7F9;
    --gp-green: #107C10;
    --gp-green-text: #0E7A0D;
    --gp-green-soft: #E7F4E4;
    --gp-amber: #8A5A00;
    --gp-amber-soft: #FFF4CE;
    --gp-red: #B3261E;
    --gp-red-soft: #FDE7E9;
    /* Height of the site's fixed header (site.css / responsive.css) */
    --gp-header-h: 70px;
    --gp-ink: #0E1117;
    --gp-ink-2: #151A23;
    --gp-ink-line: rgba(255, 255, 255, 0.09);
    --gp-ink-text: #F3F4F6;
    --gp-ink-muted: #A3AAB8;
    --gp-radius: 14px;
    --gp-radius-lg: 18px;
    --gp-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
    --gp-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.05), 0 10px 28px rgba(0, 0, 0, 0.08);
    --gp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--gp-text);
    direction: rtl;
    font-family: IRANSans, Tahoma, sans-serif;
    line-height: 1.9;
}

.darkmode .gp {
    --gp-blue-soft: #10263A;
    --gp-link: #60CDFF;
    --gp-text: #F2F2F2;
    --gp-muted: #B5B5B5;
    --gp-border: #333333;
    --gp-card: #1C1C1C;
    --gp-track: #232323;
    --gp-green-text: #6CCB5F;
    --gp-green-soft: #12301A;
    --gp-amber: #FCE100;
    --gp-amber-soft: #3A2E10;
    --gp-red: #FF99A4;
    --gp-red-soft: #3A1717;
    --gp-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    --gp-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.45);
}

.gp *, .gp *::before, .gp *::after {
    box-sizing: border-box;
}

/* site.css sets overflow-x: hidden on both html and body, which turns body into a scroll container and
   silently disables position: sticky. clip hides the same overflow without that side effect (this page only). */
body:has(.gp) {
    overflow-x: clip;
}

.gp a {
    color: inherit;
    text-decoration: none;
}

.gp h1, .gp h2, .gp h3, .gp p {
    margin: 0;
}

.gp-ico {
    width: 1em;
    height: 1em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gp-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.gp :focus-visible {
    outline: 2px solid var(--gp-blue);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ---------- Breadcrumb ---------- */

.gp-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 20px 0 14px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--gp-muted);
}

    .gp-crumbs li + li::before {
        content: "/";
        margin-left: 6px;
        opacity: 0.6;
    }

    .gp-crumbs a:hover {
        color: var(--gp-link);
    }

    .gp-crumbs [aria-current] {
        color: var(--gp-text);
    }

/* ---------- Buttons ---------- */

.gp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

    .gp-btn .gp-ico {
        font-size: 18px;
    }

.gp .gp-btn-primary {
    background: var(--gp-blue);
    color: #FFFFFF;
}

    .gp .gp-btn-primary:hover {
        background: var(--gp-blue-dark);
    }

.gp .gp-btn-ghost {
    border-color: var(--gp-border);
    background: var(--gp-card);
    color: var(--gp-text);
}

    .gp .gp-btn-ghost:hover {
        border-color: var(--gp-blue);
        color: var(--gp-link);
    }

.gp .gp-btn-onink {
    border-color: rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.04);
}

    .gp .gp-btn-onink:hover {
        border-color: #FFFFFF;
        background: rgba(255, 255, 255, 0.1);
    }

.gp .gp-btn[aria-disabled="true"] {
    background: var(--gp-track);
    border-color: var(--gp-border);
    color: var(--gp-muted);
    cursor: not-allowed;
}

.gp-btn:active:not([aria-disabled="true"]) {
    transform: translateY(1px);
}

/* ---------- Hero ---------- */

.gp-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 40px;
    padding: 52px 56px;
    border-radius: var(--gp-radius-lg);
    background: var(--gp-ink);
    color: var(--gp-ink-text);
    overflow: hidden;
    isolation: isolate;
}

    /* Soft light behind the tiles, nothing more */
    .gp-hero::before {
        content: "";
        position: absolute;
        top: -30%;
        bottom: -30%;
        left: -15%;
        width: 65%;
        background: radial-gradient(closest-side, rgba(16, 124, 16, 0.32), transparent 70%);
        z-index: -1;
        pointer-events: none;
    }

.gp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gp-ink-muted);
    margin-bottom: 14px;
}

    .gp-eyebrow i {
        display: inline-grid;
        grid-template-columns: 6px 6px;
        gap: 2px;
    }

        .gp-eyebrow i b {
            width: 6px;
            height: 6px;
            display: block;
        }

.gp-hero h1 {
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.45;
    font-weight: bold;
    text-wrap: balance;
}

    .gp-hero h1 span {
        color: var(--gp-sky);
    }

.gp-hero-lead {
    margin-top: 14px;
    max-width: 34em;
    font-size: 16px;
    color: #C9CED8;
    line-height: 2;
}

.gp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.gp-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 26px 0 0;
    padding: 18px 0 0;
    list-style: none;
    border-top: 1px solid var(--gp-ink-line);
    font-size: 13px;
    color: var(--gp-ink-muted);
}

    .gp-hero-facts li {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .gp-hero-facts .gp-ico {
        font-size: 17px;
        color: var(--gp-sky);
    }

/* Tile board: four plans as Windows-style tiles. Decorative only (aria-hidden) */
.gp-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 10px;
    aspect-ratio: 1 / 0.86;
    max-width: 520px;
    width: 100%;
    margin-inline-start: auto;
}

.gp-tile {
    position: relative;
    border-radius: 6px;
    padding: 14px 16px;
    background: var(--gp-ink-2);
    border: 1px solid var(--gp-ink-line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    direction: ltr;
    text-align: left;
    transition: transform 0.5s var(--gp-ease), border-color 0.3s ease;
}

    .gp-tile small {
        font-size: 11px;
        letter-spacing: 0.04em;
        color: var(--gp-ink-muted);
        direction: ltr;
        text-align: left;
    }

    .gp-tile strong {
        display: block;
        font-size: 15px;
        font-weight: 500;
        direction: ltr;
        text-align: left;
        line-height: 1.3;
    }

    .gp-tile .gp-tile-icons {
        display: flex;
        gap: 6px;
        font-size: 16px;
        color: var(--gp-ink-muted);
        direction: ltr;
    }

.gp-tile-ult {
    grid-column: 2 / span 2;
    grid-row: 1 / span 2;
    background: linear-gradient(150deg, #138A13 0%, #0B5C0B 100%);
    border-color: rgba(255, 255, 255, 0.14);
}

    .gp-tile-ult small, .gp-tile-ult .gp-tile-icons {
        color: rgba(255, 255, 255, 0.78);
    }

    .gp-tile-ult strong {
        font-size: 22px;
    }

.gp-sphere {
    position: absolute;
    width: 46%;
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    color: rgba(255, 255, 255, 0.94);
}

.gp-tile-pre {
    grid-column: 1;
    grid-row: 1;
}

.gp-tile-ess {
    grid-column: 1;
    grid-row: 2;
}

.gp-tile-pc {
    grid-column: 1 / span 3;
    grid-row: 3;
    flex-direction: row;
    align-items: flex-end;
}

    .gp-tile-pc > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

.gp-board:hover .gp-tile-ult {
    transform: translateY(-3px);
}

/* ---------- Section nav ---------- */

.gp-nav {
    position: sticky;
    top: var(--gp-header-h);
    z-index: 30;
    margin: 18px 0 0;
    padding: 8px 0;
    background: var(--gp-page-bg, #F3F3F3);
}

.darkmode .gp-nav {
    --gp-page-bg: #2A2A2A;
}

.gp-nav ul {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--gp-card);
    border: 1px solid var(--gp-border);
    border-radius: 999px;
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
}

    .gp-nav ul::-webkit-scrollbar {
        display: none;
    }

.gp-nav li {
    flex: 1 0 auto;
}

.gp-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--gp-muted);
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

    .gp-nav a:hover {
        color: var(--gp-text);
        background: var(--gp-track);
    }

    .gp-nav a[aria-current="true"] {
        background: var(--gp-blue);
        color: #FFFFFF;
    }

/* ---------- Sections ---------- */

.gp-section {
    margin-top: 56px;
    scroll-margin-top: calc(var(--gp-header-h) + 76px);
}

.gp-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 22px;
}

    .gp-head h2 {
        font-size: clamp(20px, 2.2vw, 26px);
        font-weight: bold;
        line-height: 1.6;
        text-wrap: balance;
    }

    .gp-head p {
        color: var(--gp-muted);
        font-size: 15px;
        max-width: 46em;
    }

/* Four small squares before every section title: the logo grid, used as a heading mark */
.gp-mark {
    display: inline-grid;
    grid-template-columns: 7px 7px;
    gap: 2px;
    margin-left: 10px;
    vertical-align: 3px;
}

    .gp-mark b, .gp-eyebrow i b {
        display: block;
        width: 7px;
        height: 7px;
    }

        .gp-mark b:nth-child(1), .gp-eyebrow i b:nth-child(1) { background: #F25022; }
        .gp-mark b:nth-child(2), .gp-eyebrow i b:nth-child(2) { background: #7FBA00; }
        .gp-mark b:nth-child(3), .gp-eyebrow i b:nth-child(3) { background: #00A4EF; }
        .gp-mark b:nth-child(4), .gp-eyebrow i b:nth-child(4) { background: #FFB900; }

/* ---------- Plan cards ---------- */

.gp-plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--gp-card);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius);
    box-shadow: var(--gp-shadow);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s var(--gp-ease), border-color 0.25s ease;
}

    .gp-card:hover {
        box-shadow: var(--gp-shadow-hover);
        transform: translateY(-2px);
    }

.gp-card-top {
    position: relative;
    padding: 20px 20px 18px;
    background: var(--gp-ink);
    color: var(--gp-ink-text);
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.gp-card.is-featured .gp-card-top {
    background: linear-gradient(150deg, #138A13 0%, #0B5C0B 100%);
}

.gp-card-top .gp-en {
    direction: ltr;
    text-align: left;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.66);
    letter-spacing: 0.02em;
}

.gp-card-top h3 {
    font-size: 19px;
    font-weight: bold;
    line-height: 1.5;
}

.gp-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
}

.gp-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px 20px;
    flex: 1;
}

.gp-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .gp-platforms li {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        background: var(--gp-track);
        border: 1px solid var(--gp-border);
        font-size: 12.5px;
        color: var(--gp-text);
    }

        .gp-platforms li .gp-ico {
            font-size: 15px;
            color: var(--gp-muted);
        }

        .gp-platforms li.is-off {
            color: var(--gp-muted);
            text-decoration: line-through;
            text-decoration-color: currentColor;
            opacity: 0.75;
        }

.gp-desc {
    font-size: 14px;
    color: var(--gp-muted);
    line-height: 1.95;
}

.gp-perks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 14px 0 0;
    list-style: none;
    border-top: 1px dashed var(--gp-border);
    font-size: 14px;
}

    .gp-perks li {
        display: flex;
        gap: 8px;
        align-items: flex-start;
        line-height: 1.8;
    }

        .gp-perks li .gp-ico {
            margin-top: 5px;
            font-size: 15px;
            color: var(--gp-green-text);
            stroke-width: 2.4;
        }

.gp-price {
    margin-top: auto;
    padding: 14px;
    border-radius: 12px;
    background: var(--gp-track);
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 96px;
}

.gp-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gp-price-label {
    font-size: 12.5px;
    color: var(--gp-muted);
}

.gp-price-value {
    font-size: 21px;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
}

    .gp-price-value small {
        font-size: 13px;
        font-weight: normal;
        margin-right: 3px;
    }

.gp-price-note {
    font-size: 12px;
    color: var(--gp-muted);
    line-height: 1.8;
}

.gp-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

    .gp-status::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
    }

    .gp-status.is-on {
        color: var(--gp-green-text);
        background: var(--gp-green-soft);
    }

    .gp-status.is-soon {
        color: var(--gp-amber);
        background: var(--gp-amber-soft);
    }

    .gp-status.is-out {
        color: var(--gp-red);
        background: var(--gp-red-soft);
    }

.gp-price-old {
    font-size: 12.5px;
    color: var(--gp-muted);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.gp-price-value.is-text {
    font-size: 16px;
}

.gp-card .gp-btn {
    width: 100%;
}

.gp-card-alt {
    font-size: 12.5px;
    text-align: center;
    color: var(--gp-muted);
}

    .gp-card-alt a {
        color: var(--gp-link);
    }

.gp-plans-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--gp-muted);
}

    .gp-plans-foot span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .gp-plans-foot .gp-ico {
        font-size: 16px;
        color: var(--gp-link);
    }

/* ---------- Comparison ---------- */

.gp-compare {
    background: var(--gp-card);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius);
    box-shadow: var(--gp-shadow);
    overflow: hidden;
}

.gp-table-scroll {
    position: relative; /* keeps the table's tooltips inside the scroll box, so the page can't shift sideways */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.gp-table {
    width: 100%;
    min-width: 780px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    table-layout: fixed;
}

    .gp-table th, .gp-table td {
        padding: 14px 16px;
        text-align: center;
        vertical-align: middle;
        border-bottom: 1px solid var(--gp-border);
        line-height: 1.75;
    }

    .gp-table thead th {
        padding: 18px 12px 16px;
        background: var(--gp-card);
        font-weight: 500;
        vertical-align: bottom;
    }

        .gp-table thead th:first-child {
            text-align: right;
            color: var(--gp-muted);
            font-size: 13px;
            font-weight: normal;
        }

    .gp-table .gp-th-name {
        display: block;
        font-size: 15px;
        font-weight: bold;
    }

    .gp-table .gp-th-en {
        display: block;
        direction: ltr;
        font-size: 11.5px;
        color: var(--gp-muted);
        margin-bottom: 6px;
    }

    .gp-table tbody th {
        text-align: right;
        font-weight: 500;
        width: 220px;
    }

        .gp-table tbody th small {
            display: block;
            font-weight: normal;
            font-size: 12px;
            color: var(--gp-muted);
            line-height: 1.6;
        }

    .gp-table col.is-featured, .gp-table .is-featured {
        background: color-mix(in srgb, var(--gp-green) 6%, var(--gp-card));
    }

    .gp-table thead th.is-featured {
        box-shadow: inset 0 3px 0 var(--gp-green);
    }

    /* First column stays visible while the plans scroll sideways */
    .gp-table th:first-child {
        position: sticky;
        right: 0;
        z-index: 2;
        background: var(--gp-card);
    }

    .gp-table tr.gp-group th {
        padding: 10px 16px;
        background: var(--gp-track);
        font-size: 12.5px;
        font-weight: 500;
        color: var(--gp-muted);
        text-align: right;
        letter-spacing: 0.01em;
    }

        .gp-table tr.gp-group th span {
            position: sticky;
            right: 16px;
        }

    .gp-table tr.gp-group.is-store th {
        background: var(--gp-blue-soft);
        color: var(--gp-link);
    }

    .gp-table tbody tr:last-child > * {
        border-bottom: 0;
    }

.gp-table tr.gp-rehead {
    display: none;
}

    .gp-table tr.gp-rehead th, .gp-table tr.gp-rehead td {
        padding: 10px 8px;
        font-size: 13px;
        font-weight: bold;
        background: var(--gp-card);
    }

.gp-yes, .gp-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 15px;
}

.gp-yes {
    background: var(--gp-green-soft);
    color: var(--gp-green-text);
}

    .gp-yes .gp-ico {
        stroke-width: 2.6;
    }

.gp-no {
    color: var(--gp-muted);
    opacity: 0.7;
}

.gp-cell-note {
    display: block;
    font-size: 12px;
    color: var(--gp-muted);
    line-height: 1.6;
}

.gp-table .gp-price-cell {
    font-weight: bold;
    font-variant-numeric: tabular-nums;
}

.gp-compare-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 24px;
    padding: 14px 18px;
    background: var(--gp-track);
    border-top: 1px solid var(--gp-border);
    font-size: 12.5px;
    color: var(--gp-muted);
    line-height: 1.9;
}

    .gp-compare-foot a {
        color: var(--gp-link);
    }

.gp-scroll-hint {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 10px 16px 0;
    font-size: 12.5px;
    color: var(--gp-muted);
}

/* Small info buttons inside the table */
.gp-tip {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    margin-right: 4px;
}

    .gp-tip button {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 1px solid var(--gp-border);
        background: var(--gp-card);
        color: var(--gp-muted);
        font: inherit;
        font-size: 11px;
        line-height: 1;
        cursor: help;
        padding: 0;
    }

    .gp-tip [role="tooltip"] {
        position: absolute;
        bottom: calc(100% + 8px);
        right: -10px;
        width: 240px;
        padding: 10px 12px;
        border-radius: 10px;
        background: #1F1F1F;
        color: #F2F2F2;
        font-size: 12.5px;
        font-weight: normal;
        line-height: 1.8;
        text-align: right;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(4px);
        transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
        z-index: 20;
    }

    .gp-tip:hover [role="tooltip"], .gp-tip button:focus-visible + [role="tooltip"], .gp-tip.is-open [role="tooltip"] {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

/* ---------- Plan finder ---------- */

.gp-finder {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.gp-finder-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px;
    background: var(--gp-card);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius);
    box-shadow: var(--gp-shadow);
}

.gp-q {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

    .gp-q legend {
        float: right;
        width: 100%;
        margin-bottom: 10px;
        font-size: 15px;
        font-weight: 500;
    }

        .gp-q legend span {
            color: var(--gp-muted);
            font-weight: normal;
            font-size: 13px;
            margin-left: 6px;
        }

.gp-opts {
    clear: both;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.gp-opt {
    position: relative;
}

    .gp-opt input {
        position: absolute;
        opacity: 0;
        inset: 0;
        margin: 0;
        cursor: pointer;
    }

    .gp-opt label {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 78px;
        padding: 10px 8px;
        border: 1.5px solid var(--gp-border);
        border-radius: 12px;
        background: var(--gp-card);
        font-size: 13.5px;
        text-align: center;
        line-height: 1.6;
        cursor: pointer;
        transition: border-color 0.15s ease, background 0.15s ease;
    }

        .gp-opt label .gp-ico {
            font-size: 22px;
            color: var(--gp-muted);
        }

    .gp-opt input:hover + label {
        border-color: var(--gp-muted);
    }

    .gp-opt input:checked + label {
        border-color: var(--gp-blue);
        background: var(--gp-blue-soft);
        box-shadow: 0 0 0 1px var(--gp-blue);
    }

        .gp-opt input:checked + label .gp-ico {
            color: var(--gp-link);
        }

    .gp-opt input:focus-visible + label {
        outline: 2px solid var(--gp-blue);
        outline-offset: 2px;
    }

.gp-result {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: var(--gp-radius);
    background: var(--gp-ink);
    color: var(--gp-ink-text);
    min-height: 100%;
}

.gp-result-kicker {
    font-size: 13px;
    color: var(--gp-ink-muted);
}

.gp-result h3 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5;
}

    .gp-result h3 small {
        display: block;
        direction: ltr;
        text-align: right;
        font-size: 13px;
        font-weight: normal;
        color: var(--gp-ink-muted);
    }

.gp-result-why {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #D5DAE3;
}

    .gp-result-why li {
        display: flex;
        gap: 8px;
        line-height: 1.85;
    }

        .gp-result-why li .gp-ico {
            margin-top: 5px;
            font-size: 15px;
            color: #6CCB5F;
            stroke-width: 2.4;
        }

.gp-result-alt {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--gp-ink-line);
    font-size: 13.5px;
    color: #D5DAE3;
    line-height: 1.9;
}

    .gp-result-alt b {
        color: #FFFFFF;
        font-weight: 500;
    }

.gp-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

    .gp-result-actions .gp-status {
        align-self: center;
    }

.gp-result .gp-status.is-on {
    background: rgba(108, 203, 95, 0.14);
    color: #8EDB83;
}

.gp-result .gp-status.is-soon {
    background: rgba(252, 225, 0, 0.12);
    color: #FCE100;
}

.gp-result[data-swap] {
    animation: gp-swap 0.35s var(--gp-ease);
}

@keyframes gp-swap {
    from {
        opacity: 0.4;
        transform: translateY(6px);
    }
}

/* ---------- How to buy ---------- */

.gp-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: gp-step;
}

    .gp-steps li {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 22px 20px 20px;
        background: var(--gp-card);
        border: 1px solid var(--gp-border);
        border-radius: var(--gp-radius);
        counter-increment: gp-step;
    }

        /* Connector to the next step (RTL: toward the left) */
        .gp-steps li:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 40px;
            left: -17px;
            width: 18px;
            height: 1.5px;
            background: var(--gp-border);
        }

.gp-step-num {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gp-muted);
}

    .gp-step-num::before {
        content: counter(gp-step);
        display: inline-grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 6px;
        background: var(--gp-blue);
        color: #FFFFFF;
        font-size: 16px;
        font-weight: bold;
    }

.gp-steps h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.7;
}

.gp-steps p {
    font-size: 13.5px;
    color: var(--gp-muted);
    line-height: 1.95;
}

.gp-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--gp-amber-soft);
    color: var(--gp-text);
    font-size: 14px;
    line-height: 1.9;
}

    .gp-notice .gp-ico {
        margin-top: 5px;
        font-size: 17px;
        color: var(--gp-amber);
    }

.gp-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 16px;
    border-radius: var(--gp-radius);
    overflow: hidden;
    border: 1px solid var(--gp-border);
    background: var(--gp-border);
}

    .gp-trust > div {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 18px;
        background: var(--gp-card);
        font-size: 13px;
        color: var(--gp-muted);
        line-height: 1.7;
    }

        .gp-trust > div b {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: var(--gp-text);
        }

    .gp-trust .gp-ico {
        font-size: 22px;
        color: var(--gp-link);
    }

/* ---------- FAQ ---------- */

.gp-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 920px;
}

    .gp-faq details {
        background: var(--gp-card);
        border: 1px solid var(--gp-border);
        border-radius: 12px;
        transition: border-color 0.15s ease;
    }

        .gp-faq details[open] {
            border-color: var(--gp-blue);
        }

    .gp-faq summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 16px 20px;
        cursor: pointer;
        list-style: none;
    }

        .gp-faq summary::-webkit-details-marker {
            display: none;
        }

        .gp-faq summary h3 {
            font-size: 15.5px;
            font-weight: 500;
            line-height: 1.8;
        }

        .gp-faq summary .gp-ico {
            font-size: 18px;
            color: var(--gp-muted);
            transition: transform 0.2s ease;
        }

    .gp-faq details[open] summary .gp-ico {
        transform: rotate(180deg);
        color: var(--gp-link);
    }

.gp-faq-body {
    padding: 0 20px 18px;
    font-size: 14.5px;
    color: var(--gp-muted);
    line-height: 2.05;
    max-width: 68em;
}

    .gp-faq-body p + p, .gp-faq-body p + ul, .gp-faq-body ul + p {
        margin-top: 8px;
    }

    .gp-faq-body ul {
        margin: 0;
        padding: 0 20px 0 0;
    }

    .gp-faq-body b {
        color: var(--gp-text);
        font-weight: 500;
    }

    .gp-faq-body a {
        color: var(--gp-link);
    }

/* ---------- Final CTA ---------- */

.gp-final {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-top: 56px;
    padding: 30px 36px;
    border-radius: var(--gp-radius-lg);
    background: var(--gp-card);
    border: 1px solid var(--gp-border);
    position: relative;
    overflow: hidden;
}

    .gp-final::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(90deg, #F25022 0 25%, #7FBA00 25% 50%, #00A4EF 50% 75%, #FFB900 75% 100%);
    }

    .gp-final h2 {
        font-size: 22px;
        font-weight: bold;
        line-height: 1.6;
    }

    .gp-final p {
        margin-top: 6px;
        color: var(--gp-muted);
        font-size: 15px;
    }

.gp-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- Mobile buy bar ---------- */

.gp-buybar {
    display: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
    .gp-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-hero {
        padding: 44px 40px;
    }
}

@media (max-width: 992px) {
    .gp {
        --gp-header-h: 135px;
    }

    .gp.section {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .gp {
        --gp-header-h: 65px;
    }
}

@media (max-width: 1024px) {
    .gp-steps, .gp-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .gp-steps li::after {
            display: none;
        }

    .gp-finder {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 860px) {
    .gp-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 32px 24px 26px;
    }

    /* On narrow screens the board becomes a short strip of four tiles under the text */
    .gp-board {
        order: 2;
        aspect-ratio: auto;
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        grid-template-rows: 52px;
        max-width: none;
        margin: 0;
        gap: 6px;
    }

    .gp-tile, .gp-tile-ult, .gp-tile-pre, .gp-tile-ess, .gp-tile-pc {
        grid-column: auto;
        grid-row: auto;
        padding: 8px 10px;
    }

        .gp-tile strong, .gp-tile-ult strong {
            font-size: 12px;
        }

        .gp-tile small, .gp-tile .gp-tile-icons {
            display: none;
        }

    .gp-tile-pc {
        flex-direction: column;
        align-items: stretch;
    }

    .gp-sphere {
        display: none;
    }

    .gp-tile-ult {
        order: -1;
    }

    .gp-tile-ult strong {
        margin-top: auto;
    }

    .gp-final {
        grid-template-columns: minmax(0, 1fr);
        padding: 26px 22px;
    }

    .gp-scroll-hint {
        display: flex;
    }
}

@media (max-width: 640px) {
    .gp-hero {
        border-radius: var(--gp-radius);
        padding: 22px 18px 18px;
        gap: 20px;
    }

    .gp-hero h1 {
        font-size: 24px;
    }

    .gp-hero-actions {
        margin-top: 20px;
    }

    .gp-hero-facts {
        margin-top: 18px;
        padding-top: 14px;
    }

        .gp-hero-facts li:nth-child(3) {
            display: none;
        }

    /* The table only scrolls sideways; vertical scrolling always belongs to the page */
    .gp-table-scroll {
        overscroll-behavior-x: contain;
    }

    .gp-table thead th {
        padding: 12px 8px;
    }

    /* Plan names again before the store rows, since the header has scrolled away by then */
    .gp-table tr.gp-rehead {
        display: table-row;
    }

    .gp-hero-lead {
        font-size: 14.5px;
    }

    .gp-hero-actions .gp-btn {
        flex: 1 1 100%;
    }

    .gp-hero-facts {
        gap: 6px 16px;
        font-size: 12.5px;
    }

    .gp-section {
        margin-top: 40px;
    }

    .gp-plans, .gp-steps, .gp-trust {
        grid-template-columns: minmax(0, 1fr);
    }

    .gp-card-top {
        min-height: 0;
    }

    .gp-finder-form, .gp-result {
        padding: 18px;
    }

    .gp-opts {
        gap: 6px;
    }

    .gp-opt label {
        min-height: 72px;
        font-size: 12.5px;
        padding: 8px 4px;
    }

    .gp-table tbody th {
        width: 132px;
        font-size: 13px;
    }

    .gp-table {
        min-width: 640px;
        font-size: 13px;
    }

        .gp-table th, .gp-table td {
            padding: 12px 10px;
        }

        .gp-table th:first-child {
            box-shadow: -6px 0 10px -8px rgba(0, 0, 0, 0.25);
        }

    .gp-faq summary {
        padding: 14px 16px;
    }

    .gp-faq-body {
        padding: 0 16px 16px;
        font-size: 14px;
    }

    .gp-final-actions .gp-btn {
        flex: 1 1 100%;
    }

    /* Bottom bar: the one product that can be bought today, shown once the hero has scrolled away */
    .gp-buybar {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 35;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: var(--gp-card);
        border-top: 1px solid var(--gp-border);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
        transform: translateY(110%);
        transition: transform 0.3s var(--gp-ease);
    }

        .gp-buybar.is-shown {
            transform: none;
        }

        .gp-buybar div {
            display: flex;
            flex-direction: column;
            line-height: 1.6;
            min-width: 0;
        }

        .gp-buybar small {
            font-size: 12px;
            color: var(--gp-muted);
        }

        .gp-buybar b {
            font-size: 15px;
            font-variant-numeric: tabular-nums;
        }

        .gp-buybar .gp-btn {
            min-height: 44px;
            padding: 0 16px;
            font-size: 14px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .gp *, .gp *::before, .gp *::after {
        transition: none !important;
        animation: none !important;
    }
}
