:root {
    --ap-blue: var(--gateway-primary-color);
    --ap-blue-2: color-mix(in srgb, var(--ap-blue) 76%, #60d7ff);
    --ap-bg: #03070d;
    --ap-bg-2: #07111d;
    --ap-panel: rgba(8, 18, 30, .82);
    --ap-panel-strong: rgba(10, 28, 46, .94);
    --ap-line: rgba(103, 178, 255, .18);
    --ap-line-strong: rgba(103, 178, 255, .34);
    --ap-text: #f6fbff;
    --ap-muted: #a9c1d8;
    --ap-soft: #d8ecff;
    --ap-green: #20e0a0;
    --ap-yellow: #ffd058;
    --ap-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

/* White-label landing tokens */
:root {
    --ap-blue: var(--gateway-primary-color) !important;
    --ap-bg: var(--gateway-background-color, #f6f8fb) !important;
    --ap-surface: var(--gateway-surface-color, #ffffff) !important;
    --ap-text: var(--gateway-text-color, #101828) !important;
    --ap-muted: var(--gateway-text-muted, #667085) !important;
    --ap-line: var(--gateway-border-color, rgba(0,0,0,.12)) !important;
}

.ap-button,
.ap-status,
.ap-chart span,
.ap-event-card i,
.ap-card i,
.ap-method-grid article i,
.ap-security-grid article i {
    background-color: var(--gateway-button-color, var(--ap-blue)) !important;
    border-color: var(--gateway-button-color, var(--ap-blue)) !important;
}

.ap-card,
.ap-method-grid article,
.ap-wide-dashboard,
.ap-fee-card,
.ap-code-panel,
.ap-faq details {
    border-color: var(--ap-line) !important;
}

.ap-hero {
    background-image: none !important;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #121826;
    background: #fbf7fb;
    overflow-x: hidden;
}

body::before,
.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

body::before {
    background:
        linear-gradient(115deg, transparent 0 56%, color-mix(in srgb, var(--ap-blue) 9%, transparent) 56% 57%, transparent 57%),
        linear-gradient(74deg, transparent 0 18%, color-mix(in srgb, var(--ap-blue) 7%, transparent) 18% 19%, transparent 19%),
        linear-gradient(180deg, #fbf7fb 0%, #fffafb 100%);
    animation: apSoftLines 14s ease-in-out infinite;
}

body.ap-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(116deg, transparent 0 58%, color-mix(in srgb, var(--ap-blue) 5%, transparent) 58% 100%),
        #fbf7fb;
}

.site-shell::before {
    background:
        radial-gradient(ellipse 58% 36% at 28% 34%, transparent 63%, color-mix(in srgb, var(--ap-blue) 8%, transparent) 64%, transparent 65%),
        radial-gradient(ellipse 38% 26% at 67% 54%, transparent 62%, color-mix(in srgb, var(--ap-blue) 9%, transparent) 63%, transparent 64%);
    animation: apLineDrift 12s ease-in-out infinite;
}

.site-shell::after {
    background:
        radial-gradient(ellipse 32% 52% at 5% 84%, transparent 67%, color-mix(in srgb, var(--ap-blue) 8%, transparent) 68%, transparent 69%),
        radial-gradient(ellipse 42% 70% at 112% 45%, transparent 66%, color-mix(in srgb, var(--ap-blue) 7%, transparent) 67%, transparent 68%);
}

.ap-header,
.ap-hero,
.ap-stats,
.ap-section,
.ap-final-cta,
.ap-footer {
    position: relative;
    z-index: 1;
}

.ap-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 24px;
    z-index: 50;
    width: min(1180px, calc(100% - 72px));
    min-height: 62px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 12px 0 18px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    animation: apHeaderDrop .75s cubic-bezier(.16, 1, .3, 1) both, apHeaderBreathe 5.8s ease-in-out infinite .75s;
}

.ap-header.is-scrolled {
    width: min(1040px, calc(100% - 64px));
    min-height: 58px;
    background: rgba(255, 255, 255, .74);
    border: 1px solid color-mix(in srgb, var(--ap-blue) 12%, transparent);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 42px rgba(7, 49, 98, .1);
}

.ap-brand,
.ap-header-actions,
.ap-nav,
.ap-dashboard-top,
.ap-chart-head,
.ap-event-card,
.ap-status,
.ap-trust-row,
.ap-code-head,
.ap-final-cta,
.ap-footer,
.ap-route-flow,
.ap-route-tags {
    display: flex;
    align-items: center;
}

.ap-brand {
    min-width: 190px;
}

.ap-brand-logo {
    height: 34px;
    max-width: 168px;
    object-fit: contain;
    object-position: left center;
}

.ap-nav {
    gap: 14px;
}

.ap-nav a {
    position: relative;
    padding: 8px 3px;
    color: color-mix(in srgb, var(--ap-blue) 35%, #111827);
    font-size: 15px;
    font-weight: 760;
}

.ap-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--ap-blue);
    transform: translateX(-50%);
    transition: width .24s ease;
}

.ap-nav a:hover,
.ap-link:hover {
    color: var(--ap-blue);
    background: transparent;
}

.ap-nav a:hover::after {
    width: 100%;
}

.ap-header-actions {
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ap-blue) 7%, #fff);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62), 0 10px 28px rgba(7, 49, 98, .08);
}

.ap-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 999px;
    color: #121826;
    background: rgba(255, 255, 255, .42);
    font-size: 15px;
    font-weight: 800;
}

.ap-button {
    --magnet-x: 0px;
    --magnet-y: 0px;
    min-height: 60px;
    min-width: 224px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border: 1px solid color-mix(in srgb, var(--ap-blue) 78%, #8fdcff);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--ap-blue) 72%, #003168), var(--ap-blue));
    box-shadow: 0 16px 40px color-mix(in srgb, var(--ap-blue) 32%, transparent);
    font-size: 18px;
    font-weight: 900;
    transform: translate3d(var(--magnet-x), var(--magnet-y), 0);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    will-change: transform;
}

.ap-button:hover {
    transform: translate3d(var(--magnet-x), calc(var(--magnet-y) - 2px), 0);
    filter: brightness(1.08);
    box-shadow: 0 20px 52px color-mix(in srgb, var(--ap-blue) 40%, transparent);
}

.ap-button svg {
    width: 18px;
    height: 18px;
}

.ap-button-sm,
.ap-header-actions .ap-button-sm {
    min-height: 40px;
    min-width: 0;
    padding: 0 18px;
    border-radius: 999px;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--ap-blue) 22%, transparent);
    font-size: 15px;
}

.ap-button-ghost {
    position: relative;
    justify-content: flex-start;
    min-width: 330px;
    padding-left: 78px;
    color: color-mix(in srgb, var(--ap-blue) 86%, #111827);
    background: rgba(255, 255, 255, .32);
    border-color: color-mix(in srgb, var(--ap-blue) 18%, transparent);
    box-shadow: none;
}

.ap-magnetic-button {
    min-width: 420px;
    color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--ap-blue) 72%, #003168), var(--ap-blue));
    border-color: color-mix(in srgb, var(--ap-blue) 76%, #8fdcff);
    box-shadow: 0 18px 48px color-mix(in srgb, var(--ap-blue) 30%, transparent);
}

.ap-magnetic-button .ap-round-arrow {
    transition: transform .22s ease, box-shadow .22s ease;
}

.ap-magnetic-button:hover .ap-round-arrow {
    transform: translateX(4px);
    box-shadow:
        inset 0 0 0 4px color-mix(in srgb, var(--ap-blue) 22%, #fff),
        0 8px 24px color-mix(in srgb, var(--ap-blue) 30%, transparent);
}

.ap-round-arrow {
    position: absolute;
    left: -16px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    color: var(--ap-blue);
    background: #fff;
    box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--ap-blue) 22%, #fff);
    animation: apArrowNudge 1.7s ease-in-out infinite;
}

.ap-round-arrow svg {
    width: 27px;
    height: 27px;
    stroke-width: 3.4;
}

.ap-menu-button {
    width: 42px;
    height: 42px;
    display: none;
    place-items: center;
    border: 1px solid var(--ap-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #121826;
}

.ap-hero {
    width: min(1280px, calc(100% - 64px));
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 138px 0 74px;
    text-align: center;
}

.ap-hero-content {
    width: min(1050px, 100%);
    max-width: none;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ap-hero-visual {
    display: none;
}

.ap-pill,
.ap-kicker {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 5px 18px 5px 6px;
    border: 1px solid color-mix(in srgb, var(--ap-blue) 42%, #fff);
    border-radius: 999px;
    color: color-mix(in srgb, var(--ap-blue) 72%, #4a102d);
    background: color-mix(in srgb, var(--ap-blue) 12%, #fff);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--ap-blue) 10%, transparent);
    font-size: 18px;
    font-weight: 850;
}

.ap-avatar-stack {
    display: inline-flex;
    align-items: center;
}

.ap-avatar-stack b {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-left: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--ap-blue) 82%, #06142a), color-mix(in srgb, var(--ap-blue) 54%, #7fd8ff));
    font-size: 12px;
    font-weight: 950;
}

.ap-avatar-stack b:first-child {
    margin-left: 0;
}

.ap-hero h1,
.ap-section h2,
.ap-final-cta h2 {
    margin: 18px 0 0;
    color: color-mix(in srgb, var(--ap-blue) 32%, #111827);
    line-height: 1.02;
    letter-spacing: 0;
}

.ap-hero h1 {
    max-width: 1120px;
    margin: 58px auto 0;
    font-size: clamp(54px, 6.4vw, 88px);
    font-weight: 850;
    line-height: .98;
}

.ap-hero p {
    max-width: 760px;
    margin: 34px auto 0;
    color: #403b42;
    font-size: 24px;
    line-height: 1.35;
}

.ap-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 42px;
}

.ap-trust-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 34px;
}

.ap-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #3f3a40;
    font-size: 16px;
    font-weight: 750;
}

.ap-trust-row svg {
    width: 19px;
    height: 19px;
    color: var(--ap-blue);
}

.ap-section {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 108px 0 0;
    color: #121826;
}

.ap-section-head {
    max-width: 820px;
    margin: 0 auto 36px;
    text-align: center;
}

.ap-section-head span {
    color: var(--ap-blue-2);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.ap-section h2,
.ap-final-cta h2 {
    font-size: clamp(34px, 4vw, 56px);
}

.ap-section-head p,
.ap-split p,
.ap-security p,
.ap-pricing p,
.ap-footer p,
.ap-final-cta span,
.ap-route p,
.ap-card p,
.ap-faq p,
.ap-method-grid span,
.ap-use-grid span,
.ap-award-grid span {
    color: #5f6b78;
    line-height: 1.65;
}

.ap-section-head p {
    margin: 16px auto 0;
    max-width: 700px;
}

.ap-dashboard-grid,
.ap-feature-grid,
.ap-security-grid,
.ap-wide-row,
.ap-method-grid,
.ap-use-grid,
.ap-award-grid {
    display: grid;
    gap: 16px;
}

.ap-feature-grid {
    grid-template-columns: repeat(4, 1fr);
}

.ap-card,
.ap-method-grid article,
.ap-use-grid article,
.ap-award-grid article,
.ap-faq details,
.ap-route,
.ap-final-cta {
    border: 1px solid color-mix(in srgb, var(--ap-blue) 16%, transparent);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 24px 70px rgba(8, 42, 90, .1);
}

.ap-card,
.ap-method-grid article,
.ap-use-grid article,
.ap-award-grid article {
    min-height: 244px;
    padding: 24px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ap-card:hover,
.ap-method-grid article:hover,
.ap-use-grid article:hover,
.ap-award-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(112, 196, 255, .36);
    box-shadow: 0 32px 88px rgba(8, 42, 90, .16);
}

.ap-card svg,
.ap-security-grid svg,
.ap-method-grid svg,
.ap-use-grid svg,
.ap-award-grid svg {
    width: 34px;
    height: 34px;
    color: var(--ap-blue-2);
}

.ap-card h3 {
    margin: 22px 0 10px;
    color: #111827;
    font-size: 20px;
}

.ap-method-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ap-method-grid article,
.ap-use-grid article,
.ap-award-grid article {
    display: grid;
    gap: 14px;
}

.ap-method-grid strong,
.ap-use-grid strong,
.ap-award-grid strong,
.ap-faq summary {
    color: #111827;
}

.ap-method-grid strong,
.ap-use-grid strong,
.ap-award-grid strong {
    font-size: 23px;
}

.ap-method-grid code {
    width: fit-content;
    margin-top: auto;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(0, 116, 240, .14);
    color: #2375c7;
    font-weight: 850;
}

.ap-route {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 28px;
    align-items: center;
    padding: 34px;
}

.ap-route h2,
.ap-split h2,
.ap-security h2,
.ap-pricing h2 {
    margin-top: 16px;
}

.ap-route-tags {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ap-route-tags span,
.ap-route-flow span,
.ap-route-flow strong {
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--ap-blue) 16%, transparent);
    border-radius: 8px;
    background: rgba(255, 255, 255, .64);
    font-weight: 850;
}

.ap-route-flow {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .34);
}

.ap-route-flow strong {
    color: #0b9c68;
}

.ap-split,
.ap-security,
.ap-pricing {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 46px;
}

.ap-check-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.ap-check-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f2937;
    font-weight: 850;
}

.ap-check-list svg {
    width: 18px;
    height: 18px;
    color: #0b9c68;
}

.ap-code-panel {
    padding: 20px;
    border: 1px solid rgba(112, 196, 255, .2);
    border-radius: 8px;
    background: #070b11;
    color: #d7f5ff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

.ap-code-head {
    gap: 12px;
    margin-bottom: 18px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.ap-code-head span {
    padding: 8px 10px;
    border-radius: 8px;
    background: #09a85c;
    color: #fff;
    font-weight: 900;
}

.ap-code-panel pre {
    margin: 0;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.8;
}

.ap-code-result {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(0, 116, 240, .18);
}

.ap-wide-dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(112, 196, 255, .22);
    border-radius: 8px;
    background: #06131f;
    color: white;
    box-shadow: var(--ap-shadow);
}

.ap-wide-dashboard aside {
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
}

.ap-brand-mini {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--ap-blue) 18%, transparent);
}

.ap-brand-mini img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.ap-card-brand-logo {
    display: block;
    max-width: 170px;
    height: 36px;
    object-fit: contain;
    object-position: left center;
    margin-top: 18px;
}

.ap-wide-dashboard aside small {
    display: block;
    margin-top: 12px;
    color: rgba(233, 247, 255, .58);
}

.ap-wide-content {
    padding: 28px;
}

.ap-wide-row {
    grid-template-columns: repeat(3, 1fr);
}

.ap-wide-row article {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

.ap-wide-row span,
.ap-table-preview span {
    color: rgba(233, 247, 255, .68);
    font-size: 13px;
}

.ap-wide-row strong {
    display: block;
    margin-top: 10px;
    font-size: 27px;
}

.ap-table-preview {
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    overflow: hidden;
}

.ap-table-preview div {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr .8fr;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ap-table-preview div:last-child {
    border-bottom: 0;
}

.ap-table-preview em {
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(37, 243, 177, .14);
    color: var(--ap-green);
    font-style: normal;
    font-weight: 850;
}

.ap-table-preview em.is-waiting {
    background: rgba(255, 184, 0, .14);
    color: #ffb800;
}

.ap-award-grid,
.ap-use-grid {
    grid-template-columns: repeat(4, 1fr);
}

.ap-award-grid article {
    min-height: 220px;
}

.ap-award-grid svg {
    color: var(--ap-yellow);
}

.ap-fee-card {
    padding: 26px;
    border: 1px solid rgba(112, 196, 255, .16);
    border-radius: 8px;
    background: #070b11;
    color: #fff;
}

.ap-fee-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ap-fee-card span {
    color: rgba(233, 247, 255, .68);
}

.ap-fee-card strong {
    font-size: 24px;
}

.ap-fee-card small {
    display: block;
    margin-top: 16px;
    color: rgba(233, 247, 255, .64);
    line-height: 1.6;
}

.ap-security-grid {
    grid-template-columns: repeat(2, 1fr);
}

.ap-security-grid article {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 20px;
    border: 1px solid color-mix(in srgb, var(--ap-blue) 16%, transparent);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    color: #1f2937;
    font-weight: 850;
}

.ap-use-grid article {
    min-height: 210px;
}

.ap-faq {
    display: grid;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.ap-faq details {
    padding: 20px 22px;
}

.ap-faq summary {
    cursor: pointer;
    font-weight: 850;
}

.ap-faq p {
    margin: 12px 0 0;
}

.ap-final-cta {
    width: min(1240px, calc(100% - 32px));
    margin: 110px auto 0;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
}

.ap-final-cta span {
    color: var(--ap-blue-2);
    font-weight: 850;
}

.ap-final-cta h2 {
    max-width: 650px;
    font-size: clamp(30px, 3.4vw, 46px);
}

.ap-footer {
    width: min(1240px, calc(100% - 32px));
    margin: 60px auto 0;
    padding: 34px 0 40px;
    border-top: 1px solid color-mix(in srgb, var(--ap-blue) 14%, transparent);
    justify-content: space-between;
    gap: 24px;
}

.ap-footer p {
    max-width: 480px;
    margin: 12px 0 0;
}

.ap-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.ap-footer-links a {
    color: #4b5b69;
    font-weight: 850;
}

.ap-footer-links a:hover {
    color: var(--ap-blue);
}

.ap-dashboard,
.ap-orbit,
.ap-metric,
.ap-chart-card,
.ap-event-card,
.ap-status {
    display: none;
}

.ap-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .72s ease, transform .72s ease;
}

.ap-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ap-feature-grid .ap-reveal:nth-child(2) {
    transition-delay: .08s;
}

.ap-feature-grid .ap-reveal:nth-child(3) {
    transition-delay: .16s;
}

.ap-feature-grid .ap-reveal:nth-child(4) {
    transition-delay: .24s;
}

@keyframes apHeaderDrop {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes apHeaderBreathe {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

@keyframes apSoftLines {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-18px, 8px, 0);
    }
}

@keyframes apLineDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(20px, -12px, 0) scale(1.02);
    }
}

@keyframes apArrowNudge {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }

    .ap-reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .ap-nav {
        position: fixed;
        inset: 94px 16px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid rgba(112, 196, 255, .16);
        border-radius: 8px;
        background: rgba(255, 255, 255, .96);
        box-shadow: var(--ap-shadow);
    }

    body.ap-menu-open .ap-nav {
        display: flex;
    }

    .ap-menu-button {
        display: grid;
    }

    .ap-split,
    .ap-security,
    .ap-pricing,
    .ap-route {
        grid-template-columns: 1fr;
    }

    .ap-feature-grid,
    .ap-use-grid,
    .ap-award-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ap-method-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .ap-header {
        width: calc(100% - 24px);
        min-height: 64px;
        top: 12px;
        margin-top: 12px;
        gap: 8px;
        padding: 0 8px 0 12px;
    }

    .ap-header-actions {
        flex-shrink: 0;
        gap: 5px;
        padding: 4px;
        background: rgba(255, 255, 255, .78);
    }

    .ap-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .ap-brand-logo {
        max-width: clamp(78px, 24vw, 118px);
        height: 28px;
    }

    .ap-header .ap-link,
    .ap-header .ap-button-sm {
        min-height: 38px;
        padding: 0 11px;
        font-size: 13px;
        white-space: nowrap;
    }

    .ap-header .ap-button-sm {
        display: inline-flex;
    }

    .ap-menu-button {
        display: none;
    }

    .ap-hero,
    .ap-section,
    .ap-footer,
    .ap-final-cta {
        width: calc(100% - 24px);
    }

    .ap-hero {
        min-height: auto;
        padding: 118px 0 36px;
    }

    .ap-pill {
        font-size: 14px;
    }

    .ap-hero h1 {
        font-size: 42px;
        margin-top: 36px;
    }

    .ap-hero p {
        font-size: 18px;
    }

    .ap-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ap-button,
    .ap-button-ghost {
        width: 100%;
        min-width: 0;
    }

    .ap-button-ghost {
        padding-left: 68px;
    }

    .ap-section h2,
    .ap-final-cta h2 {
        font-size: 34px;
    }

    .ap-feature-grid,
    .ap-method-grid,
    .ap-security-grid,
    .ap-wide-row,
    .ap-use-grid,
    .ap-award-grid {
        grid-template-columns: 1fr;
    }

    .ap-section {
        padding-top: 74px;
    }

    .ap-route {
        padding: 24px;
    }

    .ap-route-flow {
        justify-content: flex-start;
    }

    .ap-wide-dashboard {
        grid-template-columns: 1fr;
    }

    .ap-wide-dashboard aside {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .ap-table-preview {
        overflow-x: auto;
    }

    .ap-table-preview div {
        min-width: 620px;
    }

    .ap-final-cta,
    .ap-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .ap-final-cta {
        margin-top: 74px;
        padding: 24px;
    }

    .ap-footer {
        margin-top: 74px;
    }

    .ap-footer-links {
        justify-content: flex-start;
    }
}

body,
.site-shell {
    background: var(--ap-bg) !important;
    color: var(--ap-text) !important;
}

.ap-section-head p,
.ap-card p,
.ap-method-grid article span,
.ap-footer p,
.ap-faq p {
    color: var(--ap-muted) !important;
}
