/* The shared home stays neutral; each edition keeps its own accent. */
:root {
  --bg: #f6f6f7;
  --surface: #ffffff;
  --surface-2: #ededf0;
  --ink: #1b1d23;
  --ink-2: #444750;
  --muted: #626570;
  --line: #dddfe5;
  --line-strong: #b5b8c2;
  --brand: #3c404b;
  --brand-hover: #1b1d23;
  --focus: 0 0 0 3px var(--brand);
  --plex-accent: #c2410c;
  --jellyfin-accent: #5b3fd1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131419;
    --surface: #1c1e25;
    --surface-2: #272a33;
    --ink: #f0f1f5;
    --ink-2: #cfd1d9;
    --muted: #a9adba;
    --line: #373b47;
    --line-strong: #646a7d;
    --brand: #d3d5db;
    --brand-hover: #ffffff;
    --plex-accent: #ff7a33;
    --jellyfin-accent: #b9a8ff;
  }
}

.brand-mark { display: block; flex: none; color: var(--brand); }
.editions { padding-top: clamp(32px, 6vw, 64px); }
.editions-intro { max-width: 820px; }
.editions-intro h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.3rem); }
.editions-intro .lead { max-width: 60ch; margin-top: 24px; color: var(--ink-2); }
.editions section { margin-top: 40px; }
.editions h2 { margin-bottom: 18px; font-size: var(--fs-xl); letter-spacing: -.02em; }
.edition-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.edition-card { display: flex; flex-direction: column; align-items: start; gap: 16px; padding: 28px; border: 1px solid var(--line); border-top: 4px solid var(--edition-accent); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; }
.edition-card:hover { background: var(--surface-2); color: var(--ink); border-color: var(--edition-accent); }
.edition-card:focus-visible { outline: 3px solid var(--edition-accent); outline-offset: 4px; box-shadow: none; }
.edition-plex { --edition-accent: var(--plex-accent); }
.edition-jellyfin { --edition-accent: var(--jellyfin-accent); }
.edition-label { color: var(--edition-accent); font-size: var(--fs-sm); font-weight: 700; }
.edition-card h3 { font-size: clamp(1.4rem, 1.1rem + .7vw, 1.65rem); line-height: 1.2; letter-spacing: -.02em; }
.edition-card > p:not(.edition-label) { color: var(--ink-2); }
.edition-action { margin-top: auto; padding-top: 8px; color: var(--edition-accent); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.site-footer { margin-top: 64px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 720px) {
  .edition-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .edition-card { padding: 24px; }
}
