* {
    letter-spacing: 0 !important;
}

body,
header,
section,
button,
a,
pre,
.theme-surface,
.theme-card,
.soft-card,
.icon-tile,
.action-button {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

body {
    background: #09090b;
}

.light body {
    background: #ffffff;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
    border-radius: 6px;
}

.action-button:focus-visible {
    outline-offset: 4px;
}

.brand-logo {
    display: block;
    object-fit: contain;
}

.dark .brand-logo {
    filter: invert(1);
}

.soft-pill {
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.action-button {
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24);
}

.action-button:hover {
    transform: translateY(-1px);
}

.secondary-action {
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.theme-card,
.soft-card {
    border-radius: 20px !important;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.theme-card:hover,
.soft-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.light .theme-card,
.light .soft-card {
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-endpoint {
    border-radius: 22px !important;
    box-shadow: 0 24px 90px rgba(37, 99, 235, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-metrics {
    border-radius: 24px !important;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.light .hero-metrics,
.light .hero-endpoint {
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-pricing-showcase {
    overflow: hidden;
}

.hero-pricing-showcase::before {
    content: "";
    position: absolute;
    inset: 8% 12% auto;
    height: 18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 68%);
    filter: blur(18px);
}

.hero-price-card {
    position: absolute;
    top: 14.5rem;
    width: clamp(14rem, 18vw, 18rem);
    border: 1px solid rgba(63, 63, 70, 0.72);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(24, 24, 27, 0.96), rgba(9, 9, 11, 0.9));
    padding: 1.15rem;
    color: #ffffff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), 0 0 55px rgba(37, 99, 235, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-price-card-left {
    left: max(1.25rem, calc(50% - 43rem));
    transform: rotate(-6deg);
}

.hero-price-card-right {
    right: max(1.25rem, calc(50% - 43rem));
    transform: rotate(6deg);
}

.hero-price-card-right {
    text-align: left;
}

.hero-price-card-head,
.hero-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hero-price-card-head {
    margin-bottom: 1rem;
}

.hero-price-card-head span {
    font-size: 0.9rem;
    font-weight: 900;
}

.hero-price-card-head strong {
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    padding: 0.35rem 0.6rem;
    color: #60a5fa;
    font-size: 0.75rem;
}

.hero-price-row {
    border-top: 1px solid rgba(63, 63, 70, 0.62);
    padding: 0.85rem 0;
}

.hero-price-row > span,
.hero-price-card p {
    color: #a1a1aa;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-price-row div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
}

.hero-price-card-right .hero-price-card-head {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.45rem;
}

.hero-price-card-right .hero-price-card-head strong {
    align-self: flex-start;
}

.hero-price-card-right .hero-price-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.35rem;
    text-align: left;
}

.hero-price-card-right .hero-price-row div {
    justify-content: flex-start;
    gap: 0.12rem;
    width: 100%;
}

.hero-price-row .price-strike {
    color: #71717a;
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-price-row strong {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 900;
}

.hero-price-card p {
    margin-top: 0.2rem;
    color: #60a5fa;
}

.light .hero-price-card {
    border-color: rgba(203, 213, 225, 0.9);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    color: #09090b;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12), 0 0 45px rgba(37, 99, 235, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.light .hero-price-row {
    border-top-color: rgba(203, 213, 225, 0.78);
}

.light .hero-price-row strong {
    color: #09090b;
}

@media (max-width: 1180px) {
    .hero-price-card {
        top: 16rem;
        width: 13.75rem;
        opacity: 0.68;
    }

    .hero-price-card-left {
        left: 1rem;
        transform: rotate(-5deg);
    }

    .hero-price-card-right {
        right: 1rem;
        transform: rotate(5deg);
    }
}

.icon-tile {
    border-radius: 16px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-soft {
    background: rgba(24, 24, 27, 0.22);
}

.light .section-soft {
    background: #f8fafc;
}

.price-strike {
    position: relative;
    display: inline-block;
}

.price-strike::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    top: 50%;
    height: 3px;
    background-color: #ef4444;
    border-radius: 2px;
    transform: rotate(-8deg);
}

.copy-target {
    overflow-wrap: anywhere;
}

.metric-bars {
    display: flex;
    gap: 2px;
    height: 1.5rem;
}

.metric-bar {
    flex: 1 1 0;
    min-width: 3px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.28);
}

.metric-bar.is-muted {
    background: #71717a;
}

.dark .metric-bar.is-muted {
    background: #3f3f46;
}

.code-shell {
    border-radius: 24px !important;
    background: #09090b;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.light .code-shell {
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.code-shell pre {
    white-space: pre;
}

.light .code-body {
    color: #27272a;
}

.light .code-comment {
    color: #71717a;
}

.light .code-keyword {
    color: #2563eb;
}

.light .code-string {
    color: #52525b;
}

.toast-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.toast-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem);
}

.faq-card {
    border-radius: 18px !important;
}

.step-card {
    border-radius: 20px !important;
}

.step-index {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-active {
    color: #2563eb !important;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

.back-to-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.75rem);
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.savings-marquee {
    overflow: hidden;
    width: 100%;
    padding: 0.75rem 0 1rem;
}

.savings-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: savings-scroll 38s linear infinite;
    will-change: transform;
}

.savings-marquee:hover .savings-track {
    animation-play-state: paused;
}

.saving-slide {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    width: clamp(18rem, 34vw, 30rem);
    min-height: 13.5rem;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(63, 63, 70, 0.74);
    border-radius: 28px;
    background: #09090b;
    padding: 1.4rem;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.saving-slide::after {
    content: "";
    position: absolute;
    right: clamp(0.65rem, 2vw, 1.4rem);
    bottom: 0.45rem;
    width: clamp(3.2rem, 6vw, 4.7rem);
    height: clamp(8.6rem, 14vw, 11.8rem);
    z-index: 0;
    background: linear-gradient(180deg, rgba(254, 202, 202, 0.36) 0%, rgba(248, 113, 113, 0.92) 24%, rgba(239, 68, 68, 0.98) 58%, rgba(185, 28, 28, 1) 100%);
    clip-path: polygon(47% 0, 53% 0, 61% 66%, 84% 66%, 50% 100%, 16% 66%, 39% 66%);
    filter: drop-shadow(0 0 24px rgba(220, 38, 38, 0.34));
    pointer-events: none;
    transform: rotate(-18deg);
    transform-origin: 50% 86%;
}

.saving-slide > * {
    position: relative;
    z-index: 1;
}

.light .saving-slide {
    border-color: #dbe3ee;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.saving-slide-strong {
    border-color: rgba(37, 99, 235, 0.72);
    box-shadow: 0 30px 100px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.saving-slide-strong::after {
    background: linear-gradient(180deg, rgba(254, 226, 226, 0.4) 0%, rgba(248, 113, 113, 0.96) 20%, rgba(239, 68, 68, 1) 54%, rgba(153, 27, 27, 1) 100%);
    filter: drop-shadow(0 0 28px rgba(220, 38, 38, 0.42));
}

.saving-volume,
.saving-model,
.saving-caption {
    display: block;
}

.saving-volume {
    width: fit-content;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    padding: 0.4rem 0.75rem;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.saving-model {
    margin-top: 1rem;
    color: #a1a1aa;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.light .saving-model {
    color: #64748b;
}

.saving-slide strong {
    color: #2563eb;
    font-size: clamp(3.25rem, 7vw, 6.8rem);
    font-weight: 900;
    line-height: 0.9;
    white-space: nowrap;
}

.saving-caption {
    color: #d4d4d8;
    font-size: 0.92rem;
    font-weight: 700;
}

.light .saving-caption {
    color: #475569;
}

@keyframes savings-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

@media (prefers-reduced-motion: reduce) {
    .savings-track {
        animation: none;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-price-card {
        top: 3.75rem;
        width: 8.85rem;
        opacity: 0.2;
        padding: 0.65rem;
    }

    .hero-price-card-left {
        left: 0.55rem;
        transform: rotate(-8deg);
    }

    .hero-price-card-right {
        right: 0.55rem;
        transform: rotate(8deg);
    }

    .hero-price-card-head span {
        font-size: 0.58rem;
    }

    .hero-price-card-head strong {
        padding: 0.24rem 0.42rem;
        font-size: 0.56rem;
    }

    .hero-price-row {
        padding: 0.46rem 0;
    }

    .hero-price-row > span,
    .hero-price-card p {
        font-size: 0.52rem;
    }

    .hero-price-row .price-strike {
        font-size: 0.58rem;
    }

    .hero-price-row strong {
        font-size: 0.82rem;
    }

    .mobile-stack {
        align-items: stretch;
        flex-direction: column;
    }

    .mobile-stack > * {
        width: 100%;
    }

    .metric-bars {
        gap: 1px;
    }

    .savings-track {
        animation-duration: 30s;
        gap: 0.75rem;
    }

    .saving-slide {
        width: 84vw;
        min-height: 12rem;
        padding: 1.1rem;
    }
}
