:root {
    color-scheme: light;
    --ink: #101c20;
    --muted: #637176;
    --subtle: #899496;
    --line: #e2e9e6;
    --paper: #f7f9f7;
    --white: #fff;
    --green: #087f5b;
    --green-bright: #31d69a;
    --deep: #0d171b;
    --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
    --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --page-width: 1200px;
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(ellipse at 14% 4%, rgba(206, 245, 226, .23), transparent 33rem),
        var(--paper);
}

body, button, input, textarea {
    font-family: var(--sans);
}

a {
    color: inherit;
    text-decoration: none;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    color: #062c22;
    background: #b9f4d9;
}

.page-wrap {
    width: min(var(--page-width), calc(100% - 64px));
    margin-inline: auto;
}

.site-shell {
    overflow: clip;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(221, 231, 226, .75);
    background: rgba(250, 251, 249, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.075em;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    object-fit: cover;
}

.brand-period {
    color: var(--green);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 42px);
    color: #4b5b5e;
    font-size: 13px;
    font-weight: 600;
}

.main-nav a,
.footer-links a {
    transition: color .2s ease;
}

.main-nav a:hover,
.footer-links a:hover {
    color: var(--green);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    border: 1px solid #d7e2dc;
    border-radius: 999px;
    padding: 11px 16px;
    color: var(--ink);
    background: rgba(255,255,255,.7);
    font-size: 12px;
    font-weight: 700;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.header-cta span {
    color: var(--green);
    font-size: 15px;
}

.header-cta:hover {
    transform: translateY(-1px);
    border-color: #8fcbb1;
    background: #fff;
}

.hero {
    display: grid;
    min-height: 620px;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: clamp(36px, 6vw, 92px);
    padding-block: 92px 100px;
}

.hero-copy {
    position: relative;
    z-index: 1;
    animation: enter-up .85s cubic-bezier(.2,.75,.25,1) both;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .12em;
    line-height: 1.6;
}

.hero-copy > .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #49635b;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #21b77a;
    box-shadow: 0 0 0 4px rgba(33, 183, 122, .12);
}

h1, h2, h3, p {
    margin-top: 0;
}

.hero h1 {
    margin-bottom: 25px;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 700;
    letter-spacing: -.078em;
    line-height: .99;
}

.hero h1 span,
.section-heading h2 span,
.quickstart-copy h2 span,
.reference-cta h2 span,
.document-hero h1 span {
    color: #81918c;
}

.hero-lede {
    max-width: 505px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
}

.button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 21px;
    border-radius: 999px;
    padding: 0 21px;
    font-size: 12px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button span {
    font-size: 16px;
}

.button-dark {
    color: white;
    background: #10221e;
    box-shadow: 0 8px 20px rgba(13, 36, 28, .12);
}

.button-dark:hover {
    background: #154a38;
    box-shadow: 0 11px 25px rgba(13, 76, 53, .2);
}

.button-light {
    color: #12352c;
    background: #c4f5dd;
}

.button-light:hover {
    background: #d8f9e8;
    box-shadow: 0 8px 24px rgba(120, 233, 176, .17);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #283b3a;
    font-size: 12px;
    font-weight: 700;
    transition: gap .2s ease, color .2s ease;
}

.text-link span,
.feature-card a span {
    color: var(--green);
    font-size: 16px;
}

.text-link:hover,
.feature-card a:hover {
    gap: 14px;
    color: var(--green);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 46px;
    color: #7a8785;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .04em;
}

.hero-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.meta-mark {
    color: var(--green);
    font-size: 12px;
}

.hero-art {
    position: relative;
    display: grid;
    min-height: 390px;
    align-items: center;
    animation: enter-up 1s .12s cubic-bezier(.2,.75,.25,1) both;
}

.ambient {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.ambient-one {
    top: 0;
    right: -8%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(151, 245, 198, .48) 0, rgba(210, 248, 227, .3) 38%, rgba(210, 248, 227, 0) 70%);
    translate: 0 var(--scroll-offset, 0px);
    animation: float-one 13s ease-in-out infinite alternate;
}

.ambient-two {
    bottom: -10%;
    left: -5%;
    width: 270px;
    height: 270px;
    background: radial-gradient(circle, rgba(148, 198, 255, .28) 0, rgba(196, 219, 248, .16) 45%, transparent 70%);
    translate: 0 var(--scroll-offset, 0px);
    animation: float-two 17s ease-in-out infinite alternate;
}

.code-window {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 17px;
    background: #111b1d;
    box-shadow: 0 34px 90px rgba(27, 62, 47, .19), 0 5px 18px rgba(28, 43, 39, .09);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transition: transform .6s cubic-bezier(.2,.75,.25,1);
}

.code-window:hover {
    transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-4px);
}

.window-bar {
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-inline: 18px;
    color: #a2b1ae;
    font-family: var(--mono);
    font-size: 10px;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #56615d;
}

.window-controls i:first-child { background: #fb8279; }
.window-controls i:nth-child(2) { background: #f5c465; }
.window-controls i:nth-child(3) { background: #5ecb8a; }

.window-language {
    color: #6cd9a5;
    font-size: 8px;
    letter-spacing: .12em;
}

pre, code {
    font-family: var(--mono);
}

.code-window pre {
    overflow-x: auto;
    margin: 0;
    padding: 30px 21px 31px;
    color: #e4ece8;
    font-size: clamp(9px, 1vw, 12px);
    line-height: 2.1;
    tab-size: 4;
}

.code-muted { color: #50615d; }
.code-keyword { color: #63deb1; }
.code-attribute { color: #c2e08c; }
.code-type { color: #91c8f6; }
.code-string { color: #e9ca91; }
.code-directive { color: #bca8f2; }

.code-window-foot {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 14px 20px;
    color: #83928d;
    font-family: var(--mono);
    font-size: 8px;
}

.code-window-foot > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b2c3bc;
    letter-spacing: .06em;
}

.code-window-foot .status-dot {
    width: 5px;
    height: 5px;
    box-shadow: none;
}

.art-note {
    position: absolute;
    right: 2%;
    bottom: -6px;
    color: #70817a;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .02em;
}

.brand-banner {
    position: relative;
    margin-bottom: 38px;
    border-radius: 18px;
}

.brand-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 84, 49, .13);
}

.section-space {
    padding-block: 110px;
}

.intro-section {
    border-top: 1px solid #e8eeeb;
    background: rgba(255,255,255,.48);
}

.section-heading {
    max-width: 690px;
    margin-bottom: 55px;
}

.section-heading h2,
.quickstart-copy h2,
.reference-cta h2 {
    margin-bottom: 18px;
    font-size: clamp(38px, 4.6vw, 58px);
    font-weight: 650;
    letter-spacing: -.075em;
    line-height: 1.04;
}

.section-heading > p:last-child,
.quickstart-copy > p:not(.eyebrow),
.reference-cta > .reference-cta-inner > div:first-child > p:last-child {
    max-width: 550px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.feature-card {
    position: relative;
    min-height: 280px;
    border: 1px solid #e6ece8;
    border-radius: 14px;
    padding: 26px;
    background: rgba(255,255,255,.76);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.feature-card:hover,
.path-card:hover {
    transform: translateY(-4px);
    border-color: #badbca;
    box-shadow: 0 18px 42px rgba(26, 65, 47, .07);
}

.feature-index,
.path-label {
    color: #75847d;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .09em;
}

.feature-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-block: 27px 19px;
    border-radius: 11px;
    font-size: 19px;
}

.icon-green { color: #078b61; background: #dcf7e9; }
.icon-blue { color: #3d7fc2; background: #e3f1ff; }
.icon-violet { color: #7660bd; background: #eeebff; }

.feature-card h3,
.path-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.04em;
}

.feature-card p,
.path-card p {
    min-height: 66px;
    margin-bottom: 19px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.feature-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #263a35;
    font-size: 11px;
    font-weight: 700;
    transition: gap .2s ease, color .2s ease;
}

.quickstart-section {
    position: relative;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(ellipse at 88% 20%, rgba(31, 106, 74, .3), transparent 35rem),
        #10201e;
}

.quickstart-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: clamp(42px, 9vw, 130px);
}

.quickstart-copy .eyebrow {
    color: #81d5ae;
}

.quickstart-copy h2 {
    color: white;
}

.quickstart-copy h2 span {
    color: #93aaa0;
}

.quickstart-copy > p:not(.eyebrow) {
    margin-bottom: 28px;
    color: #a2b2ac;
}

.quickstart-copy .button {
    margin-bottom: 17px;
}

.download-link {
    display: block;
    width: fit-content;
    margin-top: 12px;
    color: #81d5ae;
    font-size: 11px;
    font-weight: 650;
}

.download-link span {
    margin-left: 6px;
    font-size: 14px;
}

.download-link:hover {
    color: #c7f5dc;
}

.terminal-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: #0b1414;
    box-shadow: 0 30px 75px rgba(0,0,0,.2);
}

.terminal-title {
    display: flex;
    min-height: 49px;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-inline: 18px;
    color: #aab7b2;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .08em;
}

.terminal-title > span:last-child {
    color: #65756f;
    letter-spacing: 0;
}

.terminal-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5fd69c;
    box-shadow: 0 0 12px rgba(95,214,156,.5);
}

.terminal-card pre {
    overflow-x: auto;
    margin: 0;
    padding: 25px 22px 15px;
    color: #dbe5e0;
    font-size: clamp(9px, 1vw, 11px);
    line-height: 2.3;
}

.terminal-comment { color: #71817a; }
.terminal-prompt { color: #6bd9a2; }
.terminal-success { color: #baf3d5; }

.terminal-caption {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 13px 22px;
    color: #75847d;
    font-family: var(--mono);
    font-size: 8px;
}

.path-section {
    background: #f8faf8;
}

.section-heading-row {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.section-heading-row > p {
    max-width: 290px;
    margin-bottom: 22px !important;
}

.path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.path-card {
    border: 1px solid #e3eae6;
    border-radius: 15px;
    padding: clamp(25px, 4vw, 38px);
    background: white;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.path-card-featured {
    border-color: #d5e9dd;
    background: linear-gradient(135deg, #f4fcf7 0%, #fff 82%);
}

.path-card h3 {
    margin-top: 23px;
    font-size: 23px;
}

.path-card p {
    max-width: 465px;
    min-height: 48px;
    font-size: 13px;
}

.inline-command {
    display: block;
    overflow-x: auto;
    margin-bottom: 24px;
    border: 1px solid #e9efeb;
    border-radius: 7px;
    padding: 12px 13px;
    color: #345d4e;
    background: #f8faf8;
    font-size: 9px;
    white-space: nowrap;
}

.path-card .text-link {
    color: #184b39;
}

.reference-cta {
    padding-top: 0;
    background: #f8faf8;
}

.reference-cta-inner {
    position: relative;
    display: flex;
    min-height: 320px;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    overflow: hidden;
    border-radius: 18px;
    padding: clamp(34px, 6vw, 72px);
    background:
        radial-gradient(ellipse at 93% 5%, rgba(66, 182, 123, .13), transparent 31rem),
        #eaf5ee;
}

.reference-cta h2 {
    font-size: clamp(36px, 4vw, 52px);
}

.reference-cta-inner > div:first-child > p:last-child {
    max-width: 480px;
}

.reference-actions {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: max-content;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.reference-actions .download-link {
    color: #3c795e;
}

.cta-decoration {
    position: absolute;
    right: 18%;
    bottom: -165px;
    width: 300px;
    opacity: .055;
    pointer-events: none;
}

.cta-decoration img {
    display: block;
    width: 100%;
    height: auto;
}

.site-footer {
    border-top: 1px solid #e6ece8;
    padding-top: 56px;
    background: #f7f9f7;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 48px;
}

.footer-brand {
    max-width: 260px;
}

.footer-brand p {
    margin: 14px 0 0 44px;
    color: #74827e;
    font-size: 11px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: clamp(46px, 8vw, 110px);
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-heading {
    margin-bottom: 3px;
    color: #8a9691;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .1em;
}

.footer-links a {
    color: #485752;
    font-size: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e6ece8;
    padding-block: 18px 22px;
    color: #8a9691;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .02em;
}

.document-page {
    min-height: 70vh;
}

.document-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e6ede9;
    background:
        radial-gradient(ellipse at 78% 14%, rgba(157, 240, 193, .23), transparent 28rem),
        linear-gradient(120deg, #f2f8f3 0%, #f7f9f7 70%);
}

.document-hero::after {
    position: absolute;
    right: -125px;
    bottom: -245px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(24, 137, 89, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 44px rgba(24, 137, 89, .025), 0 0 0 94px rgba(24, 137, 89, .025);
    content: "";
    pointer-events: none;
}

.document-hero-inner {
    position: relative;
    z-index: 1;
    padding-block: 57px 62px;
}

.back-link {
    display: inline-block;
    margin-bottom: 54px;
    color: #687875;
    font-size: 11px;
    font-weight: 600;
}

.back-link:hover {
    color: var(--green);
}

.document-hero .eyebrow {
    margin-bottom: 15px;
}

.document-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(46px, 6.3vw, 74px);
    font-weight: 700;
    letter-spacing: -.078em;
    line-height: 1;
}

.document-lede {
    max-width: 600px;
    margin-bottom: 21px;
    color: #65736f;
    font-size: 14px;
    line-height: 1.85;
}

.document-meta {
    display: flex;
    gap: 10px;
    color: #87948f;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .1em;
}

.source-download {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 23px;
    border-bottom: 1px solid #c2d6ca;
    padding-bottom: 4px;
    color: #28694e;
    font-size: 10px;
    font-weight: 700;
}

.source-download span {
    font-size: 14px;
}

.source-download:hover {
    color: #064b32;
    border-color: #4d9a72;
}

.document-layout {
    display: grid;
    grid-template-columns: 205px minmax(0, 740px);
    justify-content: space-between;
    gap: clamp(45px, 8vw, 100px);
    padding-block: 62px 120px;
}

.document-sidebar {
    position: sticky;
    top: 118px;
    display: flex;
    height: fit-content;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-left: 1px solid #dce5e0;
    padding: 2px 0 3px 17px;
}

.sidebar-label {
    margin-bottom: 5px;
    color: #85928d;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .12em;
}

.document-sidebar a {
    color: #687671;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.5;
    transition: color .2s ease;
}

.document-sidebar a:hover {
    color: var(--green);
}

.document-content {
    min-width: 0;
}

.doc-section {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 17px;
    margin-bottom: 66px;
    scroll-margin-top: 110px;
}

.step-number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #d5e7dc;
    border-radius: 50%;
    color: #178454;
    background: #eff9f2;
    font-family: var(--mono);
    font-size: 10px;
}

.doc-section .eyebrow {
    margin: 2px 0 9px;
    font-size: 8px;
}

.doc-section h2,
.reference-section h2 {
    margin-bottom: 15px;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 680;
    letter-spacing: -.065em;
    line-height: 1.16;
}

.doc-section p,
.reference-section > p:not(.eyebrow),
.reference-intro {
    color: #5f6d69;
    font-size: 12px;
    line-height: 1.9;
}

.document-content a:not(.button):not(.next-step-list a):not(.inline-doc-link) {
    color: #087d50;
    text-decoration: underline;
    text-decoration-color: #c0decb;
    text-underline-offset: 3px;
}

.document-content a:not(.button):not(.next-step-list a):not(.inline-doc-link):hover {
    color: #075f3e;
}

.document-content p code,
.detail-list code {
    border-radius: 4px;
    padding: 2px 4px;
    color: #24634a;
    background: #eaf3ed;
    font-size: .9em;
}

.snippet {
    overflow: hidden;
    margin-block: 20px;
    border: 1px solid #e1e9e4;
    border-radius: 9px;
    background: #fff;
}

.snippet-label {
    border-bottom: 1px solid #e8eeea;
    padding: 10px 14px;
    color: #81908a;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .1em;
}

.snippet pre {
    overflow-x: auto;
    margin: 0;
    padding: 16px;
    color: #283c36;
    font-size: 10px;
    line-height: 1.9;
    tab-size: 4;
}

.snippet .code-keyword { color: #078052; }
.snippet .code-attribute { color: #588232; }
.snippet .code-type { color: #3474ae; }
.snippet .code-string { color: #956b18; }
.snippet .code-directive { color: #7853be; }

.info-note {
    margin-top: 18px;
    border-left: 3px solid #63c493;
    border-radius: 0 7px 7px 0;
    padding: 13px 15px;
    color: #5d6c66;
    background: #eff8f1;
    font-size: 10px;
    line-height: 1.8;
}

.info-note strong {
    color: #254d39;
}

.inline-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    color: #087d50;
    font-size: 10px;
    font-weight: 700;
}

.next-step-list {
    overflow: hidden;
    margin-top: 22px;
    border: 1px solid #e1e9e4;
    border-radius: 10px;
    background: white;
}

.next-step-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #edf1ee;
    padding: 16px;
    transition: background .2s ease;
}

.next-step-list a:last-child {
    border-bottom: 0;
}

.next-step-list a:hover {
    background: #f6faf7;
}

.next-step-list strong,
.next-step-list small {
    display: block;
}

.next-step-list strong {
    margin-bottom: 5px;
    color: #213a30;
    font-size: 10px;
}

.next-step-list small {
    color: #798680;
    font-size: 9px;
    line-height: 1.6;
}

.next-step-list b {
    color: #258255;
    font-size: 15px;
}

.reference-intro {
    margin-bottom: 60px;
    color: #43554f;
    font-size: 14px;
}

.reference-section {
    margin-bottom: 64px;
    scroll-margin-top: 112px;
}

.reference-section > .eyebrow {
    margin-bottom: 10px;
}

.reference-section h2 {
    font-size: clamp(28px, 3.3vw, 38px);
}

.detail-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 24px;
    padding-left: 18px;
    color: #63716b;
    font-size: 11px;
    line-height: 1.8;
}

.detail-list li::marker {
    color: #39a871;
}

.detail-list strong {
    color: #314a3f;
}

.reference-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    border-radius: 10px;
    padding: 22px;
    background: #eaf5ed;
}

.reference-next .eyebrow {
    margin-bottom: 7px;
    font-size: 8px;
}

.reference-next h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.04em;
}

.reference-next .button {
    min-height: 42px;
    padding-inline: 16px;
    white-space: nowrap;
}

.reference-source {
    margin-top: 20px;
    color: #7b8983 !important;
    font-size: 9px !important;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    padding: .8rem 1rem .8rem 3.7rem;
    color: #fff;
    background: #9b1c1c;
}

#blazor-error-ui .reload {
    color: white;
    text-decoration: underline;
}

#blazor-error-ui .dismiss {
    position: absolute;
    right: .8rem;
    top: .5rem;
    cursor: pointer;
}

.has-js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1);
}

.has-js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.has-js .feature-card:nth-child(2),
.has-js .path-card:nth-child(2) {
    transition-delay: .08s;
}

.has-js .feature-card:nth-child(3) {
    transition-delay: .16s;
}

@keyframes enter-up {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float-one {
    from { transform: translate3d(0, 0, 0) scale(.94); }
    to { transform: translate3d(-24px, 21px, 0) scale(1.06); }
}

@keyframes float-two {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(18px, -25px, 0) scale(.92); }
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 46px;
        padding-block: 84px 75px;
    }

    .hero-copy {
        max-width: 690px;
    }

    .hero-art {
        width: min(650px, 100%);
        min-height: 330px;
        justify-self: center;
    }

    .code-window {
        transform: none;
    }

    .brand-banner {
        margin-bottom: 14px;
    }

    .quickstart-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .quickstart-copy {
        max-width: 650px;
    }

    .terminal-card {
        width: 100%;
    }

    .document-layout {
        grid-template-columns: 165px minmax(0, 1fr);
        gap: 38px;
    }
}

@media (max-width: 650px) {
    .page-wrap {
        width: min(100% - 38px, var(--page-width));
    }

    .header-inner {
        min-height: 68px;
        gap: 12px;
    }

    .brand {
        gap: 7px;
        font-size: 20px;
    }

    .brand img {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .main-nav {
        gap: 15px;
        font-size: 10px;
    }

    .main-nav a:first-child {
        display: none;
    }

    .header-cta {
        gap: 6px;
        padding: 9px 10px;
        font-size: 9px;
    }

    .header-cta span {
        font-size: 12px;
    }

    .hero {
        gap: 30px;
        padding-block: 67px 52px;
    }

    .hero h1 {
        font-size: clamp(45px, 12vw, 66px);
    }

    .hero-lede {
        font-size: 14px;
    }

    .hero-meta {
        gap: 12px;
        margin-top: 32px;
        font-size: 7px;
    }

    .hero-art {
        min-height: 275px;
    }

    .window-bar {
        height: 42px;
        padding-inline: 12px;
        font-size: 8px;
    }

    .code-window pre {
        padding: 20px 12px;
        font-size: 8px;
    }

    .code-window-foot {
        padding-inline: 12px;
        font-size: 7px;
    }

    .art-note {
        right: 0;
        bottom: -20px;
        font-size: 7px;
    }

    .brand-banner {
        width: calc(100% - 24px);
    }

    .brand-banner img {
        border-radius: 10px;
    }

    .section-space {
        padding-block: 75px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .quickstart-copy h2,
    .reference-cta h2 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .feature-grid,
    .path-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 250px;
    }

    .feature-card p {
        min-height: auto;
    }

    .section-heading-row {
        display: block;
    }

    .section-heading-row > p {
        margin-bottom: 0 !important;
    }

    .reference-cta {
        padding-top: 0;
    }

    .reference-cta-inner {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        padding: 34px 25px;
    }

    .reference-actions {
        min-width: 0;
    }

    .cta-decoration {
        right: -38px;
        bottom: -100px;
        width: 210px;
    }

    .footer-main,
    .footer-links {
        flex-direction: column;
    }

    .footer-main {
        gap: 35px;
    }

    .footer-links {
        gap: 27px;
    }

    .footer-bottom {
        gap: 10px;
        font-size: 7px;
    }

    .footer-bottom span:last-child {
        text-align: right;
    }

    .document-hero-inner {
        padding-block: 38px 43px;
    }

    .back-link {
        margin-bottom: 40px;
    }

    .document-hero h1 {
        font-size: clamp(44px, 12vw, 62px);
    }

    .document-layout {
        display: block;
        padding-block: 35px 80px;
    }

    .document-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 9px 16px;
        margin-bottom: 42px;
        border-left: 0;
        border-bottom: 1px solid #dce5e0;
        padding: 0 0 16px;
    }

    .sidebar-label {
        width: 100%;
    }

    .document-sidebar a {
        font-size: 9px;
    }

    .doc-section {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 50px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 8px;
    }

    .snippet pre {
        padding: 13px 11px;
        font-size: 8px;
    }

    .reference-next {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 390px) {
    .main-nav a:nth-child(2) {
        display: none;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .hero-meta {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .has-js .reveal {
        opacity: 1;
        transform: none;
    }
}

.try-kobo-section {
    border-top: 1px solid #e8eeeb;
    background:
        radial-gradient(ellipse at 50% 0, rgba(191, 239, 213, .28), transparent 44rem),
        #f2f6f3;
}

.try-kobo-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.try-kobo-heading .eyebrow {
    margin-bottom: 12px;
}

.try-kobo-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 680;
    letter-spacing: -.08em;
    line-height: 1;
}

.try-kobo-heading h2 span {
    color: var(--green);
}

.try-kobo-heading > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.playground {
    overflow: hidden;
    border: 1px solid #dce5df;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(30, 64, 47, .1), 0 3px 12px rgba(30, 64, 47, .04);
}

.playground-toolbar {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #e7ece8;
    padding: 10px 18px;
    background: #fcfdfb;
}

.playground-file {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: #43514b;
    font-family: var(--mono);
    font-size: 11px;
}

.playground-file-mark {
    color: #27895d;
    font-size: 16px;
}

.playground-language {
    border: 1px solid #cfe6d7;
    border-radius: 999px;
    padding: 5px 8px;
    color: #278052;
    background: #eef8f0;
    font-size: 8px;
    letter-spacing: .1em;
}

.scenario-picker select {
    min-width: 190px;
    border: 1px solid #dce5df;
    border-radius: 8px;
    padding: 10px 34px 10px 12px;
    color: #293b33;
    background: white;
    font: 600 11px var(--sans);
    cursor: pointer;
}

.scenario-picker select:focus-visible,
.editor-button:focus-visible,
.playground-editor textarea:focus-visible {
    outline: 3px solid rgba(29, 158, 102, .35);
    outline-offset: 2px;
}

.playground-editor {
    display: flex;
    min-height: 366px;
    max-height: 520px;
    overflow: hidden;
    background: #fffde8;
}

.editor-gutter {
    width: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    padding: 22px 11px 22px 0;
    color: #a2a794;
    background: rgba(235, 236, 214, .42);
    font: 12px/1.8 var(--mono);
    text-align: right;
    user-select: none;
    white-space: pre;
}

.editor-surface {
    position: relative;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.editor-highlight,
.playground-editor textarea {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    border: 0;
    padding: 22px 22px 26px;
    font: 12px/1.8 var(--mono);
    letter-spacing: 0;
    tab-size: 4;
    white-space: pre;
}

.editor-highlight {
    color: #27332e;
    pointer-events: none;
}

.editor-highlight code {
    display: block;
    width: max-content;
    min-width: 100%;
    font: inherit;
}

.playground-editor textarea {
    resize: none;
    color: transparent;
    caret-color: #143b2a;
    background: transparent;
    -webkit-text-fill-color: transparent;
}

.playground-editor textarea::selection {
    color: transparent;
    background: rgba(95, 169, 124, .28);
}

.syntax-keyword { color: #087653; font-weight: 650; }
.syntax-type { color: #356da5; }
.syntax-string { color: #9a641c; }
.syntax-number { color: #94519a; }
.syntax-comment { color: #898e7c; font-style: italic; }
.syntax-punctuation { color: #68736a; }

.playground-output {
    border-top: 1px solid #d8dfd9;
    background: #f6f8f6;
}

.output-heading {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #e3e8e4;
    padding: 10px 19px;
    color: #59675f;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .08em;
}

.output-heading > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #3a5b48;
    font-weight: 600;
}

.output-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #28a36a;
}

.output-heading > span:last-child {
    overflow: hidden;
    color: #87918b;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playground-output pre {
    min-height: 78px;
    overflow: auto;
    margin: 0;
    padding: 18px 20px;
    color: #25342c;
    font-size: 12px;
    line-height: 1.8;
    white-space: pre-wrap;
}

.playground-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid #e7ece8;
    padding: 15px 18px;
    background: #fff;
}

.playground-footer > p {
    max-width: 620px;
    margin: 0;
    color: #76827b;
    font-size: 9px;
    line-height: 1.7;
}

.playground-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}

.editor-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #087c55;
    border-radius: 8px;
    padding: 0 16px;
    color: #fff;
    background: #087c55;
    box-shadow: 0 4px 12px rgba(8, 124, 85, .14);
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.editor-button:hover {
    transform: translateY(-1px);
    background: #066543;
    box-shadow: 0 7px 16px rgba(8, 124, 85, .18);
}

.editor-button-quiet {
    border-color: #dce5df;
    color: #54635b;
    background: #fff;
    box-shadow: none;
}

.editor-button-quiet:hover {
    border-color: #b9cfc1;
    color: #214832;
    background: #f8fbf8;
    box-shadow: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 650px) {
    .try-kobo-heading {
        margin-bottom: 30px;
    }

    .playground-toolbar {
        align-items: stretch;
        flex-direction: column;
        padding: 13px;
    }

    .scenario-picker select {
        width: 100%;
    }

    .playground-editor {
        min-height: 340px;
    }

    .editor-gutter {
        width: 38px;
        flex-basis: 38px;
        padding-right: 8px;
        font-size: 10px;
    }

    .editor-highlight,
    .playground-editor textarea {
        padding: 18px 14px;
        font-size: 10px;
    }

    .playground-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 14px;
    }

    .playground-actions {
        justify-content: flex-end;
    }

    .editor-button {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .editor-button {
        transition: none;
    }
}
