/* litebin.dev — paper & ink, color = meaning only.
   Type: IBM Plex Sans (human) / IBM Plex Mono (data). The process table is the hero artifact. */

:root,
[data-theme='light'] {
  color-scheme: light;
  --paper: #faf7f1;
  --ink: #201d1a;
  --muted: #6a635a;
  --faint: #a39a8c;
  --line: #e9e2d4;
  --line-strong: #cfc5b0;
  --live: #0f8a4f;
  --sleep: #b07818;
  --acc-green: #0f8a4f;
  --acc-amber: #c47d12;
  --acc-violet: #6d4bd8;
  --acc-coral: #d64d3f;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}

[data-theme='dark'] {
  color-scheme: dark;
  --paper: #171412;
  --ink: #ece7dd;
  --muted: #a49c90;
  --faint: #6b645b;
  --line: #2b2722;
  --line-strong: #4a443c;
  --live: #3ecf8e;
  --sleep: #d3a24a;
  --acc-green: #3ecf8e;
  --acc-amber: #e5a53c;
  --acc-violet: #9d85f0;
  --acc-coral: #f07a6b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 160ms ease, color 160ms ease;
  overflow-x: clip;
  /* footer pinned to the viewport bottom on short pages */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.wrap {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
/* pre-footer breathing room lives on the last content block, so the footer
   can use margin-top:auto to pin to the bottom on short pages */
.wrap > :nth-last-child(2) { margin-bottom: 72px; }
a { color: inherit; }
p a, .prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 12px;
}
/* translucent blurred paper, extended across the whole viewport width so the
   bar's edges never let scrolled content show through. z-index -1 keeps it
   behind the brand/nav (absolute children otherwise paint above static text). */
.top::before {
  content: '';
  position: absolute;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  top: 0;
  bottom: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}
/* full-bleed bottom border (the bar itself stays in the content column) */
.top::after {
  content: '';
  position: absolute;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  bottom: 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}
.brand {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.top nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 5px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.top nav a svg { flex: none; opacity: 0.75; }
.top nav a:hover svg, .top nav a.on svg { opacity: 1; }
.top nav a:hover {
  border-color: var(--acc-green);
  background: color-mix(in srgb, var(--acc-green) 10%, transparent);
}
.top nav a.on {
  background: var(--acc-green);
  border-color: var(--acc-green);
  color: #fff;
}
[data-theme='dark'] .top nav a.on { color: #10241a; }
.top nav a.ext {
  color: var(--muted);
  border-style: dashed;
}
.top nav a.ext:hover { color: var(--ink); border-color: var(--acc-violet); background: color-mix(in srgb, var(--acc-violet) 8%, transparent); }

.theme-toggle {
  width: 30px; height: 30px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-sun { display: none; }
[data-theme='dark'] .icon-sun { display: block; }
[data-theme='dark'] .icon-moon { display: none; }

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

/* the demo frame: a browser window showing an app, CSS-drawn */
.demo-frame {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--acc-green) 16%, transparent);
  overflow: hidden;
  transform: rotate(-1.2deg);
  max-width: 480px;
  justify-self: end;
  width: 100%;
}
.df-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 4%, var(--paper));
}
.df-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.df-url {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px 12px;
  background: var(--paper);
}
.df-body { display: flex; min-height: 240px; }
.df-side {
  width: 68px; flex: none;
  border-right: 1px solid var(--line);
  padding: 12px 10px;
  display: flex; flex-direction: column; gap: 9px;
}
.df-s-head { height: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--acc-violet), color-mix(in srgb, var(--acc-violet) 45%, var(--paper))); margin-bottom: 4px; }
.df-s-item { height: 8px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.df-s-item.on { background: color-mix(in srgb, var(--acc-green) 55%, transparent); }
.df-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.df-hero {
  border-radius: 6px;
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(120deg, var(--acc-green), color-mix(in srgb, var(--acc-violet) 65%, var(--acc-green)));
}
.df-h-line { height: 9px; border-radius: 3px; background: rgba(255, 255, 255, 0.55); }
.df-h-line.w40 { width: 40%; }
.df-h-line.w70 { width: 70%; }
.df-h-btn { width: 76px; height: 18px; border-radius: 4px; background: #fff; margin-top: 4px; }
.df-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.df-card { height: 52px; border-radius: 6px; }
.df-card.v { background: color-mix(in srgb, var(--acc-violet) 26%, var(--paper)); border: 1px solid color-mix(in srgb, var(--acc-violet) 40%, transparent); }
.df-card.c { background: color-mix(in srgb, var(--acc-coral) 22%, var(--paper)); border: 1px solid color-mix(in srgb, var(--acc-coral) 35%, transparent); }
.df-rows { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.df-r { display: flex; align-items: center; gap: 9px; }
.df-r-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc-green); flex: none; }
.df-r:nth-child(2) .df-r-dot { background: var(--acc-amber); }
.df-r:nth-child(3) .df-r-dot { background: var(--acc-violet); }
.df-r-line { height: 8px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.df-r-line.w80 { width: 80%; }
.df-r-line.w60 { width: 60%; }
.df-r-line.w70 { width: 70%; }
.hero h1 {
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.04;
  letter-spacing: -1.6px;
  font-weight: 600;
  margin: 0 0 20px;
  max-width: 860px;
  text-wrap: balance;
}
.hero .sub {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 10px;
}
.hero .subline {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
  margin: 0 0 26px;
}
.hero-actions { display: flex; align-items: center; gap: 22px; margin-bottom: 12px; }

/* the stamp: inverse bar with a blinking live cursor */
.stamp {
  display: inline-block;
  background: var(--acc-green);
  color: #fff;
  padding: 0 16px 2px;
  border-radius: 3px;
  margin-top: 6px;
}
[data-theme='dark'] .stamp { color: #10241a; }
.stamp .cursor {
  display: inline-block;
  width: 0.28em;
  height: 0.72em;
  background: #fff;
  margin-left: 10px;
  vertical-align: baseline;
  animation: blink 1.1s steps(1) infinite;
}
[data-theme='dark'] .stamp .cursor { background: #10241a; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stamp .cursor { animation: none; } }

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--acc-green);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--acc-green);
  border-radius: 3px;
  box-shadow: 3px 3px 0 color-mix(in srgb, var(--acc-green) 30%, transparent);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 color-mix(in srgb, var(--acc-green) 35%, transparent); }
[data-theme='dark'] .btn { color: #10241a; }
.quiet-link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.quiet-link:hover { color: var(--ink); }

/* ---------- the process table (hero artifact) ---------- */
.proc-wrap { margin: 0 0 6px; }
table.proc {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 13px;
  border-top: 2px solid var(--ink);
}
.proc th {
  text-align: left;
  font-weight: 500;
  font-size: 11.5px;
  color: var(--faint);
  padding: 8px 10px 6px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.proc td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
  white-space: nowrap;
}
.proc tr.rowlink { cursor: pointer; }
.proc tr.rowlink:hover td { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.proc .st { font-size: 12px; }
.proc .st-live { color: var(--live); }
.proc .st-asleep { color: var(--sleep); }
.proc .appname { font-family: var(--sans); font-size: 14px; font-weight: 500; }
.proc .lic { color: var(--faint); font-size: 11px; margin-left: 8px; }
.proc .host a { text-decoration: none; color: var(--ink); }
.proc .host a:hover { text-decoration: underline; text-underline-offset: 3px; }
.proc .num { text-align: right; color: var(--muted); }
.proc th.num { text-align: right; }

.boxlog {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 2px 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}
.boxlog .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live);
  animation: pulse 2.4s ease-in-out infinite;
  align-self: center;
  flex: none;
}
#ticker { transition: opacity 0.26s ease; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .boxlog .live-dot { animation: none; } }

/* ---------- sections ---------- */
.section { padding: 56px 0 0; }
.section > h2, .editorial > h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}
.section .sub, .editorial .sub { color: var(--muted); margin: 0 0 24px; }

/* editorial prose: one continuous story, not boxes */
.prose-wide p { color: var(--muted); margin: 0 0 18px; font-size: 16.5px; line-height: 1.65; }
.prose-wide p:first-of-type::first-letter {
  font-size: 3em;
  float: left;
  line-height: 0.82;
  margin: 6px 12px 0 0;
  font-weight: 600;
  color: var(--ink);
}
.prose-wide p:last-child { color: var(--ink); }
.see-all { font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.see-all:hover { color: var(--ink); }

/* ---------- the cover (one featured app, editorial) ---------- */
.cover {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}
.cover .name {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.02;
  margin: 0;
}
.cover .desc { font-size: 16px; color: var(--muted); margin: 14px 0 0; max-width: 460px; }
.cover .meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.cover .meta a { color: var(--ink); text-decoration: none; }
.cover .meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cover-side { font-family: var(--mono); font-size: 12.5px; color: var(--muted); line-height: 2; }
.cover-side b { color: var(--ink); font-weight: 500; }

/* ---------- filters + search ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 20px; }
.filters a {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.filters a:hover { color: var(--ink); }
.filters a.on { color: var(--ink); border-bottom-color: var(--ink); }
.filters a .n { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }

.search { display: flex; gap: 8px; margin: 0 0 18px; max-width: 520px; }
.search input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 8px 12px;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: 1.5px solid var(--ink); outline-offset: -1px; }

/* ---------- makers ---------- */
.makers { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.maker { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.maker:hover .m-name { text-decoration: underline; text-underline-offset: 3px; }
.m-name { font-size: 14.5px; font-weight: 500; }
.m-handle { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.av {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 600;
  flex: none;
  filter: grayscale(0.35);
  position: relative;
  overflow: hidden;
}
/* github photo on top of the initials fallback — if the image 404s or is
   absent (seeded makers), the colored initials still show */
.av .av-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.av.big { width: 60px; height: 60px; font-size: 18px; }
.av0 { background: #3f4494; } .av1 { background: #0b6e64; } .av2 { background: #9a4a12; }
.av3 { background: #5e3aa8; } .av4 { background: #9c2f62; } .av5 { background: #487028; }

/* ---------- rules (prose, not numbered) ---------- */
.rules-prose { max-width: 620px; color: var(--muted); font-size: 15.5px; }
.rules-prose p { margin: 0 0 12px; }
.rules-prose b { color: var(--ink); font-weight: 600; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.about h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.12;
  margin: 0 0 18px;
  max-width: 480px;
  text-wrap: balance;
}
.about .prose { max-width: 560px; }
.about .prose p { color: var(--muted); margin: 0 0 16px; font-size: 15.5px; }
.about .prose p:first-of-type::first-letter {
  font-size: 3.1em;
  float: left;
  line-height: 0.82;
  margin: 5px 10px 0 0;
  font-weight: 600;
  color: var(--ink);
}
.about .sig { font-family: var(--mono); font-size: 12.5px; color: var(--muted) !important; }

/* ---------- get listed band ---------- */
.band {
  border-top: 2px solid var(--ink);
  margin-top: 64px;
  padding: 26px 0 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.band h2 { font-size: 24px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.3px; }
.band p { margin: 0; color: var(--muted); max-width: 520px; }
.band .actions { display: flex; gap: 20px; align-items: center; }

/* ---------- run your own: option cards + waitlist modal ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.own-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 26px; }
@media (max-width: 720px) { .own-grid { grid-template-columns: 1fr; } }
.own-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--paper) 65%, transparent);
}
.own-card:hover { border-color: var(--acc-green); }
.own-card h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.2px; }
.own-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.own-links { display: flex; align-items: center; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.own-links .quiet-link { font-size: 13px; }
.own-count { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
/* the waitlist modal (native <dialog>, paper & ink) */
.wl-dialog {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  width: min(460px, calc(100vw - 40px));
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--acc-violet) 20%, transparent);
}
.wl-dialog::backdrop {
  background: color-mix(in srgb, var(--ink) 45%, transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.wl-body { position: relative; padding: 22px 24px 24px; }
.wl-body h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.3px; }
.wl-lead { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.wl-x {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.wl-x:hover { color: var(--ink); border-color: var(--line-strong); }
.wl-label {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--muted);
  margin: 0 0 6px;
}
.wl-label .wl-opt { color: var(--faint); }
.wl-dialog input[type='email'],
.wl-dialog textarea {
  display: block; width: 100%;
  font-family: var(--mono); font-size: 13.5px;
  padding: 9px 12px;
  margin: 0 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--ink);
  background: var(--paper);
  resize: vertical;
}
.wl-dialog input::placeholder,
.wl-dialog textarea::placeholder { color: var(--faint); }
.wl-dialog input:focus,
.wl-dialog textarea:focus { outline: 1.5px solid var(--ink); outline-offset: -1px; }
.wl-dialog .btn { border: none; cursor: pointer; }
.wl-note { margin: 10px 0 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }
/* honeypot: off-screen but present, so bots fill it and humans never see it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* ---------- project detail page ---------- */
.detail-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px 56px;
  align-items: start; padding: 26px 0 0;
}
.detail-grid .page-head { padding: 0; }
.detail-grid .page-head > p { margin-bottom: 20px; }
.dg-side { position: sticky; top: 90px; }
.dg-title { display: flex; align-items: center; gap: 16px; }
.dg-icon {
  width: 52px; height: 52px;
  border-radius: 9px;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--line-strong);
}
.card-icon {
  width: 20px; height: 20px;
  border-radius: 4px;
  object-fit: cover;
  flex: none;
  margin-right: 7px;
  vertical-align: -4px;
  border: 1px solid var(--line-strong);
}
.dg-details { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.dg-summary { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 60ch; }
@media (max-width: 820px) {
  .detail-grid { grid-template-columns: 1fr; gap: 8px; }
  .dg-side { position: static; }
}

/* ---------- page heads ---------- */
.page-head { padding: 48px 0 0; }
.back-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  margin: 0 0 12px;
}
.back-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.page-head h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 600; letter-spacing: -0.6px; margin: 0 0 10px; }
.page-head > p { max-width: 560px; color: var(--muted); margin: 0 0 26px; font-size: 15.5px; }
.deploy-note { max-width: 560px; font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin: 14px 0 0; }
.deploy-note a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.deploy-note a:hover { color: var(--muted); }
.page-head.profile { display: flex; gap: 22px; align-items: center; padding-top: 56px; }
.page-head.profile h1 { margin-bottom: 4px; }
.handle-big { font-family: var(--mono); font-size: 16px; color: var(--faint); font-weight: 400; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-family: var(--mono); font-size: 12.5px; }
.socials a { color: var(--muted); text-decoration: none; }
.socials a:hover { color: var(--ink); text-decoration: underline; }
.pstats { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* ---------- secondary lists (projects, devs) : quiet cards, no kit ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.card {
  border-top: 1px solid var(--line-strong);
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.card h3 { margin: 0; font-size: 16.5px; font-weight: 600; }
.card .domain { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.card .tagline { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.card .meta { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.card .meta a { color: var(--muted); text-decoration: none; }
.card .meta a:hover { color: var(--ink); text-decoration: underline; }
.card .actions { display: flex; gap: 16px; margin-top: 12px; }
.card .actions a { font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
footer {
  border-top: 2px solid var(--ink);
  margin-top: auto;
  padding: 20px 0 30px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- trending strip (today / week / latest) ---------- */
.trend-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 30px 0 6px;
}
.trend {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-top: 3px solid var(--ink);
  border-radius: 2px;
  padding: 12px 4px 4px;
}
.trend:nth-child(1) { border-top-color: var(--acc-green); }
.trend:nth-child(2) { border-top-color: var(--acc-violet); }
.trend:nth-child(3) { border-top-color: var(--acc-amber); }
.trend:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.trend:hover .t-name { text-decoration: underline; text-underline-offset: 4px; }
.t-label { font-size: 12.5px; color: var(--muted); }
.t-name { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.4px; margin: 4px 0 2px; }
.t-metric { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.t-note { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 2px; }

/* ---------- charts ---------- */
.chart-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.chart h3 { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 10px; }
.chart svg { width: 100%; height: auto; display: block; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row {
  display: grid;
  grid-template-columns: 92px 1fr 48px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.bar-row:hover .b-name { text-decoration: underline; text-underline-offset: 3px; }
.b-name { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-track { height: 10px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.b-fill { display: block; height: 100%; background: var(--ink); }
.b-val { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-align: right; }

/* ---------- dev profile (unique to this page) ---------- */
.profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
  padding: 14px 0 0;
}
/* the back link opens the page like on project details */
main > .back-link { display: block; padding-top: 26px; }
.ph-main h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.8px; margin: 0; line-height: 1.05; }
.ph-handle { font-family: var(--mono); font-size: 15px; color: var(--faint); margin: 4px 0 12px; }
.ph-bio { color: var(--muted); margin: 0 0 14px; max-width: 420px; font-size: 15.5px; }
.manifest {
  font-family: var(--mono);
  font-size: 12.5px;
  border-top: 2px solid var(--ink);
  padding-top: 10px;
}
.mrow { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mrow:last-child { border-bottom: none; }
.mk { color: var(--faint); }
.mv { color: var(--ink); text-align: right; }
.mv a { color: var(--ink); text-decoration: none; }
.mv a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- licenses page ---------- */
.lic-list { border-top: 2px solid var(--ink); }
.lic-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.lic-name { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; }
.lic-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.lic-plain { font-size: 13.5px; color: var(--muted); }

/* ---------- deploy flow ---------- */
.flow { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.f-inner { display: flex; align-items: center; gap: 8px; flex: 1 1 190px; min-width: 0; }
.f-arrow { color: var(--faint); font-size: 18px; flex: none; }
.f-node {
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: color-mix(in srgb, var(--paper) 65%, transparent);
  min-width: 0;
}
.f-node:hover { border-color: var(--acc-green); }
.f-chip {
  align-self: flex-start;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--ink);
  border-radius: 3px;
  padding: 2px 8px;
}
.f-chip.c0 { background: color-mix(in srgb, var(--acc-green) 18%, transparent); }
.f-chip.c1 { background: color-mix(in srgb, var(--acc-violet) 15%, transparent); }
.f-chip.c2 { background: color-mix(in srgb, var(--acc-amber) 18%, transparent); }
.f-chip.c3 { background: color-mix(in srgb, var(--acc-coral) 15%, transparent); }
.f-title { font-weight: 600; font-size: 14.5px; letter-spacing: -0.2px; }
.f-note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* ---------- status dots (filled = awake, hollow = asleep) ---------- */
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.dot-live { background: var(--live); animation: pulse 2.4s ease-in-out infinite; }
.dot-sleep { background: transparent; border: 1.5px solid var(--sleep); width: 7px; height: 7px; }
@media (prefers-reduced-motion: reduce) { .dot-live { animation: none; } }

/* ---------- the live wall (full-width hero band) ---------- */
.wall {
  border: 1px solid color-mix(in srgb, var(--acc-green) 35%, var(--line-strong));
  border-radius: 5px;
  padding: 14px 16px 8px;
  background: color-mix(in srgb, var(--acc-green) 6%, var(--paper));
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--acc-green) 16%, transparent);
}
.wall-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px;
  padding: 2px 6px 12px;
}
.wall-title { color: var(--muted); }
.wall-legend { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 2px; }

/* the empty wall: brewing, not blank */
.wall-brewing {
  display: flex; align-items: center; gap: 20px;
  margin: 2px 0 10px;
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
}
.wb-text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.wb-line { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; color: var(--ink); }
.wb-sub {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
}
.wb-sep { color: var(--faint); }
.wb-sub a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.wb-sub a:hover { color: var(--live); }
@media (max-width: 560px) {
  .wall-brewing { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- lively empty states (brewing, never "nothing here") ---------- */
.empty-note {
  display: flex; align-items: center; gap: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 5px;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--acc-amber) 5%, var(--paper));
}
.en-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.en-title { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; color: var(--ink); }
.en-body { font-size: 14px; color: var(--muted); line-height: 1.6; }
.en-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.en-body a:hover { color: var(--live); }

/* the brewing cup: steam rises in a staggered loop (still under
   prefers-reduced-motion — the cup alone reads fine) */
.brew-cup { color: var(--muted); flex: none; }
.brew-steam { animation: brew-steam 2.6s ease-in-out infinite; }
.brew-steam.s2 { animation-delay: 0.5s; }
.brew-steam.s3 { animation-delay: 1s; }
@keyframes brew-steam {
  0% { opacity: 0; transform: translateY(2px); }
  30% { opacity: 0.85; }
  70% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .brew-steam { animation: none; opacity: 0.4; }
}

/* the makers icon: the dashed silhouette is someone still joining — a slow
   fade, not a pulse (pulses belong to the live dot) */
.mk-svg { color: var(--muted); flex: none; }
.mk-ghost { animation: maker-join 3.4s ease-in-out infinite; }
@keyframes maker-join {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-ghost { animation: none; opacity: 0.4; }
}

/* category groups inside the wall */
.wall-group { margin-top: 2px; }
.wall-group + .wall-group { margin-top: 12px; }
.wg-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  padding: 6px 4px 8px;
  border-top: 1px dashed var(--line-strong);
}
.wg-head .wg-n { color: var(--faint); }
.wall-tile {
  display: flex; align-items: stretch;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  border-radius: 3px;
  white-space: nowrap; overflow: hidden;
}
.wall-tile .w-app {
  display: flex; align-items: center; gap: 8px;
  color: inherit; text-decoration: none;
  flex: 1; min-width: 0; overflow: hidden;
  padding: 6px 8px 6px 9px;
}
.wall-tile .w-app .w-name { overflow: hidden; text-overflow: ellipsis; }
/* the split: a full-height right section for the project page */
.wall-tile .w-info {
  display: flex; align-items: center; justify-content: center;
  width: 26px; flex: none;
  color: var(--faint); text-decoration: none;
  border-left: 1px solid var(--line);
  border-radius: 0 3px 3px 0;
}
.wall-tile .w-info .w-go { font-size: 12px; line-height: 1; }
.wall-tile .w-info:hover {
  color: var(--acc-green);
  background: color-mix(in srgb, var(--acc-green) 14%, transparent);
}
.wall-tile:hover { background: color-mix(in srgb, var(--acc-green) 12%, var(--paper)); }
.wall-tile.is-asleep { color: var(--muted); }
.wall-tile.is-awake .w-name { font-weight: 500; }
.wall-tile.waking .dot, .wall-tile.is-awake .dot { background: var(--live); border: none; width: 8px; height: 8px; animation: pulse 2.4s ease-in-out infinite; }
.wall-tile.waking .dot { background: var(--sleep); }
/* the wake flip: an asleep tile flashes and turns awake */
.wall-tile.waking { background: color-mix(in srgb, var(--acc-amber) 22%, var(--paper)); }
.wall-tile.is-awake { background: color-mix(in srgb, var(--acc-green) 10%, var(--paper)); animation: wakepop 0.5s ease; }
@keyframes wakepop { 0% { transform: scale(0.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .wall-tile.is-awake { animation: none; } }
.wall-foot {
  display: block; text-align: right;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  padding: 10px 6px 6px; text-decoration: none;
}
.wall-foot:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the awesome list: sidebar + quiet rows ---------- */
.awesome-layout {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 44px;
  align-items: start; padding-top: 30px;
}
.side-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; }
.side-nav-title { font-family: var(--mono); font-size: 11.5px; color: var(--faint); padding: 0 10px 8px; }
.side-nav a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 6px 10px;
  font-size: 14px; color: var(--muted); text-decoration: none;
  border-radius: 4px;
}
.side-nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.side-nav a.on { color: var(--ink); background: color-mix(in srgb, var(--acc-green) 12%, transparent); }
.side-nav a .n { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.awesome-main { min-width: 0; }
.awesome-main .search { margin: 0 0 6px; max-width: none; }
.awesome-main .search input { flex: 1; }

/* rows: no boxes, hairline separators */
.catalog { display: flex; flex-direction: column; }
.cat-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 6px;
}
.cat-row + .cat-row { border-top: 1px solid var(--line); }

.cr-main { flex: 1; min-width: 0; }
.cr-name-line { display: flex; align-items: center; gap: 10px; }
.cr-icon {
  width: 24px; height: 24px;
  border-radius: 5px;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--line-strong);
}
.cr-dot { display: inline-flex; flex: none; }
.cr-name {
  font-size: 17px; font-weight: 600; letter-spacing: -0.2px;
  color: var(--ink); text-decoration: none;
}
.cr-name:hover { text-decoration: underline; text-underline-offset: 4px; }
.feat-badge {
  font-family: var(--mono); font-size: 10.5px; color: var(--acc-green);
  border: 1px solid color-mix(in srgb, var(--acc-green) 45%, transparent);
  border-radius: 3px;
  padding: 1px 7px;
}
.cr-desc { margin: 4px 0 9px; font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 62ch; }
.cr-meta { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.cr-meta a { color: var(--muted); text-decoration: none; }
.cr-meta a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.cr-actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 9px; flex: none; }
.cr-btn {
  display: inline-block;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  padding: 6px 14px;
  text-decoration: none;
  border-radius: 3px;
  background: var(--acc-green); color: #fff;
  border: 1px solid var(--acc-green);
  box-shadow: 2px 2px 0 color-mix(in srgb, var(--acc-green) 30%, transparent);
}
.cr-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 color-mix(in srgb, var(--acc-green) 35%, transparent); }
[data-theme='dark'] .cr-btn { color: #10241a; }
.cat-row .quiet-link { font-size: 12.5px; }

@media (max-width: 720px) {
  .awesome-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 18px; }
  .side-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .side-nav-title { width: 100%; padding: 0 0 2px; }
  .side-nav a { padding: 4px 11px; border: 1px solid var(--line-strong); border-radius: 999px; }
  .side-nav a.on { border-color: var(--acc-green); }
  .cat-row { flex-wrap: wrap; }
  .cr-actions { flex-direction: row; align-items: center; width: 100%; padding-left: 22px; }
}

/* ---------- statline ---------- */
.statline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 20px 0 18px;
  margin-top: 44px;
}
.sl { display: flex; flex-direction: column; gap: 2px; }
.sl-num { font-family: var(--mono); font-size: clamp(28px, 3.4vw, 38px); font-weight: 500; letter-spacing: -0.5px; }
.sl:nth-child(1) .sl-num { color: var(--acc-green); }
.sl:nth-child(2) .sl-num { color: var(--acc-violet); }
.sl:nth-child(3) .sl-num { color: var(--acc-amber); }
.sl:nth-child(4) .sl-num { color: var(--acc-coral); }
.sl-lab { font-size: 12.5px; color: var(--muted); }

/* ---------- the box (stat tiles) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 32px; }
.stat-tile { border-top: 1px solid var(--line-strong); padding-top: 10px; display: flex; flex-direction: column; gap: 3px; }
.stat-tile .st-label { font-size: 12px; color: var(--muted); }
.stat-tile .st-value { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: -0.3px; }
.stat-tile .st-note { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.mini-bar { height: 6px; background: color-mix(in srgb, var(--ink) 7%, transparent); margin-top: 4px; }
.mini-fill { display: block; height: 100%; background: var(--live); }

/* ---------- responsive ---------- */
@media (max-width: 780px) {
  .hero { padding-top: 40px; }
  .cover { grid-template-columns: 1fr; gap: 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .proc .host, .proc th.h-host { display: none; }
  .band { flex-direction: column; align-items: flex-start; }
  .trend-strip { grid-template-columns: 1fr; gap: 20px; }
  .chart-row { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: auto 1fr; }
  .profile-hero .manifest { grid-column: 1 / -1; }
  .stat-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px 22px; }
  .hero { padding-top: 44px; grid-template-columns: 1fr; gap: 40px; }
  .demo-frame { justify-self: center; transform: none; }
  .statline { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
}
