/* ==========================================================================
   Pay@ Gateway product pages (PAYSLA-195)
   Solutions Gateway, Pricing, Developer API, WooCommerce, Integrations.
   These pages sit in the main site layout (site header + footer), so every
   rule is scoped to .gw-page to keep it away from style.css and vice versa.
   style.css sets `* { position: relative; z-index: 0 }`, so decorations
   below are positioned explicitly.
   ========================================================================== */

.gw-page {
    --gw-orange-800: #FF5417;
    --gw-orange-600: #FF7442;
    --gw-orange-400: #FF9C66;
    --gw-orange-200: #FFF6F2;
    --gw-blue-800: #001752;
    --gw-blue-600: #0F328C;
    --gw-blue-400: #2A54C0;
    --gw-blue-200: #98CFFF;
    --gw-grey-600: #676C7D;
    --gw-grey-400: #E1E2E5;
    --gw-grey-200: #F3F5F9;
    --gw-white: #FFFFFF;
    --gw-mono: "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    --gw-icon-check: url("../images/gateway-pages/icon-check.svg");
    --gw-icon-clock: url("../images/gateway-pages/icon-clock.svg");
    --gw-icon-arrow: url("../images/gateway-pages/icon-arrow.svg");

    display: block;
    background: var(--gw-grey-200);
    color: var(--gw-blue-800);
    font-family: scandia-web, Poppins, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    overflow-x: clip;
}

.gw-page h1,
.gw-page h2,
.gw-page h3,
.gw-page p,
.gw-page ul,
.gw-page ol {
    margin: 0;
}

.gw-page ul,
.gw-page ol {
    padding: 0;
    list-style: none;
}

.gw-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.gw-page a {
    color: inherit;
}

/* Layout ------------------------------------------------------------------ */
.gw-wrap {
    max-width: 1400px; /* 1280px of content, level with the site header */
    margin-inline: auto;
    padding-inline: 20px;
}

@media (min-width: 900px) {
    .gw-wrap {
        padding-inline: 60px;
    }
}

.gw-section {
    padding-block: 80px;
}

@media (min-width: 900px) {
    .gw-section {
        padding-block: 120px;
    }
}

.gw-bg-white { background: var(--gw-white); }
.gw-bg-grey { background: var(--gw-grey-200); }
.gw-bg-blue { background: var(--gw-blue-600); color: var(--gw-white); }
.gw-bg-orange { background: var(--gw-orange-600); color: var(--gw-white); }

.gw-wrap > *,
.gw-section-inner > * {
    min-width: 0;
}

/* Type -------------------------------------------------------------------- */
.gw-page .gw-h1 {
    font-weight: 700;
    font-size: clamp(38px, 5.5vw, 56px);
    line-height: 1.1;
    letter-spacing: 0;
    text-wrap: balance;
}

.gw-page .gw-h2 {
    font-weight: 700;
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: 0;
    text-wrap: balance;
    max-width: 24em;
}

.gw-page .gw-display {
    font-weight: 700;
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-wrap: balance;
}

.gw-dot {
    color: var(--gw-orange-600);
}

.gw-bg-orange .gw-dot {
    color: inherit;
}

.gw-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--gw-orange-800);
}

.gw-eyebrow::before {
    content: "";
    width: 24px;
    height: 3px;
    background: var(--gw-orange-600);
}

.gw-page .gw-subheading {
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
    color: var(--gw-blue-600);
}

.gw-bg-blue .gw-subheading,
.gw-bg-orange .gw-subheading {
    color: var(--gw-blue-200);
}

.gw-bg-orange .gw-subheading {
    color: var(--gw-white);
}

.gw-intro {
    display: grid;
    gap: 16px;
    max-width: 62ch;
    font-size: 20px;
    line-height: 1.3;
}

.gw-intro p {
    line-height: inherit;
}

.gw-intro ul,
.gw-card-list ul,
.gw-intro ol {
    display: grid;
    gap: 16px;
}

/* Tick lists: any RTE bullet list inside an intro, a column or a card. */
.gw-intro ul li,
.gw-card-list ul li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    font-size: 16px;
    line-height: 1.4;
}

.gw-intro ul li::before,
.gw-card-list ul li::before {
    content: "";
    width: 24px;
    height: 24px;
    background: currentColor;
    color: var(--gw-blue-600);
    -webkit-mask: var(--gw-icon-check) center / contain no-repeat;
    mask: var(--gw-icon-check) center / contain no-repeat;
}

.gw-bg-blue .gw-intro ul li::before,
.gw-bg-orange .gw-intro ul li::before,
.gw-bg-orange .gw-card-list ul li::before {
    color: var(--gw-white);
}

.gw-layout-split .gw-intro ul li,
.gw-layout-columns .gw-card-list ul li {
    font-size: 20px;
    line-height: 1.3;
}

.gw-layout-columns .gw-card-list ul li {
    font-size: 16px;
    line-height: 1.4;
}

.gw-footnote {
    display: grid;
    gap: 8px;
    margin-top: 32px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--gw-grey-600);
}

.gw-bg-blue .gw-footnote,
.gw-bg-orange .gw-footnote {
    color: var(--gw-blue-200);
}

.gw-bg-orange .gw-footnote {
    color: var(--gw-white);
}

.gw-caption {
    font-size: 13px;
    font-weight: 500;
    color: var(--gw-grey-600);
}

/* Buttons ----------------------------------------------------------------- */
.gw-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.gw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 6px 32px;
    border: 2px solid transparent;
    border-radius: 20px;
    font-family: scandia-web, Poppins, Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gw-btn:focus-visible {
    outline: 3px solid var(--gw-blue-200);
    outline-offset: 2px;
}

.gw-page .gw-btn-primary {
    background: var(--gw-blue-600);
    border-color: var(--gw-blue-600);
    color: var(--gw-white);
}

.gw-page .gw-btn-primary:hover {
    background: var(--gw-blue-400);
    border-color: var(--gw-blue-400);
}

.gw-page .gw-btn-outline {
    background: transparent;
    border-color: var(--gw-blue-600);
    color: var(--gw-blue-600);
}

.gw-page .gw-btn-outline:hover {
    background: var(--gw-blue-600);
    color: var(--gw-white);
}

/* Buttons on blue / orange sections and the dark plan card. */
.gw-page .gw-bg-blue .gw-btn-primary,
.gw-page .gw-bg-orange .gw-btn-primary,
.gw-page .gw-card-highlight.gw-card-plan .gw-btn-primary {
    background: var(--gw-white);
    border-color: var(--gw-white);
    color: var(--gw-blue-600);
}

.gw-page .gw-bg-blue .gw-btn-primary:hover,
.gw-page .gw-bg-orange .gw-btn-primary:hover,
.gw-page .gw-card-highlight.gw-card-plan .gw-btn-primary:hover {
    background: var(--gw-grey-200);
    border-color: var(--gw-grey-200);
}

.gw-page .gw-bg-blue .gw-btn-outline,
.gw-page .gw-bg-orange .gw-btn-outline {
    border-color: var(--gw-white);
    color: var(--gw-white);
}

.gw-page .gw-bg-blue .gw-btn-outline:hover,
.gw-page .gw-bg-orange .gw-btn-outline:hover {
    background: var(--gw-white);
    color: var(--gw-blue-600);
}

/* An arrow on the primary button of a closing call to action. */
.gw-btn-arrow::after {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: var(--gw-icon-arrow) center / contain no-repeat;
    mask: var(--gw-icon-arrow) center / contain no-repeat;
}

/* Sub nav (PAYSLA-200) ------------------------------------------------------
   Dark bar under the site header. Mobile: one toggle row that opens a white panel.
   Desktop (900px+): brand, links, dropdowns and the orange button in one row. */
.gw-subnav {
    position: relative;
    z-index: 900; /* under the sticky site header (1000) */
    background: var(--gw-blue-800);
    color: var(--gw-white);
}

.gw-subnav-inner {
    position: relative;
}

.gw-page .gw-subnav-brand {
    flex-shrink: 0;
    text-decoration: none;
}

.gw-page .gw-subnav-brand img {
    display: block;
    width: auto;
    height: 24px;
}

.gw-subnav > .gw-subnav-inner > .gw-subnav-brand {
    display: none;
}

.gw-subnav-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 64px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gw-subnav-section {
    color: var(--gw-blue-200);
    font-size: 18px;
}

.gw-subnav-chevron {
    flex: none;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s;
}

[aria-expanded="true"] > .gw-subnav-chevron {
    transform: translateY(2px) rotate(-135deg);
}

.gw-subnav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 20px 24px;
    background: var(--gw-white);
    color: var(--gw-blue-800);
    box-shadow: 0 16px 24px rgba(0, 23, 82, 0.12);
}

.gw-subnav-toggle[aria-expanded="true"] + .gw-subnav-panel {
    display: block;
}

.gw-page .gw-subnav-item > a,
.gw-subnav-dropdown-toggle {
    display: block;
    padding: 12px 0;
    border: 0;
    background: none;
    color: var(--gw-blue-800);
    font: inherit;
    font-weight: 500;
    font-size: 20px;
    text-decoration: none;
}

/* On mobile the dropdowns are always open, as indented lists under their heading. */
.gw-subnav-dropdown-toggle {
    width: 100%;
    text-align: left;
    color: var(--gw-blue-600);
    pointer-events: none;
}

.gw-subnav-dropdown-toggle .gw-subnav-chevron,
.gw-subnav-description,
.gw-subnav-dropdown-extra {
    display: none;
}

.gw-subnav-dropdown li {
    border-left: 3px solid var(--gw-grey-400);
}

.gw-subnav-dropdown li.is-active {
    border-left-color: var(--gw-orange-600);
    background: var(--gw-grey-200);
}

.gw-page .gw-subnav-dropdown a {
    display: block;
    padding: 12px 24px;
    color: var(--gw-blue-800);
    font-size: 18px;
    text-decoration: none;
}

.gw-page .gw-subnav-dropdown strong {
    font-weight: 400;
}

.gw-page .gw-subnav-dropdown .is-active strong {
    font-weight: 700;
}

.gw-page .gw-subnav-button {
    width: 100%;
    margin-top: 16px;
    /* Scandia caps sit high in their line box; 2px more on top centres them. */
    padding-top: 8px;
    padding-bottom: 4px;
    background: var(--gw-orange-600);
    border-color: var(--gw-orange-600);
    color: var(--gw-blue-800);
    text-decoration: none;
}

.gw-page .gw-subnav-button:hover {
    background: var(--gw-orange-400);
    border-color: var(--gw-orange-400);
}

@media (min-width: 900px) {
    .gw-subnav-inner {
        display: flex;
        align-items: center;
        gap: 40px;
        min-height: 64px;
    }

    .gw-subnav > .gw-subnav-inner > .gw-subnav-brand {
        display: block;
    }

    .gw-subnav-toggle {
        display: none;
    }

    .gw-subnav-panel,
    .gw-subnav-toggle[aria-expanded="true"] + .gw-subnav-panel {
        display: flex;
        align-items: center;
        flex: 1;
        position: static;
        padding: 0;
        background: none;
        color: inherit;
        box-shadow: none;
    }

    .gw-subnav-menu {
        display: flex;
        align-self: stretch;
        gap: 4px;
    }

    .gw-subnav-item {
        position: relative;
        display: flex;
    }

    .gw-page .gw-subnav-item > a,
    .gw-subnav-dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        width: auto;
        padding: 0 16px;
        border-bottom: 3px solid transparent;
        border-top: 3px solid transparent;
        color: var(--gw-white);
        font-size: 16px;
        pointer-events: auto;
        cursor: pointer;
    }

    .gw-page .gw-subnav-item > a:hover,
    .gw-subnav-dropdown-toggle:hover {
        color: var(--gw-blue-200);
    }

    .gw-page .gw-subnav-item.is-active > a,
    .gw-subnav-item.is-active > .gw-subnav-dropdown-toggle {
        border-bottom-color: var(--gw-orange-600);
    }

    .gw-subnav-dropdown-toggle[aria-expanded="true"] {
        background: var(--gw-blue-600);
    }

    .gw-subnav-dropdown-toggle .gw-subnav-chevron {
        display: block;
        width: 6px;
        height: 6px;
        margin-left: 0;
        border-width: 1.5px;
    }

    .gw-subnav-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 280px;
        margin-top: 4px;
        padding: 8px;
        border-radius: 8px;
        background: var(--gw-white);
        box-shadow: 0 12px 32px rgba(0, 23, 82, 0.18);
    }

    .gw-subnav-dropdown-toggle[aria-expanded="true"] + .gw-subnav-dropdown {
        display: block;
    }

    .gw-subnav-dropdown li,
    .gw-subnav-dropdown li.is-active {
        border-left: 0;
        background: none;
    }

    .gw-page .gw-subnav-dropdown a {
        padding: 10px 12px;
        border-radius: 6px;
        font-size: 16px;
    }

    .gw-page .gw-subnav-dropdown a:hover,
    .gw-page .gw-subnav-dropdown .is-active a {
        background: var(--gw-grey-200);
    }

    .gw-page .gw-subnav-dropdown strong {
        display: block;
        font-weight: 700;
    }

    .gw-subnav-description {
        display: block;
        margin-top: 2px;
        color: var(--gw-grey-600);
        font-size: 14px;
    }

    .gw-subnav-description p {
        margin: 0;
    }

    .gw-subnav-dropdown-extra {
        display: block;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--gw-grey-400);
    }

    .gw-page .gw-subnav-dropdown-extra a {
        color: var(--gw-blue-600);
        font-weight: 700;
        font-size: 14px;
    }

    .gw-page .gw-subnav-button {
        width: auto;
        min-height: 40px;
        margin: 0 0 0 auto;
        padding: 8px 24px 4px;
        border-radius: 8px;
    }
}

/* Breadcrumb -------------------------------------------------------------- */
.gw-breadcrumb {
    padding-top: 24px;
}

.gw-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.4px;
    color: var(--gw-blue-800);
}

.gw-breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--gw-grey-600);
}

.gw-page .gw-breadcrumb a {
    color: var(--gw-blue-600);
    text-decoration: none;
}

.gw-page .gw-breadcrumb a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* Hero -------------------------------------------------------------------- */
.gw-hero {
    padding-block: 48px 80px;
}

.gw-hero-inner {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .gw-hero {
        padding-block: 80px 120px;
    }

    .gw-hero-inner {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        gap: 80px;
    }
}

.gw-hero-copy {
    display: grid;
    gap: 24px;
    justify-items: start;
}

.gw-hero-copy .gw-h1 {
    margin-top: 8px;
}

.gw-hero-copy .gw-eyebrow + .gw-h1 {
    margin-top: 0;
}

/* Decorative art: an orange disc with grey bars behind the image. */
.gw-hero-art {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.gw-hero-art::before,
.gw-hero-art::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.gw-hero-art::before {
    top: -8%;
    right: -12%;
    width: 70%;
    height: 60%;
    opacity: 0.9;
    background: repeating-linear-gradient(90deg, transparent 0 4px, var(--gw-grey-400) 4px 14px, transparent 14px 28px);
    z-index: 0;
}

.gw-hero-art:not(.gw-hero-art-disc)::after {
    display: none;
}

.gw-hero-art-disc img {
    max-width: 80%;
    max-height: 78%;
    filter: drop-shadow(0 24px 24px rgba(0, 23, 82, 0.22));
}

.gw-hero-art::after {
    top: 8%;
    left: 0;
    width: 92%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--gw-orange-600);
    z-index: 1;
}

.gw-hero-art img {
    z-index: 2;
    max-width: 96%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Rate card (Pricing hero) */
.gw-rate-card {
    width: 100%;
    max-width: 520px;
    justify-self: end;
    display: grid;
    gap: 20px;
    padding: 32px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gw-blue-800);
    color: var(--gw-white);
}

.gw-rate-card::before {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 45%;
    height: 40%;
    opacity: 0.5;
    background: repeating-linear-gradient(90deg, transparent 0 4px, var(--gw-blue-400) 4px 14px, transparent 14px 28px);
    pointer-events: none;
}

.gw-rate-card-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--gw-blue-200);
}

.gw-rate-card li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-block: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.gw-rate-card li:first-child {
    border-top: 0;
}

.gw-rate-card li span:first-child {
    font-weight: 500;
    font-size: 16px;
    min-width: 0;
}

.gw-rate-card li span:last-child {
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.gw-rate-card small,
.gw-card-value small {
    font-size: 0.55em;
    font-weight: 700;
}

.gw-rate-card-note {
    font-size: 13px;
    color: var(--gw-blue-200);
}

/* Stats band (reuses the Gateway proof strip block) ----------------------- */
.gw-page .gateway-proof {
    background: var(--gw-white);
    border-block: 1px solid var(--gw-grey-400);
}

.gw-page .gateway-proof-grid {
    max-width: 1400px;
    display: grid;
    gap: 32px;
    padding-block: 40px;
    padding-inline: 20px;
}

@media (min-width: 700px) {
    .gw-page .gateway-proof-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 48px;
    }
}

@media (min-width: 900px) {
    .gw-page .gateway-proof-grid {
        padding-inline: 60px;
    }
}

.gw-page .gateway-proof-grid > div {
    display: grid;
    gap: 4px;
    align-content: start;
}

.gw-page .gateway-proof-grid strong {
    font-weight: 700;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.1;
    color: var(--gw-blue-600);
    font-variant-numeric: tabular-nums;
}

.gw-page .gateway-proof-grid strong.gateway-proof-long {
    font-size: clamp(26px, 2.6vw, 34px);
}

.gw-page .gateway-proof-grid span {
    font-size: 16px;
    font-weight: 500;
    color: var(--gw-grey-600);
}

.gw-page .gateway-proof-note {
    grid-column: 1 / -1;
    margin-top: -16px;
    font-size: 13px;
    color: var(--gw-grey-600);
}

/* Section heading --------------------------------------------------------- */
.gw-head {
    display: grid;
    gap: 20px;
    justify-items: start;
    margin-bottom: 48px;
}

.gw-head:last-child {
    margin-bottom: 0;
}

/* Cards ------------------------------------------------------------------- */
.gw-cards {
    display: grid;
    gap: 20px;
}

@media (min-width: 640px) {
    .gw-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .gw-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gw-cards.gw-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .gw-cards.gw-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.gw-card {
    display: grid;
    gap: 12px;
    align-content: start;
    min-width: 0;
    padding: 32px;
    border-radius: 16px;
    background: var(--gw-grey-200);
}

.gw-bg-grey .gw-card {
    background: var(--gw-white);
}

.gw-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.gw-card-icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gw-white);
    color: var(--gw-blue-600);
}

.gw-bg-grey .gw-card-icon {
    background: var(--gw-grey-200);
}

.gw-card-icon i {
    width: 28px;
    height: 28px;
    background: currentColor;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
}

.gw-card-value {
    font-weight: 700;
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: var(--gw-blue-600);
}

.gw-page .gw-card-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: var(--gw-blue-800);
}

.gw-card-title small {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gw-grey-600);
}

.gw-card-text {
    display: grid;
    gap: 12px;
}

.gw-card-text p {
    line-height: 1.3;
}

.gw-card-caption {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--gw-grey-600);
}

.gw-card-cta {
    display: grid;
    gap: 12px;
    justify-items: start;
    margin-top: auto;
}

.gw-card-cta .gw-card-caption {
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
}

.gw-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: var(--gw-orange-200);
    color: var(--gw-orange-800);
    justify-self: start;
}

.gw-pill-live {
    background: var(--gw-blue-600);
    color: var(--gw-white);
}

/* Highlighted card: blue with an orange icon (Pay in Cash). */
.gw-card-highlight {
    background: var(--gw-blue-600) !important;
    color: var(--gw-white);
}

.gw-page .gw-card-highlight .gw-card-title,
.gw-card-highlight .gw-card-value {
    color: var(--gw-white);
}

.gw-card-highlight .gw-card-caption {
    color: var(--gw-blue-200);
}

.gw-card-highlight .gw-card-icon {
    background: var(--gw-orange-600) !important;
    color: var(--gw-white);
}

/* Layout: Columns (two plain tick-list columns, e.g. "Pay in cash") ------- */
.gw-layout-columns .gw-cards {
    gap: 40px;
}

@media (min-width: 900px) {
    .gw-layout-columns .gw-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 80px;
    }
}

.gw-layout-columns .gw-card {
    padding: 0;
    gap: 24px;
    background: none !important;
}

.gw-page .gw-layout-columns .gw-card-title {
    font-size: 26px;
    color: inherit;
}

/* Layout: Figures (big numbers on blue, e.g. the pricing strip) ----------- */
.gw-layout-figures .gw-cards {
    gap: 32px;
}

@media (min-width: 800px) {
    .gw-layout-figures .gw-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 48px;
    }
}

.gw-layout-figures .gw-card {
    gap: 8px;
    padding: 20px 0 0;
    border-radius: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.35);
    background: none !important;
}

.gw-layout-figures .gw-card-value {
    font-size: clamp(44px, 5.5vw, 72px);
    letter-spacing: -0.5px;
    white-space: normal;
    color: inherit;
}

.gw-layout-figures .gw-card-value small {
    font-size: 0.5em;
}

.gw-page .gw-layout-figures .gw-card-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--gw-blue-200);
}

.gw-section-cta {
    display: grid;
    gap: 20px;
    justify-items: start;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.35);
}

.gw-bg-white .gw-section-cta,
.gw-bg-grey .gw-section-cta {
    border-top-color: var(--gw-grey-400);
}

@media (min-width: 900px) {
    .gw-section-cta {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 48px;
    }
}

/* Decorative bars on the blue figures section. */
.gw-layout-figures {
    overflow: hidden;
}

.gw-layout-figures::before {
    content: "";
    position: absolute;
    left: -20px;
    bottom: -20px;
    width: min(420px, 50vw);
    height: 220px;
    opacity: 0.6;
    background: repeating-linear-gradient(90deg, transparent 0 4px, var(--gw-blue-400) 4px 14px, transparent 14px 28px);
    pointer-events: none;
}

/* Dots on the orange columns section. */
.gw-bg-orange.gw-layout-columns {
    overflow: hidden;
}

@media (min-width: 1000px) {
    .gw-bg-orange.gw-layout-columns::before {
        content: "";
        position: absolute;
        top: -16px;
        right: -24px;
        width: min(440px, 34vw);
        height: 200px;
        opacity: 0.55;
        background: radial-gradient(circle at 8px 8px, var(--gw-orange-800) 5px, transparent 5.5px) 0 0 / 32px 32px;
        pointer-events: none;
    }
}

/* Layout: Split (copy on the left, a panel of cards on the right) --------- */
.gw-layout-split .gw-section-inner {
    display: grid;
    gap: 48px;
    align-items: start;
}

@media (min-width: 900px) {
    .gw-layout-split .gw-section-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 80px;
    }
}

.gw-layout-split .gw-head {
    gap: 24px;
    margin-bottom: 0;
}

.gw-split-panel {
    display: grid;
    gap: 32px;
    padding: 40px;
    border-radius: 16px;
    background: var(--gw-white);
}

@media (max-width: 599px) {
    .gw-split-panel {
        padding: 24px;
    }
}

.gw-split-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--gw-blue-600);
}

.gw-split-panel .gw-cards {
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .gw-split-panel .gw-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.gw-split-panel .gw-card {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--gw-grey-400);
    background: none !important;
}

.gw-split-panel .gw-card-icon {
    width: 40px;
    height: 40px;
    background: none !important;
}

.gw-split-panel .gw-card-icon i {
    width: 40px;
    height: 40px;
}

.gw-split-panel .gw-card-caption {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

/* Layout: Steps (numbered install steps) ---------------------------------- */
.gw-layout-steps .gw-section-inner {
    display: grid;
    gap: 48px;
    align-items: start;
}

@media (min-width: 1000px) {
    .gw-layout-steps .gw-section-inner {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 80px;
    }

    .gw-layout-steps .gw-head {
        position: sticky;
        top: 140px;
    }
}

.gw-layout-steps .gw-head {
    margin-bottom: 0;
}

.gw-layout-steps .gw-cards {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0;
    counter-reset: gw-step;
}

.gw-layout-steps .gw-card {
    grid-template-columns: 48px 1fr;
    column-gap: 20px;
    row-gap: 12px;
    padding: 0 0 40px;
    border-radius: 0;
    background: none !important;
    counter-increment: gw-step;
}

.gw-layout-steps .gw-card:last-child {
    padding-bottom: 0;
}

.gw-layout-steps .gw-card::before {
    content: counter(gw-step);
    grid-row: 1 / span 4;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gw-orange-600);
    color: var(--gw-white);
    font-weight: 700;
    font-size: 20px;
    z-index: 1;
}

.gw-layout-steps .gw-card::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: var(--gw-grey-400);
}

.gw-layout-steps .gw-card:last-child::after {
    display: none;
}

.gw-layout-steps .gw-card > * {
    grid-column: 2;
}

.gw-page .gw-layout-steps .gw-card-title {
    padding-top: 10px;
    font-size: 26px;
}

.gw-layout-steps .gw-card-caption {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gw-blue-600);
}

.gw-layout-steps .gw-card-caption::before {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: var(--gw-icon-clock) center / contain no-repeat;
    mask: var(--gw-icon-clock) center / contain no-repeat;
}

/* Layout: Plans (Starter / Enterprise) ------------------------------------ */
.gw-layout-plans .gw-cards {
    gap: 24px;
}

@media (min-width: 900px) {
    .gw-layout-plans .gw-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 32px;
    }
}

.gw-card-plan {
    grid-template-rows: auto auto 1fr auto;
    align-content: stretch;
    gap: 24px;
    padding: 40px;
    border: 1px solid var(--gw-grey-400);
    background: var(--gw-white) !important;
}

@media (max-width: 599px) {
    .gw-card-plan {
        padding: 28px;
    }
}

.gw-page .gw-card-plan .gw-card-title {
    font-size: 34px;
    line-height: 1.1;
}

.gw-card-plan .gw-card-title small {
    margin-top: 8px;
}

.gw-card-banner {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: var(--gw-orange-600);
    color: var(--gw-white);
}

.gw-card-rates,
.gw-card-plan .gw-card-text {
    display: grid;
    gap: 8px;
    padding-block: 20px;
    border-block: 1px solid var(--gw-grey-400);
}

.gw-card-rates li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.gw-card-rates li span:last-child {
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: var(--gw-blue-600);
}

/* Bespoke rates text on the Enterprise plan sits where the rates go. */
.gw-card-plan .gw-card-text p:first-child {
    font-weight: 700;
    font-size: 34px;
    line-height: 1.1;
}

.gw-card-plan .gw-card-text p + p {
    font-weight: 500;
    color: var(--gw-grey-600);
}

.gw-card-plan.gw-card-highlight {
    background: var(--gw-blue-800) !important;
    border-color: var(--gw-blue-800);
}

.gw-card-plan.gw-card-highlight .gw-card-title small,
.gw-card-plan.gw-card-highlight .gw-card-text p + p,
.gw-card-plan.gw-card-highlight .gw-card-cta .gw-card-caption {
    color: var(--gw-blue-200);
}

.gw-card-plan.gw-card-highlight .gw-card-text,
.gw-card-plan.gw-card-highlight .gw-card-rates {
    border-color: rgba(255, 255, 255, 0.2);
}

.gw-card-plan.gw-card-highlight .gw-card-list ul li::before {
    color: var(--gw-orange-600);
}

.gw-layout-plans .gw-footnote {
    font-size: 16px;
    font-weight: 500;
}

/* Integration cards: a little larger than feature cards. */
.gw-cols-2 .gw-card:not(.gw-card-plan) {
    gap: 24px;
    padding: 40px;
    grid-template-rows: auto auto auto 1fr auto;
}

@media (max-width: 599px) {
    .gw-cols-2 .gw-card:not(.gw-card-plan) {
        padding: 28px;
    }
}

.gw-page .gw-cols-2 .gw-card:not(.gw-card-plan) .gw-card-title {
    font-size: 30px;
    line-height: 1.1;
}

.gw-cols-2 .gw-card-icon {
    width: 56px;
    height: 56px;
}

.gw-cols-2 .gw-card-icon i {
    width: 32px;
    height: 32px;
}

/* Cards on a blue section: outlined "coming soon" tiles. */
.gw-bg-blue.gw-layout-cards .gw-card {
    gap: 16px;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.gw-page .gw-bg-blue.gw-layout-cards .gw-card-title {
    font-size: 26px;
    color: var(--gw-white);
}

.gw-bg-blue .gw-pill {
    background: var(--gw-white);
}

.gw-bg-blue .gw-pill-live {
    background: var(--gw-orange-600);
    color: var(--gw-white);
}

/* Code samples ------------------------------------------------------------ */
.gw-code-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 900px) {
    .gw-code-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

.gw-code {
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--gw-blue-800);
    color: var(--gw-white);
    font-family: var(--gw-mono);
    font-size: 13px;
    line-height: 1.55;
}

.gw-code-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.06);
    font-family: scandia-web, Poppins, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--gw-blue-200);
}

.gw-code-bar i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gw-grey-600);
}

.gw-code-bar span {
    margin-left: auto;
}

.gw-code-bar b {
    font-family: inherit;
    color: var(--gw-orange-600);
}

.gw-code pre {
    margin: 0;
    padding: 16px 20px 20px;
    overflow-x: auto;
    white-space: pre;
    font-family: inherit;
}

.gw-code .k { color: var(--gw-blue-200); }
.gw-code .s { color: var(--gw-white); }
.gw-code .n { color: var(--gw-orange-400); }

/* FAQ (reuses the Gateway FAQ block) -------------------------------------- */
.gw-page .gateway-faq {
    padding-block: 80px;
    background: var(--gw-grey-200);
}

@media (min-width: 900px) {
    .gw-page .gateway-faq {
        padding-block: 120px;
    }
}

.gw-page .gateway-faq-inner {
    display: grid;
    gap: 48px;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 20px;
}

@media (min-width: 900px) {
    .gw-page .gateway-faq-inner {
        padding-inline: 60px;
    }
}


.gw-page .gateway-faq h2 {
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1.1;
}

.gw-page .gateway-faq .faq-group {
    display: grid;
    gap: 12px;
}

.gw-page .gateway-faq .faq-group h3 {
    margin-bottom: 12px;
    font-size: 26px;
    line-height: 1.2;
}

.gw-page .gateway-faq details {
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--gw-white);
}

.gw-page .gateway-faq details[open] {
    border-color: var(--gw-grey-400);
}

.gw-page .gateway-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: var(--gw-blue-600);
}

.gw-page .gateway-faq summary::-webkit-details-marker {
    display: none;
}

.gw-page .gateway-faq summary:focus-visible {
    outline: 3px solid var(--gw-blue-200);
    outline-offset: -3px;
}

.gw-page .gateway-faq summary::after {
    content: "+";
    flex: none;
    font-size: 24px;
    font-weight: 400;
    line-height: 16px;
    color: var(--gw-blue-200);
}

.gw-page .gateway-faq details[open] summary::after {
    content: "\2212";
}

.gw-page .gateway-faq details > :not(summary) {
    max-width: 70ch;
    padding: 0 24px 24px;
    line-height: 1.4;
}

.gw-page .gateway-faq details > p + p {
    margin-top: -12px;
}

/* Closing call to action -------------------------------------------------- */
.gw-closing {
    overflow: hidden;
}

.gw-closing .gw-wrap {
    display: grid;
    gap: 32px;
    justify-items: start;
}

.gw-closing-chevrons {
    position: absolute;
    top: 50%;
    right: -10px;
    width: min(360px, 40vw);
    transform: translateY(-50%);
    color: var(--gw-orange-200);
    pointer-events: none;
    z-index: 0;
}

.gw-closing .gw-wrap > * {
    z-index: 1;
}

.gw-closing .gw-intro p + p {
    font-size: 13px;
    color: var(--gw-grey-600);
}

@media (prefers-reduced-motion: reduce) {
    .gw-btn {
        transition: none;
    }
}
