:root{color-scheme:light;--bg:#f8fafc;--surface:#fff;--surface-2:#fef2f2;--text:#0f172a;--muted:#64748b;--border:#dbe3ef;--accent:#dc2626;--accent-2:#b91c1c;--shadow:0 18px 45px rgba(15,23,42,.08);--radius:22px;--max:1180px}html[data-theme=dark]{color-scheme:dark;--bg:#0b1120;--surface:#101827;--surface-2:#3a1717;--text:#e5edf8;--muted:#a1aec1;--border:#492323;--accent:#f87171;--accent-2:#fca5a5;--shadow:0 18px 45px rgba(0,0,0,.28)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}:focus-visible{outline:3px solid color-mix(in srgb,var(--accent),transparent 55%);outline-offset:3px}.site-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:1rem;max-width:var(--max);margin:0 auto;padding:1rem 1.25rem;background:color-mix(in srgb,var(--bg),transparent 8%);backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:.7rem;font-weight:800;font-size:1.2rem}.brand img{border-radius:12px}.site-nav{display:flex;align-items:center;gap:.35rem}.site-nav a,.theme-toggle{padding:.6rem .85rem;border-radius:999px;color:var(--muted);border:0;background:transparent;cursor:pointer}.site-nav a:hover,.theme-toggle:hover{background:var(--surface-2);color:var(--text)}.menu-toggle{display:none;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:.6rem;gap:4px;flex-direction:column}.menu-toggle span:not(.sr-only){display:block;width:22px;height:2px;background:var(--text)}.section{max-width:var(--max);margin:0 auto;padding:5rem 1.25rem}.hero{text-align:center;padding-top:6.5rem}.eyebrow{margin:0 0 .65rem;color:var(--accent);font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}.hero h1{font-size:clamp(2.5rem,7vw,5.25rem);line-height:1;margin:.25rem 0 1rem;letter-spacing:-.06em}.hero-copy,.section-heading p,.workspace-head p,.about-card p{color:var(--muted);font-size:1.08rem}.search-wrap{max-width:720px;margin:2rem auto 1rem;display:flex;align-items:center;gap:.75rem;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:999px;padding:.35rem 1.1rem}.search-wrap span{color:var(--muted);font-size:1.4rem}.search-wrap input{width:100%;border:0;outline:0;background:transparent;color:var(--text);padding:1rem .25rem}.shortcuts{display:flex;justify-content:center;flex-wrap:wrap;gap:.6rem}.shortcuts button,.button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:.72rem 1rem;cursor:pointer;transition:.2s ease}.shortcuts button:hover,.button:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--accent),var(--border) 45%)}.button.primary{background:var(--accent);color:white;border-color:var(--accent)}.button.ghost{background:transparent}.section-heading{text-align:center;margin-bottom:2rem}.section-heading h2,.workspace-head h2,.about-card h2{font-size:clamp(2rem,4vw,3rem);line-height:1.1;margin:.2rem 0 .5rem;letter-spacing:-.04em}.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.tool-card{display:flex;min-height:230px;flex-direction:column;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;box-shadow:0 8px 20px rgba(15,23,42,.04);cursor:pointer;transition:.2s}.tool-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--accent),var(--border) 55%)}.tool-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:var(--surface-2);color:var(--accent);font-weight:900}.tool-card h3{margin:1.1rem 0 .35rem}.tool-card p{color:var(--muted);margin:0}.tool-card-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:.9rem}.tool-card-footer span:last-child{color:var(--accent);font-weight:800}.empty-state{text-align:center;border:1px dashed var(--border);border-radius:var(--radius);padding:2rem;color:var(--muted)}.breadcrumbs{max-width:var(--max);margin:0 auto;padding:.85rem 1.25rem 0;color:var(--muted);font-size:.85rem}.breadcrumbs a{color:var(--muted)}.breadcrumbs a:hover{color:var(--accent)}.breadcrumbs [aria-current]{color:var(--text);font-weight:700}
.workspace-section{padding-top:1rem}.workspace-shell,.about-card{background:var(--surface);border:1px solid var(--border);border-radius:calc(var(--radius) + 6px);box-shadow:var(--shadow);padding:1.5rem}.workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--border);padding-bottom:1rem;margin-bottom:1.25rem}.about-card{max-width:850px;margin:auto}
.about-card h3{font-size:1.25rem;letter-spacing:-.02em;margin:2rem 0 .5rem}
.about-card>p{margin:0 0 .75rem}
.about-feature-list{list-style:none;margin:1rem 0;padding:0;display:grid;gap:.65rem}
.about-feature-list li{padding:.9rem 1.1rem;background:var(--surface-2);border-radius:14px;color:var(--muted);line-height:1.55}
.about-feature-list li strong{color:var(--text)}
.about-faq{display:grid;gap:.6rem;margin-top:1rem}
.about-faq details{background:var(--surface-2);border:1px solid var(--border);border-radius:14px;padding:.2rem 1.1rem;transition:.2s}
.about-faq details[open]{background:var(--surface)}
.about-faq summary{list-style:none;cursor:pointer;padding:.95rem 2rem .95rem 0;font-weight:700;position:relative;display:flex;align-items:center}
.about-faq summary::-webkit-details-marker{display:none}
.about-faq summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);color:var(--accent);font-size:1.3rem;font-weight:800;transition:transform .2s}
.about-faq details[open] summary::after{content:"−"}
.about-faq details p{margin:0 0 1rem;color:var(--muted)}@media (max-width:980px){.tool-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:720px){.menu-toggle{display:flex}.site-nav{position:absolute;inset:100% 1rem auto 1rem;display:none;flex-direction:column;align-items:stretch;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:.75rem;box-shadow:var(--shadow)}.site-nav.open{display:flex}.site-nav a,.theme-toggle{text-align:left}.section{padding:3.5rem 1rem}.hero{padding-top:4rem}.tool-grid{grid-template-columns:1fr}.workspace-head{flex-direction:column}.search-wrap{border-radius:22px}.shortcuts button{flex:1 1 44%}}

/* Compact ecosystem footer (shared by every page; generated by layout.py) */
.site-footer{max-width:var(--max);margin:64px auto 0;padding:32px 20px 28px;border-top:1px solid var(--border);color:var(--muted);font-size:.92rem}
.footer-top{display:grid;grid-template-columns:1.25fr repeat(5,1fr);gap:24px 20px}
.footer-brand a{display:inline-flex;align-items:center;gap:10px;color:var(--text);font-size:1.1rem;font-weight:800}
.footer-brand img{width:26px;height:26px;border-radius:7px}
.footer-brand p{margin:8px 0 0;max-width:24ch}
.footer-col h2{margin:0 0 8px;color:var(--text);font-size:.9rem;font-weight:700}
.footer-col ul{display:grid;gap:0;margin:0;padding:0;list-style:none}
.footer-col a{display:inline-block;padding:5px 0;color:var(--muted);line-height:1.35}
.footer-col a:hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin-top:22px;padding-top:16px;border-top:1px solid var(--border);font-size:.85rem}
.footer-bottom p{margin:0}
@media (max-width:980px){.footer-top{grid-template-columns:repeat(3,1fr)}.footer-brand{grid-column:1/-1}}
@media (max-width:560px){.site-footer{padding:28px 16px 24px}.footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-col a{padding:7px 0}}

/* Each tool keeps its own accent on the homepage grid too */
.tool-card .tool-icon{background:color-mix(in srgb,var(--ta,var(--accent)) 10%,var(--surface));color:var(--ta,var(--accent))}
html[data-theme=dark] .tool-card .tool-icon{color:color-mix(in srgb,var(--ta,var(--accent)) 50%,#fff)}

.tool-card[hidden]{display:none}
