:root {
  --bg: #07060b;
  --ink: #f4f2f8;
  --muted: #9c97a8;
  --line: rgba(255,255,255,.08);
  --red: #e3181f;
  --green: #1fd17a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "YakShaving", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }

.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient span {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(120px); opacity: .18; animation: drift 22s ease-in-out infinite alternate;
}
.ambient span:nth-child(1) { background: #1fd17a; top: -25vmax; left: -15vmax; }
.ambient span:nth-child(2) { background: #8b3df0; top: -10vmax; right: -25vmax; animation-duration: 27s; }
.ambient span:nth-child(3) { background: #ff7a3d; bottom: -40vmax; left: 20vmax; animation-duration: 31s; opacity: .1; }
body.redpage .ambient span { background: var(--red); opacity: .22; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }

nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: 1120px; margin: 0 auto; padding: 22px 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
nav .links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--muted); }
nav .links a { text-decoration: none; }
nav .links a:hover, nav .links a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 14px; font: inherit; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--ink);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: rgba(255,255,255,.09); }
.btn.primary { background: #fff; color: #0b0a10; border-color: #fff; }

main { max-width: 760px; margin: 0 auto; padding: 28px 24px 72px; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: .98; letter-spacing: -.035em; font-weight: 800; text-wrap: pretty; }
.lead { color: var(--muted); font-size: 19px; margin-top: 16px; max-width: 62ch; }
.updated { color: var(--muted); font-size: 13px; margin-top: 14px; }
h2 { font-size: 28px; letter-spacing: -.03em; line-height: 1.15; margin: 48px 0 10px; text-wrap: pretty; }
.sheet { width: 100%; border-collapse: collapse; margin-top: 16px; }
.sheet th, .sheet td {
  text-align: left; vertical-align: top; padding: 12px 10px;
  border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; color: #c8c3d4;
}
.sheet th { color: var(--muted); font-size: 13px; font-weight: 700; }
.sheet td:first-child { color: var(--ink); font-weight: 700; }
@media (max-width: 640px) {
  .sheet, .sheet tbody, .sheet tr, .sheet td { display: block; width: 100%; }
  .sheet thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .sheet tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sheet td { border: 0; padding: 3px 0; }
  .sheet td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
}
h3 { font-size: 18px; letter-spacing: -.01em; margin: 22px 0 6px; }
p, li { font-size: 17px; color: #c8c3d4; }
p + p { margin-top: 12px; }
main a:not(.btn) { color: #fff; }
ul, ol { margin: 12px 0 0 1.2em; }
li + li { margin-top: 8px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 16px; }
kbd { background: rgba(255,255,255,.1); border-radius: 5px; padding: 1px 6px; font-family: inherit; }

.mini-bar {
  margin-top: 28px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; gap: 14px; padding: 0 14px;
  position: relative; overflow: hidden; color: #fff;
  background: #1a1424; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.mini-bar .mesh { position: absolute; inset: 0; z-index: -1; filter: blur(16px); opacity: .9; }
.mini-bar .mesh b { position: absolute; width: 46%; height: 300%; top: -100%; border-radius: 50%; }
.mini-bar.red { background: linear-gradient(#db171c, #9d0c12); box-shadow: 0 0 36px rgba(227,24,31,.4); }
.mini-bar .clock { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.mini-bar .song { font-weight: 700; font-size: 14px; }
.mini-bar .song small { display: block; font-weight: 500; opacity: .72; font-size: 12px; }
.dot { width: 28px; height: 28px; border-radius: 6px; flex: none; background: linear-gradient(135deg, #ff9d3d, #d0287a 60%, #4b1d8f); }

.faq { display: grid; gap: 12px; margin-top: 8px; }
.faq article {
  padding: 18px 18px 16px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.faq h3 { margin: 0 0 6px; }
.faq p { color: var(--muted); }

.buy {
  margin-top: 48px; padding: 28px; border-radius: 22px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap;
}
.buy b { display: block; font-size: 32px; letter-spacing: -.03em; }
.buy span { color: var(--muted); }

.related { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.related a {
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600;
  padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line);
}
.related a:hover { color: var(--ink); }

footer {
  max-width: 1120px; margin: 0 auto; padding: 28px 24px 48px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
}
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .legal { opacity: .7; max-width: 520px; }

.caps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cap {
  all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px;
}
.cap:hover, .cap.on { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.cap:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cap i {
  width: 36px; height: 36px; border-radius: 8px; display: block; flex: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -6px 8px rgba(0,0,0,.28);
  position: relative;
}
.cap i::after {
  content: ""; position: absolute; inset: 7px 7px 10px; border-radius: 4px;
  background: inherit; filter: brightness(1.08);
  box-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.typer { margin-top: 28px; }
.typer label { display: block; font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.typer textarea {
  width: 100%; min-height: 128px; resize: vertical; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--ink);
  font: inherit; font-size: 18px; line-height: 1.45; padding: 16px 18px;
}
.typer textarea:focus { outline: 2px solid #fff; outline-offset: 2px; }
.typer .hint { color: var(--muted); font-size: 14px; margin-top: 8px; }
.volrow { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.volrow input { flex: 1; accent-color: #fff; }

@media (max-width: 720px) {
  nav .cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
