/*
  Vulpine site — Winamp, 1997, in purple.

  Same rules as the app: two-pixel hard bevels (light top-left, dark
  bottom-right for raised, inverted for sunk), square corners everywhere,
  pinstriped title bars, monospace readouts, tiny letterspaced uppercase
  labels. The palette is unchanged.
*/

:root {
  --ground: #120e1a;
  --sunk: #0b0812;
  --raised: #221a30;
  --raised-hi: #2c2340;
  --line: #2e2540;
  --line-hi: #45375f;
  --bevel-light: #5b4a7d;
  --bevel-dark: #0a0710;
  --bone: #ebe5f4;
  --muted: #9589ac;
  --faint: #6a5f80;
  --violet: #a984e8;
  --violet-hi: #c1a6f2;
  --gold: #f26522;
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --display: 'IBM Plex Mono', ui-monospace, monospace;
  --radius: 0px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--violet);
}

/* A single soft violet bloom behind the fold, so the page has depth without
   any element having to shout. */
.glow {
  position: fixed;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 760px;
  background: radial-gradient(closest-side, rgba(169, 132, 232, 0.16), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

main,
.bar,
footer {
  position: relative;
  z-index: 1;
}

main {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* ---------- bar ---------- */

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
  padding: 22px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bone);
}

.wordmark-img {
  height: 13px;
  width: auto;
  display: block;
  filter: invert(93%) sepia(6%) saturate(300%) hue-rotate(230deg);
}

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 17px;
}

.bar nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.bar nav a {
  color: var(--muted);
  text-decoration: none;
}
.bar nav a:hover {
  color: var(--bone);
}

/* ---------- hero ---------- */

.hero {
  padding: 84px 0 64px;
  max-width: 64ch;
}

.eyebrow {
  color: var(--violet);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6.6vw, 66px);
  line-height: 1.04;
  margin: 0 0 26px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.body {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cta {
  display: inline-block;
  background: var(--violet);
  color: #170f26;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 0;
  transition: background 140ms ease, transform 140ms ease;
}
.cta:hover {
  background: var(--violet-hi);
  transform: translateY(-1px);
}

.cta-ghost {
  display: inline-block;
  border: 1px solid var(--line-hi);
  color: var(--bone);
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 0;
}
.cta-ghost:hover {
  border-color: var(--violet);
}

.micro {
  color: var(--faint);
  font-size: 13.5px;
  margin: 18px 0 0;
}

/* ---------- scan panel: the page's one loud moment ---------- */

.scan {
  border: 1px solid var(--line);
  border-radius: 0;
  background: linear-gradient(180deg, var(--raised) 0%, var(--sunk) 100%);
  overflow: hidden;
  margin-bottom: 84px;
  box-shadow: none;
}

.scan-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(169, 132, 232, 0.16);
}

.scan-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.scan-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 20px;
  flex-wrap: wrap;
}
.scan-list li:hover {
  background: rgba(169, 132, 232, 0.05);
}

.scan-list code {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--bone);
}

.found {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.none {
  color: var(--faint);
  font-size: 14px;
}

.scan-foot {
  margin: 0;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* ---------- feature grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px 46px;
  margin-bottom: 90px;
}

.num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--violet);
  letter-spacing: 0.1em;
}

.grid h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  margin: 8px 0 8px;
}

.grid p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

/* ---------- download ---------- */

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  margin: 0 0 8px;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 24px;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.platform {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-hi);
  border-radius: 0;
  background: var(--raised);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--bone);
  transition: border-color 140ms ease, background 140ms ease;
}
.platform:hover {
  border-color: var(--violet);
  background: var(--raised-hi);
}
.platform.recommended {
  border-color: var(--violet);
  box-shadow: 0 0 0 1px rgba(169, 132, 232, 0.28);
}

.os-icon {
  color: var(--violet);
  display: flex;
}

.platform-name {
  display: block;
  font-weight: 600;
}

.platform-file {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
}

.status {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

.notes {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 18px;
  margin-bottom: 84px;
  background: var(--sunk);
}
.notes summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 14.5px;
}
.notes ul {
  margin: 14px 0 4px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
}
.notes li {
  margin-bottom: 9px;
}
.notes strong {
  color: var(--bone);
}
.notes code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--raised);
  padding: 2px 6px;
  border-radius: 0;
}

/* ---------- warning ---------- */

.warn {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  max-width: 64ch;
}
.warn h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 12px;
}
.warn p {
  color: var(--muted);
  margin: 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 14px;
}
.foot-links {
  display: flex;
  gap: 20px;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover {
  color: var(--bone);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}


/* ============================================================
   Winamp chrome
   ============================================================ */

.scan,
.platform,
.notes,
.cta,
.cta-ghost {
  border-radius: 0;
  border-width: 2px;
  border-style: solid;
  border-top-color: var(--bevel-light);
  border-left-color: var(--bevel-light);
  border-right-color: var(--bevel-dark);
  border-bottom-color: var(--bevel-dark);
  box-shadow: none;
}

.cta:active,
.cta-ghost:active,
.platform:active {
  border-top-color: var(--bevel-dark);
  border-left-color: var(--bevel-dark);
  border-right-color: var(--bevel-light);
  border-bottom-color: var(--bevel-light);
  transform: translate(1px, 1px);
}

/* The header is a title bar. */
.bar {
  background:
    repeating-linear-gradient(
      180deg,
      var(--bevel-light) 0px,
      var(--bevel-light) 1px,
      transparent 1px,
      transparent 3px
    ),
    var(--raised);
  border-bottom: 2px solid var(--bevel-dark);
  border-top: 2px solid var(--bevel-light);
  max-width: none;
  padding: 8px 24px;
}

/* The wordmark sits on a plate so the stripes do not run behind it. */
.brand {
  background: var(--raised);
  padding: 5px 12px;
  border: 2px solid;
  border-top-color: var(--bevel-light);
  border-left-color: var(--bevel-light);
  border-right-color: var(--bevel-dark);
  border-bottom-color: var(--bevel-dark);
}

.bar nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Headline set in the readout face rather than a serif. */
.hero h1 {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.14;
}
.hero h1 em {
  text-shadow: 0 0 16px rgba(242, 101, 34, 0.3);
}

.eyebrow,
.section-title,
.num,
.grid h2,
.warn h2,
.status,
.micro,
footer {
  font-family: var(--mono);
}

.section-title,
.warn h2 {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 20px;
}

.grid h2 {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* The scan panel is the track display: sunken, striped title, mono rows. */
.scan {
  border-top-color: var(--bevel-dark);
  border-left-color: var(--bevel-dark);
  border-right-color: var(--bevel-light);
  border-bottom-color: var(--bevel-light);
  background: var(--sunk);
}

.scan-head {
  background:
    repeating-linear-gradient(
      180deg,
      rgba(91, 74, 125, 0.55) 0px,
      rgba(91, 74, 125, 0.55) 1px,
      transparent 1px,
      transparent 3px
    ),
    var(--raised);
  border-bottom: 2px solid var(--bevel-dark);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dot {
  border-radius: 0;
  box-shadow: none;
}

.found,
.none,
.scan-list code {
  font-family: var(--mono);
}

.cta,
.cta-ghost {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cta:hover {
  transform: none;
}

.platform-name {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.platform-file {
  font-family: var(--mono);
  font-size: 11px;
}

/* Pixel art stays crisp. */
.brand img,
.col-card-image {
  image-rendering: pixelated;
}

footer {
  border-top: 2px solid var(--bevel-light);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
