/* Aberration — shared stylesheet (dark horror theme, no frameworks)
 *
 * The reds are SAMPLED from assets/exodus_icon.png — if that asset changes,
 * re-sample rather than eyeballing a replacement.
 *
 * The neutrals are deliberately PURE GREY (zero saturation). The game's own UI
 * is a warm near-black, but at full-page scale that warmth reads as a red-brown
 * tint behind everything and muddies the accent. Keep every neutral at R=G=B. */

:root {
  /* Red — ONE hue (0.0, pure red), three values. Taken from exodus_icon.png:
     #e73333 is the bright body of the helix, #a41818 the distressed areas.
     Keeping every red on the same hue is what stops the page looking like it
     has four unrelated reds on it. */
  --accent:       #e73333;   /* THE accent */
  --accent-deep:  #a41818;   /* borders / shadow only — never text */
  --accent-lift:  #ff5252;   /* hover only */

  /* Neutrals — pure grey, R=G=B, no hue at all. NOT warm (reads as a red tint
     over a whole page) and NOT blue-grey (the generic dark-mode slate look).
     Red is then the only colour on the page, which is the point. */
  --bg:           #0a0a0a;
  --bg-panel:     #141414;
  --bg-panel-2:   #1e1e1e;
  --border:       #2a2a2a;
  --border-lit:   #3a3a3a;   /* panels catch light on the top edge */
  --text:         #e4e4e4;
  --text-dim:     #909090;

  /* The inventory's "empty / locked slot" hatch, in three intensities.
     Loudest = the real meaning (a slot that is empty or locked); quieter =
     structural or decorative. TUNE HERE — every hatch on the site reads from
     these three values, so this block is the one dial for the whole motif. */
  --hatch:        rgba(150, 150, 150, 0.09);   /* empty slots — the core meaning */
  --hatch-edge:   rgba(150, 150, 150, 0.16);   /* thin strips need more contrast to read */
  --hatch-faint:  rgba(150, 150, 150, 0.045);  /* large areas — gutters, past builders */

  --hatch-img:       repeating-linear-gradient(45deg, var(--hatch) 0, var(--hatch) 3px, transparent 3px, transparent 6px);
  --hatch-img-edge:  repeating-linear-gradient(45deg, var(--hatch-edge) 0, var(--hatch-edge) 3px, transparent 3px, transparent 6px);
  --hatch-img-faint: repeating-linear-gradient(45deg, var(--hatch-faint) 0, var(--hatch-faint) 3px, transparent 3px, transparent 6px);

  --amber:        #e0a020;   /* ONE job: in-development status */

  --measure:      70ch;      /* readable line length inside the wide container */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Everything on this page is sized in rem, so this one declaration scales the
   whole design with the viewport: 17px at 1280 wide, 19px at 1920, 21px at 2560,
   clamped either side.
   The rem term (not a bare px) is what keeps browser zoom and the user's own
   font-size preference working — never turn this into pure vw. */
html { font-size: clamp(1.0625rem, 0.8125rem + 0.3125vw, 1.3125rem); }

/* Sharp corners everywhere — the game's UI has no rounded boxes. */
* { border-radius: 0; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  /* No font-size here on purpose — it inherits the fluid root above. Setting one
     in rem would multiply against the root and double-scale every page. */
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* The inventory's empty/locked-slot hatch: 45° stripes, ~2px on 2px off in game,
   scaled to a 6px period so it reads at web viewing distance instead of moiring.
   This full-strength one is for things that ARE empty or locked. */
.hatch { background-image: var(--hatch-img); }

/* Half-strength, for a hatched element large enough that full strength is busy. */
.hatch--faint { background-image: var(--hatch-img-faint); }

/* ---------- Header / nav ---------- */
header {
  background: rgba(10, 10, 10, 0.95);   /* --bg at 95% */
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon { height: 30px; width: auto; }

/* Same wordmark as the hero (assets/AberrationTitle.png is black artwork on
   transparent), inverted to white. No red glow here — the header stays flat. */
.logo-wordmark { height: 24px; width: auto; filter: invert(1); }

@media (max-width: 480px) {
  .logo-wordmark { height: 19px; }
  .logo-icon { height: 24px; }
}

nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover { color: var(--text); }
nav a.active { color: var(--text); border-bottom-color: var(--accent); }

/* Discord / YouTube pinned to the right end of the bar */
.header-social {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---------- Layout ---------- */
main {
  flex: 1;
  width: 100%;
  /* rem so the column widens as the type grows; the 95vw term guarantees gutters
     at every size instead of the container swallowing the viewport. */
  max-width: min(76rem, 95vw);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* Prose stays at a readable measure even though the container is wide —
   widening without this just makes long lines harder to read. */
.story p, .hero .tagline, main > p { max-width: var(--measure); }

section + section { margin-top: 4rem; }

/* Divider between stacked sections. Panels are excluded — they carry their own
   top band, and the two together reads as a doubled rule. */
main section + section:not(.panel)::before {
  content: "";
  display: block;
  height: 8px;
  margin-bottom: 2.5rem;
  background-image: var(--hatch-img-edge);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.15; margin-bottom: 0.6rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; margin: 2.4rem 0 1rem; color: var(--text); }
h3 { font-size: 1.15rem; margin: 1.4rem 0 0.5rem; }
p  { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1rem 1.4rem; }
li { margin-bottom: 0.4rem; }
a { color: var(--accent); }
a:hover { color: var(--accent-lift); }
code {
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  padding: 0.1rem 0.4rem;
  font-size: 0.9em;
}

.dim { color: var(--text-dim); }

/* Small utility classes.
   These exist so no page needs inline style="..." attributes — that lets the
   site's Content-Security-Policy block inline styles and scripts outright. */
.mt-0     { margin-top: 0; }
.mt-sm    { margin-top: 1.2rem; }
.mt-md    { margin-top: 1.5rem; }
.mt-lg    { margin-top: 2.2rem; }
.mt-xl    { margin-top: 2.5rem; }
.mb-0     { margin-bottom: 0; }
.tight    { margin: 1rem 0 0; }
.flush    { margin: 0; }
.center   { text-align: center; }

/* Visible to screen readers only. Used for form labels where the placeholder
   carries the visual cue — a placeholder alone is not an accessible label. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }

/* ---------- Hero (index) ---------- */
/* Full-bleed section (lives outside <main>) with a looping video background */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  background: var(--bg);   /* fallback fill behind the video */
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay fading into the page background keeps the wordmark readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.65) 55%,
    var(--bg) 100%);
  z-index: 1;
}

.hero-inner { position: relative; z-index: 2; }

/* Wordmark PNG is black-on-transparent; invert(1) renders it white on the dark theme */
.hero-wordmark {
  /* rem so it scales with the page. 42rem at the 21px ceiling is 882px, safely
     under the PNG's 1079px native width, so it never upscales. */
  width: min(42rem, 92%);
  height: auto;
  /* invert() is load-bearing — the PNG is black-on-transparent artwork and this
     is what renders it white. No glow: the .hero-overlay above already darkens
     the video enough for the wordmark to read cleanly. */
  filter: invert(1);
}

.hero-motto {
  margin-top: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-size: clamp(0.85rem, 2.6vw, 1.15rem);
}

.hero .tagline {
  color: var(--text-dim);
  font-size: 1.15rem;
  margin: 1rem auto 2.2rem;
}

.btn-download {
  display: inline-block;
  /* background-COLOR, not the shorthand: the shorthand resets background-image,
     which would wipe out .hatch on the coming-soon variant below. */
  background-color: var(--accent);
  border: 1px solid var(--accent-deep);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.9rem 2.6rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.btn-download:hover { background-color: var(--accent-lift); color: #fff; transform: translateY(-2px); }

/* No jar to hand out yet. In game the hatch marks a slot you can't use, which is
   exactly what this is — so it wears the same pattern instead of just going grey,
   at half strength (.hatch--faint) because the button is a big area.
   The heavy border is scoped to this variant on purpose: the real red download
   button keeps its 1px so it doesn't turn chunky at release. --border-lit rather
   than --border, or 3px of #2a2a2a is still invisible against the fill. */
.btn-download--soon {
  background-color: var(--bg-panel-2);
  color: var(--text-dim);
  border: 3px solid var(--border-lit);
  cursor: default;
}

.btn-download--soon:hover { background-color: var(--bg-panel-2); color: var(--text-dim); transform: none; }

.version-line { margin-top: 1rem; color: var(--text-dim); font-size: 0.95rem; }

.hash-line {
  font-size: 0.75rem;
  margin-top: 0.6rem;
  line-height: 1.7;
}

.hash-line code {
  font-size: 0.95em;
  word-break: break-all;
}

/* ---------- Panels / cards ---------- */
/* Sharp-cornered, with a lighter top edge so they catch light the way the
   game's UI panels do — that's what replaces the softness of rounded corners. */
.panel {
  background-color: var(--bg-panel);
  border: 1px solid var(--border);
  border-top-color: var(--border-lit);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-top-color: var(--border-lit);
  padding: 1.2rem 1.3rem;
}

.card h3 { margin-top: 0; color: var(--text); }
.card p  { margin-bottom: 0; color: var(--text-dim); font-size: 1rem; }

/* ---------- Credits page ---------- */
.member {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-top-color: var(--border-lit);
  padding: 1.2rem 1.3rem;
}

.member .avatar {
  width: 72px;
  height: 72px;
  image-rendering: pixelated;   /* keep Minecraft heads crisp */
  flex-shrink: 0;
}

.member h3 { margin: 0 0 0.35rem; }

.member .tags { margin-bottom: 0.4rem; }

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-deep);
  padding: 0.05rem 0.45rem;
  margin: 0 0.35rem 0.35rem 0;
}

.tag--muted { color: var(--text-dim); border-color: var(--border); }

/* Novelty tag — amber instead of the standard red */
.tag--alt { color: var(--amber); border-color: var(--amber); }

/* Name-only rosters (builders / past builders) */
.name-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.name-list li {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 0.35rem 0.8rem;
  margin: 0;
  font-size: 1rem;
}

/* Departed members — literally vacated slots, so they wear the empty-slot hatch. */
.name-list--past li {
  color: var(--text-dim);
  background-color: transparent;
  background-image: var(--hatch-img-faint);
}

.member p { margin: 0; color: var(--text-dim); font-size: 1rem; }

/* "In Development" tag on WIP feature cards — the only place amber survives,
   so it still reads as a status rather than as decoration. */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 0.05rem 0.4rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Narrative gameplay sections on the home page. The heading stays plain text —
   a short red rule above it carries the accent instead of colouring the words. */
.story h2 { color: var(--text); }

.story h2::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 0.9rem;
}

.story .kicker {
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 0.6rem;
}

/* Requirements table */
.req-table { width: 100%; border-collapse: collapse; }
.req-table td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--border);
}
.req-table td:first-child { color: var(--text-dim); white-space: nowrap; }
.req-table tr:last-child td { border-bottom: none; }

/* ---------- FAQ (details/summary) ---------- */
details {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-top-color: var(--border-lit);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 1rem 1.3rem;
  font-weight: 600;
  list-style: none;
}

summary::before { content: "▸ "; color: var(--accent); }
details[open] summary::before { content: "▾ "; }
details > *:not(summary) { padding: 0 1.3rem; }
details > p:last-child, details > ul:last-child { padding-bottom: 1rem; }

/* ---------- Video embeds ---------- */
/* 2-up to ~2100px, then 3-up. The 470px floor stays in PIXELS on purpose: if it
   scaled with rem it would grow in step with the container and the column count
   would never change — cells would just get bigger and the gifs blurrier. A fixed
   floor means a wider screen buys another COLUMN, so each gif stays near native
   size (1.15x at 2560 3-up, vs 2x if cells simply grew).
   min(470px, 100%) stops that floor forcing a horizontal scrollbar on phones.
   Sized for a 1280x720 gif source — the current captures are 426x240 and will
   look soft at 1920 until they're re-recorded. */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(470px, 100%), 1fr));
  gap: 1.5rem;
}

.video-slot {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-top-color: var(--border-lit);
  overflow: hidden;
}

/* An empty slot, so it wears the game's empty-slot hatch (see .hatch). */
.video-slot .frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-panel-2);
  color: var(--text-dim);
}

.video-slot iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video-slot img { width: 100%; display: block; }
.video-slot .caption { padding: 0.7rem 1rem; font-size: 1rem; }

/* Single wide slot (homepage trailer/devlog) — fills the full content column. */
.video-slot--wide { width: 100%; }

/* Larger badge used for the "In Active Development" status line */
.badge--lg {
  font-size: 0.85rem;
  padding: 0.25rem 0.8rem;
  margin-left: 0;
}

.dev-status { margin: 0.4rem 0 0.8rem; }

/* ---------- Social icons (top-right of the header) ---------- */
.header-social a {
  color: var(--text-dim);
  opacity: 0.55;
  transition: opacity 0.15s, color 0.15s, transform 0.15s;
  display: block;
}

.header-social a:hover,
.header-social a:focus-visible {
  opacity: 1;
  color: var(--accent);
  transform: scale(1.1);
}

.header-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

/* ---------- Launch notification signup (homepage) ---------- */
/* Mirrors the .latest strip below it (flex row, red left edge) so it reads as
   part of the same system. The button links OUT to a hosted signup page: the
   CSP sets form-action 'none' on purpose, so there is deliberately no form
   here and nothing for the site itself to receive or store. */
.notify {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  background-color: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.3rem 1.5rem;
  margin-bottom: 1.2rem;
}

.notify-title { margin: 0 0 0.3rem; font-size: 1.3rem; }
.notify-note  { margin: 0; color: var(--text-dim); font-size: 0.95rem; max-width: 46ch; }

/* Compact on purpose — .btn-download is the hero treatment and would shout
   over the hero itself this close to it. */
.btn-notify {
  display: inline-block;
  background-color: var(--accent);
  border: 1px solid var(--accent-deep);
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s;
}

.btn-notify:hover { background-color: var(--accent-lift); color: #fff; }

/* Signup form. Our markup and our styling — Kit only supplies the endpoint, so
   nothing on the page carries their branding. A plain form POST, no JavaScript,
   so it still works with JS disabled. */
.notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
}

.notify-form input[type="email"] {
  flex: 1 1 16rem;
  min-width: 0;                 /* lets it shrink instead of overflowing the flex row */
  background-color: var(--bg-panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.9rem;
}

.notify-form input[type="email"]::placeholder { color: var(--text-dim); }

.notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.notify-form button {
  background-color: var(--accent);
  border: 1px solid var(--accent-deep);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s;
}

.notify-form button:hover { background-color: var(--accent-lift); }

/* ---------- Install guide video links ---------- */
/* Sits at the foot of an install .panel, divided from the steps above it.
   The play glyph is a plain text character, so there's no icon font or image
   for the CSP to block. */
.guide-video {
  margin: 1.1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.guide-video a { text-decoration: none; }
.guide-video a:hover { text-decoration: underline; }

/* ---------- Changelog ---------- */
/* Entries carry .panel too, so the box styling is inherited rather than repeated.
   The Added/Changed/Fixed labels reuse .tag / .tag--alt / .tag--muted — three
   readable states out of colours the palette already has, so this page doesn't
   introduce a fourth accent. */
.release { margin-bottom: 1.6rem; }

.release-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin-bottom: 0.9rem;
}

.release-head h2 { margin: 0; }
.release-head time { color: var(--text-dim); font-size: 0.9rem; white-space: nowrap; }

.release-title { color: var(--text-dim); margin-bottom: 1.1rem; }

/* Label sits tight above its own list */
.change-kind { margin: 1rem 0 0.4rem; }
.release ul { margin-bottom: 0; }
.release ul + .change-kind { margin-top: 1.2rem; }

/* Shown until the first entry is posted; new-post.ps1 removes it. */
.changelog-empty {
  background-color: var(--bg-panel);
  border: 1px solid var(--border);
  border-top-color: var(--border-lit);
  color: var(--text-dim);
  padding: 2.5rem 1.6rem;
  text-align: center;
}

/* ---------- Latest-update strip (homepage) ---------- */
.latest {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  background-color: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 0.9rem 1.2rem;
  margin-bottom: 3rem;
}

.latest-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.latest #latest-title { color: var(--text-dim); }
.latest a { margin-left: auto; white-space: nowrap; }

/* ---------- Store page ---------- */
/* A compact .btn-download. The big one carries 2.6rem of side padding, which
   overflows a 17rem tier card — same red, same sharp edges, smaller box. */
.btn-store {
  display: block;
  background-color: var(--accent);
  border: 1px solid var(--accent-deep);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0.6rem 1rem;
  margin-top: 1.2rem;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-store:hover { background-color: var(--accent-lift); color: #fff; }

/* Secondary action. Red is the only colour on the site, so a second red button
   next to the tiers would compete with them for the same click. */
.btn-store--quiet {
  background-color: var(--bg-panel-2);
  border-color: var(--border-lit);
  color: var(--text);
}

.btn-store--quiet:hover { background-color: var(--border); color: var(--text); }

/* Dead button on the example card, same idea as .btn-download--soon: the hatch
   is the game's "you can't use this slot" pattern. Not a link, so no hover. */
.btn-store--soon {
  background-color: var(--bg-panel-2);
  border-color: var(--border-lit);
  color: var(--text-dim);
  cursor: default;
}

.btn-store--soon:hover { background-color: var(--bg-panel-2); color: var(--text-dim); }

/* One art box, two aspect ratios. With no image it wears .hatch — the game's
   empty/locked slot pattern — so missing art reads as deliberate rather than
   broken. Drop an <img> inside and the box is unchanged. */
.art-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-COLOR, not the shorthand: the shorthand would wipe out .hatch. */
  background-color: var(--bg-panel-2);
  border: 1px solid var(--border);
  overflow: hidden;
}

.art-slot > span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.art-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tier-art { aspect-ratio: 16 / 9; margin-bottom: 1rem; }
/* Squarer than the tiers: a skin is one piece of kit, not a scene. */
.skin-art { aspect-ratio: 4 / 3; }

/* A div, not a p: .card p is more specific than .price and would win. */
.price { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.8rem; }
.price span { font-size: 0.95rem; font-weight: 400; color: var(--text-dim); }

/* The tiers list different numbers of perks; flex pins every button to the
   bottom so they line up across the row. */
.tier { display: flex; flex-direction: column; }
.tier ul { flex: 1; }

/* Skin cards. Each one is a <details>, so expanding needs no JavaScript and
   keyboard and screen readers get it for free — the search box is the only
   part that actually requires script. The global details/summary rules already
   give the card its panel look; these override the FAQ's text-row layout. */
.skin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.skin { margin-bottom: 0; }

.skin summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 0 0 0.9rem;
}

/* The marker moves onto the name: as summary's ::before it would become a grid
   item and land above the art. */
.skin summary::before { content: none; }
.skin-name::before { content: "\25B8\00a0"; color: var(--accent); }
.skin[open] .skin-name::before { content: "\25BE\00a0"; }

.skin .art-slot { grid-column: 1 / -1; border-width: 0 0 1px; margin-bottom: 0.8rem; }
.skin-name { grid-column: 1; margin: 0; padding-left: 1rem; font-size: 0.95rem; }
.skin-price { grid-column: 2; padding-right: 1rem; font-weight: 700; white-space: nowrap; }

.skin-body { padding-bottom: 1rem; }
.skin-body ul { margin-bottom: 0.8rem; font-size: 0.95rem; }
.skin-body .btn-store { margin-top: 0.6rem; }

.skin-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

/* Search. Same box as the launch-signup field so the site has one input look. */
.skin-search {
  width: min(22rem, 100%);
  background-color: var(--bg-panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.9rem;
  margin-bottom: 1rem;
}

.skin-search::placeholder { color: var(--text-dim); }
.skin-search:focus { outline: none; border-color: var(--accent); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

footer .links a { margin-right: 1.4rem; color: var(--text); text-decoration: none; }
footer .links a:hover { color: var(--accent); }
