/* Samplevault: quiet vault. Near-black green, mint hairlines, glow, generous radius. */
:root {
  color-scheme: dark;
  --bg: #050f0d; --surface: #0a1b17; --surface-2: #0d2420;
  --line: #17382f; --line-soft: #112a24; --line-strong: #255449;
  --text: #e8fff7; --muted: #7fa89b; --dim: #547a6e;
  --accent: #5cffc4; --accent-dk: #2fbf8f; --accent-hover: #86ffd6; --on-accent: #03120d;
  --link: #5cffc4; --ok: #4fd18b; --warn: #e5c98a; --err: #ff7a8a;
  --header-bg: rgba(5,15,13,.86); --glow: rgba(92,255,196,.28);
  --bg-glow-1: rgba(92,255,196,.10); --bg-glow-2: rgba(40,120,255,.07);
  --notice-ok-fg: #b7f0d3; --notice-err-fg: #ffc9d3; --notice-info-fg: #b6ece4;
  --danger: #b8354a; --danger-hover: #cc4356;
  --radius: 22px; --max: 1200px;
  --font-display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
body {
  background-image:
    radial-gradient(900px 480px at 85% -5%, rgba(92,255,196,.12), transparent 60%),
    radial-gradient(700px 400px at 5% 30%, rgba(40,120,255,.07), transparent 60%);
  background-repeat: no-repeat;
}
h1, h2, h3, .brand { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }

/* Header */
.site-header .inner { min-height: 76px; }
.brand { font-size: 18px; letter-spacing: .09em; text-transform: uppercase; }
.brand::before { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--glow); }
.nav a { color: var(--muted); }
.cart-pill { background: transparent; border: 1px solid var(--line-strong); color: var(--text) !important; }

/* Hero */
.hero { max-width: 64ch; padding-block: 88px 32px; }
.hero h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; }
.hero p { color: var(--muted); font-size: 17px; max-width: 52ch; }
.eyebrow { font: 600 11.5px/1 var(--mono); letter-spacing: .26em; color: var(--accent); }

/* Cards: soft glass panels with a hairline and a mint sweep on hover */
.grid { grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 22px; }
.card {
  background: linear-gradient(180deg, rgba(13,36,32,.85), rgba(10,27,23,.95));
  border: 1px solid var(--line); border-radius: 22px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(92,255,196,.45); }
.card .cover { aspect-ratio: 1 / 1; background: #04100c; }
.card .body { padding: 17px 18px 19px; gap: 9px; }
.card h3 { font-size: 15.5px; line-height: 1.35; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent); }
.card .desc { font-size: 13px; color: var(--muted); }
.genre-tag { border: 1px solid var(--line-strong); border-radius: 999px; color: var(--accent); letter-spacing: .12em; font-weight: 600; }
.price { font-family: var(--font); font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* Buttons: pill, mint on ink */
.btn { border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-family: var(--font); letter-spacing: 0; }
.btn:hover { background: var(--accent-hover); box-shadow: 0 0 26px -6px var(--glow); }
.btn.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--accent); box-shadow: none; }
.btn.sm { padding: 8px 15px; font-size: 12.5px; }

/* Browse bar */
.browse .search input { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.browse .search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(92,255,196,.16); }
.pill { border: 1px solid var(--line-strong); background: transparent; color: var(--text); border-radius: 999px; font-weight: 600; }
.pill:hover { border-color: var(--accent); }
.pill[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* Content surfaces */
.panel { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(13,36,32,.7), rgba(10,27,23,.9)); }
.notice { border-radius: 14px; border-left-width: 3px; }
.prod-split { gap: 36px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }


/* Layout rules the base stylesheet relies on (kept here because theme.css replaces the originals). */
.genre-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card[hidden] { display: none; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.browse { display: flex; flex-direction: column; gap: 14px; padding-bottom: 22px; }
.browse .count { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
  .pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .pill { white-space: nowrap; }
}

/* Browse bar: search field and pill counts (base rules that theme.css had replaced). */
.browse .search { position: relative; max-width: 520px; }
.browse .search input { width: 100%; padding: 13px 18px 13px 46px; font-family: var(--font); font-size: 15px; line-height: 1.2; font-weight: 500; color: var(--text); }
.browse .search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.pill { padding: 9px 18px; font-family: var(--font); font-size: 14px; line-height: 1; cursor: pointer; }
.pill .n { opacity: .55; font-weight: 500; margin-left: 6px; }
.eyebrow { display: block; margin-bottom: 18px; }

/* Eyebrow: base .hero p rule would override a bare .eyebrow rule, so scope it. */
.hero .eyebrow { margin: 0 0 18px; color: var(--accent); }

/* UX pass: sticky footer, genre tag padding, tidy description spacing. */
html, body { min-height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; margin-bottom: 44px; }
.site-footer { margin-top: auto; }
.genre-tag { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; }
.desc-body p { margin: 0 0 10px; }
.desc-body p:last-child { margin-bottom: 0; }

/* Mobile polish: tighter eyebrow tracking so it does not orphan a word; smaller delivery filename. */
@media (max-width: 560px) {
  .hero .eyebrow { letter-spacing: .1em; font-size: 11px; }
  .prod-split .mono { font-size: 11.5px; }
}
