@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root{--ink:#172a2c;--muted:#667675;--forest:#183e39;--green:#c7e680;--cream:#f8f8f3;--line:#dce4df;--mono:'DM Mono',monospace;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:var(--sans);background:#fff;font-size:16px;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input{font:inherit}
.wrap{width:min(1200px,calc(100% - 64px));margin:auto}
.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:20;background:#fff;padding:10px}
.site-header{position:relative;z-index:10;background:#fff;border-bottom:1px solid #e8ede8}
.header-inner{height:76px;display:flex;align-items:center;gap:40px}
.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:700;letter-spacing:-1px;white-space:nowrap}
.brand>span:last-child>span{color:#5d8c65}
.brand small{font:10px var(--mono);letter-spacing:1px;color:#8b9b93}
.brand-mark{width:38px;height:38px;object-fit:contain;flex:none}
.main-nav{display:flex;gap:28px;align-items:center;font-size:13px;font-weight:600;color:#526461}
.main-nav a:hover,.text-link:hover,.back-link:hover{color:#729c49}
.search{margin-left:auto;position:relative;width:244px}
.search input{width:100%;height:39px;border:1px solid #e0e9e2;border-radius:5px;background:#f7f9f6;padding:0 36px;color:var(--ink);font-size:12px;outline:none}
.search input:focus{border-color:#6a9875;box-shadow:0 0 0 3px #dcebd8}
.search-icon{position:absolute;left:12px;top:3px;font-size:24px;color:#799088}
.search kbd{position:absolute;right:11px;top:9px;border:1px solid #d5dfd7;border-radius:3px;padding:0 5px;color:#92a19a;font:11px var(--mono)}
.search-results{position:absolute;top:46px;right:0;width:min(380px,calc(100vw - 32px));padding:10px;background:white;border:1px solid var(--line);border-radius:6px;box-shadow:0 12px 35px #17372c22;font-size:13px;color:var(--muted)}
.search-results a{display:flex;justify-content:space-between;gap:12px;padding:10px;border-radius:4px;color:var(--ink)}
.search-results a:hover,.search-results a:focus{background:#f1f6ed}
.search-results a span{font:10px var(--mono);text-transform:uppercase;color:#7a9384}
.hero{background:#f2f6ec;overflow:hidden}
.hero-grid{min-height:570px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:55px;padding-top:64px;padding-bottom:72px}
.eyebrow,.section-kicker,.visual-label,.visual-footer,.hero-bottom,.install>span,.value-number,.card-top>span:last-child,.card-link,.example-body>span,.more-examples>span,.floating-note>span,.snippet-footnote{font-family:var(--mono);font-size:10px;letter-spacing:1px}
.eyebrow{display:flex;align-items:center;gap:9px;color:#67806e}
.status-dot,.visual-dot{width:7px;height:7px;border-radius:50%;background:#90bd65;display:inline-block}
h1,h2,h3,p{margin-top:0}
h1,h2{font-family:var(--serif);font-weight:600;letter-spacing:-2px;line-height:1.12}
h1{font-size:clamp(48px,5.5vw,76px);margin:26px 0}
h1 em,h2 em{color:#6b9665;font-weight:600}
.hero-description{max-width:490px;font-size:16px;color:#61756d;line-height:1.8}
.hero-actions{display:flex;gap:12px;margin:30px 0 39px}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;min-height:49px;padding:0 19px;font-size:12px;font-weight:700;border-radius:4px;transition:transform .2s,background .2s}
.button:hover{transform:translateY(-2px)}
.button-primary{background:var(--forest);color:#fff}.button-primary:hover{background:#28594b}
.button-secondary{background:transparent;border:1px solid #b9cbb9;color:var(--forest)}
.install{display:flex;align-items:center;gap:15px;color:#85968a}.install code{font:12px var(--mono);color:#425b50;background:#e6eee0;padding:8px 11px;border-radius:3px}
.hero-visual{position:relative;background:#fff;padding:20px;box-shadow:0 20px 60px #486e5420;border:1px solid #dfe9df;transform:rotate(1deg)}
.visual-label,.visual-footer{display:flex;align-items:center;justify-content:space-between;color:#879990;gap:12px}
.visual-label>span:first-child{color:#436658}.visual-footer a{color:#45735e}.visual-dot{margin-left:auto}
.plot-frame{background:#f8faf7;margin:16px 0;padding:10px}.plot-frame img{width:100%;mix-blend-mode:multiply}
.floating-note{position:absolute;right:-20px;bottom:-38px;background:#d7e9ae;padding:17px 23px;display:flex;flex-direction:column;gap:5px;box-shadow:0 10px 24px #425c3520;transform:rotate(-3deg)}
.floating-note>span{font-size:9px;color:#63784a}.floating-note strong{font:600 19px var(--serif)}.floating-note i{color:#698a51}
.hero-bottom{display:flex;justify-content:space-between;padding:18px 0;border-top:1px solid #dce7d6;color:#8b9c8b;font-size:9px}
.intro-section,.docs-section,.examples-section,.snippet-section{padding:105px 0}
.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.section-kicker{color:#8a9c90;margin-bottom:24px}.section-kicker span{color:#719a70}
h2{font-size:clamp(36px,4vw,48px);margin-bottom:20px}
.intro-text{max-width:500px;color:var(--muted);font-size:15px}.intro-text p:first-child{font-size:18px;font-weight:600;color:var(--ink)}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:55px}
.value-grid>div{border-top:1px solid var(--line);padding-top:22px}
.value-number{color:#8aa08e}.value-grid h3{font:600 20px var(--serif);margin:15px 0 8px}.value-grid p,.doc-card p,.example-body p{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:0}
.quick-example{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;margin-top:55px;padding:32px;background:#f4f7f0}.quick-example h3{font:600 24px var(--serif);margin:14px 0}.quick-example p{font-size:13px;color:var(--muted);max-width:400px}.quick-example .text-link{color:#507960}.quick-example pre{margin:0;padding:20px;overflow:auto;background:#1d443d;color:#dfeedd;font:11px/1.9 var(--mono);border-radius:4px}
.docs-section{background:#f6f8f3}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:38px}.section-heading h2{margin-bottom:12px}.section-heading>div>p:last-child{color:var(--muted);margin:0;font-size:14px}.text-link{white-space:nowrap;font-size:12px;font-weight:700;padding-bottom:5px}.text-link span{margin-left:15px}
.docs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.doc-card{min-height:215px;display:flex;flex-direction:column;background:#fff;border:1px solid #e4ebe3;padding:24px;transition:transform .2s,border-color .2s,box-shadow .2s}
.doc-card:hover{transform:translateY(-4px);border-color:#b2cba8;box-shadow:0 10px 28px #28532d0d}
.card-measurement{background:#e8f1db;border-color:#e0ebd5}
.card-top{display:flex;align-items:center;justify-content:space-between;color:#a0afa2}.card-icon{display:grid;place-items:center;width:39px;height:39px;background:#eef4eb;color:#63866a;font:22px var(--serif);border-radius:5px}.card-measurement .card-icon{background:#d6e8c2}
.doc-card h3{font:600 21px var(--serif);margin:21px 0 8px}.doc-card p{max-width:300px}.card-link{display:flex;justify-content:space-between;color:#63866c;margin-top:auto;padding-top:24px;font-size:10px;letter-spacing:0}.card-link b{font:16px var(--sans)}
.examples-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.example-card{border:1px solid var(--line);transition:transform .2s,box-shadow .2s}.example-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #1d443514}
.example-image{height:190px;background:#f1f5ef;overflow:hidden;display:flex;align-items:center;justify-content:center}.example-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.example-body{padding:21px}.example-body>span{color:#7d9d83;font-size:9px}.example-body h3{display:flex;justify-content:space-between;font:600 20px var(--serif);margin:12px 0 6px}.example-body h3 b{font:16px var(--sans);color:#769783}
.more-examples{display:flex;align-items:center;gap:25px;margin-top:27px;font-size:12px;font-weight:600}.more-examples>span{color:#9aa99e;font-size:9px}.more-examples a{color:#507960}.more-examples a:hover{text-decoration:underline}
.snippet-section{padding-top:0}
.snippet-panel{background:#1d443d;color:white;display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;padding:65px;overflow:hidden}
.snippet-copy h2{color:#fff}.snippet-copy h2 em{color:#c4e391}.snippet-copy>p:not(.section-kicker){color:#c1d2c8;font-size:14px;max-width:420px}.snippet-copy .section-kicker{color:#a1bba8}.snippet-copy .section-kicker span{color:#c4e391}
.button-light{background:#d1e9a1;color:#1d443d;margin:15px 0}.snippet-copy .snippet-footnote{font-size:10px;line-height:1.7;color:#9bb4a4;margin:12px 0 0}
.editor{background:#102e2a;border:1px solid #42665a;border-radius:7px;box-shadow:0 20px 40px #102e2a77;transform:rotate(2deg)}
.editor-top{height:40px;border-bottom:1px solid #34564d;display:flex;align-items:center;gap:6px;padding:0 14px}.editor-top>span{width:7px;height:7px;border-radius:50%;background:#739584}.editor-top>span:first-child{background:#d5a78c}.editor-top small{font:9px var(--mono);color:#77988b;margin-left:12px}
.editor-content{display:grid;grid-template-columns:43% 57%;min-height:240px;font:10px var(--mono)}.editor-sidebar{border-right:1px solid #34564d;padding:18px 12px;color:#a5c1b1}.editor-sidebar>div span{float:right}.editor-sidebar p{border:1px solid #44675c;padding:7px;margin:14px 0}.editor-sidebar ul{list-style:none;padding:0;margin:0}.editor-sidebar li{padding:7px 4px;white-space:nowrap}.editor-sidebar li.selected{background:#335c4c;color:#d4eca7}
.editor-code{color:#c9d8c9;overflow:hidden}.editor-code>div{padding:12px;border-bottom:1px solid #34564d;color:#aac6b4}.editor-code pre{padding:15px 10px;line-height:2;font:10px/2 var(--mono);margin:0}.editor-code pre span{color:#638476}.editor-code pre i{color:#c7e39d;font-style:normal}.editor-code pre b{color:#b4d7da;font-weight:400}.editor-code pre em{color:#d8b69b;font-style:normal}
.site-footer{background:#f6f8f3;border-top:1px solid #e4ebe3}.footer-inner{min-height:105px;display:flex;align-items:center;gap:30px}.footer-brand{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:20px;letter-spacing:-1px}.footer-brand span{color:#84ae72;margin-left:-8px}.footer-inner p{font-size:12px;color:#819086;margin:0}.footer-inner>div{display:flex;gap:25px;margin-left:auto;font-size:12px;color:#597166}
.reading-wrap{max-width:1000px;padding-top:55px;padding-bottom:100px}.back-link{font:11px var(--mono);color:#6f8b78}.prose{margin-top:30px;overflow-wrap:anywhere}.prose h1{font-size:clamp(38px,5vw,56px)}.prose h2{font-size:30px;margin-top:55px}.prose h3{font-size:20px;margin-top:35px}.prose p,.prose li{color:#536761}.prose a:not(.button){color:#387451;text-decoration:underline;text-underline-offset:3px}.prose pre{overflow:auto;background:#173c36;color:#e3f0e2;padding:20px;border-radius:5px;line-height:1.6}.prose code{font-family:var(--mono);font-size:.87em}.prose :not(pre)>code{background:#eef4ec;padding:2px 4px;border-radius:3px}.prose table{display:block;overflow-x:auto;border-collapse:collapse;font-size:14px;margin:25px 0}.prose th,.prose td{border:1px solid var(--line);padding:10px 14px;text-align:left}.prose th{background:#f1f6ef}.prose img{height:auto}
@media(max-width:850px){.header-inner{gap:20px}.main-nav{gap:15px}.hero-grid{gap:30px;min-height:auto}.hero-visual{padding:14px}.floating-note{right:-10px}.docs-grid{grid-template-columns:repeat(2,1fr)}.snippet-panel{padding:40px;gap:25px}.editor-content{grid-template-columns:45% 55%}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.header-inner{height:auto;min-height:68px;flex-wrap:wrap;gap:14px;padding:14px 0}.brand{font-size:19px}.main-nav{margin-left:auto;font-size:12px;gap:12px}.search{order:3;width:100%;margin:0}.search-results{width:100%}.hero-grid{grid-template-columns:1fr;padding-top:55px;padding-bottom:70px;gap:45px}.hero-description{font-size:15px}.hero-actions{margin-bottom:24px}.hero-visual{margin:0 8px}.hero-bottom span:last-child{display:none}.intro-section,.docs-section,.examples-section{padding:70px 0}.intro-grid{grid-template-columns:1fr;gap:15px}.value-grid{grid-template-columns:1fr;gap:22px;margin-top:25px}.quick-example{grid-template-columns:1fr;gap:20px;padding:22px;margin-top:35px;min-width:0}.quick-example pre{min-width:0}.section-heading{align-items:start;flex-direction:column}.docs-grid,.examples-grid{grid-template-columns:1fr}.doc-card{min-height:190px}.example-image{height:220px}.more-examples{align-items:start;flex-direction:column;gap:12px}.snippet-section{padding-bottom:70px}.snippet-panel{grid-template-columns:1fr;padding:30px;gap:30px}.editor{transform:none}.footer-inner{padding:25px 0;align-items:start;flex-direction:column;gap:10px}.footer-inner>div{margin:8px 0 0}.reading-wrap{padding-top:35px}.prose h2{margin-top:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* Dark blue and orange theme */
:root{--ink:#e7f0f8;--muted:#aabed0;--forest:#163c61;--green:#ff9b55;--cream:#0d1a2a;--line:#294157}
body{background:#0b1524}
.site-header{background:#0b1727;border-color:#26394b}
.brand>span:last-child>span,.footer-brand span{color:#ff9b55}
.brand small{color:#8ba3b7}
.main-nav{color:#b4c7d7}.main-nav a:hover,.text-link:hover,.back-link:hover{color:#ffb77d}
.search input{background:#14263a;border-color:#30485f;color:#e7f0f8}
.search input::placeholder{color:#a7bacb}.search input:focus{border-color:#6dbafa;box-shadow:0 0 0 3px #244c70}
.search-icon,.search kbd{color:#9cb7cb}.search kbd{border-color:#476077}
.search-results{background:#14263a;border-color:#35516b;color:#b8cbdc;box-shadow:0 12px 35px #0008}
.search-results a{color:#e7f0f8}.search-results a:hover,.search-results a:focus{background:#203d58}.search-results a span{color:#92bbd6}
.hero{background:#102238}.eyebrow{color:#a2bfd4}.status-dot,.visual-dot{background:#ff9b55}
h1 em,h2 em{color:#77c1f3}
.hero-description,.intro-text,.section-heading>div>p:last-child{color:#b0c5d5}
.button-primary{background:#ff9b55;color:#162338}.button-primary:hover{background:#ffb476}
.button-secondary{border-color:#55758e;color:#e7f0f8}.button-secondary:hover{background:#203c56}
.install{color:#9ab2c4}.install code{background:#1b344c;color:#c6e4f7}
.hero-visual{background:#1b3349;border-color:#36536c;box-shadow:0 20px 60px #0005}
.visual-label,.visual-footer{color:#a9c1d2}.visual-label>span:first-child,.visual-footer a{color:#a7d8f8}
.plot-frame{background:#f8fafc}.plot-frame img,.example-image img{mix-blend-mode:normal}
.floating-note{background:#ffae70;color:#17283a;box-shadow:0 10px 24px #0004}.floating-note>span{color:#66402c}.floating-note i{color:#834220}
.hero-bottom{border-color:#304b61;color:#98b3c5}
.intro-section,.examples-section,.snippet-section{background:#0b1524}
.section-kicker,.value-number{color:#91abc0}.section-kicker span{color:#ff9b55}
.intro-text p:first-child{color:#e7f0f8}
.quick-example{background:#14263a}.quick-example p{color:#b0c5d5}.quick-example .text-link{color:#88cbf5}.quick-example pre{background:#0b1828;color:#d9ecf8}
.docs-section{background:#101f31}
.doc-card{background:#162a3e;border-color:#2b455b}.doc-card:hover{border-color:#73bff1;box-shadow:0 10px 28px #0003}
.card-measurement{background:#1d3b56;border-color:#375d7b}
.card-top{color:#9ab1c3}.card-icon{background:#203e58;color:#8dcdf5}.card-measurement .card-icon{background:#315774;color:#ffb273}
.card-link{color:#91c9ef}
.example-card{background:#14263a}.example-card:hover{box-shadow:0 12px 30px #0005}
.example-image{background:#eef3f6}.example-body>span{color:#8ac5e9}.example-body h3 b{color:#ffac6f}
.more-examples>span{color:#96adbe}.more-examples a{color:#9bd3f4}
.snippet-panel{background:#173651}.snippet-copy h2 em{color:#ffad70}
.snippet-copy>p:not(.section-kicker){color:#c3d6e5}.snippet-copy .section-kicker{color:#a7c3d8}.snippet-copy .section-kicker span{color:#ffad70}
.button-light{background:#ffab69;color:#182b3c}.button-light:hover{background:#ffc08c}
.snippet-copy .snippet-footnote{color:#a9c1d3}
.editor{background:#0d1e30;border-color:#456883;box-shadow:0 20px 40px #0005}
.editor-top,.editor-code>div,.editor-sidebar{border-color:#304e66}
.editor-top>span{background:#79b9e2}.editor-top>span:first-child{background:#ffad70}.editor-top small{color:#9bbbd1}
.editor-sidebar{color:#bdd3e4}.editor-sidebar p{border-color:#496b84}.editor-sidebar li.selected{background:#284e6d;color:#ffbc83}
.editor-code{color:#d8e9f4}.editor-code>div{color:#b5d3e6}.editor-code pre span{color:#85a9c0}.editor-code pre i{color:#ffae70}.editor-code pre b{color:#8ecdf6}.editor-code pre em{color:#ffca9d}
.site-footer{background:#101f31;border-color:#294157}.footer-inner p{color:#a0b6c8}.footer-inner>div{color:#b7cbd9}
.back-link{color:#9cc8e7}.prose p,.prose li{color:#bdcfdd}.prose a:not(.button){color:#8ed1ff}
.prose pre{background:#142c43;color:#e1f1fb}.prose :not(pre)>code{background:#1d354a;color:#e1f1fb}.prose th{background:#1a344b}
