.public-shell { min-height: 100vh; background: #f5f3ed; color: #17211d; }
.site-nav { height: 72px; padding: 0 clamp(24px,5vw,80px); border-bottom: 1px solid #dcd9cf; display:flex; align-items:center; justify-content:space-between; background:rgba(250,249,245,.94); position:sticky; top:0; z-index:20; backdrop-filter:blur(12px); }
.site-brand { display:flex; align-items:center; gap:10px; color:#18372d; text-decoration:none; font:700 13px/1 'DM Mono',monospace; letter-spacing:.16em; }
.site-brand>span { width:32px;height:32px;border-radius:8px;background:#18372d;color:#eff7f2;display:grid;place-items:center; }
.site-nav nav { display:flex;align-items:center;gap:28px; }
.site-nav nav a { color:#53615c;text-decoration:none;font-size:13px;font-weight:600;display:flex;align-items:center;gap:6px; }
.site-nav nav a:hover { color:#173c30; }
.site-nav .nav-cta { color:#fff;background:#1c5b47;padding:10px 15px;border-radius:7px; }
.site-nav .nav-account { border:1px solid #cfd5cf;padding:8px 12px;border-radius:7px; }
.landing,.account-page,.project-page { max-width:1240px;margin:0 auto;padding:0 clamp(24px,4vw,56px); }
.landing-hero { min-height:620px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:80px;padding:80px 0; }
.site-kicker { color:#2a785f;font:650 11px/1 'DM Mono',monospace;letter-spacing:.13em;display:flex;align-items:center;gap:7px;text-transform:uppercase; }
.hero-copy h1 { font:500 clamp(46px,5vw,72px)/1.02 'DM Sans',sans-serif;letter-spacing:-.055em;margin:22px 0;max-width:780px; }
.hero-copy>p { font-size:19px;line-height:1.65;color:#5f6965;max-width:700px; }
.hero-actions,.account-heading>div:last-child { display:flex;align-items:center;gap:12px;margin-top:34px; }
.primary-cta,.secondary-cta { appearance:none;border:0;text-decoration:none;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 18px;font-size:13px;font-weight:700;cursor:pointer; }
.primary-cta { background:#1c5b47;color:white;box-shadow:0 7px 20px rgba(28,91,71,.16); }
.primary-cta:hover { background:#144c3a; }
.primary-cta:disabled { opacity:.55;cursor:wait; }
.secondary-cta { background:#fff;color:#28443a;border:1px solid #d2d5ce; }
.composition-demo { background:#16251f;color:#eff8f3;border-radius:16px;padding:28px;box-shadow:0 24px 65px rgba(23,42,35,.2);transform:rotate(1deg); }
.demo-title { border-bottom:1px solid #40534b;padding-bottom:20px;margin-bottom:14px;display:grid;grid-template-columns:1fr auto; }
.demo-title span,.demo-title small { color:#9eb0a8;font:500 10px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.1em; }
.demo-title b { font-size:25px;grid-row:span 2; }
.demo-function { display:flex;align-items:center;justify-content:space-between;padding:11px 0; }
.demo-function>span { color:#ccd7d2;font:500 11px 'DM Mono',monospace; }
.demo-function>div { display:flex;gap:7px; }
.demo-function i { width:25px;height:9px;border-radius:3px;background:#4a5c54; }
.demo-function i.selected { background:#53b58e;box-shadow:0 0 0 2px rgba(83,181,142,.2); }
.demo-health { margin-top:18px;background:#244638;border-radius:8px;padding:13px;display:flex;gap:9px;align-items:center;color:#9ee4c6;font-size:12px; }
.how,.explore { padding:100px 0;border-top:1px solid #dedbd2; }
.plain-example { padding:90px 0;border-top:1px solid #dedbd2; }
.example-flow { display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:18px; }
.example-flow>svg { color:#8aa097;width:18px; }
.example-flow article { min-height:180px;background:#fbfaf6;border:1px solid #dddcd5;border-radius:10px;padding:25px; }
.example-flow article>b { display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dcece5;color:#23684f;font:700 12px 'DM Mono',monospace; }
.example-flow h3 { font-size:17px;margin:22px 0 8px; }
.example-flow p { color:#68716d;font-size:13px;line-height:1.6;margin:0; }
.example-flow code { font-family:'DM Mono',monospace;color:#286e55; }
.section-heading>span { color:#2e795f;font:600 10px 'DM Mono',monospace;letter-spacing:.13em; }
.section-heading h2 { font:500 32px 'DM Sans',sans-serif;letter-spacing:-.035em;margin:10px 0 28px; }
.section-heading>p { max-width:850px;color:#68716d;font-size:16px;line-height:1.75;margin:-12px 0 35px; }
.feature-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:16px; }
.feature-grid article { background:#fbfaf6;border:1px solid #dddcd5;border-radius:10px;padding:27px; }
.feature-grid article>span { color:#287b5e;width:42px;height:42px;border:1px solid #cbdad4;background:#edf5f1;border-radius:9px;display:grid;place-items:center;margin-bottom:30px; }
.feature-grid svg { width:19px; }
.feature-grid b { display:block;font-size:17px;margin-bottom:10px; }
.feature-grid p { color:#68716d;font-size:13px;line-height:1.6;margin:0; }
.local-first { margin:20px 0 100px;padding:65px;border-radius:14px;background:#e5eee9;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center; }
.local-first h2 { font-size:36px;letter-spacing:-.04em;margin:14px 0; }
.local-first p { color:#5e6d67;line-height:1.65; }
.local-first a { color:#1c5b47;text-decoration:none;font-weight:700;display:flex;align-items:center;gap:7px;margin-top:25px; }
.local-first pre,.project-columns pre,.docs-page pre { margin:0;background:#17231e;color:#dce9e2;border-radius:10px;padding:25px;white-space:pre-wrap;overflow:auto;font:500 12px/1.9 'DM Mono',monospace; }
.local-first pre em { color:#68c8a0;font-style:normal; }
.project-cards { display:grid;grid-template-columns:repeat(3,1fr);gap:16px; }
.project-card { background:#fff;border:1px solid #dbd9d0;padding:24px;border-radius:10px;text-decoration:none;color:inherit;transition:.15s transform,.15s box-shadow; }
.project-card:hover { transform:translateY(-2px);box-shadow:0 12px 30px rgba(30,48,41,.08); }
.project-owner { color:#418069;font:600 10px 'DM Mono',monospace; }
.project-card h3 { margin:8px 0;font-size:19px; }
.project-card p { color:#727a76;line-height:1.5;min-height:42px;font-size:13px; }
.project-card small { display:flex;align-items:center;gap:6px;color:#596761; }
.project-card small svg:last-child { margin-left:auto; }
.site-footer { max-width:1240px;margin:80px auto 0;padding:35px clamp(24px,4vw,56px);border-top:1px solid #d8d6cd;display:flex;align-items:center;gap:25px;color:#7b827e;font-size:12px; }
.site-footer>div { display:flex;gap:18px;margin-left:auto; }
.site-footer a { color:#5d6a65;text-decoration:none; }
.auth-layout { max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 440px;min-height:calc(100vh - 72px);align-items:center;gap:100px;padding:60px 30px; }
.auth-intro>.site-brand { display:none; }
.auth-intro h1 { font-size:48px;letter-spacing:-.05em;line-height:1.05;margin:20px 0; }
.auth-intro>p { color:#69736f;font-size:17px;line-height:1.6;margin-bottom:34px; }
.auth-intro>div { display:flex;align-items:center;gap:10px;margin:13px 0;color:#4c5d56;font-size:13px; }
.auth-intro>div svg { width:17px;color:#2b8665; }
.auth-card,.project-form { background:#fff;border:1px solid #dad8d0;border-radius:12px;padding:34px;box-shadow:0 20px 60px rgba(30,45,39,.08); }
.auth-card label,.project-form label { display:grid;gap:7px;font-size:12px;font-weight:650;color:#43514b;margin:18px 0; }
.form-help,.field-hint { color:#69736f;font-size:12px;line-height:1.55; }.form-help{max-width:720px}.form-help a,.field-help{color:#1f6a50}.field-help{font-weight:600;margin-left:6px}.project-form label small{font-weight:400;color:#7d8782}.project-edit-form{margin-top:0;margin-bottom:45px}.form-actions{display:flex;gap:10px;align-items:center}
.auth-card label small { color:#929a96;font-weight:400;margin-left:5px; }
.auth-card input,.project-form input,.project-form textarea { border:1px solid #d5d6d0;border-radius:6px;padding:12px 13px;background:#fdfcf9;font:inherit;color:#1d2b25; }
.auth-card input:focus,.project-form input:focus,.project-form textarea:focus { outline:2px solid #b9d9cc;border-color:#4d9277; }
.auth-card .primary-cta { width:100%;margin-top:9px; }
.form-error { background:#fff0eb;color:#9a432e;border:1px solid #e8b8aa;padding:10px 12px;border-radius:6px;font-size:12px; }
.auth-switch { text-align:center;color:#7a817e;font-size:12px;margin:22px 0 0; }.auth-switch a{color:#1b654d;font-weight:700;}
.account-page { padding-top:70px;min-height:800px; }
.account-heading { display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:40px;border-bottom:1px solid #dad8cf; }
.account-heading h1 { font-size:43px;letter-spacing:-.045em;margin:12px 0 5px; }
.account-heading p { color:#6f7773;max-width:640px; }
.account-heading>div:last-child { margin:0; }
.project-form { margin:30px 0; }.project-form h2{margin:0 0 10px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.project-form textarea{resize:vertical}
.workspace-section { padding:45px 0; }.workspace-section>div:first-child{display:flex;align-items:baseline;gap:12px;margin-bottom:20px}.workspace-section h2{margin:0;font-size:25px}.workspace-section>div>span{color:#7c8581;font-size:12px}
.empty-workspace { border:1px dashed #c9cec9;border-radius:10px;padding:50px;text-align:center;color:#79827e; }.empty-workspace svg{color:#7ba18f}.empty-workspace h3{color:#33453e}
.token-panel { background:#e8eee9;border-radius:10px;padding:25px;display:flex;align-items:center;gap:18px;margin-bottom:60px; }.token-panel>div:first-child{display:grid;grid-template-columns:auto 1fr;gap:3px 12px}.token-panel svg{grid-row:span 2;color:#398266}.token-panel h2,.token-panel p{margin:0}.token-panel p{color:#68736e;font-size:12px}.token-panel button{margin-left:auto}.token-result{margin-left:auto;display:grid;text-align:right;max-width:48%}.token-result code{background:#18251f;color:#c9eadc;padding:10px;border-radius:6px;overflow:auto}.token-result small{margin-top:6px;color:#86654e}
.project-page { padding-top:42px;min-height:800px; }.project-breadcrumb{display:flex;align-items:center;gap:8px;color:#7b837f;font:500 12px 'DM Mono',monospace}.project-breadcrumb a{color:#36765f;text-decoration:none}.public-badge{font-size:8px;border:1px solid #bfc9c4;padding:3px 5px;border-radius:4px;margin-left:8px}
.project-hero { display:grid;grid-template-columns:1fr 260px;gap:60px;padding:45px 0;align-items:start}.project-hero h1{font-size:52px;letter-spacing:-.05em;margin:0 0 13px}.project-hero p{color:#68736f;font-size:17px;line-height:1.6;max-width:700px}.project-links{display:flex;gap:10px;margin-top:25px;flex-wrap:wrap}.project-links a,.project-links button,.release-callout a{display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid #d4d6d0;border-radius:6px;color:#315d4d;text-decoration:none;font-size:11px;font-weight:650;background:#fff}.project-links button{cursor:pointer;font-family:inherit}
.release-callout{background:#17251f;color:white;border-radius:10px;padding:22px;display:grid;gap:8px}.release-callout>span{font:600 9px 'DM Mono',monospace;color:#8db3a4;letter-spacing:.12em}.release-callout>b{font-size:26px}.release-callout small{color:#9cafaa;line-height:1.4}.release-callout a{margin-top:8px;justify-content:center;background:#2e6c55;border-color:#46806a;color:#fff}
.project-stats { display:flex;border:1px solid #d9d8d0;background:#fff;border-radius:9px;margin-bottom:55px}.project-stats>div{padding:20px 35px;border-right:1px solid #e1e0da;display:grid}.project-stats b{font-size:22px}.project-stats span{color:#7e8582;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.project-columns{display:grid;grid-template-columns:1.25fr .75fr;gap:45px}.project-empty{border:1px dashed #ccd0cb;padding:30px;border-radius:8px;color:#7c8581}.release-list{list-style:none;padding:0;margin:0;border:1px solid #dbd9d1;border-radius:8px;background:#fff}.release-list li{display:flex;justify-content:space-between;padding:15px;border-bottom:1px solid #e5e3dc}.release-list li:last-child{border:0}.release-list li div{display:flex;gap:8px}.release-list span{font-size:9px;background:#e5f0eb;color:#2e7359;padding:4px;border-radius:4px}.release-list time{color:#858c88;font-size:11px}
.docs-page { max-width:1100px;margin:0 auto;display:grid;grid-template-columns:210px 1fr;gap:70px;padding:70px 30px 120px; }.docs-page aside{position:sticky;top:105px;height:max-content;display:grid;gap:13px;border-right:1px solid #d8d7d0;padding-right:25px}.docs-page aside b{margin-bottom:8px}.docs-page aside a{color:#6b746f;text-decoration:none;font-size:12px}.docs-page aside a:hover,.docs-page aside a.active{color:#1b674e}.docs-page aside a.active{font-weight:750;border-left:2px solid #2e7b60;padding-left:10px;margin-left:-12px}.docs-page article{max-width:760px}.docs-page h1{font-size:48px;letter-spacing:-.045em;margin:14px 0}.docs-page h1 code{font-size:.78em}.docs-page h2{font-size:25px;letter-spacing:-.025em;margin:48px 0 12px;scroll-margin-top:100px}.docs-page p,.docs-page li{color:#626d68;font-size:15px;line-height:1.72}.docs-page li{margin:7px 0}.docs-page a{color:#1f6a50}.docs-page code{font-family:'DM Mono',monospace}.doc-note{background:#e8f0ec;border-left:3px solid #489174;padding:16px 18px;display:grid;gap:5px;margin:28px 0}.doc-note b{color:#245c48}.doc-note span{color:#52665e;font-size:13px;line-height:1.6}.field-list{display:grid;grid-template-columns:180px 1fr;border:1px solid #d7d7d0;border-radius:8px;background:#fff;margin:22px 0}.field-list>*{padding:14px 16px;border-bottom:1px solid #e6e4de}.field-list b{color:#245f49}.field-list span{color:#66716c;font-size:13px;line-height:1.55}.doc-next{border-top:1px solid #d7d7d0;margin-top:65px;padding-top:25px;display:flex;justify-content:flex-end}.doc-next a{display:flex;align-items:center;gap:7px;text-decoration:none;font-weight:700}.command-list{display:grid;grid-template-columns:160px 1fr;border:1px solid #d7d7d0;border-radius:8px;background:#fff}.command-list>*{padding:14px;border-bottom:1px solid #e6e4de}.command-list code{color:#246c52}.command-list span{color:#737c78;font-size:13px}.not-found,.site-loading{min-height:65vh;display:grid;place-content:center;text-align:center}.not-found h1{font-size:42px}.not-found a{color:#1f6a50}.site-loading .site-brand{margin:auto}
@media(max-width:900px){.landing-hero{grid-template-columns:1fr;gap:30px}.composition-demo{transform:none;max-width:520px}.feature-grid{grid-template-columns:1fr 1fr}.example-flow{grid-template-columns:1fr}.example-flow>svg{transform:rotate(90deg);margin:auto}.local-first,.auth-layout,.project-hero,.project-columns{grid-template-columns:1fr}.auth-layout{gap:30px}.auth-intro h1{font-size:38px}.project-cards{grid-template-columns:1fr 1fr}.docs-page{grid-template-columns:1fr}.docs-page aside{position:static;border:0;display:flex;flex-wrap:wrap}.docs-page aside a.active{margin:0;padding-left:0;border:0;text-decoration:underline}.token-panel{align-items:flex-start;flex-direction:column}.token-result{margin:0;max-width:100%;text-align:left}.site-nav nav a:not(.nav-cta):not(.nav-account){display:none}}
@media(max-width:600px){.site-nav{padding:0 18px}.site-nav nav{gap:8px}.landing-hero{padding:50px 0}.hero-copy h1{font-size:43px}.feature-grid,.project-cards,.form-row{grid-template-columns:1fr}.local-first{padding:30px}.account-heading{display:block}.account-heading>div:last-child{margin-top:20px}.project-hero h1{font-size:39px}.project-stats>div{padding:15px}.site-footer{align-items:flex-start;flex-direction:column}.site-footer>div{margin:0}.auth-layout{padding:30px 18px}.auth-card{padding:25px}.docs-page{padding:45px 20px}.docs-page h1{font-size:39px}.field-list{grid-template-columns:1fr}.field-list b{padding-bottom:3px;border-bottom:0}.field-list span{padding-top:3px}}
