/* SLO Down demo hub. Barlow / Barlow Condensed, SLO Down palette, light/dark follows the device. */
:root {
  --bg: #F8F7F4; --card: #FFFFFF; --ink: #27372D; --muted: #8A7667; --line: rgba(39,55,45,0.14);
  --green: #2D5A4B; --accent: #D46E2A; --tag: #EDE8DF;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1A2420; --card: #243028; --ink: #D9C6A5; --muted: #8A9772; --line: rgba(217,198,165,0.16); --green: #5E9C86; --tag: #2D3D33; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.hero { padding: 56px 0 28px; border-bottom: 1px solid var(--line); }
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
h1 { margin: 6px 0 10px; font-size: clamp(34px, 6vw, 56px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 600; }
.lede { max-width: 60ch; margin: 0; font-size: 18px; color: var(--ink); opacity: 0.86; }
.note {
  margin: 18px 0 0; font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; font-size: 12.5px;
  color: var(--muted); max-width: 70ch;
}
main { padding: 28px 0 56px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card {
  display: flex; flex-direction: column; background: var(--card); color: inherit; text-decoration: none;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.12); border-color: var(--accent); outline: none; }
.plate {
  position: relative; height: 128px; background: var(--c); display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.plate::before {
  content: ''; position: absolute; inset: 0; opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160'%3E%3Cg fill='none' stroke='white' stroke-width='1.2'%3E%3Cpath d='M0,16 C20,8 40,8 60,16 C80,24 100,24 120,16 C140,8 160,8 180,16 C200,24 220,24 240,16'/%3E%3Cpath d='M0,48 C20,40 40,40 60,48 C80,56 100,56 120,48 C140,40 160,40 180,48 C200,56 220,56 240,48'/%3E%3Cpath d='M0,80 C20,72 40,72 60,80 C80,88 100,88 120,80 C140,72 160,72 180,80 C200,88 220,88 240,80'/%3E%3Cpath d='M0,112 C20,104 40,104 60,112 C80,120 100,120 120,112 C140,104 160,104 180,112 C200,120 220,120 240,112'/%3E%3Cpath d='M0,144 C20,136 40,136 60,144 C80,152 100,152 120,144 C140,136 160,136 180,144 C200,152 220,152 240,144'/%3E%3C/g%3E%3C/svg%3E");
}
.plate img { position: relative; width: 56px; height: 56px; }
.body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h2 { margin: 0; font-size: 21px; line-height: 1.15; letter-spacing: -0.01em; font-weight: 600; }
.card p { margin: 0; font-size: 15px; color: var(--ink); opacity: 0.8; }
.tags { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 3px 8px; border-radius: 4px; background: var(--tag); color: var(--muted);
}
.open {
  margin-top: 10px; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
footer { border-top: 1px solid var(--line); padding: 18px 0 40px; font-size: 14px; color: var(--muted); }
footer a { color: var(--green); }
