:root{color-scheme:light;--page:#f4f7fb;--surface:#fff;--surface-strong:#eef3f9;--text:#14213d;--muted:#64748b;--border:#dbe3ee;--accent:#123a73;--accent-soft:#e7eef8;--shadow:0 18px 50px rgba(18,58,115,.08)}
:root[data-theme="dark"]{color-scheme:dark;--page:#0d1626;--surface:#142033;--surface-strong:#1b2a40;--text:#f8fafc;--muted:#b8c3d1;--border:#2b3b52;--accent:#fff;--accent-soft:#24344b;--shadow:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--page);color:var(--text);font-family:Inter,Manrope,"SF Pro Display","Segoe UI",Arial,sans-serif;line-height:1.6}button,input{font:inherit}a{color:inherit}.site-header,main,.site-footer{width:min(1180px,calc(100% - 32px));margin-inline:auto}.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0}.brand{display:flex;align-items:center;gap:14px;text-decoration:none}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--accent);font-weight:800;box-shadow:var(--shadow)}.brand-copy strong,.brand-copy span{display:block}.brand-copy span{color:var(--muted);font-size:.84rem}.header-actions{display:flex;gap:10px}.button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);padding:9px 14px;text-decoration:none;cursor:pointer}.button:hover{background:var(--surface-strong)}.button:focus-visible,.search-input:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 28%,transparent);outline-offset:3px}.hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:34px;align-items:center;padding:68px 0 56px}.eyebrow{margin:0 0 12px;color:var(--accent);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}.hero h1{max-width:760px;margin:0;font-size:clamp(2.7rem,7vw,5.5rem);line-height:.98;letter-spacing:-.06em}.hero-copy{max-width:690px;margin:24px 0 0;color:var(--muted);font-size:clamp(1rem,2vw,1.18rem)}.hero-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.badge{border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);padding:7px 11px;font-size:.86rem}.hero-preview{display:grid;min-height:360px;place-items:center;border:1px solid var(--border);border-radius:28px;background:var(--surface);box-shadow:var(--shadow)}.hero-preview img{width:min(82%,300px);height:auto}.catalogue{padding:34px 0 72px}.catalogue-header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.catalogue-header h2{margin:0;font-size:clamp(1.7rem,4vw,2.5rem);letter-spacing:-.035em}.catalogue-header p{margin:6px 0 0;color:var(--muted)}.search{width:min(100%,360px)}.search-input{width:100%;min-height:46px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);padding:10px 14px}.component-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:22px}.component-card{overflow:hidden;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:var(--shadow)}.component-preview{display:grid;min-height:330px;place-items:center;background:var(--surface-strong)}.component-preview img{width:min(78%,250px);height:auto}.component-body{padding:20px}.component-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.component-title{margin:0;font-size:1.18rem}.status{border-radius:999px;background:var(--accent-soft);color:var(--accent);padding:5px 9px;font-size:.75rem;font-weight:700}.component-description{margin:10px 0 0;color:var(--muted)}.component-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;color:var(--muted);font-size:.82rem}.empty-state{display:none;padding:42px 20px;border:1px dashed var(--border);border-radius:18px;color:var(--muted);text-align:center}.site-footer{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--border);padding:28px 0 38px;color:var(--muted);font-size:.9rem}.site-footer p{margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
@media(max-width:780px){.site-header,.catalogue-header,.site-footer{align-items:stretch;flex-direction:column}.hero{grid-template-columns:1fr;padding-top:38px}.hero-preview{min-height:300px}.search{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
