:root {
    --public-ink: #132033;
    --public-muted: #667085;
    --public-line: #d9e2ef;
    --public-soft: #f6f8fb;
    --public-primary: #2457d6;
    --public-teal: #0f766e;
    --public-amber: #d97706;
    --public-violet: #6d44c9;
    --public-shadow: 0 18px 46px rgba(19, 32, 51, 0.10);
}

.public-page {
    background: #ffffff;
}

.public-nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.brand-mark {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--public-primary), var(--public-teal));
    font-size: 0.95rem;
    font-weight: 800;
    margin-right: 0.35rem;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    color: var(--public-ink);
}

.public-nav .nav-link {
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
}

.public-nav .nav-link.active,
.public-nav .nav-link:hover {
    color: var(--public-primary);
}

.hero-section {
    background:
        linear-gradient(135deg, rgba(36, 87, 214, 0.11), rgba(15, 118, 110, 0.08) 48%, rgba(217, 119, 6, 0.07)),
        #ffffff;
    border-bottom: 1px solid var(--public-line);
}

.hero-grid {
    min-height: 690px;
    padding: 5rem 0 4rem;
}

.hero-section h1,
.page-hero h1 {
    color: var(--public-ink);
    font-size: clamp(2.5rem, 4.8vw, 4.75rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
}

.hero-lead,
.page-hero p,
.section-copy {
    color: var(--public-muted);
    font-size: 1.16rem;
    line-height: 1.7;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-trust span,
.audience-list span,
.filter-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(36, 87, 214, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #31425f;
    padding: 0.5rem 0.8rem;
    font-weight: 700;
    font-size: 0.86rem;
}

.shop-preview {
    overflow: hidden;
    border: 1px solid rgba(36, 87, 214, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--public-shadow);
}

.shop-preview__top,
.demo-browser__head,
.code-card__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--public-line);
    padding: 0.8rem 1rem;
}

.preview-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    margin-right: 0.3rem;
}

.preview-dot--green {
    background: #22c55e;
}

.preview-dot--amber {
    background: #f59e0b;
}

.preview-url {
    color: var(--public-muted);
    font-size: 0.84rem;
}

.shop-preview__toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--public-line);
}

.shop-preview__toolbar span {
    color: var(--public-muted);
}

.shop-preview__content {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    padding: 1.25rem;
}

.shop-preview aside {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.filter-pill.active {
    color: #ffffff;
    background: var(--public-primary);
}

.preview-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.preview-products article,
.demo-product-card {
    border: 1px solid var(--public-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 0.9rem;
}

.preview-products img,
.demo-product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f7fb;
    margin-bottom: 0.75rem;
}

.preview-products strong,
.preview-products span {
    display: block;
    font-size: 0.9rem;
}

.preview-products span {
    color: var(--public-teal);
    font-weight: 700;
    margin-top: 0.25rem;
}

.section-block {
    padding: 5rem 0;
}

.section-muted {
    background: var(--public-soft);
    border-top: 1px solid var(--public-line);
    border-bottom: 1px solid var(--public-line);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2rem;
}

.section-heading h2,
.demo-cta h2,
.final-cta h2,
.page-hero h1,
.example-panel h2,
.narrow-content h2 {
    letter-spacing: 0;
}

.section-heading h2,
.demo-cta h2,
.final-cta h2 {
    color: var(--public-ink);
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    line-height: 1.12;
    font-weight: 800;
}

.feature-card,
.mini-card,
.integration-card,
.use-case-card,
.example-card,
.timeline-item,
.example-panel,
.integration-detail,
.doc-list article,
.api-table article,
.demo-browser,
.legal-note {
    border: 1px solid var(--public-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(19, 32, 51, 0.06);
}

.feature-card,
.integration-card,
.use-case-card,
.example-card,
.timeline-item,
.integration-detail,
.doc-list article,
.api-table article {
    height: 100%;
    padding: 1.25rem;
}

.feature-card h3,
.feature-card h2,
.mini-card h3,
.integration-card h3,
.use-case-card h3,
.example-card h2,
.timeline-item h2,
.integration-detail h2,
.doc-list h2,
.api-table code {
    color: var(--public-ink);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 0.55rem;
}

.feature-card p,
.mini-card p,
.integration-card p,
.use-case-card p,
.example-card li,
.timeline-item p,
.integration-detail p,
.integration-detail li,
.doc-list p,
.api-table p,
.narrow-content p {
    color: var(--public-muted);
    line-height: 1.65;
}

.step-number,
.timeline-item span,
.public-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--public-primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.public-icon {
    background: rgba(15, 118, 110, 0.1);
    color: var(--public-teal);
}

.display-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.mini-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    box-shadow: none;
}

.mini-card .public-icon {
    flex: 0 0 42px;
}

.audience-list,
.benefit-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.benefit-grid span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--public-line);
    border-radius: 8px;
    background: #ffffff;
    color: #31425f;
    padding: 0.75rem 0.9rem;
    font-weight: 700;
}

.benefit-grid i {
    color: var(--public-teal);
}

.demo-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid var(--public-line);
    border-radius: 8px;
    padding: 2rem;
    background: #ffffff;
    box-shadow: var(--public-shadow);
}

.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #173a91, #0f766e);
    color: #ffffff;
}

.final-cta__inner {
    max-width: 760px;
}

.final-cta h2 {
    color: #ffffff;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

.page-hero {
    background:
        linear-gradient(135deg, rgba(36, 87, 214, 0.10), rgba(15, 118, 110, 0.08)),
        #ffffff;
    border-bottom: 1px solid var(--public-line);
}

.page-hero__inner {
    max-width: 820px;
    padding: 5rem 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.example-panel {
    padding: 2rem;
}

.example-card ul,
.integration-detail ul {
    margin: 0;
    padding-left: 1.1rem;
}

.demo-browser {
    overflow: hidden;
}

.demo-iframe {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 1px solid var(--public-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(19, 32, 51, 0.06);
}

.demo-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 1rem;
    border-bottom: 1px solid var(--public-line);
}

.demo-filters button {
    border: 1px solid var(--public-line);
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    padding: 0.45rem 0.8rem;
    font-weight: 700;
}

.demo-filters button.active {
    color: #ffffff;
    border-color: var(--public-primary);
    background: var(--public-primary);
}

.demo-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.demo-product-card {
    box-shadow: none;
}

.demo-product-card span {
    color: var(--public-amber);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.demo-product-card h2 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0.3rem 0;
}

.demo-product-card p {
    color: var(--public-teal);
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.code-card {
    overflow: hidden;
    border: 1px solid #263244;
    border-radius: 8px;
    background: #101827;
    box-shadow: 0 14px 34px rgba(19, 32, 51, 0.18);
}

.code-card__bar {
    color: #cbd5e1;
    background: #162033;
    border-bottom-color: #263244;
    font-size: 0.78rem;
    font-weight: 800;
}

.code-card pre {
    margin: 0;
    padding: 1.2rem;
    color: #e5edf7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.code-card code {
    color: inherit;
}

.doc-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.api-table {
    display: grid;
    gap: 0.85rem;
}

.api-table article {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) minmax(220px, 0.8fr);
    align-items: center;
    gap: 1rem;
}

.api-table code {
    margin: 0;
    overflow-wrap: anywhere;
}

.method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
}

.method-get {
    background: var(--public-teal);
}

.method-post {
    background: var(--public-primary);
}

.faq-accordion .accordion-item {
    border-color: var(--public-line);
}

.faq-accordion .accordion-button {
    color: var(--public-ink);
    font-weight: 800;
}

.narrow-content {
    max-width: 860px;
}

.legal-note {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #7c2d12;
    padding: 1rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.public-footer {
    padding: 3rem 0 1.5rem;
    background: #0f172a;
    color: #cbd5e1;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 1rem;
}

.public-footer h2 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.public-footer a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.45rem;
}

.public-footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(203, 213, 225, 0.18);
    margin-top: 2rem;
    padding-top: 1rem;
    color: #94a3b8;
}

@media (max-width: 1199px) {
    .demo-product-grid,
    .timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .display-grid,
    .doc-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .hero-grid {
        min-height: auto;
        padding: 4rem 0;
    }

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

    .api-table article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero-section h1,
    .page-hero h1 {
        font-size: 2.45rem;
    }

    .hero-grid {
        --bs-gutter-x: 0;
    }

    .shop-preview__content,
    .preview-products,
    .display-grid,
    .timeline-grid,
    .demo-product-grid,
    .doc-list {
        grid-template-columns: 1fr;
    }

    .section-block,
    .final-cta {
        padding: 3.25rem 0;
    }

    .page-hero__inner {
        padding: 3.5rem 0;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

.checkout-hero .page-hero__inner {
    padding: 3.5rem 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 1.25rem;
    align-items: start;
}

.checkout-form-stack {
    display: grid;
    gap: 1rem;
}

.checkout-panel,
.checkout-summary,
.checkout-thankyou {
    border: 1px solid var(--public-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(19, 32, 51, 0.06);
    padding: 1.25rem;
}

.checkout-summary {
    position: sticky;
    top: 96px;
}

.checkout-items {
    display: grid;
    gap: 0.85rem;
}

.checkout-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    border-bottom: 1px solid var(--public-line);
    padding-bottom: 0.85rem;
}

.checkout-item:last-child {
    border-bottom: 0;
}

.checkout-item img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f7fb;
}

.checkout-item strong,
.checkout-item span {
    display: block;
}

.checkout-item span {
    color: var(--public-muted);
    font-size: 0.9rem;
}

.checkout-totals,
.order-totals,
.order-detail-list {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0 0;
}

.checkout-totals div,
.order-totals div,
.order-detail-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--public-line);
    padding-bottom: 0.55rem;
}

.checkout-totals dt,
.order-totals dt,
.order-detail-list dt {
    color: var(--public-muted);
    font-weight: 700;
}

.checkout-totals dd,
.order-totals dd,
.order-detail-list dd {
    margin: 0;
    color: var(--public-ink);
    font-weight: 800;
    text-align: right;
}

.checkout-total dd {
    color: var(--public-primary);
    font-size: 1.25rem;
}

.checkout-total-note {
    display: grid !important;
    gap: 0.25rem !important;
}

.checkout-total-note dd {
    color: var(--public-muted);
    font-weight: 650;
    text-align: left;
}

.checkout-page {
    background: #f5f8fc;
}

.checkout-page .checkout-hero {
    border-bottom: 1px solid #dbe5f2;
    background:
        linear-gradient(135deg, rgba(36, 87, 214, 0.10), rgba(15, 118, 110, 0.08)),
        #eef4fb;
}

.checkout-page .checkout-hero .page-hero__inner {
    max-width: 760px;
    padding: 4.25rem 0 3.75rem;
}

.checkout-page .checkout-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.checkout-page .checkout-layout {
    margin-top: 0.5rem;
}

.checkout-page .checkout-panel,
.checkout-page .checkout-summary,
.checkout-page .checkout-thankyou,
.checkout-page .empty-state {
    border: 1px solid #d8e2ef;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(19, 32, 51, 0.08);
}

.checkout-page .checkout-summary {
    border-top: 4px solid var(--public-primary);
}

.checkout-page .form-label,
.checkout-page .form-check-label {
    color: var(--public-ink);
    font-weight: 700;
}

.checkout-page .form-control,
.checkout-page .form-select {
    min-height: 46px;
    border-color: #d3deed;
    border-radius: 8px;
}

.checkout-page textarea.form-control {
    min-height: 110px;
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus,
.checkout-page .form-check-input:focus {
    border-color: var(--public-primary);
    box-shadow: 0 0 0 0.2rem rgba(36, 87, 214, 0.15);
}

.checkout-page .btn-primary {
    border-color: var(--public-primary);
    background: var(--public-primary);
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(36, 87, 214, 0.18);
}

.checkout-page .btn-primary:hover {
    border-color: #183b88;
    background: #183b88;
}

.checkout-restore {
    max-width: 620px;
    margin-inline: auto;
}

.checkout-contact {
    display: grid;
    gap: 0.25rem;
    color: var(--public-muted);
}

@media (max-width: 991px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}
