/* MIREKU: the colours, type and frames of the instrument itself.
   Near-black, gold, condensed capitals, and the kente cloth used sparingly. */

@font-face { font-family: "Barlow SC"; src: url("../fonts/BarlowSemiCondensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/BarlowSemiCondensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0a0907;
  --bg2: #110f0b;
  --panel: #17140f;
  --line: #3a2f1c;
  --gold: #d9a441;
  --gold-hi: #f3c96f;
  --gold-lo: #8a6524;
  --text: #efe6d4;
  --muted: #a69a86;
  --violet: #b968e0;
  --ok: #8fd14f;
  --err: #ec7a5c;
  --r: 14px;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.caps, h1, h2, h3, .btn, .eyebrow, .nav a {
  font-family: "Barlow SC", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
}
h1, h2, h3 { line-height: 1.05; margin: 0; font-weight: 700; }
h2 { font-size: clamp(28px, 4.2vw, 46px); color: var(--gold-hi); }
h3 { font-size: 20px; color: var(--gold); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .22em; margin-bottom: 14px; display: block; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 9, 7, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 164, 65, .18);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-hi); }
.brand img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; border: 1px solid var(--gold-lo); background: #000; }
.brand b { font: 700 24px/1 "Barlow SC", sans-serif; letter-spacing: .08em; }
.brand small { display: block; font: 600 10px/1.2 "Barlow SC", sans-serif; letter-spacing: .24em; color: var(--muted); }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--gold-hi); }
.nav a.btn, .nav a.btn:hover { color: #1a1206; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: 10px; border: 1px solid var(--gold);
  font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
  color: #1a1206;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #b98327);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6) inset, 0 10px 30px -10px rgba(217,164,65,.6);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s;
}
.btn:hover { color: #1a1206; transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(0,0,0,.6) inset, 0 14px 36px -10px rgba(243,201,111,.75); }
.btn.ghost { background: transparent; color: var(--gold-hi); box-shadow: none; }
.btn.ghost:hover { color: #fff; background: rgba(217,164,65,.08); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled], .btn.off {
  cursor: default; transform: none; filter: none;
  color: var(--muted); background: #1b1813; border-color: var(--line); box-shadow: none;
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/kente.webp") center / 520px;
  opacity: .1;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 70%);
}
.hero .wrap { position: relative; text-align: center; }
.hero h1 {
  font-size: clamp(56px, 13vw, 150px); letter-spacing: .1em;
  background: linear-gradient(180deg, #fff3cf 0%, var(--gold-hi) 35%, var(--gold) 70%, #9a6d22 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(217,164,65,.25));
}
.hero .by { font: 600 clamp(14px, 1.6vw, 18px)/1 "Barlow SC", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 10px 0 26px; }
.hero .lead { margin: 0 auto 30px; text-align: center; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.price-note { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 1.6em; }

.stage { position: relative; margin: 56px auto 0; max-width: 1100px; }
.stage::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -40px; height: 80px;
  background: radial-gradient(ellipse at center, rgba(217,164,65,.35), transparent 70%);
  filter: blur(20px); z-index: -1;
}

/* the gold frame every screenshot sits in, like a panel in the app */
.frame {
  border-radius: var(--r); padding: 6px;
  background: linear-gradient(145deg, #5a4420, #1d170e 40%, #3c2d15 75%, #7a5a26);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.8);
}
.frame img { border-radius: calc(var(--r) - 5px); width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #0d0b08; }

/* ---------- facts strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--bg2); margin-top: 72px; }
.facts ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.facts b { display: block; font: 700 clamp(30px, 4vw, 44px)/1 "Barlow SC", sans-serif; color: var(--gold-hi); }
.facts span { font: 600 13px/1.3 "Barlow SC", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .facts ul { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } }

/* ---------- sections ---------- */
section.block { padding: clamp(64px, 9vw, 110px) 0; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip { grid-template-columns: 1.25fr 1fr; }
.split.flip > :first-child { order: 2; }
@media (max-width: 880px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.split h2 { margin-bottom: 18px; }

/* ---------- the four worlds ---------- */
.worlds-head { text-align: center; margin-bottom: 34px; }
.worlds-head .lead { margin-inline: auto; }
.tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 26px;
        padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); width: fit-content; margin-inline: auto; }
.tab {
  font: 700 16px/1 "Barlow SC", sans-serif; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 8px;
  padding: 12px 20px; cursor: pointer;
}
.tab:hover { color: var(--gold-hi); }
.tab[aria-selected="true"] { color: #1a1206; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold); }
.world { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; }
.world[hidden] { display: none; }
.world .count { font: 700 64px/1 "Barlow SC", sans-serif; color: var(--gold-hi); }
.world .count small { font-size: 16px; letter-spacing: .18em; color: var(--muted); margin-left: 8px; }
.knobs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.knobs li { font: 600 13px/1 "Barlow SC", sans-serif; letter-spacing: .14em; text-transform: uppercase;
            padding: 9px 12px; border-radius: 999px; border: 1px solid var(--gold-lo); color: var(--gold-hi); background: rgba(217,164,65,.06); }
@media (max-width: 880px) { .world { grid-template-columns: 1fr; } }

/* ---------- kente band ---------- */
.kente { position: relative; overflow: hidden; }
.kente::before { content: ""; position: absolute; inset: 0; background: url("../images/kente.webp") center / 640px; opacity: .16; }
.kente::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,9,7,.55) 30%, rgba(10,9,7,.55) 70%, var(--bg) 100%); }
.kente > .wrap { position: relative; z-index: 1; }

/* ---------- feature list ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 880px) { .grid3 { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, #19150f, #110f0b);
  padding: 24px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.gallery figure { margin: 0; }
.gallery figcaption { font: 600 13px/1.3 "Barlow SC", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; text-align: center; }
.gallery .frame { padding: 4px; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } }
.gallery .frame img { aspect-ratio: auto; }

/* ---------- James ---------- */
.james { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
/* The portrait is the app's badge drawing, 224 px wide: shown at that size in a
   thin gold frame, never stretched, so it stays sharp. */
.portrait { width: 248px; padding: 11px; border-radius: 18px; border: 1px solid var(--gold);
            background: #000; box-shadow: 0 0 0 4px #000, 0 0 0 5px var(--gold-lo), 0 24px 60px -24px rgba(217,164,65,.45); }
.portrait img { width: 224px; height: auto; border-radius: 8px; }
@media (max-width: 720px) { .james { grid-template-columns: 1fr; } }

/* ---------- James's links ---------- */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 20px 0 22px; }
.social a { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px 0 12px;
            border: 1px solid var(--gold-lo); border-radius: 999px; text-decoration: none; color: var(--gold-hi);
            font: 600 14px/1 "Barlow SC", sans-serif; letter-spacing: .12em; text-transform: uppercase; background: rgba(217,164,65,.05); }
.social a:hover { color: #fff; border-color: var(--gold); background: rgba(217,164,65,.12); }
.social svg { width: 20px; height: 20px; }

/* ---------- about page ---------- */
.about-hero .wrap { text-align: left; }
.about-hero .lead { text-align: left; margin: 0; }
.about-id { display: grid; grid-template-columns: 248px 1fr; gap: 48px; align-items: center; }
.hero .about-name { font-size: clamp(42px, 6.4vw, 78px); letter-spacing: .06em; margin: 4px 0 18px;
              background: linear-gradient(180deg, #fff3cf 0%, var(--gold-hi) 40%, var(--gold) 75%, #9a6d22 100%);
              -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 760px) { .about-id { grid-template-columns: 1fr; gap: 28px; } }
.player { margin-top: 26px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #121212; }
.player iframe { display: block; border: 0; }
.small-note { font-size: 14px; margin-top: 14px; }

/* ---------- specs ---------- */
.specs { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs thead th { font: 700 15px/1 "Barlow SC", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.specs tbody th { font-weight: 600; color: var(--muted); width: 22%; }
.table-scroll { overflow-x: auto; }

/* ---------- buy ---------- */
.buy { text-align: center; }
.buybox {
  max-width: 620px; margin: 30px auto 0; padding: clamp(26px, 4vw, 40px);
  border-radius: 18px; border: 1px solid var(--gold-lo);
  background: radial-gradient(ellipse at 50% 0%, rgba(217,164,65,.14), transparent 60%), #12100c;
}
.buybox .price { font: 700 clamp(40px, 6vw, 58px)/1 "Barlow SC", sans-serif; color: var(--gold-hi); margin-bottom: 6px; min-height: 1em; }
.buybox ul { list-style: none; padding: 0; margin: 22px 0 26px; text-align: left; display: grid; gap: 10px; }
.buybox li { padding-left: 28px; position: relative; color: var(--text); font-size: 15px; }
.buybox li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.msg { margin-top: 14px; font-size: 14px; min-height: 1.4em; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- account page ---------- */
.acct { max-width: 760px; padding: 56px 0 90px; }
.acct h1 { font-size: clamp(34px, 5vw, 52px); color: var(--gold-hi); margin-bottom: 8px; }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: #12100c; padding: clamp(22px, 4vw, 32px); margin-top: 24px; }
.panel h2 { font-size: 24px; margin-bottom: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font: 600 13px/1 "Barlow SC", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input {
  font: inherit; color: var(--text); background: #0b0a08; border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; min-height: 48px;
}
.field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(217,164,65,.2); }
.switch { margin-top: 14px; font-size: 14px; color: var(--muted); }
.switch button { background: none; border: 0; color: var(--gold-hi); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.keybox { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.keybox code {
  flex: 1 1 260px; font: 600 clamp(18px, 3vw, 24px)/1 ui-monospace, "JetBrains Mono", Menlo, monospace; letter-spacing: .08em;
  color: var(--gold-hi); background: #0b0a08; border: 1px dashed var(--gold-lo); border-radius: 10px; padding: 16px; text-align: center;
  user-select: all; overflow-wrap: anywhere;
}
.devices { list-style: none; padding: 0; margin: 10px 0 0; }
.devices li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.devices small { color: var(--muted); }
.dl { display: flex; gap: 12px; flex-wrap: wrap; }
.who { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- photographs of James ---------- */
.photo-portrait { border-radius: 18px; overflow: hidden; border: 1px solid var(--gold-lo); background: #000;
                  box-shadow: 0 0 0 4px #0a0907, 0 0 0 5px rgba(217,164,65,.35), 0 30px 70px -30px rgba(217,164,65,.45); }
.photo-portrait img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.about-id { grid-template-columns: 320px 1fr; }
@media (max-width: 760px) { .about-id { grid-template-columns: 1fr; } .photo-portrait { max-width: 340px; } }
@media (max-width: 720px) { .james .photo-portrait { max-width: 320px; } }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 200px); gap: 14px; margin-top: 30px; }
.photos figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; }
/* Five photographs, no gaps: one tall picture on the left, two pairs beside it. */
.photos figure:nth-child(1) { grid-column: 1; grid-row: 1 / span 4; }
.photos figure:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
.photos figure:nth-child(3) { grid-column: 2; grid-row: 3 / span 2; }
.photos figure:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
.photos figure:nth-child(5) { grid-column: 3; grid-row: 3 / span 2; }
.photos img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s ease; }
.photos figure:hover img { transform: scale(1.03); }
.photos figure:nth-child(1) img { object-position: 50% 62%; }
.james .photo-portrait img { object-position: 50% 35%; }
@media (max-width: 880px) {
  .photos { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .photos figure:nth-child(n) { grid-column: auto; grid-row: span 1; }
  .photos figure:nth-child(1) { grid-column: 1 / -1; grid-row: span 2; }
}
@media (max-width: 520px) { .photos { grid-template-columns: 1fr; grid-auto-rows: 320px; } .photos figure:nth-child(1) { grid-row: span 1; } .photos figure:nth-child(1) img { object-position: 50% 40%; } }

/* ---------- releases ---------- */
.releases { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.release { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.release img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line);
               box-shadow: 0 16px 40px -20px rgba(0,0,0,.9); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.release:hover img { transform: translateY(-3px); border-color: var(--gold-lo); box-shadow: 0 20px 44px -18px rgba(217,164,65,.4); }
.release[aria-pressed="true"] img { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 20px 44px -18px rgba(217,164,65,.55); }
.release .rt { display: block; margin-top: 10px; font: 700 15px/1.2 "Barlow SC", sans-serif; letter-spacing: .04em; color: var(--text); }
.release .rm { display: block; margin-top: 4px; font: 600 12px/1 "Barlow SC", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.release[aria-pressed="true"] .rt { color: var(--gold-hi); }
.now { margin: 30px 0 0; font: 600 14px/1 "Barlow SC", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.now + .player { margin-top: 12px; }
@media (max-width: 520px) { .releases { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ---------- the sign-up while MIREKU is not yet on sale ---------- */
.interest { text-align: left; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 6px; }
.interest h3 { font-size: 22px; color: var(--gold-hi); margin-bottom: 6px; }
.interest > .muted { margin-bottom: 18px; }
.interest .opt { letter-spacing: .04em; text-transform: none; font-family: Inter, sans-serif; font-weight: 400; }
.interest .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--gold); flex: none; }
.interest .btn { width: 100%; }
.interest .fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.buybox .interest .field input { background: #0b0a08; }

/* ---------- team dashboard (/admin) ---------- */
.dash { padding: 40px 0 80px; }
.dash .panel { margin-top: 18px; }
.panel.narrow { max-width: 520px; margin: 40px auto; }
.dash-title { font-size: clamp(28px, 4vw, 40px); color: var(--gold-hi); margin: 4px 0 6px; }
.dash h2 { font-size: 18px; color: var(--gold); letter-spacing: .1em; margin: 0 0 14px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); }
.seg button { font: 600 14px/1 "Barlow SC", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
              background: none; border: 0; border-radius: 7px; padding: 10px 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--gold); color: #1a1206; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 22px; }
.tiles.small { margin-top: 0; }
.tile { border: 1px solid var(--line); border-radius: 12px; background: #12100c; padding: 16px 18px; display: grid; gap: 6px; }
.tile-label { font: 600 12px/1.2 "Barlow SC", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tile-value { font: 700 32px/1 "Barlow SC", sans-serif; color: var(--text); overflow-wrap: anywhere; }
.tile-sub { font-size: 13px; color: var(--muted); }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.charts .panel { margin-top: 18px; }
@media (max-width: 880px) { .charts { grid-template-columns: 1fr; } }
.chart svg { display: block; overflow: visible; }
.chart .bar { fill: var(--gold); }
.chart .grid { stroke: #2a2318; stroke-width: 1; }
.chart .base { stroke: #4a3c22; stroke-width: 1; }
.chart .axis { fill: var(--muted); font: 12px Inter, sans-serif; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover, .chart .hit:focus { fill: rgba(217,164,65,.08); outline: none; }
.tip { position: absolute; z-index: 50; pointer-events: none; background: #f3ead6; color: #1a1206; font: 600 13px/1.3 Inter, sans-serif;
       padding: 8px 10px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.5); max-width: 260px; }
.table-view { margin-top: 12px; color: var(--muted); font-size: 14px; }
.table-view summary { cursor: pointer; }
.lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lists .panel { margin-top: 18px; }
@media (max-width: 880px) { .lists { grid-template-columns: 1fr; } }
.rank { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; gap: 12px; align-items: center; padding: 7px 0; font-size: 14px; }
.rank-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.rank-track { height: 10px; background: #1d1912; border-radius: 0 4px 4px 0; }
.rank-bar { display: block; height: 100%; background: var(--gold); border-radius: 0 4px 4px 0; }
.rank-n { font-variant-numeric: tabular-nums; color: var(--text); min-width: 2.5em; text-align: right; }
.dash .specs { margin-top: 6px; }
.dash .specs a { color: var(--gold-hi); }

.panel.team { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-color: var(--gold-lo);
              background: radial-gradient(ellipse at 0% 0%, rgba(217,164,65,.12), transparent 60%), #12100c; }
.panel.team h2 { margin-bottom: 4px; }
.panel.team p { margin: 0; }
.panel.team .team-dl { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 14px; }
.panel.team .team-dl p { margin: 0 0 10px; }
.panel.team .team-dl .msg { margin-top: 10px; }

/* ---------- discount code beside the buy button ---------- */
.code-field { max-width: 320px; margin: 0 auto 16px; text-align: left; }
.acct .code-field { margin-left: 0; }
.code-field input { text-transform: uppercase; letter-spacing: .08em; }
.code-field input::placeholder { letter-spacing: .08em; opacity: .45; }
.code-field .opt { letter-spacing: .04em; text-transform: none; font-family: Inter, sans-serif; font-weight: 400; }
.dl .dl-all { flex-basis: 100%; }

/* ---------- account page, decluttered ---------- */
.who-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.who-line b { color: var(--text); font-weight: 600; }
.who-line .team-link { margin-left: auto; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-hi); text-decoration: underline; cursor: pointer; }
.linkish:hover { color: #fff; }
.linkish[disabled] { color: var(--muted); cursor: default; }
#get .dl-all { width: 100%; min-height: 58px; font-size: 19px; }
#get .small-note { margin: 12px 0 0; }
#get .whatsnew { margin: 0 0 16px; }
#get .whatsnew b { color: var(--gold-hi); font-weight: 600; }
.more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; color: var(--muted); }
.more summary { cursor: pointer; }
.more summary:hover { color: var(--gold-hi); }
.filelist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.filelist li { display: flex; justify-content: space-between; gap: 12px; }
.more .devices { margin-top: 6px; }
.acct .panel h2 { font-size: 20px; }
#get .msg:empty { display: none; }
.buybox .price .was { font-size: .5em; color: var(--muted); text-decoration-thickness: 2px; vertical-align: middle; }

/* ---------- the welcome sound ---------- */
.playing { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.playing b { color: var(--gold-hi); font-weight: 600; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; background: var(--gold); border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { height: 60%; } .eq i:nth-child(2) { height: 100%; animation-delay: .2s; } .eq i:nth-child(3) { height: 40%; animation-delay: .4s; }
@keyframes eq { 50% { transform: scaleY(.35); } }
.eq i { transform-origin: bottom; }

.announce { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.announce h2 { margin-bottom: 6px; }

/* ---------- Hear MIREKU ---------- */
.hear { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hear-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 8px; border-radius: 999px; cursor: pointer;
            border: 1px solid var(--gold-lo); background: rgba(217,164,65,.07); color: var(--gold-hi);
            font: 700 15px/1 "Barlow SC", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.hear-btn:hover { border-color: var(--gold); background: rgba(217,164,65,.14); color: #fff; }
.hear-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #1a1206; display: grid; place-items: center; }
.hear-icon svg { width: 16px; height: 16px; }
.hear-btn .i-pause, .hear-btn.on .i-play { display: none; }
.hear-btn.on .i-pause { display: block; }
.hear-btn.on .hear-icon { box-shadow: 0 0 0 0 rgba(217,164,65,.6); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(217,164,65,0); } }
.hear-note { font-size: 13px; color: var(--muted); }
.announce .more ol { margin: 10px 0 14px; padding-left: 20px; display: grid; gap: 4px; }
.announce .more p { margin: 10px 0 0; }

/* ---------- questions ---------- */
.narrow-wrap { max-width: 820px; }
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font: 700 18px/1.3 "Barlow SC", sans-serif; letter-spacing: .04em; color: var(--text); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--gold-hi); }
.faq p { margin: 0 0 20px; color: var(--muted); max-width: 68ch; }
#gift form { margin-top: 14px; }
#gift .code-field { margin-bottom: 12px; }
#gift .small-note { margin: 10px 0 0; }
#gift .msg:empty { display: none; }
