.api-product-page {
    color: var(--landing-ink);
    background: #fff;
}

.api-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 92px;
    background:
        radial-gradient(circle at 12% 15%, rgba(168, 250, 0, .15), transparent 28%),
        radial-gradient(circle at 88% 20%, rgba(34, 128, 255, .13), transparent 28%),
        linear-gradient(180deg, #fff, #f8fbff);
}

.api-hero::after {
    position: absolute;
    right: -100px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border: 55px solid rgba(168, 250, 0, .12);
    border-radius: 50%;
    content: "";
}

.api-hero .landing-container {
    position: relative;
    z-index: 1;
}

.api-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #376087;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.api-eyebrow i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--landing-lime);
    box-shadow: 0 0 0 5px rgba(168, 250, 0, .17);
}

.api-hero h1 {
    max-width: 720px;
    margin: 24px 0 25px;
    color: var(--landing-ink);
    background: none;
    font-family: "Mulish", Arial, sans-serif;
    font-size: clamp(50px, 4.5vw, 72px);
    font-weight: 1000;
    font-style: italic;
    letter-spacing: -.055em;
    line-height: .98;
    white-space: nowrap;
}

.api-hero h1 span {
    display: inline-block;
    width: max-content;
    max-width: 100%;
    margin-top: 14px;
    padding: 7px 15px 12px;
    border-radius: 15px;
    color: var(--landing-ink);
    background: var(--landing-lime);
    transform: rotate(-1deg);
}

.api-hero .col-lg-6 > p {
    max-width: 650px;
    margin: 0;
    color: #38567f;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
}

.api-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
}

.api-primary-button {
    display: inline-flex;
    min-width: 220px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border: 0;
    border-radius: 14px;
    color: #071329;
    background: linear-gradient(105deg, #9df700, #b7ff13);
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 14px 35px rgba(137, 216, 0, .2);
}

.api-primary-button:hover {
    color: #fff;
    background: var(--landing-blue);
    transform: translateY(-1px);
}

.api-primary-button span {
    font-size: 24px;
    line-height: 1;
}

.api-secondary-link {
    color: #244a7a;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.api-secondary-link:hover {
    color: var(--landing-blue);
}

.api-secondary-link span {
    margin-left: 7px;
}

.api-hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.api-hero-notes span {
    padding: 6px 10px;
    border: 1px solid #dce7f4;
    border-radius: 999px;
    color: #5d7595;
    background: rgba(255, 255, 255, .8);
    font-size: 10px;
    font-weight: 800;
}

.api-code-window {
    overflow: hidden;
    border: 1px solid rgba(142, 178, 220, .25);
    border-radius: 25px;
    background: #061328;
    box-shadow: 0 32px 85px rgba(13, 44, 82, .22);
    transform: rotate(1.2deg);
}

.api-code-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 19px;
    border-bottom: 1px solid rgba(178, 206, 240, .14);
    color: #9fb1ca;
    font-size: 11px;
}

.api-code-toolbar > div {
    display: flex;
    gap: 6px;
}

.api-code-toolbar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #50627b;
}

.api-code-toolbar i:first-child {
    background: #ff6380;
}

.api-code-toolbar i:nth-child(2) {
    background: #ffc85a;
}

.api-code-toolbar i:last-child {
    background: var(--landing-lime);
}

.api-code-toolbar b,
.api-method,
.api-conversion-endpoint span {
    padding: 5px 9px;
    border-radius: 7px;
    color: #102300;
    background: var(--landing-lime);
    font-size: 10px;
    font-weight: 950;
}

.api-code-window pre,
.api-example-card pre,
.api-response-card pre {
    margin: 0;
    white-space: pre-wrap;
}

.api-code-window code,
.api-example-card code {
    color: #d9e9ff;
    font-size: 12px;
    line-height: 1.72;
}

.api-code-window > pre {
    min-height: 310px;
    padding: 24px;
}

.api-code-response {
    padding: 17px 22px 21px;
    border-top: 1px solid rgba(178, 206, 240, .14);
    background: rgba(255, 255, 255, .035);
}

.api-code-response > span {
    display: block;
    margin-bottom: 9px;
    color: #80a2c8;
    font-size: 9px;
    text-transform: uppercase;
}

.api-code-response code {
    color: #a8fa00;
}

.api-value-strip {
    border-top: 1px solid #dfebf7;
    border-bottom: 1px solid #dfebf7;
    background: #fff;
}

.api-value-strip .landing-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.api-value-strip .landing-container > div {
    padding: 24px clamp(12px, 2vw, 28px);
    border-right: 1px solid #dfebf7;
}

.api-value-strip .landing-container > div:first-child {
    border-left: 1px solid #dfebf7;
}

.api-value-strip strong,
.api-value-strip span {
    display: block;
}

.api-value-strip strong {
    font-size: 15px;
    font-weight: 950;
}

.api-value-strip span {
    margin-top: 3px;
    color: #7386a1;
    font-size: 10px;
}

.api-scenarios,
.api-docs,
.api-conversions,
.api-final-cta {
    padding: 100px 0;
}

.api-section-heading {
    margin-bottom: 42px;
}

.api-section-heading h2,
.api-conversions h2 {
    margin: 14px 0 0;
    font-size: clamp(38px, 5vw, 63px);
    font-weight: 950;
    letter-spacing: -3px;
    line-height: 1;
}

.api-section-heading p,
.api-conversions p {
    margin: 0;
    color: #617899;
    font-size: 14px;
    line-height: 1.65;
}

.api-scenario-card {
    position: relative;
    min-height: 315px;
    overflow: hidden;
    padding: 26px;
    border: 1px solid #dce7f5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(38, 77, 122, .06);
}

.api-scenario-card::after {
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 145px;
    height: 145px;
    border: 25px solid var(--card-soft, #e8ffc1);
    border-radius: 50%;
    content: "";
}

.api-scenario-card.tone-lime {
    --card-soft: #e8ffc1;
    background: linear-gradient(145deg, #f8ffec, #fff 75%);
}

.api-scenario-card.tone-blue {
    --card-soft: #dcecff;
}

.api-scenario-card.tone-violet {
    --card-soft: #e9e2ff;
}

.api-scenario-card.tone-yellow {
    --card-soft: #fff0c4;
}

.api-card-number {
    position: absolute;
    top: 26px;
    right: 26px;
    color: #9aaac0;
    font-size: 10px;
    font-weight: 900;
}

.api-card-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 16px;
    background: var(--card-soft, #e8ffc1);
    font-family: monospace;
    font-size: 24px;
    font-weight: 900;
}

.api-scenario-card h3,
.api-steps h3 {
    position: relative;
    z-index: 1;
    margin: 36px 0 12px;
    font-size: 23px;
    font-weight: 950;
}

.api-scenario-card p,
.api-steps p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #617797;
    font-size: 13px;
    line-height: 1.65;
}

.api-quick-start {
    padding: 95px 0;
    background: #f5f9fe;
}

.api-quick-start .api-section-heading {
    max-width: 820px;
}

.api-steps article {
    height: 100%;
    min-height: 225px;
    padding: 28px;
    border: 1px solid #dbe7f5;
    border-radius: 21px;
    background: #fff;
}

.api-steps article > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: var(--landing-lime);
    font-size: 15px;
    font-weight: 950;
}

.api-steps h3 {
    margin-top: 30px;
}

.api-access-note {
    margin: 25px 0 0;
    color: #617899;
    text-align: center;
    font-size: 12px;
}

.api-access-note code {
    color: var(--landing-blue);
}

.api-docs {
    background:
        radial-gradient(circle at 95% 20%, rgba(214, 237, 255, .65), transparent 25%),
        #fff;
}

.api-endpoint-card {
    overflow: hidden;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #d9e6f5;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(29, 68, 113, .08);
}

.api-endpoint-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e3ecf6;
}

.api-endpoint-heading > code {
    color: #163a67;
    font-size: clamp(13px, 2vw, 18px);
}

.api-auth-line {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 24px 0 34px;
    padding: 15px 18px;
    border-radius: 13px;
    background: #f3f8ff;
}

.api-auth-line span {
    color: #7287a4;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.api-auth-line code {
    color: var(--landing-blue);
    font-size: 12px;
}

.api-endpoint-card h3,
.api-response-card h3 {
    margin: 0 0 17px;
    font-size: 20px;
    font-weight: 950;
}

.api-params-table {
    min-width: 800px;
    color: #3f587a;
    font-size: 12px;
}

.api-params-table th {
    padding: 13px 12px;
    border-color: #dfe9f5;
    color: #7a8ca5;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.api-params-table td {
    padding: 15px 12px;
    border-color: #e7eef7;
}

.api-params-table td:first-child code {
    color: var(--landing-blue);
    font-weight: 850;
}

.api-required {
    padding: 4px 7px;
    border-radius: 7px;
    color: #214000;
    background: #dcff9a;
    font-size: 9px;
    font-weight: 900;
}

.api-example-card,
.api-response-card {
    overflow: hidden;
    padding: 27px;
    border-radius: 22px;
}

.api-example-dark {
    background: #061328;
    box-shadow: 0 20px 55px rgba(13, 44, 82, .16);
}

.api-example-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(178, 206, 240, .14);
    color: #cbdcf1;
    font-size: 12px;
    font-weight: 800;
}

.api-example-title small {
    color: #7f99b8;
    font-size: 9px;
    text-transform: uppercase;
}

.api-response-card {
    border: 1px solid #dce9d1;
    background: linear-gradient(145deg, #f6ffed, #fff);
}

.api-response-icon {
    display: grid;
    width: 45px;
    height: 45px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 13px;
    background: var(--landing-lime);
    font-weight: 950;
}

.api-response-card p {
    color: #617797;
    font-size: 13px;
    line-height: 1.65;
}

.api-response-card pre {
    margin-top: 20px;
    padding: 16px;
    border-radius: 13px;
    background: #eef9e5;
}

.api-response-card code {
    color: #315d19;
    font-size: 11px;
}

.api-conversions {
    background: #f5f9fe;
}

.api-conversions h2 {
    margin-bottom: 22px;
}

.api-conversion-endpoint {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 18px;
    padding: 11px 14px;
    border: 1px solid #d9e6f5;
    border-radius: 12px;
    background: #fff;
}

.api-conversion-endpoint code {
    color: #21466f;
    font-size: 12px;
}

.api-conversion-note {
    font-size: 11px !important;
}

.api-final-cta {
    background: #fff;
}

.api-cta-card {
    position: relative;
    display: flex;
    min-height: 350px;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(35px, 6vw, 75px);
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(168, 250, 0, .18), transparent 26%),
        linear-gradient(135deg, #020c27, #062852);
    box-shadow: 0 25px 70px rgba(19, 48, 88, .17);
}

.api-cta-card::after {
    position: absolute;
    right: -90px;
    bottom: -150px;
    width: 340px;
    height: 340px;
    border: 50px solid rgba(168, 250, 0, .18);
    border-radius: 50%;
    content: "";
}

.api-cta-card > * {
    position: relative;
    z-index: 1;
}

.api-cta-card .api-eyebrow {
    color: #c5d5ea;
}

.api-cta-card h2 {
    margin: 18px 0 14px;
    font-family: Arial Black, Arial, sans-serif;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 950;
    font-style: italic;
    letter-spacing: -4px;
    line-height: .95;
}

.api-cta-card h2 span {
    color: var(--landing-lime);
}

.api-cta-card p {
    margin: 0;
    color: #bfcfe4;
    font-size: 14px;
}

.api-cta-card > .api-primary-button {
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .api-hero {
        padding: 52px 0 72px;
    }

    .api-code-window {
        max-width: 760px;
        margin: 10px auto 0;
        transform: none;
    }

    .api-value-strip .landing-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .api-value-strip .landing-container > div:nth-child(n+3) {
        border-top: 1px solid #dfebf7;
    }

    .api-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .api-hero {
        padding: 30px 0 54px;
    }

    .api-hero::after {
        display: none;
    }

    .api-hero h1 {
        margin-top: 19px;
        font-size: clamp(34px, 10.7vw, 44px);
        letter-spacing: -.055em;
    }

    .api-hero h1 span {
        padding: 5px 9px 8px;
        border-radius: 11px;
    }

    .api-hero .col-lg-6 > p {
        font-size: 16px;
    }

    .api-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        margin-top: 26px;
    }

    .api-secondary-link {
        text-align: center;
    }

    .api-code-window > pre {
        min-height: 0;
        padding: 18px;
    }

    .api-code-window code,
    .api-example-card code {
        font-size: 10px;
    }

    .api-code-toolbar > span {
        display: none;
    }

    .api-value-strip .landing-container {
        grid-template-columns: 1fr;
    }

    .api-value-strip .landing-container > div {
        border-left: 1px solid #dfebf7;
        border-top: 1px solid #dfebf7;
    }

    .api-value-strip .landing-container > div:first-child {
        border-top: 0;
    }

    .api-scenarios,
    .api-docs,
    .api-conversions,
    .api-final-cta,
    .api-quick-start {
        padding: 65px 0;
    }

    .api-section-heading {
        margin-bottom: 28px;
    }

    .api-section-heading h2,
    .api-conversions h2 {
        font-size: 38px;
        letter-spacing: -2px;
    }

    .api-scenario-card {
        min-height: 285px;
    }

    .api-auth-line,
    .api-endpoint-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .api-example-card,
    .api-response-card {
        padding: 21px;
    }

    .api-cta-card {
        min-height: 430px;
        padding: 31px 23px;
        border-radius: 23px;
    }

    .api-cta-card h2 {
        font-size: 43px;
        letter-spacing: -3px;
    }

    .api-cta-card > .api-primary-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .api-primary-button {
        transition: none;
    }
}
