@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#101416;--panel:#191e20;--text:#edf4ef;--muted:#91a49a;--border:#303c36;--mint:#b6efcf;--blue:#a5c7f3;--purple:#c4b4f2;--mark-ink:#14251c;--switch:#26372e;--preview:#121919}
html[data-theme="light"]{color-scheme:light;--bg:#f2f6f3;--panel:#fff;--text:#213d30;--muted:#64776c;--border:#d3dfd7;--mint:#23734e;--blue:#356da7;--purple:#7958b4;--mark-ink:#fff;--switch:#e5f0e9;--preview:#f6f9f7}
*{box-sizing:border-box}
body{margin:0;min-height:100dvh;background:var(--bg);color:var(--text);font:14px 'DM Sans',system-ui,sans-serif}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
a:focus-visible,button:focus-visible{outline:2px solid var(--mint);outline-offset:5px}
.hub-header{border-bottom:1px solid var(--border);background:var(--panel)}
.hub-header-inner{max-width:1200px;min-height:82px;margin:auto;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.hub-brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font:700 26px 'Space Grotesk',sans-serif;letter-spacing:-1.1px;border-radius:10px}
.hub-brand-please{font-weight:500}
.hub-brandmark{display:flex;width:36px;height:36px;flex:none;background:var(--mint);color:var(--mark-ink);border-radius:10px}
.hub-brandmark svg{display:block;width:100%;height:100%}
.hub-controls{display:flex;gap:12px}
.hub-segmented{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--bg)}
.hub-segmented button{display:grid;place-items:center;min-width:30px;height:28px;padding:0 7px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:10px;font-weight:600}
.hub-segmented button[aria-pressed="true"]{background:var(--switch);color:var(--text)}
.hub-segmented button:hover{color:var(--text)}
#themeSelect button{font-size:17px;font-weight:400}
.hub-main{max-width:1200px;margin:0 auto;padding:64px 28px 80px}
.hub-heading{display:flex;align-items:center;gap:14px;margin-bottom:30px}
.hub-heading h1{margin:0;font:500 34px 'Space Grotesk',sans-serif;letter-spacing:-1.2px}
.hub-tool-count{padding:4px 7px;border:1px solid var(--border);border-radius:5px;color:var(--muted);font:11px 'DM Sans',sans-serif}
.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
[data-color="mint"]{--accent:var(--mint)}
[data-color="blue"]{--accent:var(--blue)}
[data-color="purple"]{--accent:var(--purple)}
.tool-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border);border-radius:18px;padding:26px;background:var(--panel);transition:transform .18s,border-color .18s,box-shadow .18s}
.tool-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--accent) 65%,var(--border));box-shadow:0 16px 40px #00000012}
.tool-ready{border-color:color-mix(in srgb,var(--mint) 45%,var(--border))}
.tool-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:28px}
.tool-icon{width:46px;height:46px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 25%,var(--border));border-radius:13px;background:color-mix(in srgb,var(--accent) 9%,transparent);color:var(--accent);flex:none}
.tool-icon svg{width:24px;height:24px}
.tool-status{font-size:10px;color:var(--muted);border:1px solid var(--border);border-radius:20px;padding:5px 9px;white-space:nowrap}
.tool-status.is-ready{color:var(--mint);border-color:color-mix(in srgb,var(--mint) 30%,var(--border));background:color-mix(in srgb,var(--mint) 6%,transparent)}
.tool-status.is-ready::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:6px;vertical-align:1px}
.tool-card h2{margin:0 0 10px;font:500 24px 'Space Grotesk',sans-serif;letter-spacing:-.7px}
.tool-card>p{margin:0 0 26px;color:var(--muted);font-size:12px;line-height:1.7;min-height:41px}
.tool-preview{display:flex;align-items:center;margin-top:auto;border-radius:10px;padding:14px 0;background-color:var(--preview);background-image:radial-gradient(color-mix(in srgb,var(--accent) 16%,transparent) .7px,transparent .7px);background-size:15px 15px;overflow:hidden}
.tool-preview svg{display:block;width:100%;height:auto;color:var(--accent)}
.preview-lines{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.7}
.preview-nodes{fill:var(--panel);stroke:currentColor;stroke-width:1;stroke-opacity:.4}
.preview-detail{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:.65}
.preview-dot{fill:var(--panel);stroke:currentColor;stroke-width:1.5}
.tool-card-action{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:22px;margin-top:22px;border-top:1px solid var(--border);font-size:12px;font-weight:600;color:var(--muted)}
.tool-ready .tool-card-action{color:var(--mint)}
.tool-card-action>span:last-child{font-size:20px;font-weight:400}
.hub-breadcrumb{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin-bottom:40px}
.hub-breadcrumb a:hover{color:var(--mint)}
.hub-breadcrumb [aria-current]{color:var(--text)}
.tool-placeholder{max-width:620px;margin:60px auto 0;display:flex;align-items:center;flex-direction:column;text-align:center;padding:44px 28px;border:1px solid var(--border);border-radius:18px;background:var(--panel)}
.tool-placeholder>.tool-icon{width:64px;height:64px;margin-bottom:20px;border-radius:18px}
.tool-placeholder>.tool-icon svg{width:32px;height:32px}
.tool-placeholder h1{margin:20px 0 10px;font:500 32px 'Space Grotesk',sans-serif;letter-spacing:-1px}
.tool-placeholder p{max-width:360px;margin:0;color:var(--muted);line-height:1.8;font-size:13px}
.hub-back{display:inline-flex;align-items:center;gap:8px;margin-top:28px;padding:10px 16px;border:1px solid var(--border);border-radius:8px;font-size:12px}
.hub-back:hover{border-color:var(--accent);color:var(--accent)}
noscript{display:block;padding:40px}
@media(max-width:1000px){.tool-grid{gap:14px}.tool-card{padding:20px}.tool-card h2{font-size:21px}.tool-card-top{gap:8px}.tool-status{font-size:9px}.hub-main{padding-top:44px}}
@media(max-width:760px){.tool-grid{grid-template-columns:1fr}.hub-header-inner{padding:16px 20px}.hub-main{padding:36px 20px 56px}.tool-card{padding:24px}.tool-card-top{margin-bottom:20px}.tool-card h2{font-size:25px}.tool-card>p{min-height:0;margin-bottom:22px}.tool-preview svg{height:142px}.tool-card-action{padding-top:16px;margin-top:18px}.tool-placeholder{margin-top:25px}.hub-tool-count{font-size:10px}}
@media(max-width:400px){.hub-brand{font-size:23px;gap:8px}.hub-brandmark{width:32px;height:32px}.hub-header-inner{padding-inline:16px;gap:10px}.hub-controls{gap:6px}.hub-segmented button{min-width:26px;padding-inline:5px}.hub-main{padding-inline:16px}.tool-card{padding:22px}}
@media(max-width:360px){.hub-header-inner{flex-wrap:wrap;justify-content:center;gap:14px}.hub-brand{justify-content:center;width:100%}}
@media(prefers-reduced-motion:reduce){.tool-card{transition:none}.tool-card:hover{transform:none}}

/* Compact catalog cards and touch-friendly navigation. */
.hub-main{max-width:1040px;padding-top:36px}
.hub-heading{margin-bottom:22px}
.hub-heading h1{font-size:28px}
.tool-grid{gap:16px}
.tool-card{padding:18px;border-radius:14px}
.tool-card-top{margin-bottom:16px}
.tool-card .tool-icon{width:36px;height:36px;border-radius:10px}
.tool-card .tool-icon svg{width:20px;height:20px}
.tool-card h2{font-size:21px;margin-bottom:8px}
.tool-card>p{margin-bottom:16px;min-height:41px;line-height:1.6}
.tool-preview{padding:8px 0}
.tool-preview svg{height:90px}
.tool-card-action{padding-top:12px;margin-top:14px}
@media(max-width:760px){
 .hub-header-inner{min-height:72px;padding:12px 16px;flex-wrap:wrap;gap:10px}
 .hub-brand{font-size:23px;gap:8px}
 .hub-brandmark{width:32px;height:32px}
 .hub-controls{gap:6px;margin-left:auto}
 .hub-segmented button{min-width:36px;height:38px}
 .hub-main{padding:24px 16px 40px}
 .tool-grid{gap:12px}
 .tool-card{padding:16px}
 .tool-card-top{margin-bottom:10px}
 .tool-card h2{font-size:21px}
 .tool-card>p{min-height:0;margin-bottom:0;font-size:13px;line-height:1.6}
 .tool-preview{display:none}
 .tool-card-action{margin-top:14px;padding-top:10px;min-height:40px}
 .tool-placeholder{margin-top:12px;padding:28px 20px}
 .hub-breadcrumb{margin-bottom:24px}
}
@media(max-width:360px){.hub-brand{width:auto;justify-content:flex-start}.hub-controls{margin-left:0}.hub-header-inner{justify-content:space-between}.hub-segmented button{min-width:32px}}
@media(hover:none){.tool-card:hover{transform:none;box-shadow:none}}

.hub-about{margin-top:26px;padding-top:20px;border-top:1px solid var(--border);max-width:780px}
.hub-about h2{margin:0 0 10px;font:500 17px 'Space Grotesk',sans-serif;color:var(--text)}
.hub-about p{margin:8px 0;color:var(--muted);font-size:13px;line-height:1.7}
.hub-attribution{margin:20px 0 0;max-width:780px;color:var(--muted);font-size:11px;line-height:1.7}
@media(max-width:760px){.hub-about{margin-top:22px;padding-top:18px}.hub-attribution{font-size:11px}}
