:root {
  color-scheme: dark;
  --paper: #15191f;
  --surface: #1e242d;
  --ink: #f1f4f9;
  --muted: #b9c3d1;
  --line: #434f60;
  --link: #b7d0ff;
  font-family: system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
header, main { max-width: 1160px; margin: auto; padding: 24px 28px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { margin: 0; font-size: 25px; font-weight: 750; }
nav { display: flex; gap: 24px; }
a { color: var(--link); }
nav a { text-decoration: none; }
.find { max-width: 720px; }
label { display: block; font-size: .9rem; margin-bottom: 9px; color: var(--muted); }
input { font: inherit; padding: 13px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); width: 100%; color: var(--ink); }
input::placeholder { color: var(--muted); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
#results { font-size: .9rem; color: var(--muted); margin: 16px 0; }
#results:empty { margin: 0; }
.product-group { margin-top: 32px; scroll-margin-top: 24px; }
.product-group > h2 { font-size: 1.2rem; margin: 0 0 12px; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
.product { position: relative; border-top: 1px solid var(--line); padding: 18px 0 20px; }
.product h3 { font-size: 1rem; margin: 0 0 8px; }
.product h3 a { color: var(--ink); text-decoration: none; display: flex; justify-content: space-between; gap: 12px; }
.product h3 a::after { content: ''; position: absolute; inset: 0; }
.product:hover h3 a, .product:focus-within h3 a { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.product p { font-size: .9rem; line-height: 1.5; color: var(--muted); margin: 0; }
[hidden] { display: none; }
@media (max-width: 900px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { header, main { padding: 20px; } .projects { grid-template-columns: 1fr; } }
html[data-bs-theme=light] { color-scheme: light; --paper: #f7f8fb; --surface: #fff; --ink: #202938; --muted: #4b596c; --line: #c1cbd9; --link: #244e94; }
