/* loadbearing.games label page. Neutral dark ground; each title card carries
 * its own accent so the label does not compete with the games. */

:root {
  color-scheme: dark;
  --bg:        #0b0c10;
  --surface:   #12141a;
  --surface-2: #181b22;
  --border:    #262a33;
  --fg:        #e6e6ea;
  --fg-muted:  #a3a6b1;
  --fg-faint:  #6b6f7b;
  --line:      rgba(230,230,234,0.12);
  --accent:    #e6e6ea;

  --max-w:     980px;
  --gutter:    clamp(1rem, 3vw, 2rem);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--fg); color: var(--bg); }

/* header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.wordmark { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em; }
.wordmark .tld { color: var(--fg-faint); font-weight: 400; }
.top nav { display: flex; gap: 1.4rem; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.top nav a { color: var(--fg-muted); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.top nav a:hover { color: var(--fg); border-bottom-color: var(--fg-muted); }

main { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* hero */
.hero { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem); }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 1rem;
}
.pitch { font-family: var(--font-mono); font-size: 0.95rem; color: var(--fg-muted); margin: 0; letter-spacing: 0.02em; }

/* titles */
.titles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1rem 0 clamp(3rem, 7vw, 5rem);
}
.title {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.title:hover { background: var(--surface-2); border-color: var(--card-accent, var(--fg-muted)); transform: translateY(-1px); }
.title-mark img, .title-mark svg { display: block; width: 64px; height: 64px; border-radius: 6px; }
.title-head { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 0.5rem; }
.title h2 { font-size: 1.35rem; margin: 0; letter-spacing: -0.01em; }
.status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-accent, var(--fg-muted));
}
.tagline { margin: 0 0 0.4rem; color: var(--fg); font-weight: 500; }
.title p { margin: 0 0 0.75rem; color: var(--fg-muted); font-size: 0.95rem; }
.go {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--card-accent, var(--fg));
  border-bottom: 1px solid currentColor;
}
.go.muted { color: var(--fg-faint); border-bottom-color: transparent; }

/* per-title accents */
.title.lb { --card-accent: #d63837; }
.title.sl { --card-accent: #ffd81c; }
.title.lh { --card-accent: #5ee36b; }
.title.pr { --card-accent: #b04cff; }

/* about */
.about { padding: clamp(2rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); max-width: 66ch; }
.about h2 { font-size: 1.35rem; margin: 0 0 0.9rem; }
.about p { color: var(--fg-muted); margin: 0 0 0.9rem; }

/* footer */
footer { max-width: var(--max-w); margin: 0 auto; padding: 1.5rem var(--gutter) 3rem; border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.9rem; }
.muted { color: var(--fg-muted); }
.foot-links { font-family: var(--font-mono); font-size: 0.8rem; }
.foot-links a { color: var(--fg-muted); }
.foot-links a:hover { color: var(--fg); }
.fineprint { margin: 1rem 0 0; font-size: 0.78rem; color: var(--fg-faint); }

@media (max-width: 760px) {
  .titles { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .top { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .title { grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.2rem; }
  .title-mark img, .title-mark svg { width: 48px; height: 48px; }
}
