/* Marketing site (NoteComet, redesign 2026-11). Type: Figtree for everything. */
:root {
  color-scheme: light;
  /* paper for reading; .night for the stage where notes fall */
  --bg: #fbf8f2;
  --fg: #1c1838;
  --muted: #5d5874;
  --accent: #ffcc4d;
  --card: #ffffff;
  --line: #e7e1d5;
  --link: #2f55c9;
  --night: #140e36;
  --rh: #3d8bf5;  /* right hand */
  --lh: #f08a24;  /* left hand */
  --sun: #ffcc4d;
  --pink: #ff6fa5;
  --sky: #2f55c9;
  --mint: #4fe0b0;
  --ink: #2a1a6e;
}
@font-face { font-family: "Figtree"; src: url("/site/v10/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Figtree"; src: url("/site/v10/figtree-ext.woff2") format("woff2"); font-weight: 300 900; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h3 { letter-spacing: -0.01em; }
p, li { text-wrap: pretty; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

main { max-width: 1080px; margin: 0 auto; padding: 24px 22px 56px; }

h1 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.04; margin: 0 0 16px; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin: 64px 0 14px; }
h3 { font-size: 18px; margin: 0 0 6px; }

p, li { color: var(--fg); }
.muted { color: var(--muted); font-size: 15px; }

a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.btn, .btn:hover, .topnav a, .logo, .wordmark, .learn-card, .tile, .levels .lvlink, .piece-list a, .navlinks a, .burger a { text-decoration: none; }

figure { margin: 16px 0; }
figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 40px -18px rgba(20, 14, 54, .45), 0 0 0 1px rgba(20, 14, 54, .08);
  border-radius: 14px;
}

/* top nav: logo, links, Play free; on a phone the links fold into a burger menu */
.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  margin: 0 0 24px;
  position: relative;
}
.topnav .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.015em; color: var(--fg); margin-right: auto; }
.topnav .logo img { display: block; }
.topnav a { color: var(--fg); }
.topnav a:hover { color: var(--link); }
.topnav .play { padding: 9px 16px; font-size: 16px; white-space: nowrap; }
.topnav .play:hover { color: var(--ink); }
.navlinks { display: flex; gap: 18px; }
.burger { display: none; }
.burger summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span { display: block; width: 20px; height: 2px; background: var(--fg); border-radius: 1px; transition: transform .15s, opacity .15s; }
.burger[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[open] summary span:nth-child(2) { opacity: 0; }
.burger[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger .menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; display: flex; flex-direction: column;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px 0 14px; }
.burger .menu a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
.burger .menu a:last-child { border-bottom: 0; }
@media (max-width: 760px) {
  .navlinks { display: none; }
  .burger { display: block; }
  .topnav { gap: 10px; padding: 10px 0; }
}
footer .lockup { display: block; margin: 0 auto 14px; height: auto; }

/* buttons: solid, one accent, modest corners */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1.5px solid color-mix(in srgb, var(--fg) 30%, transparent);
  background: transparent;
  color: var(--fg);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; border-color: var(--fg); }
.btn.primary { background: var(--sun); border-color: var(--sun); color: #1a1240; }
.btn.primary:hover { color: #1a1240; }
.btn.primary:hover { background: #ffd975; border-color: #ffd975; }
.btn.secondary { background: transparent; }

/* hero */
.hero {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .hero figure { margin: 0; }
}
.hero-text .lead { font-size: 19px; color: var(--muted); margin: 0 0 18px; }
.hero-text .btn { margin: 0 6px 10px 0; }

/* library: per-level cards */
.levels-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .levels-grid { grid-template-columns: 1fr 1fr; } }
.level {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
}
.level h3 { margin: 0 0 8px; }
.level ul { margin: 8px 0 0; padding-left: 18px; }
.level li { margin-bottom: 4px; }

/* practice tools: a plain list beside the settings screen */
.tools { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .tools { grid-template-columns: 1fr 1.15fr; gap: 56px; } .tools { align-items: center; } }
.tools figure { margin: 0 !important; max-width: none !important; }
.features-list { display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px) and (max-width: 899px) { .features-list { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.feature { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.feature .icon { grid-row: span 2; color: var(--rh); margin-top: 2px; }
.feature:nth-child(even) .icon { color: var(--lh); }
.feature h3 { margin: 0; font-size: 17px; }
.feature p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* pro features list */
.pro-features {
  margin: 16px 0 8px;
  padding-left: 20px;
}

/* pricing */
.pricing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.pricing-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 24px 20px;
}
.pricing-card.pro { border: 2px solid var(--fg); }
.pricing-card .price { font-size: 28px; margin: 4px 0 14px; }
.pricing-card ul { padding-left: 18px; margin: 0 0 16px; }
.pricing-card li { margin-bottom: 4px; }

/* learn cards (used both on the landing and on /learn) */
.learn-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .learn-cards { grid-template-columns: 1fr 1fr; } }
.learn-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  color: var(--fg);
}
.learn-card:hover { border-color: var(--fg); text-decoration: none; transform: translateY(-2px); }
.learn-card { transition: transform .15s, border-color .15s; }
.learn-card h3 { color: var(--fg); }
.learn-card p { margin: 6px 0; color: var(--muted); font-size: 15px; }

/* FAQ */
#faq details { border-top: 1px solid var(--line); padding: 16px 0; }
#faq details:last-of-type { border-bottom: 1px solid var(--line); }
#faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  color: var(--fg);
}
#faq details p { margin: 10px 0 0; color: var(--muted); }

/* CTA box */
.cta {
  background: var(--card);
  border: 2px solid var(--sun);
  border-radius: 22px;
  padding: 18px 20px;
  margin: 24px 0;
}

/* signature under story */
.sig { color: var(--muted); font-style: italic; }

/* footer */
footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--fg); }
/* Pro badge */
.badge { font-size: 13px; vertical-align: middle; padding: 2px 9px; border-radius: 999px;
  background: var(--sun); color: #1a1240; font-weight: 700; letter-spacing: .01em; }

/* the maker's note */
#story { max-width: 720px; margin-top: 72px; }
#story p { font-size: 19px; line-height: 1.65; }
#story h2 { margin-top: 20px; }

/* Learn articles: a readable column */
article, .crumbs { max-width: 720px; }
article h2 { font-size: 22px; margin: 32px 0 8px; }
.crumbs { margin-bottom: 20px; font-size: 15px; }

/* screenshots below the hero: big enough to read, not wall-to-wall */
section:not(.hero) > figure { max-width: 860px; margin: 24px auto; }
footer p { text-align: center; }

@media (prefers-reduced-motion: reduce) { .btn, .learn-card { transition: none; } .learn-card:hover { transform: none; } }

/* footer wordmark: the mark plus the name in text */
footer .wordmark { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 20px; letter-spacing: -0.015em; margin: 8px 0 14px; }
footer .wordmark:hover { color: var(--fg); text-decoration: none; }

/* the stage: falling notes over a keyboard, drawn by the server from the piece's own notes */
.stage { display: block; width: 100%; height: auto; background: #0e0a28; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.stage .kw rect { fill: #f6f3ff; }
.stage .kb rect { fill: #1b1538; }
.stage .hitline { stroke: var(--sun); stroke-width: 2; opacity: .8; }
.stage .fall { animation: fall var(--secs, 16s) linear infinite; }
@keyframes fall { from { transform: translateY(0); } to { transform: translateY(var(--fall, 1000px)); } }
@media (prefers-reduced-motion: reduce) { .stage .fall { animation: none; } }

/* piece page */
main.piece { padding-top: 8px; }
.piece-hero { display: grid; gap: 28px; align-items: center; margin-bottom: 24px; }
@media (min-width: 860px) { .piece-hero { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.piece-hero figure { margin: 0 !important; width: 100%; max-width: none !important; }
.piece-text h1 { margin-bottom: 6px; }
.piece-text .by { font-size: 20px; color: var(--muted); margin: 0 0 20px; }
.facts { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 16px; }
.facts b { color: var(--fg); font-weight: 700; margin-right: 4px; }
.btn.big { font-size: 19px; padding: 15px 30px; }
.btn.small { font-size: 15px; padding: 8px 14px; }
.piece-text .go { margin: 0 0 10px; }
.share-row { margin-top: 18px; }
.more h2 { margin-top: 48px; }
.piece-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 0 28px; }
@media (min-width: 720px) { .piece-list { grid-template-columns: 1fr 1fr; } }
.piece-list li { border-top: 1px solid var(--line); padding: 12px 0; display: flex; flex-direction: column; }
.piece-list a { font-weight: 600; color: var(--fg); }
.piece-list .muted { font-size: 15px; }
.source { margin-top: 40px; font-size: 14px; }
.crumbs a { color: var(--muted); }
button { font: inherit; cursor: pointer; }

/* night: the dark stage band (home hero, piece hero). Swaps the tokens, so everything inside just works. */
.night {
  --bg: #140e36; --fg: #f3efff; --muted: #b3add6; --card: #1e1650; --line: #342a72; --link: #8cc8ff;
  color-scheme: dark;
  color: var(--fg);
  background:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 9%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 62%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 41%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 81%, #fff5 50%, transparent 51%),
    var(--bg);
  background-size: 520px 520px, 520px 520px, 520px 520px, 520px 520px, 520px 520px, auto;
  box-shadow: 0 0 0 100vmax var(--bg);
  clip-path: inset(0 -100vmax);
  padding-top: 56px; padding-bottom: 64px;
}
.night h1, .night h2, .night p, .night li { color: var(--fg); }
.night .btn:not(.primary) { color: var(--fg); }
.night figure img { box-shadow: 0 24px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.topnav + .night, .topnav + section.night { margin-top: -25px; }
.piece-hero.night { grid-template-areas: none; }
.piece-hero.night .crumbs { grid-column: 1 / -1; margin: 0 0 -8px; }
.piece-hero.night .crumbs a { color: var(--muted); }

/* level colours: one per level, from the comet palette (like coloured stickers in a method book) */
.lv1 { --lv: #22a776; --lvt: #13734f; } .lv2 { --lv: #2f7fe0; --lvt: #1f5fb8; } .lv3 { --lv: #e0a100; --lvt: #8a6100; }
.lv4 { --lv: #e2557f; --lvt: #b8325c; } .lv5 { --lv: #7a52d6; --lvt: #6440bf; } .lv0 { --lv: #8a6d3b; --lvt: #7a5f30; }

/* shelves of piece tiles */
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 36px 0 14px; padding-top: 14px; border-top: 3px solid var(--lv); }
.shelf-head h2, .shelf-head h3 { margin: 0; font-size: 21px; }
.lvnum { color: var(--lvt); margin-right: 4px; }
.shelf-head a { font-weight: 600; white-space: nowrap; }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
section.lvsec .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .shelf, section.lvsec .shelf { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto;
    scroll-snap-type: x mandatory; margin: 0 -22px; padding: 0 22px 8px; scroll-padding: 22px; }
  .shelf .tile { scroll-snap-align: start; }
}
.tile { display: flex; flex-direction: column; gap: 2px; color: var(--fg); }
.tile .thumb { display: block; width: 100%; height: auto; aspect-ratio: 640 / 460; background: #140e36; border-radius: 12px; margin-bottom: 10px;
  box-shadow: inset 0 -4px 0 var(--lv, transparent); }
.thumb .kw rect { fill: #f6f3ff; } .thumb .kb rect { fill: #1b1538; }
.thumb .hitline { stroke: var(--lv, #ffcc4d); stroke-width: 6; }
.tile .t { font-weight: 700; font-size: 17px; line-height: 1.3; }
.tile .c { color: var(--muted); font-size: 15px; }
.tile:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.tile:hover .thumb .fall { animation: fall var(--secs) linear infinite; }
@media (prefers-reduced-motion: reduce) { .tile:hover .thumb .fall { animation: none; } }

/* piece of the day: one big tile */
.today { display: grid; gap: 24px; align-items: center; margin-top: 64px; }
@media (min-width: 820px) { .today { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.today .tile .t, .today .tile .c { display: none; }
.today h2 { margin: 0 0 10px; }
.today-title { font-size: 24px; font-weight: 700; line-height: 1.25; margin: 0 0 6px; letter-spacing: -0.01em; }
.small { font-size: 14px; }

/* the free library page */
.page-head { max-width: 720px; }
.page-head .lead { font-size: 19px; color: var(--muted); }
.more-list { margin: 16px 0 8px; }
.more-list summary { cursor: pointer; font-weight: 600; color: var(--link); padding: 6px 0; }
.more-list .piece-list { margin-top: 10px; }
.lvsec { margin-top: 24px; }

/* round 6: home in three parts */
.pick .shelf-head { margin-top: 56px; }
.pick .shelf-head h2 { font-size: clamp(26px, 3vw, 32px); }
.levels-line { margin-top: 22px; color: var(--muted); }
.lvchip { display: inline-block; padding: 3px 10px; border-radius: 6px; border: 1.5px solid var(--lv); color: var(--lvt); font-weight: 600; font-size: 15px; text-decoration: none; margin: 2px 2px; }
.lvchip:hover { background: var(--lv); color: #fff; }
.features-list.three .feature { padding: 18px 0; }
.features-list.three .feature h3 { font-size: 20px; }
.features-list.three .feature p { font-size: 17px; }
.also { color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin: 0; }
.shelf-head.plain { border-top: 0; padding-top: 0; }
.hero .btn.big { margin: 0 8px 10px 0; }
@media (min-width: 761px) { .pick .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#learn .shelf-head h2 { font-size: clamp(26px, 3vw, 32px); }
#learn .shelf-head { margin-top: 64px; }
@media (min-width: 900px) { #learn .learn-cards { grid-template-columns: repeat(3, 1fr); } }

/* round 7: tiles lead with the title and invite a tap */
.tile .pic { position: relative; display: block; }
.tile .play { position: absolute; left: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--sun);
  box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.tile .play::after { content: ""; position: absolute; left: 13px; top: 10px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #1a1240; }
.tile .t { font-size: 19px; letter-spacing: -0.01em; }
.today .tile .play { width: 52px; height: 52px; left: 16px; top: 16px; }
.today .tile .play::after { left: 20px; top: 15px; border-width: 11px 0 11px 17px; }
@media (max-width: 760px) {
  .shelf, section.lvsec .shelf, .pick .shelf { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; gap: 18px 14px; }
  .tile .t { font-size: 17px; }
}
.lvchip { white-space: nowrap; }
.levels-line a:last-child { white-space: nowrap; }

/* round 8: show-don't-tell bands for the two Pro features */
.band { display: grid; gap: 24px; align-items: center; margin: 72px 0; }
@media (min-width: 900px) { .band { grid-template-columns: 1.35fr 1fr; gap: 56px; } .band.flip figure { order: 2; } .band.flip { grid-template-columns: 1fr 1.35fr; } }
.band figure { margin: 0 !important; max-width: none !important; }
.band h2 { margin-top: 0; }
.band-lead { font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.hero .stage { box-shadow: 0 24px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }

/* round 9: comets and lit keys */
.stage.js .fall { animation: none; }
.stage .kw rect[data-on="r"], .stage .kb rect[data-on="r"] { fill: #5cb4ff; }
.stage .kw rect[data-on="l"], .stage .kb rect[data-on="l"] { fill: #ff9a3d; }

/* round 10: Learn as an editorial list, not a grid of cards */
.learn-cards, #learn .learn-cards { display: block; }
.learn-card { background: none; border: 0; border-radius: 0; border-top: 1px solid var(--line); padding: 20px 0; display: grid; grid-template-columns: 1fr; transition: none; }
.learn-card:hover { transform: none; }
.learn-card h3 { font-size: 21px; margin: 0 0 6px; line-height: 1.25; }
.learn-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.learn-card p { font-size: 16px; margin: 0; max-width: 64ch; }
.learn-card .date { font-size: 14px; margin-top: 8px; }
@media (min-width: 900px) { .learn-card { grid-template-columns: 1fr 160px; column-gap: 32px; } .learn-card .date { grid-column: 2; grid-row: 1; text-align: right; margin: 4px 0 0; } }
.learn-cards.index .learn-card:first-child { border-top: 3px solid var(--fg); padding: 28px 0 32px; }
.learn-cards.index .learn-card:first-child h3 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.02em; }
.learn-cards.index .learn-card:first-child p { font-size: 19px; }
.more-list li.all { border-top: 1px solid var(--line); padding: 12px 0; }
.more-list li.all a { color: var(--link); }

/* round 11: the hero is a small working player */
.miniplayer { background: #0e0a28; border-radius: 16px; padding: 10px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }
.miniplayer .stage { box-shadow: none; border-radius: 10px; }
.mini-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 2px 4px 10px; }
.mini-title b { font-size: 17px; }
.mini-title span { color: var(--muted); font-size: 14px; margin-left: 6px; }
.mini-ctl { display: flex; gap: 6px; }
.mini-ctl button { font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 8px; border: 1.5px solid #3a3170; background: transparent; color: #f3efff; min-height: 32px; }
.mini-ctl button[data-hand="r"][aria-pressed="true"] { background: #2563c9; border-color: #2563c9; }
.mini-ctl button[data-hand="l"][aria-pressed="true"] { background: #ff9a3d; border-color: #ff9a3d; color: #1a1240; }
.mini-ctl button[aria-pressed="false"] { color: #b3add6; }
.stage.hide-r .fall .r, .stage.hide-l .fall .l { opacity: .12; }
.stage .names text { font: 600 13px/1 "Figtree", sans-serif; fill: #6a6390; text-anchor: middle; }

/* round 13: facts under tiles, level dots, close-up feature pictures */
.tile .f { color: var(--muted); font-size: 14px; margin-top: 2px; }
.lvlink { font-weight: 600; white-space: nowrap; }
.lvlink::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--lv); margin: 0 5px 1px 2px; }
@media (min-width: 761px) { .more .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tools { align-items: start; }
.tools figure img { border-radius: 12px; }
figure.controls { margin: 8px 0 8px !important; max-width: none !important; }
figure.controls img { border-radius: 12px; box-shadow: none; }
.tools { grid-template-columns: 1fr !important; }
.features-list.three { grid-template-columns: 1fr; }
@media (min-width: 760px) { .features-list.three { grid-template-columns: repeat(3, 1fr); column-gap: 32px; } .features-list.three .also { grid-column: 1 / -1; } }

/* round 14: the levels as the way in, and a practice session in three steps */
.levels-intro { margin: 28px 0 10px; color: var(--muted); }
.levels { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 18px; }
.levels li { border-top: 1px solid var(--line); }
.levels .lvlink { display: block; padding: 12px 0; color: var(--fg); font-weight: 500; white-space: normal; }
.levels .lvlink b { color: var(--lvt); font-weight: 700; }
.levels .lvlink span { display: block; color: var(--muted); font-size: 14px; margin-left: 16px; }
.levels .lvlink:hover b { text-decoration: underline; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps .band { margin: 40px 0 56px; counter-increment: step; }
.steps h3 { font-size: 24px; margin: 0 0 10px; letter-spacing: -0.015em; }
.steps h3::before { content: counter(step); display: block; font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.steps .band-text p { font-size: 18px; }
.steps .also { border: 0; padding: 0; font-size: 16px; }
#features h2 { margin-bottom: 0; }

/* round 16: step 1 is the real player with its controls numbered */
.annotated { margin: 0 !important; max-width: none !important; }
.annotated .shot { position: relative; }
.mark { position: absolute; top: 9.5%; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sun); color: #1a1240;
  font-weight: 800; font-size: 15px; display: grid; place-items: center; box-shadow: 0 0 0 3px #1a1240, 0 4px 10px rgba(0,0,0,.4); }
@media (max-width: 600px) { .mark { width: 20px; height: 20px; font-size: 12px; box-shadow: 0 0 0 2px #1a1240; top: 10.5%; } }
.callouts { list-style: none; counter-reset: c; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.callouts li { counter-increment: c; position: relative; padding-left: 38px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.callouts li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); color: #1a1240; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.callouts b { display: block; color: var(--fg); font-size: 17px; }
@media (min-width: 900px) { .steps .band.wide { grid-template-columns: 1.6fr 1fr; } }
.steps h3::before { display: none; }
.snap .mark { top: auto; }
.price-note { font-size: 17px; border-left: 3px solid var(--sun); padding-left: 14px; }

/* round 18: the practice session is the second night band; story as a quote; Pro as a plain label */
.night.practice { margin-top: 80px; padding-top: 64px; padding-bottom: 40px; }
.night.practice h2 { margin-top: 0; font-size: clamp(28px, 3.4vw, 38px); }
.night.practice .band-text p, .night.practice .callouts li { color: var(--muted); }
.night.practice .callouts b, .night.practice h3 { color: var(--fg); }
.night.practice .steps .band { margin: 32px 0 40px; }
@media (min-width: 900px) { .night.practice .steps .band.wide { grid-template-columns: 1.9fr 1fr; } .night.practice .steps .band:not(.wide) { grid-template-columns: 1.3fr 1fr; } }
.night.practice .also { color: var(--muted); }
.badge { background: none; color: inherit; padding: 0; border-radius: 0; font-size: .55em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  vertical-align: .35em; margin-left: 6px; opacity: .75; }
#story { margin-top: 88px; border-left: 3px solid var(--sun); padding-left: 28px; }
#story h2 { margin-top: 0; }
#story p:first-of-type { font-size: 23px; line-height: 1.45; letter-spacing: -0.01em; color: var(--fg); }

/* round 20: choose the song inside the hero player */
.mini-songs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 12px 4px 4px; }
.mini-songs span { color: #b3add6; font-size: 14px; margin-right: 2px; }
.mini-songs button { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 8px; border: 1.5px solid #3a3170; background: transparent; color: #f3efff; min-height: 32px; }
.mini-songs button[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); color: #1a1240; }
svg.stage[hidden] { display: none; }
