:root {
    color-scheme: dark;
    --bg: #07100e;
    --bg-soft: #0a1613;
    --panel: #0d1c18;
    --panel-strong: #10241e;
    --line: rgba(132, 178, 161, .17);
    --line-bright: rgba(69, 227, 164, .35);
    --text: #f2f8f5;
    --muted: #91aaa1;
    --green: #45e3a4;
    --green-light: #b9ffe2;
    --red: #ff6b78;
    --shell: min(1180px, calc(100vw - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 86% 4%, rgba(31, 128, 93, .12), transparent 32rem),
        var(--bg);
    color: var(--text);
    font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-200%);
    border-radius: 8px;
    background: var(--green);
    color: #04100c;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 40;
    top: 0;
    border-bottom: 1px solid rgba(135, 173, 159, .13);
    background: rgba(7, 16, 14, .9);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: 210px 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
}

.brand img {
    width: 195px;
    height: auto;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.site-nav a {
    padding: 9px 12px;
    border-radius: 8px;
    color: #9db3ab;
    font-size: 13px;
    font-weight: 650;
    transition: color .2s ease, background .2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: rgba(69, 227, 164, .08);
    color: var(--text);
}

.header-actions,
.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-link {
    padding: 9px;
    color: #b4c7c0;
    font-size: 13px;
    font-weight: 700;
}

.button {
    min-height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0 21px;
    border: 1px solid var(--green);
    border-radius: 10px;
    background: var(--green);
    box-shadow: 0 12px 34px rgba(69, 227, 164, .13);
    color: #04110c;
    font-size: 14px;
    font-weight: 850;
    transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(69, 227, 164, .2);
}

.button-small {
    min-height: 40px;
    padding-inline: 16px;
    border-radius: 8px;
    font-size: 12px;
}

.button-secondary {
    border-color: rgba(169, 205, 191, .2);
    background: rgba(16, 36, 30, .7);
    box-shadow: none;
    color: #dcebe5;
}

.hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .15;
    background-image:
        linear-gradient(rgba(132, 178, 161, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(132, 178, 161, .14) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.hero-glow-one {
    width: 550px;
    height: 550px;
    top: -290px;
    right: -80px;
    background: radial-gradient(circle, rgba(69, 227, 164, .16), transparent 68%);
}

.hero-glow-two {
    width: 360px;
    height: 360px;
    bottom: -240px;
    left: 4%;
    background: radial-gradient(circle, rgba(255, 107, 120, .08), transparent 70%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    align-items: center;
    gap: clamp(48px, 7vw, 92px);
    padding-block: 84px 92px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: #66847a;
    font-size: 12px;
    font-weight: 700;
}

.breadcrumbs a {
    color: #92aca2;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--green);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .17em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow span {
    width: 22px;
    height: 1px;
    background: currentColor;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(44px, 5.7vw, 76px);
    font-weight: 820;
    letter-spacing: -.055em;
    line-height: .99;
}

.hero-intro {
    max-width: 650px;
    margin: 26px 0 0;
    color: #9eb3ab;
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.7;
}

.hero-copy .hero-actions {
    margin-top: 34px;
}

.page-demo .hero {
    min-height: auto;
}

.page-demo .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 46px 48px;
}

.page-demo .hero-copy {
    max-width: 980px;
}

.page-demo .breadcrumbs {
    margin-bottom: 16px;
}

.page-demo .hero-copy h1 {
    max-width: 900px;
    font-size: clamp(44px, 5vw, 68px);
}

.page-demo .hero-intro {
    max-width: 820px;
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.6;
}

.page-demo .hero-copy .hero-actions {
    margin-top: 24px;
}

.page-demo .engine-card {
    display: none;
}

.engine-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(111, 174, 151, .25);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(16, 36, 30, .97), rgba(8, 20, 17, .97));
    box-shadow: 0 36px 100px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .03);
}

.engine-card::after {
    position: absolute;
    width: 200px;
    height: 200px;
    right: -100px;
    bottom: -110px;
    content: "";
    border-radius: 50%;
    background: rgba(69, 227, 164, .1);
    filter: blur(50px);
}

.engine-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.engine-topline p {
    margin: 0 0 4px;
    color: #58776c;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.engine-topline strong {
    font-size: 14px;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid rgba(69, 227, 164, .2);
    border-radius: 99px;
    background: rgba(69, 227, 164, .08);
    color: #8ff5cd;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.live-pill i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(69, 227, 164, .11);
}

.market-visual {
    position: relative;
    height: 245px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(rgba(132, 178, 161, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(132, 178, 161, .07) 1px, transparent 1px);
    background-size: 52px 52px;
}

.market-visual svg {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: visible;
}

.chart-area {
    fill: url("#chart-fill");
}

.chart-line {
    fill: none;
    stroke: var(--green);
    stroke-linecap: round;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.market-visual circle {
    fill: var(--green-light);
    stroke: rgba(69, 227, 164, .25);
    stroke-width: 10;
}

.snapshot-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.snapshot-grid > div {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 17px;
    border-right: 1px solid var(--line);
}

.snapshot-grid > div:last-child {
    border-right: 0;
}

.snapshot-grid span {
    color: #66847a;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.snapshot-grid strong {
    margin-top: 7px;
    color: #d9e9e3;
    font-size: 12px;
}

.feature-band,
.content-section,
.related-section,
.faq-section,
.cta-section {
    padding-block: 104px;
}

.feature-band {
    border-bottom: 1px solid var(--line);
}

.section-heading {
    max-width: 660px;
    margin-bottom: 45px;
}

.section-heading h2,
.content-heading h2,
.cta-panel h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.feature-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(13, 28, 24, .48), rgba(7, 16, 14, .15));
    transition: background .2s ease, transform .2s ease;
}

.feature-card:hover {
    background: rgba(16, 36, 30, .66);
    transform: translateY(-3px);
}

.card-index {
    color: #426358;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 11px;
    font-weight: 750;
}

.feature-card h3 {
    margin: 52px 0 14px;
    font-size: 23px;
    letter-spacing: -.025em;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.feature-card a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 28px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.content-section {
    border-bottom: 1px solid var(--line);
}

.content-section-alt {
    background: rgba(10, 22, 19, .55);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
    gap: clamp(60px, 10vw, 140px);
    align-items: start;
}

.content-heading > p:last-child {
    max-width: 570px;
    margin: 25px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.detail-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.detail-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    align-items: start;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.detail-list span {
    padding-top: 3px;
    color: var(--green);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 10px;
    font-weight: 800;
}

.detail-list p {
    margin: 0;
    color: #c4d5cf;
    font-size: 15px;
}

.related-section {
    border-bottom: 1px solid var(--line);
}

.section-heading-row {
    max-width: none;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: end;
}

.section-heading-row > p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
}

.related-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
}

.related-links a {
    position: relative;
    min-height: 154px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px 70px 26px 25px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background .2s ease;
}

.related-links a:nth-child(even) {
    border-right: 0;
}

.related-links a:hover {
    background: rgba(69, 227, 164, .045);
}

.related-links span {
    margin-bottom: 8px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.related-links strong {
    max-width: 460px;
    font-size: 17px;
    line-height: 1.45;
}

.related-links i {
    position: absolute;
    right: 27px;
    color: #55756a;
    font-size: 20px;
    font-style: normal;
}

.faq-section {
    border-bottom: 1px solid var(--line);
    background: rgba(10, 22, 19, .46);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(480px, 1.25fr);
    gap: clamp(50px, 9vw, 130px);
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 0;
    cursor: pointer;
    color: #dcebe5;
    font-size: 15px;
    font-weight: 750;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    color: var(--green);
    font-size: 20px;
    font-weight: 400;
    transition: transform .2s ease;
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 650px;
    margin: -5px 0 25px;
    padding-right: 40px;
    color: var(--muted);
    font-size: 14px;
}

.cta-section {
    padding-block: 80px;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: center;
    padding: clamp(36px, 6vw, 68px);
    border: 1px solid var(--line-bright);
    border-radius: 18px;
    background:
        radial-gradient(circle at 90% 0, rgba(69, 227, 164, .14), transparent 28rem),
        var(--panel);
}

.cta-panel::after {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -110px;
    bottom: -120px;
    content: "";
    border: 1px solid rgba(69, 227, 164, .25);
    transform: rotate(45deg);
}

.cta-panel h2 {
    max-width: 720px;
}

.cta-panel .hero-actions {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.site-footer {
    padding-block: 70px 30px;
    border-top: 1px solid rgba(255, 255, 255, .02);
    background: #050c0a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 70px;
}

.footer-grid > div:first-child p {
    max-width: 330px;
    margin: 18px 0 0;
    color: #66847a;
    font-size: 13px;
}

.footer-grid nav,
.footer-account {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer-grid nav a,
.footer-account a {
    color: #8da69d;
    font-size: 12px;
    font-weight: 700;
}

.footer-grid nav a:hover,
.footer-account a:hover {
    color: var(--green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #49665c;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.error-page {
    min-height: 100vh;
    width: min(760px, calc(100vw - 40px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: auto;
}

.error-page .brand {
    margin-bottom: 70px;
}

.error-code {
    margin: 0 0 12px;
    color: var(--green);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
}

.error-page h1 {
    max-width: 680px;
    font-size: clamp(40px, 7vw, 68px);
}

.error-page > p:not(.error-code) {
    margin: 24px 0 34px;
    color: var(--muted);
    font-size: 17px;
}

@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: 190px 1fr auto;
    }

    .site-nav a {
        padding-inline: 8px;
        font-size: 11px;
    }

    .hero-grid {
        grid-template-columns: 1fr 430px;
        gap: 44px;
    }

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

@media (max-width: 900px) {
    .header-inner {
        min-height: 68px;
        grid-template-columns: 1fr auto;
    }

    .site-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .header-actions .text-link {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-block: 70px;
    }

    .engine-card {
        max-width: 680px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 260px;
    }

    .feature-card h3 {
        margin-top: 35px;
    }

    .content-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    :root {
        --shell: min(100% - 28px, 1180px);
    }

    .brand img {
        width: 160px;
    }

    .button-small {
        min-height: 36px;
        padding-inline: 12px;
    }

    .hero-grid {
        padding-block: 52px 60px;
    }

    .page-demo .hero-grid {
        padding-block: 32px 36px;
    }

    .page-demo .hero-copy h1 {
        font-size: clamp(40px, 12vw, 50px);
    }

    .page-demo .hero-intro {
        font-size: 15px;
        line-height: 1.55;
    }

    .page-demo .hero-actions .button-secondary {
        display: none;
    }

    h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .hero-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

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

    .market-visual {
        height: 190px;
    }

    .snapshot-grid {
        grid-template-columns: 1fr;
    }

    .snapshot-grid > div {
        min-height: 68px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .snapshot-grid > div:last-child {
        border-bottom: 0;
    }

    .feature-band,
    .content-section,
    .related-section,
    .faq-section {
        padding-block: 72px;
    }

    .feature-card {
        min-height: 280px;
        padding: 24px;
    }

    .content-grid {
        gap: 45px;
    }

    .detail-list li {
        grid-template-columns: 34px 1fr;
        gap: 12px;
    }

    .related-links {
        grid-template-columns: 1fr;
    }

    .related-links a,
    .related-links a:nth-child(even) {
        border-right: 0;
    }

    .cta-section {
        padding-block: 55px;
    }

    .cta-panel {
        gap: 35px;
        padding: 28px 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px 25px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .error-page .hero-actions {
        max-width: 330px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
