@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    color-scheme: dark;
    --bg: #0a0f18;
    --surface: #101724;
    --surface2: #151e2d;
    --border: #263244;
    --text: #eaf0fa;
    --muted: #96a5b9;
    --blue: #5c9fff;
    --blue2: #91c2ff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans',system-ui,sans-serif;
    font-size: 15px;
    line-height: 1.65
}

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

    a:hover {
        color: var(--blue2)
    }

.container {
    max-width: 1200px;
    margin: auto;
    padding-left: 28px;
    padding-right: 28px
}

.site-header {
    height: 76px;
    border-bottom: 1px solid #1e2938;
    background: rgba(10,15,24,.94);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px)
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 18px;
    white-space: nowrap
}

.brand-mark {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    background: #172a45;
    border: 1px solid #2b4e7e;
    border-radius: 10px;
    color: #dbe9ff;
    font-size: 16px;
    letter-spacing: -2px
}

    .brand-mark span, .footer-brand span {
        color: var(--blue)
    }

.brand-beta {
    font-size: 9px;
    letter-spacing: 1.2px;
    color: #7992ae;
    border: 1px solid #324156;
    padding: 2px 6px;
    border-radius: 4px
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 29px;
    color: #a8b6ca;
    font-size: 13px;
    font-weight: 600
}

.nav-cta {
    border: 1px solid #354b6a;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

    .nav-cta span {
        color: var(--blue)
    }

.hero {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 52px;
    padding-top: 102px;
    padding-bottom: 114px;
    min-height: 650px
}

.eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #74aaff;
    display: flex;
    align-items: center;
    gap: 9px
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #61dba5;
    box-shadow: 0 0 0 4px #61dba51a
}

.hero h1 {
    font-size: clamp(44px,5.2vw,70px);
    line-height: 1.08;
    letter-spacing: -3px;
    margin: 24px 0 22px;
    font-weight: 800
}

    .hero h1 span, .section h2 span, .cta-inner h2 span, .page-section h1 span {
        color: var(--blue)
    }

.hero-lead, .page-lead {
    color: #a6b4c7;
    font-size: 17px;
    max-width: 530px;
    line-height: 1.8
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 9px;
    padding: 13px 20px;
    font-weight: 800;
    font-size: 13px;
    min-height: 47px;
    transition: .2s
}

    .button:hover {
        transform: translateY(-2px);
        color: white
    }

    .button.primary {
        background: linear-gradient(120deg,#428dff,#2971df);
        color: white;
        box-shadow: 0 9px 25px #206ad52e
    }

    .button.secondary {
        background: #141e2c;
        border: 1px solid #35455b;
        color: #dbe5f4
    }

.hero-facts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #899db5;
    font-size: 12px;
    margin-top: 28px
}

    .hero-facts b {
        color: #65d7a4;
        margin-right: 4px
    }

.hero-visual {
    min-width: 0;
    position: relative
}

    .hero-visual:before {
        content: '';
        position: absolute;
        inset: 4% -6%;
        background: #2568bd;
        filter: blur(90px);
        opacity: .18
    }

.editor-window {
    position: relative;
    background: #0e1520;
    border: 1px solid #35465e;
    border-radius: 13px;
    box-shadow: 0 34px 75px #0009;
    overflow: visible;
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg)
}

.editor-top {
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 13px 13px 0 0;
    background: #1b2636;
    border-bottom: 1px solid #304055;
    padding: 0 14px;
    font: 10px 'JetBrains Mono',monospace;
    color: #a8b8c9
}

.window-dots {
    display: flex;
    gap: 6px
}

    .window-dots i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ff6c6c
    }

        .window-dots i:nth-child(2) {
            background: #f9c66e
        }

        .window-dots i:nth-child(3) {
            background: #59ca91
        }

.editor-status {
    color: #70d4a5
}

.editor-tabs {
    display: flex;
    align-items: end;
    height: 39px;
    background: #111b29;
    border-bottom: 1px solid #26384d;
    overflow: hidden
}

.editor-tab {
    font: 10px 'JetBrains Mono',monospace;
    color: #899caf;
    padding: 11px 14px
}

    .editor-tab.active {
        background: #0e1520;
        color: #e2eafa;
        border-top: 2px solid #579cfe;
        padding-top: 9px
    }

.tab-sql {
    color: #76b6ff
}

.tab-x {
    margin-left: 8px;
    color: #77869b
}

.editor-content {
    display: flex;
    padding: 20px 8px 25px 0;
    min-height: 320px;
    overflow: auto;
    font: 11.2px/2.12 'JetBrains Mono',monospace;
    white-space: nowrap
}

.gutter {
    color: #53677d;
    text-align: right;
    padding: 0 15px 0 13px;
    user-select: none;
    border-right: 1px solid #263244
}

.code-lines {
    padding-left: 18px;
    color: #d3e0f0
}

.keyword {
    color: #7caeff
}

.function {
    color: #e2c27d
}

.string {
    color: #c3d88d
}

.comment {
    color: #678a82
}

.editor-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 14px;
    border-top: 1px solid #27364a;
    background: #111c2b;
    border-radius: 0 0 13px 13px;
    font: 9px 'JetBrains Mono',monospace;
    color: #899caf
}

.ok-dot {
    color: #62d6a2
}

.editor-floating {
    position: absolute;
    right: -25px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #192b42;
    border: 1px solid #41618a;
    border-radius: 10px;
    padding: 13px 15px;
    box-shadow: 0 12px 35px #0008
}

.sparkle {
    color: #86b7ff;
    font-size: 22px
}

.editor-floating strong, .editor-floating small {
    display: block
}

.editor-floating strong {
    font-size: 11px
}

.editor-floating small {
    font-size: 9px;
    color: #a5b9d0
}

.floating-check {
    color: #6fe0aa;
    margin-left: 14px
}

.strip {
    border-top: 1px solid #1c2939;
    border-bottom: 1px solid #1c2939;
    background: #0d1521
}

.strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding-top: 24px;
    padding-bottom: 24px;
    flex-wrap: wrap
}

    .strip-inner > span:first-child {
        color: #6f859d;
        font-size: 10px;
        letter-spacing: 1.4px;
        font-weight: 800
    }

    .strip-inner strong {
        font: 11px 'JetBrains Mono',monospace;
        color: #8c9bb0;
        letter-spacing: 1px
    }

.strip-separator {
    height: 20px;
    width: 1px;
    background: #304054
}

.section {
    padding-top: 112px;
    padding-bottom: 130px
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px
}

.section h2, .cta-inner h2 {
    font-size: clamp(34px,4vw,50px);
    letter-spacing: -1.8px;
    line-height: 1.2;
    margin: 15px 0
}

.section-head p {
    max-width: 560px;
    color: #94a4ba;
    margin: 0
}

.text-link {
    color: #8abaff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 17px
}

.feature-card {
    background: linear-gradient(145deg,#141e2d,#101723);
    border: 1px solid #28364a;
    border-radius: 13px;
    padding: 29px;
    min-height: 242px;
    transition: .2s
}

    .feature-card:hover {
        border-color: #4b77af;
        transform: translateY(-3px)
    }

.feature-icon {
    height: 42px;
    width: 42px;
    border-radius: 10px;
    background: #1b3557;
    color: #80b7ff;
    display: grid;
    place-items: center;
    font: 700 19px 'JetBrains Mono',monospace;
    margin-bottom: 23px
}

.feature-card h3 {
    font-size: 17px;
    margin: 0 0 8px
}

.feature-card p {
    font-size: 13px;
    color: #98a9bc;
    margin: 0;
    line-height: 1.75
}

.feature-tag {
    display: inline-block;
    color: #75adf4;
    margin-top: 25px;
    font-size: 11px;
    font-weight: 700
}

.feature-card.featured {
    background: linear-gradient(145deg,#192d49,#111a2b)
}

.feature-mini {
    font: 10px/1.9 'JetBrains Mono',monospace;
    margin-top: 19px;
    padding: 12px;
    background: #0d1828;
    border: 1px solid #263e60;
    border-radius: 7px;
    color: #cbd9e8
}

.mini-keyword {
    color: #79b3ff
}

.cta-section {
    background: radial-gradient(ellipse at center,#193354 0,#0d1726 56%,#0a111c 100%);
    border-top: 1px solid #283b55
}

.cta-inner {
    text-align: center;
    padding-top: 105px;
    padding-bottom: 112px
}

    .cta-inner .eyebrow {
        justify-content: center
    }

    .cta-inner h2 {
        font-size: clamp(42px,5vw,63px)
    }

    .cta-inner p {
        color: #9eb1c7;
        margin-bottom: 26px
    }

.site-footer {
    background: #090e16;
    border-top: 1px solid #1d2b3b
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 48px;
    padding-bottom: 35px
}

.footer-brand {
    font-size: 18px;
    font-weight: 800
}

.footer-inner p {
    color: #7f91a6;
    font-size: 12px
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 12px;
    color: #a1b1c5
}

.footer-bottom {
    border-top: 1px solid #1b2736;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 25px;
    color: #65778e;
    font-size: 11px
}

.page-section {
    padding-top: 95px;
    padding-bottom: 130px;
    min-height: 70vh
}

    .page-section h1 {
        font-size: clamp(42px,5vw,65px);
        letter-spacing: -2.5px;
        line-height: 1.2;
        margin: 17px 0
    }

.page-lead {
    margin-bottom: 45px
}

.download-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    gap: 26px;
    align-items: start
}

.download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: linear-gradient(120deg,#192c47,#121e30);
    border: 1px solid #355377;
    border-radius: 14px;
    flex-wrap: wrap
}

.download-icon {
    width: 57px;
    height: 57px;
    background: #244a78;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #9ac7ff;
    font-size: 29px
}

.download-details {
    flex: 1;
    min-width: 200px
}

.pill {
    display: inline-flex;
    color: #8fc0ff;
    border: 1px solid #3c5d87;
    background: #1c3554;
    border-radius: 5px;
    padding: 3px 8px;
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 800
}

.download-details h2 {
    font-size: 22px;
    margin: 7px 0 0
}

.download-details p {
    font-size: 12px;
    color: #a0b1c6;
    margin: 3px 0
}

.download-button {
    width: 100%;
    margin-top: 7px
}

.download-unavailable {
    width: 100%;
    padding: 13px;
    border: 1px dashed #40526b;
    border-radius: 8px;
    color: #b1bfd0;
    font-size: 12px
}

.info-note {
    display: flex;
    gap: 13px;
    margin-top: 20px;
    background: #122137;
    border: 1px solid #294462;
    border-radius: 10px;
    padding: 16px;
    color: #a5b7cc;
    font-size: 12px
}

    .info-note span {
        color: #83baff;
        font-size: 20px
    }

.hash-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #28384b;
    border-radius: 9px
}

    .hash-box strong {
        display: block;
        font-size: 12px;
        margin-bottom: 7px
    }

    .hash-box code {
        font-size: 11px;
        color: #9db1c9;
        word-break: break-all
    }

.subheading {
    font-size: 24px;
    margin-top: 50px
}

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

    .steps > div {
        border-top: 1px solid #2a3a4e;
        padding-top: 15px
    }

    .steps b {
        color: #74abff;
        font: 700 13px 'JetBrains Mono',monospace
    }

    .steps h3 {
        font-size: 15px;
        margin: 9px 0 5px
    }

    .steps p {
        font-size: 12px;
        color: #9baac0;
        margin: 0
    }

.sidebar {
    background: #111a28;
    border: 1px solid #29384b;
    border-radius: 13px;
    padding: 25px
}

    .sidebar h3 {
        font-size: 15px;
        margin: 0 0 19px
    }

    .sidebar p {
        color: #9baac0;
        font-size: 12px
    }

    .sidebar hr {
        border: 0;
        border-top: 1px solid #29384b;
        margin: 24px 0
    }

.requirement {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0;
    font-size: 12px
}

    .requirement span {
        color: #8b9db3
    }

    .requirement strong {
        font-size: 12px
    }

.narrow {
    max-width: 900px
}

.timeline {
    border-left: 1px solid #344966;
    margin: 50px 0 0 10px
}

.release {
    position: relative;
    padding-left: 36px
}

.release-marker {
    position: absolute;
    left: -7px;
    top: 9px;
    width: 13px;
    height: 13px;
    border: 3px solid #69a8ff;
    background: #0d1725;
    border-radius: 50%
}

.release-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap
}

    .release-heading h2 {
        font-size: 27px;
        margin: 0
    }

.release-intro {
    color: #a2b4ca
}

.release-body h3 {
    font-size: 14px;
    margin-top: 29px
}

.release-body ul {
    color: #9dadc1;
    font-size: 14px;
    line-height: 2;
    padding-left: 20px
}

.release-archive {
    margin-top: 60px;
    padding: 25px;
    background: #121c2a;
    border: 1px solid #29384b;
    border-radius: 12px
}

    .release-archive h2 {
        margin: 0;
        font-size: 19px
    }

    .release-archive p {
        font-size: 13px;
        color: #91a2b8
    }

.latest-api {
    margin-top: 24px;
    color: #9bb0c8;
    font-size: 13px
}

    .latest-api a {
        color: #83b7ff
    }

.docs-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 70px
}

.docs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 10px;
    align-self: start;
    position: sticky;
    top: 110px
}

    .docs-sidebar a {
        font-size: 13px;
        color: #9eb0c5
    }

.docs-content section {
    padding: 25px 0;
    border-bottom: 1px solid #243347;
    scroll-margin-top: 100px
}

.docs-content h2 {
    font-size: 23px
}

.docs-content section p {
    color: #a0b1c5;
    font-size: 14px
}

.docs-content section a {
    color: #85b9ff
}

@media(max-width:1000px) {
    .hero {
        gap: 25px
    }

    .nav-links {
        gap: 15px
    }

    .editor-content {
        font-size: 9.5px
    }

    .features-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .download-layout {
        grid-template-columns: 1fr
    }

    .sidebar {
        max-width: none
    }
}

@media(max-width:760px) {
    .site-header {
        height: auto;
        min-height: 70px
    }

    .nav-wrap {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px
    }

    .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 2px
    }

    .nav-cta {
        margin-left: auto
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 65px;
        padding-bottom: 75px;
        gap: 60px
    }

        .hero h1 {
            letter-spacing: -2px
        }

    .hero-visual {
        margin-right: 20px
    }

    .editor-window {
        transform: none
    }

    .editor-floating {
        right: -16px
    }

    .strip-inner {
        justify-content: center
    }

    .strip-separator {
        display: none
    }

    .section {
        padding-top: 70px;
        padding-bottom: 80px
    }

    .section-head {
        display: block
    }

        .section-head .text-link {
            display: inline-block;
            margin-top: 18px
        }

    .features-grid {
        grid-template-columns: 1fr
    }

    .feature-card {
        min-height: unset
    }

    .footer-inner, .footer-bottom {
        flex-direction: column
    }

    .docs-layout {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .docs-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap
    }

    .page-section {
        padding-top: 55px;
        padding-bottom: 75px
    }

    .steps {
        grid-template-columns: 1fr
    }

    .container {
        padding-left: 20px;
        padding-right: 20px
    }
}

@media(max-width:420px) {
    .brand-beta {
        display: none
    }

    .nav-cta {
        padding: 8px;
        font-size: 10px
    }

    .hero-actions {
        flex-direction: column
    }

        .hero-actions .button {
            width: 100%
        }

    .editor-content {
        font-size: 8px
    }

    .editor-floating {
        bottom: 26px
    }

    .editor-status {
        display: none
    }
}



/* Release Notes - Markdown */

.release-markdown {
    margin-top: 24px;
    line-height: 1.8;
    color: #b9c8df;
}

    .release-markdown h3 {
        margin-top: 28px;
        margin-bottom: 12px;
        color: #f0f5ff;
        font-size: 18px;
        font-weight: 650;
    }

    .release-markdown h4 {
        margin-top: 20px;
        margin-bottom: 10px;
        color: #e5edfa;
        font-size: 15px;
    }

    .release-markdown p {
        margin-bottom: 14px;
    }

    .release-markdown ul {
        padding-left: 22px;
        margin-bottom: 20px;
    }

    .release-markdown li {
        margin-bottom: 10px;
        padding-left: 4px;
    }

        .release-markdown li::marker {
            color: #4d94ff;
        }

    .release-markdown strong {
        color: #f0f5ff;
        font-weight: 600;
    }

    .release-markdown a {
        color: #62a2ff;
        text-decoration: none;
    }

        .release-markdown a:hover {
            text-decoration: underline;
        }

    .release-markdown code {
        color: #8dc0ff;
        overflow-wrap: anywhere;
    }

    .release-markdown > :first-child {
        margin-top: 0;
    }
