:root { color-scheme: light; --ink: #242424; --muted: #5c5c5c; --line: #c8c8c8; --paper: #fff; --soft: #f2f2f0; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 system-ui, sans-serif; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #333; outline-offset: 4px; }
button, select, input { min-height: 44px; }
button { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 9px 15px; }
h1, h2, h3, h4, p, figure { margin: 0; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 10; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.prototype-note { background: #e9e9e7; border-bottom: 1px dashed #aaa; padding: 7px 20px; text-align: center; font-size: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 18px; font-weight: 700; text-decoration: none; }
.wordmark span { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
nav button, .profile-links button, .footer-links button { border: 0; padding: 8px 0; background: transparent; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 56px; align-items: center; padding-block: 26px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; margin: 10px 0 16px; letter-spacing: -.035em; }
.lead { max-width: 580px; font-size: 22px; line-height: 1.4; }
.intro-description { max-width: 560px; margin-top: 10px; color: var(--muted); }
.profile-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 14px; font-size: 14px; }
.profile-links button { text-decoration: underline; text-underline-offset: 4px; }
.profile-links .social-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.profile-links .social-icon svg { width: 22px; height: 22px; }
.mascot-placeholder { justify-self: center; text-align: center; }
.device { width: 176px; padding: 16px 22px 18px; border: 2px solid #999; border-radius: 42px 42px 52px 52px; background: #e4e4e2; box-shadow: inset 3px 4px 0 #f8f8f6, inset -4px -5px 0 #c5c5c3; transform: rotate(5deg); }
.device-label { font-family: monospace; font-size: 11px; letter-spacing: 1px; margin-bottom: 10px; }
.device-screen { padding: 6px; border: 6px solid #aaa; border-radius: 10px; background: #d6d8ce; }
.device-screen svg { display: block; width: 100%; }
.device-controls { display: flex; gap: 12px; justify-content: center; margin-top: 14px; }
.device-controls i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #888; background: #bcbcbc; }
figcaption { font-size: 11px; color: var(--muted); margin-top: 14px; }
.catalog { border-top: 1px solid var(--line); padding-top: 28px; scroll-margin-top: 20px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
h2 { font-size: 32px; letter-spacing: -.025em; line-height: 1.2; }
.catalog-heading > p { font-size: 12px; color: var(--muted); }
.filters { padding: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
fieldset { margin: 16px 0 0; border: 0; padding: 0; min-width: 0; }
.filters fieldset:first-child { margin-top: 0; }
legend { padding: 0; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
legend span { color: var(--muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 1px solid #aaa; border-radius: 6px; background: white; font-size: 13px; }
.chips span::before { content: '+'; }
.chips input:checked + span { color: white; background: #333; border-color: #333; }
.chips input:checked + span::before { content: '✓'; }
.chips input:focus-visible + span { outline: 3px solid #333; outline-offset: 3px; }
.filter-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; }
.clear-button { background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; padding-inline: 4px; }
.project-group { margin-top: 36px; }
.group-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.015em; }
.group-count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-group-featured .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-card { min-width: 0; border: 1px solid #aaa; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.preview { height: 150px; background: #eee; border-bottom: 1px solid #bbb; position: relative; display: flex; align-items: center; justify-content: center; padding: 14px 14px 30px; }
.preview-caption { position: absolute; bottom: 7px; left: 8px; right: 8px; text-align: center; font-size: 10px; color: #555; }
.mini-document { width: 160px; background: white; border: 1px solid #aaa; padding: 10px; font-size: 10px; display: grid; gap: 7px; }
.mini-document i { display: block; height: 5px; background: #ccc; }
.mini-document i:nth-child(3) { width: 70%; }
.mini-document span { color: #555; }
.mini-dashboard { width: 180px; height: 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; border: 1px solid #aaa; background: white; }
.mini-dashboard div { background: #ccc; }
.mini-dashboard span { grid-column: 1 / -1; background: #e2e2e2; }
.mini-chart { display: flex; align-items: end; gap: 10px; height: 84px; width: 170px; border-bottom: 1px solid #555; padding-inline: 10px; }
.mini-chart i { flex: 1; background: #aaa; height: 70%; }
.mini-chart i:nth-child(2) { height: 100%; }.mini-chart i:nth-child(3) { height: 45%; }.mini-chart i:nth-child(4) { height: 85%; }.mini-chart i:nth-child(5) { height: 60%; }
.mini-flow { display: flex; align-items: center; gap: 6px; font-size: 10px; }
.mini-flow span { padding: 10px 7px; border: 1px solid #aaa; background: white; border-radius: 4px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
h4 { font-size: 19px; line-height: 1.3; margin-bottom: 9px; overflow-wrap: anywhere; }
.card-body > p { color: var(--muted); font-size: 14px; }
.tags { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 3px 7px; border: 1px solid #ccc; border-radius: 4px; background: #f5f5f5; font: 11px/1.5 monospace; }
.project-open { margin-top: auto; display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; font-size: 14px; }
.empty-state { padding: 40px 20px; text-align: center; border: 1px dashed #999; margin-top: 24px; }
.empty-state p { margin: 10px 0 20px; }
.site-footer { margin-top: 56px; padding-block: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: start; font-size: 14px; }
.site-footer small { width: 100%; color: var(--muted); font-size: 11px; }
dialog { max-width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #777; border-radius: 12px; color: var(--ink); }
dialog::backdrop { background: #0007; }
.dialog-inner { padding: 28px; }
.dialog-inner h2 { font-size: 26px; margin: 8px 0 18px; }
.dialog-inner p { margin-bottom: 16px; }
.notice { background: var(--soft); padding: 14px; font-size: 13px; }
@media (max-width: 960px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro { grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; }
  .lead { font-size: 20px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .prototype-note { padding: 7px 16px; text-align: left; font-size: 10px; }
  .site-header { flex-wrap: wrap; gap: 8px; padding-block: 14px 6px; }
  .wordmark { font-size: 17px; }
  .wordmark span { display: inline; margin-left: 10px; font-size: 11px; }
  nav { width: 100%; gap: 26px; font-size: 14px; }
  .intro { grid-template-columns: minmax(0, 1fr) 92px; align-items: start; gap: 12px; padding-block: 24px; }
  .intro-copy { display: contents; }
  .intro .eyebrow { grid-column: 1; font-size: 10px; }
  h1 { grid-column: 1; font-size: 30px; margin: 0; }
  .lead { grid-column: 1 / -1; font-size: 19px; }
  .intro-description { grid-column: 1 / -1; margin: 0; font-size: 14px; }
  .profile-links { grid-column: 1 / -1; margin: 0; gap: 22px; }
  .mascot-placeholder { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .device { width: 82px; padding: 10px 10px 12px; border-radius: 22px; }
  .device-label { font-size: 6px; letter-spacing: 0; margin-bottom: 5px; }
  .device-screen { border-width: 3px; border-radius: 6px; padding: 2px; }
  .device-controls { gap: 7px; margin-top: 7px; }.device-controls i { width: 9px; height: 9px; }
  figcaption { display: none; }
  .catalog { padding-top: 22px; }
  .catalog-heading { align-items: center; gap: 12px; }.catalog-heading > p { max-width: 100px; font-size: 11px; text-align: right; }
  h2 { font-size: 28px; }
  .filters { padding: 14px; }
  legend span { display: block; font-size: 11px; }
  .chips { gap: 7px; }.chips span { font-size: 12px; padding-inline: 10px; }
  .filter-summary { font-size: 12px; gap: 6px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .project-group-featured .project-grid { grid-template-columns: minmax(0, 1fr); }
  .group-heading { align-items: start; } h3 { font-size: 20px; }
  .project-group { margin-top: 28px; }
  .preview { height: 126px; }
  .card-body { padding: 16px; }
  .site-footer { margin-top: 36px; }
  .footer-links { gap: 20px; }
  .dialog-inner { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
