/* The public pages' top bar and footer, one look for every public page (src/site.js makes the markup; the landing,
   For artists, News, the charts, hooks, artists, plans, help and the rules all load this file). html.vb: a public page
   of its own (the landing lives inside the app and sets nothing here); html.vb-flow: its content starts below the bar.
   Every rule is scoped to .vb-*, so a page's own styles (a, nav, footer, .logo, .btn …) never reach in. */
html.vb { --bg: #07070b; --head: 72px; scrollbar-width: none; scroll-padding-top: 96px; }
html.vb::-webkit-scrollbar, html.vb body::-webkit-scrollbar { display: none; }
/* the same base and the same faint brand glow at the top of every page */
html.vb body { isolation: isolate; background-color: #07070b; background-image: radial-gradient(64% 520px at 50% -160px, rgba(124, 92, 255, .2), rgba(124, 92, 255, 0) 72%), radial-gradient(34% 380px at 16% -120px, rgba(34, 225, 255, .09), rgba(34, 225, 255, 0) 72%), radial-gradient(34% 380px at 84% -120px, rgba(255, 45, 135, .11), rgba(255, 45, 135, 0) 72%); background-repeat: no-repeat; }
html.vb-flow body { padding-top: 72px; }
/* a page whose first block brings its own glow (help, plans, the rules) runs it up under the bar: no seam where it ends */
html.vb-flow main > .hero:first-child { margin-top: -72px; padding-top: calc(72px + clamp(26px, 5vw, 64px)); }

/* ---------------------------------------------------------------- the bar */
.vb-bar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 72px; display: flex; align-items: center; gap: 40px; margin: 0; padding: 0 20px; box-sizing: border-box; background: rgba(7, 7, 11, 0); box-shadow: 0 1px 0 rgba(255, 255, 255, 0); font: 400 15px/1 "Inter", system-ui, sans-serif; color: #fff; text-align: left; transition: background-color .35s ease, box-shadow .35s ease, -webkit-backdrop-filter .35s ease, backdrop-filter .35s ease; }
.vb-bar *, .vb-foot * { box-sizing: border-box; }
.vb-bar a, .vb-bar button, .vb-bar summary, .vb-foot a { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: normal; text-transform: none; text-decoration: none; }
/* scrolled past 30 px (js/site.js), or past the first screen where the screens move instead of the page (the landing:
   .ld.scrolled; For artists: html.fp-down and #top.solid); solid while the menu is open */
.vb-bar.on, .vb-bar.solid, .ld.scrolled .vb-bar, html.fp-down .vb-bar { background: rgba(7, 7, 11, .5); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
html.vb-menuopen .vb-bar { background: #0b0b10; box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.vb-bar .vb-logo { display: flex; flex: none; align-items: center; gap: 10px; font: 900 27px/1 "Darker Grotesque", "Inter", sans-serif; letter-spacing: -.01em; color: #fff; }
.vb-bar .vb-logo img { display: block; width: 30px; height: 30px; margin: 0; }
.vb-bar .vb-menu { display: flex; align-items: center; gap: 28px; height: 100%; margin: 0; padding: 0; }
.vb-bar .vb-menu a { position: relative; display: flex; align-items: center; height: 100%; font: 600 15px/1 "Inter", system-ui, sans-serif; color: rgba(255, 255, 255, .74); white-space: nowrap; transition: color .2s; }
.vb-bar .vb-menu a:hover, .vb-bar .vb-menu a[aria-current] { color: #fff; }
.vb-bar .vb-menu a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; border-radius: 1px; background: #fff; }
.vb-bar .vb-end { display: flex; flex: none; align-items: center; gap: 22px; margin-left: auto; }
.vb-bar .vb-sign { font: 600 15px/1 "Inter", system-ui, sans-serif; color: rgba(255, 255, 255, .86); white-space: nowrap; cursor: pointer; transition: color .2s; }
.vb-bar .vb-sign:hover { color: #fff; }
.vb-bar .vb-open { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border-radius: 12px; background: #fff; color: #050507; font: 700 15.5px/1 "Inter", system-ui, sans-serif; white-space: nowrap; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.vb-bar .vb-open:hover { color: #050507; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(255, 255, 255, .55); }
.vb-bar a:focus-visible, .vb-bar button:focus-visible, .vb-bar summary:focus-visible, .vb-foot a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
/* the menu button and its sheet (under 1000 px the menu folds into it) */
.vb-bar .vb-more { display: none; margin: 0; padding: 0; border: 0; }
.vb-bar .vb-more > summary::before, .vb-bar .vb-more > summary::after { content: none; }
.vb-bar .vb-more > summary { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; list-style: none; cursor: pointer; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.vb-bar .vb-more > summary::-webkit-details-marker { display: none; }
.vb-bar .vb-more > summary::marker { content: ""; }
.vb-bar .vb-more > summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vb-bar .vb-more[open] > summary { background: #fff; color: #050507; box-shadow: none; }
.vb-bar .vb-sheet { position: absolute; top: 72px; left: 0; right: 0; display: grid; max-height: calc(100vh - 72px); overflow-y: auto; margin: 0; padding: 6px 20px 22px; background: #0b0b10; box-shadow: 0 1px 0 rgba(255, 255, 255, .07), 0 30px 50px -24px rgba(0, 0, 0, .9); }
.vb-bar .vb-sheet a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid rgba(255, 255, 255, .07); font: 900 26px/1 "Darker Grotesque", "Inter", sans-serif; color: rgba(255, 255, 255, .86); }
.vb-bar .vb-sheet a:last-child { border-bottom: 0; }
.vb-bar .vb-sheet a[aria-current], .vb-bar .vb-sheet a:hover { color: #fff; }
/* how far an article has been read (js/site.js) */
.vb-bar .vb-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.vb-bar .vb-prog i { display: block; width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--vbp, 0)); background: linear-gradient(90deg, #22e1ff, #7c5cff 45%, #ff2d87); }
@media (min-width: 1000px) { .vb-bar { padding: 0 40px; } }
@media (max-width: 999.98px) {
  .vb-bar .vb-menu, .vb-bar .vb-sign { display: none; }
  .vb-bar { gap: 10px; }
  .vb-bar .vb-more { display: block; }
  .vb-bar .vb-end { gap: 10px; }
}
@media (max-width: 374.98px) { .vb-bar .vb-logo span { display: none; } }

/* ---------------------------------------------------------------- the footer */
.vb-foot { display: block; position: relative; margin: 0; padding: 40px 20px 34px; border-top: 1px solid rgba(255, 255, 255, .07); background: none; font: 500 14px/1.5 "Inter", system-ui, sans-serif; color: rgba(255, 255, 255, .5); text-align: left; }
.vb-foot .vb-flinks { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 26px; margin: 0; padding: 0; }
.vb-foot .vb-flinks a { font: 600 14.5px/1.5 "Inter", system-ui, sans-serif; color: rgba(255, 255, 255, .7); transition: color .2s; }
.vb-foot a:hover { color: #fff; }
.vb-foot .vb-fbase { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 26px 0 0; font: 500 13px/1.5 "Inter", system-ui, sans-serif; color: rgba(255, 255, 255, .42); }
.vb-foot .vb-lang { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 0; margin: 0; padding: 0; }
.vb-foot .vb-lang a { font: 600 13px/1.5 "Inter", system-ui, sans-serif; color: rgba(255, 255, 255, .6); }
.vb-foot .vb-lang a[aria-current] { color: #fff; }
.vb-foot .vb-lang span { margin: 0 9px; color: rgba(255, 255, 255, .3); }
@media (min-width: 1000px) { .vb-foot { padding: 44px 40px 36px; } }
/* the landing's last screen: the footer sits at its bottom (For artists' last screen leaves room for it below) */
.ld-end .vb-foot { position: absolute; left: 0; right: 0; bottom: 0; border-top: 0; }
.ld .ld-end { padding-bottom: calc(4vh + 150px); }
/* ---------------------------------------------------------------- the wide public pages: the landing's look
   One width everywhere: the landing's side margins (--px, as its --ldx), never a centred box; heroes in the landing's
   type scale over the brand glow; cards and buttons as on the landing. Server pages (pages.js, news.js) and the static
   pages (pages.css) both read these. */
html.vb { --px: max(6vw, calc((100vw - 1240px) / 2)); --vbd: "Darker Grotesque", "Inter", sans-serif; --vbf: "Inter", system-ui, sans-serif; }
html.vb .vb-hd { margin: 0; font: 900 clamp(56px, min(8.6vw, 12.5vh), 136px) / .84 var(--vbd); letter-spacing: -.02em; color: #fff; text-wrap: balance; }
html.vb .vb-line { margin: 18px 0 0; max-width: 46ch; font: 400 clamp(17px, 1.3vw, 21px) / 1.5 var(--vbf); color: rgba(255, 255, 255, .76); text-wrap: pretty; }
/* the brand glow (the landing's last screen) behind a hero, or a picture's colour blurred far behind it (.vb-amb) */
html.vb .vb-glow { position: relative; isolation: isolate; }
html.vb .vb-glow::before { content: ""; position: absolute; z-index: -1; inset: -72px 0 0; pointer-events: none; background: radial-gradient(42% 60% at 24% 40%, rgba(124, 92, 255, .30), rgba(124, 92, 255, 0) 72%), radial-gradient(30% 44% at 62% 30%, rgba(255, 45, 135, .16), rgba(255, 45, 135, 0) 72%), radial-gradient(30% 44% at 88% 52%, rgba(34, 225, 255, .12), rgba(34, 225, 255, 0) 72%); }
html.vb .vb-amb { position: absolute; z-index: -1; inset: -72px 0 0; overflow: hidden; pointer-events: none; background-size: 0 0; background-repeat: no-repeat; }
html.vb .vb-amb::before { content: ""; position: absolute; inset: -18%; background-image: inherit; background-size: cover; background-position: center; background-repeat: no-repeat; filter: blur(72px) saturate(1.8); opacity: .62; }
html.vb .vb-amb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 7, 11, .15) 0%, rgba(7, 7, 11, .55) 60%, #07070b 100%); }
/* the landing's buttons: white primary, ghost */
html.vb .vb-btn, html.vb .vb-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border: 0; border-radius: 12px; font: 700 15.5px / 1 var(--vbf); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background-color .2s; }
html.vb .vb-btn { background: #fff; color: #050507; }
html.vb .vb-btn:hover { color: #050507; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(255, 255, 255, .55); }
html.vb .vb-ghost { background: rgba(5, 5, 7, .3); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
html.vb .vb-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1px #fff; background: rgba(5, 5, 7, .45); }
@media (max-width: 599.98px) {
  html.vb .vb-hd { font-size: clamp(40px, 12vw, 56px); hyphens: auto; }
}

/* the static pages (help, plans, the rules): wide, the hero in the landing's scale */
html.vb .wrap { width: auto; margin-inline: 0; padding-inline: var(--px); }
html.vb .hero { padding-bottom: clamp(36px, 5vw, 64px); }
html.vb .hero h1 { max-width: none; font: 900 clamp(56px, min(8.6vw, 12.5vh), 136px) / .84 var(--vbd); letter-spacing: -.02em; }
html.vb .hero .lead { max-width: 52ch; font-size: clamp(17px, 1.3vw, 21px); color: rgba(255, 255, 255, .76); }
@media (max-width: 599.98px) { html.vb .hero h1 { font-size: clamp(40px, 12vw, 56px); hyphens: auto; } }
/* reading pages keep a reading column beside their sticky contents; plans and help use the whole width */
html.vb .prose { max-width: 72ch; }
html.vb .layout:has(.plans) .prose, html.vb .layout:has(.qa-list) .prose { max-width: none; }
html.vb .layout:has(.qa-list) .prose > section > p, html.vb .layout:has(.qa-list) .prose .qa .a { max-width: 72ch; }
/* plans: two roomy cards side by side, the landing's buttons */
html.vb .plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; margin: 10px 0 34px; }
html.vb .plan { padding: 34px 32px 30px; border-radius: 24px; background: rgba(255, 255, 255, .04); }
html.vb .plan h3 { font: 900 clamp(30px, 2.6vw, 40px) / 1 var(--vbd); letter-spacing: -.01em; }
html.vb .plan .price { font: 900 clamp(56px, 5.4vw, 84px) / .9 var(--vbd); letter-spacing: -.02em; }
html.vb .plan .btn, html.vb .prose .btn { height: 50px; min-height: 50px; padding: 0 24px; border-radius: 12px; font: 700 15.5px / 1 var(--vbf); }
html.vb .btn.white, html.vb .btn.hot { background: #fff; color: #050507; box-shadow: none; filter: none; }
html.vb .btn.ghost { background: rgba(5, 5, 7, .3); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
html.vb .btn.ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
/* questions: open lines as on For artists, no box */
html.vb .qa-list { border: 0; border-radius: 0; background: none; overflow: visible; }
html.vb .qa { border-bottom: 1px solid rgba(255, 255, 255, .1); }
html.vb .qa + .qa { border-top: 0; }
html.vb .qa summary { min-height: 0; padding: 20px 0; font: 800 clamp(20px, 1.8vw, 26px) / 1.15 var(--vbd); letter-spacing: -.005em; background: none; }
html.vb .qa summary:hover, html.vb .qa[open] summary { background: none; }
html.vb .qa .a { padding: 0 0 22px; }
/* help: the topics in three columns across the page */
@media (min-width: 900px) { html.vb .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } html.vb .topic .td { display: block; } }
html.vb .topic { padding: 22px; border-radius: 18px; }
html.vb .topic b { font-size: 24px; }
@media print { .vb-bar, .vb-foot { display: none !important; } html.vb-flow body { padding-top: 0; } }
