/* VG website. Layout: a left-aligned hero beside a drawing of the player on a
   Windows desktop, then plain ruled lists. No glows, no card grid. */
:root {
  --bg: #f5f6f8; --surface: #ffffff; --ink: #14161b; --muted: #5a606d; --line: #e1e4ea;
  --accent: #d9542e; --accent-ink: #ffffff; --wall: #c9ced8; --wall-2: #b9bfcb;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, "SF Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1115; --surface: #171a20; --ink: #eef0f4; --muted: #9aa1ad; --line: #262a33;
    --accent: #f5835c; --accent-ink: #14161b; --wall: #232833; --wall-2: #1b1f28; color-scheme: dark; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.page { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.02em; }
.mark svg { width: 20px; height: 20px; fill: var(--accent); }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top nav a.button { color: var(--accent-ink); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border: 0; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font: 600 15px/1 var(--text);
  text-decoration: none; cursor: pointer; }
.button:hover { filter: brightness(1.06); }
.button:disabled { opacity: .6; cursor: default; }
.button.small { height: 34px; padding: 0 14px; font-size: 14px; }
.button.plain { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.button svg { width: 16px; height: 16px; fill: currentColor; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-block: 56px 72px; }
.hero h1 { font: 700 clamp(38px, 5.4vw, 60px)/1.02 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.hero .lede { margin-top: 20px; max-width: 44ch; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.actions .link { font-size: 15px; color: var(--muted); }
.meta { margin-top: 18px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* The desktop drawing */
.desk { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--wall), var(--wall-2)); }
.taskbar { position: absolute; inset: auto 0 0 0; height: 9%; display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  padding: 0 4%; background: rgba(20, 22, 27, .82); color: #e9ebef; font: 11px/1 var(--text); font-variant-numeric: tabular-nums; }
.taskbar i { width: 9px; height: 9px; border-radius: 2px; background: #f5835c; }
.player { position: absolute; left: 6%; bottom: 15%; width: 62%; display: flex; gap: 14px; padding: 14px; border-radius: 8px;
  background: rgba(18, 20, 25, .9); color: #f1f2f5; }
.cover { flex: none; width: 74px; aspect-ratio: 1; border-radius: 4px; background: #e9b44c; position: relative; overflow: hidden; }
.cover::before { content: ''; position: absolute; inset: 22% 22% auto auto; width: 56%; aspect-ratio: 1; border-radius: 50%; background: #d9542e; }
.cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: #2c3442; }
.track { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.track b { font: 600 14px/1.2 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track span { font-size: 12px; color: #a6acb8; }
.bar { margin-top: 8px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.16); }
.bar::before { content: ''; display: block; width: 41%; height: 100%; border-radius: inherit; background: #f1f2f5; }
.lyric { position: absolute; left: 6%; top: 12%; right: 8%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.lyric code { display: block; margin-bottom: 6px; font: 11px/1 var(--mono); color: rgba(255,255,255,.7); }
.lyric p { font: 700 clamp(18px, 2.4vw, 26px)/1.15 var(--display); letter-spacing: -0.02em; }
.lyric em { font-style: normal; color: #ffd2bf; }
.lyric .next { margin-top: 6px; font-weight: 600; font-size: clamp(13px, 1.5vw, 16px); opacity: .55; }

/* Ruled sections */
.section { padding-block: 56px; border-top: 1px solid var(--line); }
.section h2 { font: 700 26px/1.15 var(--display); letter-spacing: -0.02em; }
.section .sub { margin-top: 8px; color: var(--muted); max-width: 56ch; }
.list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 28px; }
.list div { padding-block: 18px; border-top: 1px solid var(--line); }
.list dt { font-weight: 600; }
.list dd { margin-top: 4px; color: var(--muted); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 28px; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 10px; font: 600 13px/1 var(--mono); color: var(--accent); }
.steps b { display: block; font-weight: 600; }
.steps span { color: var(--muted); font-size: 15px; }

footer { margin-top: auto; border-top: 1px solid var(--line); }
footer .page { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 24px 32px; font-size: 13px; color: var(--muted); }

/* Forms: sign in, sign up, account */
.form-page { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding-block: 48px 72px; }
.form { width: 100%; max-width: 380px; }
.form h1 { font: 700 28px/1.15 var(--display); letter-spacing: -0.02em; }
.form .sub { margin: 8px 0 28px; color: var(--muted); }
form { display: flex; flex-direction: column; gap: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
input { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink);
  font: 400 15px/1 var(--text); }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.failure { min-height: 20px; font-size: 14px; color: var(--accent); }
.form .button { width: 100%; }
.switch { margin-top: 20px; font-size: 14px; color: var(--muted); }
.switch a { color: var(--ink); font-weight: 600; }
.who { padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: 15px; }
.who b { display: block; }
.stack { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 32px 56px; }
  .list, .steps { grid-template-columns: 1fr; }
  .steps { gap: 20px; }
  .top nav a:not(.button) { display: none; }
  .top nav a.signin { display: inline; }
}
@media (prefers-reduced-motion: no-preference) {
  .lyric em { animation: sing 2.4s ease-in-out infinite; }
  @keyframes sing { 50% { color: #fff; } }
}
