:root {
    --ink:#27282d;
    --muted:#5c5e68;
    --line:#e3ddef;
    --accent:#8958fe;
    --paper:#f4f0ff
}
html {
    scroll-behavior:smooth;
    scroll-padding-top:24px
}
body {
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--ink);
    font-size:16px;
    line-height:1.65;
    background:#fff
}
a {
    color:var(--accent);
    text-underline-offset:4px
}
a:hover {
    color:#6e46cb
}
h1,h2,h3,h4,h5 {
    color:var(--ink);
    font-weight:650;
    line-height:1.2;
    letter-spacing:-.025em
}
h2 {
    font-size:32px
}
h3 {
    font-size:21px
}
p {
    color:var(--muted)
}
a:focus-visible {
    outline:3px solid #2d8dfb;
    outline-offset:5px
}
.skip-link {
    position:absolute;
    top:-100px;
    left:16px;
    z-index:10;
    padding:12px;
    background:white
}
.skip-link:focus {
    top:10px
}
.legacy-banner {
    background:#27282d;
    color:#fff;
    font-size:14px;
    padding:12px 0
}
.legacy-banner .container {
    display:flex;
    justify-content:space-between;
    gap:12px
}
.legacy-banner a {
    color:#c3dffe;
    white-space:nowrap
}
.site-header {
    border-bottom:1px solid var(--line);
    background:#fff
}
.site-nav {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding-top:25px;
    padding-bottom:25px
}
.site-brand {
    font-size:23px;
    font-weight:750;
    color:var(--ink);
    letter-spacing:-1px;
    white-space:nowrap
}
.site-brand i {
    color:var(--accent);
    margin-right:8px
}
.site-brand span {
    color:var(--accent)
}
.site-brand:hover {
    text-decoration:none
}
.site-links {
    display:flex;
    gap:26px;
    flex-wrap:wrap
}
.site-links a {
    color:var(--ink);
    font-size:14px;
    font-weight:600
}
.hero {
    background:var(--paper);
    padding:76px 0
}
.hero-grid {
    display:grid;
    grid-template-columns:1.5fr 1fr;
    gap:80px;
    align-items:center
}
.eyebrow {
    font-size:12px;
    font-weight:750;
    letter-spacing:.15em;
    color:var(--accent);
    margin-bottom:20px
}
.hero h1 {
    font-size:clamp(36px,4.6vw,58px);
    letter-spacing:-.055em;
    line-height:1.1;
    margin-bottom:24px
}
.hero-description {
    font-size:18px;
    max-width:540px
}
.hero-actions {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:30px
}
.action {
    display:inline-flex;
    gap:20px;
    align-items:center;
    padding:12px 18px;
    border-radius:5px;
    font-size:14px;
    font-weight:650
}
.action:hover {
    text-decoration:none
}
.action-primary {
    background:var(--accent);
    color:white
}
.action-primary:hover {
    background:#6e46cb;
    color:white
}
.action-secondary {
    border:1px solid #c6b2ef;
    color:var(--ink)
}
.hero-note {
    font-size:13px;
    margin:18px 0 0
}
.payment-example {
    background:white;
    border:1px solid var(--line);
    border-radius:12px;
    box-shadow:0 18px 45px #27282d0a;
    padding:24px;
    text-align:center;
    margin:0;
    transform:rotate(2deg)
}
.example-heading {
    display:flex;
    justify-content:space-between;
    gap:8px;
    font-size:12px;
    color:var(--muted);
    border-bottom:1px solid var(--line);
    padding-bottom:18px
}
.example-format {
    color:var(--accent);
    font-weight:700
}
.payment-example img {
    display:block;
    margin:25px auto 18px;
    max-width:100%;
    height:auto
}
.payment-example figcaption {
    display:flex;
    flex-direction:column;
    gap:6px
}
.payment-example strong {
    font-size:26px
}
.payment-example figcaption span {
    font-size:12px;
    color:var(--muted)
}
.payment-example small {
    font-size:11px;
    color:var(--muted)
}
.project-update {
    padding:42px 0;
    border-bottom:1px solid var(--line);
    background:#f5faff
}
.update-grid {
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:80px
}
.project-update h2 {
    font-size:26px
}
.project-update .eyebrow {
    margin-bottom:12px
}
.project-update p:last-child {
    margin-bottom:0
}
.project-update a {
    font-weight:650
}
.section-space {
    padding:70px 0
}
.section-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:32px;
    margin-bottom:32px
}
.section-heading .eyebrow {
    margin-bottom:12px
}
.section-heading>p {
    font-size:14px;
    max-width:240px
}
.timeline {
    list-style:none;
    padding:0;
    margin:0
}
.timeline li {
    display:grid;
    grid-template-columns:180px 1fr;
    gap:30px;
    border-top:1px solid var(--line);
    padding:25px 0
}
.timeline time {
    font-size:13px;
    color:var(--muted);
    font-variant-numeric:tabular-nums;
    padding-top:3px
}
.timeline h3 {
    font-size:19px;
    margin-bottom:8px
}
.timeline p {
    margin:0;
    max-width:720px
}
.page__index .doc-section {
    padding:65px 0;
    background:var(--paper);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line)
}
.page__index .doc-section h2 {
    margin-bottom:24px
}
.page__index .doc-section h3 {
    font-size:25px
}
.page__index .doc-section h4 {
    padding-top:24px;
    border-top:1px solid var(--line);
    font-size:22px
}
.page__index .doc-section h5 {
    font-size:18px
}
.doc-section .row>div {
    min-width:0
}
.doc-section p,.doc-section li {
    overflow-wrap:anywhere
}
.doc-section code {
    color:#6840bd;
    overflow-wrap:anywhere;
    font-size:13px
}
.doc-section pre {
    background:#fff;
    border:1px solid var(--line);
    border-radius:5px;
    padding:18px;
    max-width:100%;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    font-size:13px
}
.doc-section img {
    max-width:100%;
    height:auto
}
.page__index .doc-section span.param {
    color:#6840bd
}
.infrastructure {
    background:#27282d
}
.infrastructure h2,.infrastructure h3 {
    color:white
}
.infrastructure p {
    color:#d7d8df
}
.infrastructure .eyebrow {
    color:#56d6e6
}
.infrastructure h3 {
    font-size:18px
}
.region-label {
    font-size:13px;
    margin-top:20px
}
.contact-email {
    font-size:22px
}
.site-footer {
    padding:25px 0;
    border-top:1px solid var(--line);
    background:var(--paper)
}
.site-footer .container {
    display:flex;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
    font-size:12px;
    color:var(--muted)
}
@media(max-width:991px) {
    .site-nav {
        align-items:start;
        flex-direction:column;
        gap:15px
    }
    .hero-grid {
        gap:35px;
        grid-template-columns:1.3fr 1fr
    }
    .hero-actions {
        flex-direction:column;
        align-items:start
    }
    .update-grid {
        gap:40px
    }
}
@media(max-width:767px) {
    .hero {
        padding:42px 0
    }
    .hero-grid,.update-grid {
        grid-template-columns:1fr;
        gap:32px
    }
    .hero-description {
        font-size:17px
    }
    .payment-example {
        max-width:360px;
        width:100%;
        margin:auto;
        transform:none
    }
    .legacy-banner .container {
        flex-direction:column;
        gap:2px
    }
    .site-links {
        gap:12px 20px
    }
    .site-links a {
        font-size:13px
    }
    .section-space {
        padding:44px 0
    }
    .section-heading {
        display:block
    }
    .section-heading>p {
        max-width:none
    }
    .timeline li {
        grid-template-columns:1fr;
        gap:8px;
        padding:20px 0
    }
    .timeline time {
        font-size:12px
    }
    .page__index .doc-section {
        padding:44px 0
    }
    .doc-section .row>[class*="col-"] {
        flex:0 0 100%;
        max-width:100%;
        margin-bottom:18px
    }
    .site-footer .container {
        flex-direction:column;
        gap:8px
    }
    h2 {
        font-size:28px
    }
}
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }
}
main#main-content {
    padding:0
}
.api-availability {
    font-size:13px;
    margin-bottom:0
}
.new-api-links {
    line-height:2
}

/* Zenvio brand: purple #8958fe, blue #2d8dfb, cyan #56d6e6. */
a{color:#6840bd}.eyebrow{color:#6840bd}.button,.action-primary{background:#8958fe;color:#fff}.brand span,.site-brand span{color:#8958fe}

/* Darker primary shade provides AA contrast for small white button labels. */
.button,.action-primary{background:#7745e6;color:#fff}
