/* sol · web · home page (docs/ESPEC.md 4.1). Owner: home.
   Built on tokens.css, base.css and componentes.css (lead) and demo.css (the piano, switched on by inicio.js).
   Classes start with "in-". No inline styles anywhere (CSP): numbers that change come in as custom properties set
   from inicio.js. Sections far below the first screens are drawn only when they come near (.in-lejos). */

/* ======================================================================
   shared bits of this page
   ====================================================================== */
.in-hero, .section, .in-final { --sec-pad: var(--section-y); }
.section-head .h2 { text-wrap: balance; }
.in-hero-copy, .in-step, .in-tile, .in-detail, .in-reqc, .in-src, .in-quote { min-width: 0; }
.in-steps, .in-flow, .in-rep-top, .in-details, .in-split, .in-priv-grid, .in-faq-grid, .in-appshots-row, .in-demo-shell { grid-template-columns: minmax(0, 1fr); }
.in-steps > *, .in-flow > *, .in-rep-top > *, .in-details > *, .in-split > *, .in-priv-grid > *, .in-faq-grid > *, .in-appshots-row > * { min-width: 0; }
.nw { white-space: nowrap; } /* key names such as "E-flat" never break at their hyphen */

/* the tick, the dot and small helpers */
.in-fine { display: none; }
@media (hover: hover) and (pointer: fine) { .in-fine { display: inline; } }
/* a touch-screen laptop, once its mouse, touchpad or keys are used (js/demo/computer.js), and inicio.js has shown its
   keyboard help without moving what is on the screen (html.in-teclas, inicio.js showKeysHelp) */
.in-teclas .in-fine { display: inline; }

/* a calm band of lacquer behind some sections, never a pattern; it fades out before the section ends */
.in-vistas::before, .in-rep::before, .in-escuchar::before, .in-priv::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(201, 169, 97, .055), transparent 70%),
    radial-gradient(60% 50% at 100% 76%, rgba(134, 169, 222, .045), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.in-vistas, .in-rep, .in-escuchar, .in-priv { isolation: isolate; }

/* a round icon button on lacquer (pause the animations) */
.in-round {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line-2); background: rgba(18, 18, 20, .66); color: var(--text-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.in-round:hover { color: var(--text); border-color: rgba(244, 241, 234, .3); }
.in-round .ic { width: 18px; height: 18px; }
.in-motion .i-play, .in-motion[aria-pressed="true"] .i-pause { display: none; }
.in-motion[aria-pressed="true"] .i-play { display: block; }
.in-motion[aria-pressed="true"] { color: var(--gold-hi); border-color: rgba(201, 169, 97, .5); }

/* paused by the visitor: the loops that run on their own stop (the JS ones stop in inicio.js) */
.in-quieto .in-hot::after, .in-quieto .in-soon .dot, .in-quieto .in-mini-hint .dot, .in-quieto .in-sound .in-eq i, .in-quieto .in-hero-wait.is-on .k i { animation: none !important; }

/* an address with a #section opens there at once: base.css's smooth scroll would first glide from the top through
   every section, still dark (waiting for the reveal, or not drawn yet). Links inside the page glide once the page has
   landed (inicio.js adds .in-suave). */
@media (prefers-reduced-motion: no-preference) { html:not(.in-suave) { scroll-behavior: auto; } }

/* far below the first screens: laid out and painted only when they come near. --ci is an estimate of each
   section's height (the padding is taken off: the intrinsic size is the content's); "auto" keeps each one's real
   size once it has been drawn. inicio.js puts the target of a link exactly in place once the browser has scrolled,
   and while the page lands it draws at once the ones on the screen (.in-cerca), which the browser would leave blank
   for a frame or more after a jump. */
@supports (content-visibility: auto) {
  .in-lejos { content-visibility: auto; contain-intrinsic-size: auto calc(var(--ci, 900px) - 1.72 * var(--section-y)); }
  /* drawn, with the same containment as auto gives a drawn section (so layout and scroll anchoring stay the same) */
  .in-lejos.in-cerca { content-visibility: visible; contain: layout style paint; }
  #final.in-lejos { contain-intrinsic-size: auto calc(var(--ci, 900px) - clamp(110px, 12vw, 220px)); }
  #practica { --ci: 2500px; } #importar { --ci: 1650px; } #repertorio { --ci: 2050px; } #detalles { --ci: 1550px; }
  #escuchar { --ci: 880px; } #crear { --ci: 930px; } #privacidad { --ci: 1400px; } #requisitos { --ci: 1500px; }
  #lanzamiento { --ci: 660px; } #opiniones { --ci: 700px; } #preguntas { --ci: 780px; } #final { --ci: 725px; }
  @media (min-width: 1000px) {
    #practica { --ci: 1970px; } #importar { --ci: 1120px; } #repertorio { --ci: 1660px; } #detalles { --ci: 1310px; }
    #escuchar { --ci: 730px; } #crear { --ci: 805px; } #privacidad { --ci: 800px; } #requisitos { --ci: 900px; }
    #lanzamiento { --ci: 770px; } #preguntas { --ci: 690px; } #final { --ci: 1125px; }
  }
}

/* ======================================================================
   2 · hero: exactly the first screen, with the keyboard along its bottom edge
   ====================================================================== */
.in-hero {
  /* keyboard height: the piano's own rule (render.js layout(), ambient mode), so the room for the keys is right from
     the first paint and nothing below moves when the piano arrives (inicio.js then sets the piano's real value, the
     same number): 5.2 key widths, rounded, at least 66 px, at most min(max(176 px, 20 % of the hero), 300 px) and
     30 % of the hero. From 900 px wide all 52 white keys show; narrower, the piano follows the music with
     max(15, ceil(width / 36)) white keys (--kb-n, by width below). --kb-hh: the hero's height, one screen. */
  --kb-n: 52;
  --kb-hh: calc(100vh - var(--aviso-h, 0px));
  --kb-x: max(66px, min(100vw * 5.2 / var(--kb-n), max(176px, .2 * var(--kb-hh)), 300px, .3 * var(--kb-hh)));
  --kb-h: var(--kb-x);
  /* the room between the words and the keys */
  --sky: clamp(14px, 2.2svh, 28px);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  /* one screen, under the announcement bar when there is one; taller only if the words need more room */
  min-height: calc(100vh - var(--aviso-h, 0px));
  min-height: calc(100svh - var(--aviso-h, 0px));
  background: var(--bg);
}
@supports (height: 100svh) { .in-hero { --kb-hh: calc(100svh - var(--aviso-h, 0px)); } }
/* narrow: the bar with the buttons sits in the room above the keys, so it is never shorter than that. The words, that
   bar and the keys always take more than the keys / 0.3, so the piano's 30 % limit never applies: the estimate leaves
   it out, and the hero is never shorter than the keys / 0.3 (so the piano never shortens them either). */
@media (max-width: 899px) {
  .in-hero {
    --kb-n: 25; --sky: max(64px, 9svh);
    --kb-x: max(66px, min(100vw * 5.2 / var(--kb-n), max(176px, .2 * var(--kb-hh)), 300px));
    min-height: max(var(--kb-hh), var(--kb-h) / .3);
  }
}
@media (max-width: 864px) { .in-hero { --kb-n: 24; } }
@media (max-width: 828px) { .in-hero { --kb-n: 23; } }
@media (max-width: 792px) { .in-hero { --kb-n: 22; } }
@media (max-width: 756px) { .in-hero { --kb-n: 21; } }
@media (max-width: 720px) { .in-hero { --kb-n: 20; } }
@media (max-width: 684px) { .in-hero { --kb-n: 19; } }
@media (max-width: 648px) { .in-hero { --kb-n: 18; } }
@media (max-width: 612px) { .in-hero { --kb-n: 17; } }
@media (max-width: 576px) { .in-hero { --kb-n: 16; } }
@media (max-width: 540px) { .in-hero { --kb-n: 15; } }
@media (max-width: 899px) and (max-height: 520px) { .in-hero { --sky: 72px; } }
/* the piano rounds its keyboard to whole pixels */
@supports (width: round(1.5px, 1px)) { .in-hero { --kb-h: round(var(--kb-x), 1px); } }

.in-hero-stage { position: absolute; inset: 0; z-index: 0; }
.in-hero-piano { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.in-hero-piano.is-on { opacity: 1; }
.in-hero-piano .sp { background: transparent; }

/* until the piano arrives: the night, the felt and the keys, drawn in CSS (same place, so nothing jumps) */
.in-hero-poster {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--kb-h);
  background:
    linear-gradient(180deg, #6b1d26 0 2px, rgba(0, 0, 0, .25) 2px 6px, transparent 6px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 100' preserveAspectRatio='none'%3E%3Cg fill='%23f3eee3'%3E%3Crect x='.5' width='9' height='100' rx='1'/%3E%3Crect x='10.5' width='9' height='100' rx='1'/%3E%3Crect x='20.5' width='9' height='100' rx='1'/%3E%3Crect x='30.5' width='9' height='100' rx='1'/%3E%3Crect x='40.5' width='9' height='100' rx='1'/%3E%3Crect x='50.5' width='9' height='100' rx='1'/%3E%3Crect x='60.5' width='9' height='100' rx='1'/%3E%3C/g%3E%3Cg fill='%230b0b0d'%3E%3Crect x='6.2' width='6' height='62' rx='1'/%3E%3Crect x='17.6' width='6' height='62' rx='1'/%3E%3Crect x='36.2' width='6' height='62' rx='1'/%3E%3Crect x='47.3' width='6' height='62' rx='1'/%3E%3Crect x='58.4' width='6' height='62' rx='1'/%3E%3C/g%3E%3C/svg%3E") left bottom / calc(100% / 52 * 7) 100% repeat-x,
    #0b0b0d;
  opacity: .9;
  transition: opacity 1.2s var(--ease-out);
}
@media (max-width: 899px) { .in-hero-poster { background-size: auto, calc(100% / 15 * 7) 100%, auto; } }
.in-hero.is-live .in-hero-poster { opacity: 0; }

/* shade: dark at the top (under the header) and, on wide screens, on the side of the words */
.in-hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 6, .92) 0, rgba(5, 5, 6, .55) calc(var(--header-h) + 40px), transparent 40%);
}
.in-hero-inner {
  position: relative; z-index: 2; flex: 1 0 auto;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(10px, 3svh, 48px));
  padding-bottom: calc(var(--kb-h) + var(--sky));
}
.in-hero-copy { position: relative; container-type: inline-size; max-width: 680px; }
/* a soft pool of darkness that travels with the words, so notes never cross the text at full light */
.in-hero-copy::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -14% -22% -22% -30%;
  background: radial-gradient(closest-side, rgba(5, 5, 6, .94), rgba(5, 5, 6, .82) 45%, rgba(5, 5, 6, .5) 72%, transparent);
}
.in-hero-eyebrow { margin: 0 0 clamp(10px, 2.2svh, 24px); }
.in-hero-title {
  margin: 0;
  font-size: clamp(2.5rem, min(15.2cqi, 6.9svh), 8rem);
  line-height: .95; letter-spacing: -.042em;
  text-wrap: balance;
}
.in-hero-title .l1, .in-hero-title .l2 { display: block; }
.in-hero-title .l2 {
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em; /* room for descenders under background-clip */
}
.in-hero-lead {
  margin: clamp(12px, 2.4svh, 28px) 0 0;
  max-width: 36em; font-size: min(var(--fs-lead), max(1rem, 2.3svh)); line-height: 1.5; color: rgba(244, 241, 234, .78);
  text-wrap: pretty;
}
.in-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: clamp(16px, 3.4svh, 40px); }
.in-hero-ctas .btn .ic, .in-final-ctas .btn .ic { width: 18px; height: 18px; margin-left: -4px; }
.in-hero-ctas .btn-ghost .ic, .in-final-ctas .btn-ghost .ic { width: 18px; height: 18px; color: var(--gold); }
/* the launch state, told as a fact: it is not a button */
.in-soon { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--text-2); font: 600 .9375rem/1.3 var(--font-body); }
.in-soon .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
@media (prefers-reduced-motion: no-preference) { .in-soon .dot { animation: sol-pulse 2.4s var(--ease) infinite; } }
.in-trust {
  list-style: none; margin: clamp(14px, 2.6svh, 32px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  color: var(--text-2); font-size: .92rem;
}
.in-trust li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.in-trust .ic { width: 17px; height: 17px; color: var(--gold); opacity: .9; }

/* "on the music stand", the pause and the sound toggle, just above the keys, on the header's right edge */
.in-hero-now {
  position: absolute; z-index: 3; right: max(var(--gutter), calc((100% - var(--max-wide)) / 2)); bottom: calc(var(--kb-h) + 14px);
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 2 * var(--gutter));
}
.in-now { margin: 0 4px 0 0; display: grid; justify-items: end; gap: 2px; text-align: right; line-height: 1.25; min-width: 0; }
.in-now .k { font: 600 .8125rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.in-now .t { font: 600 .95rem/1.25 var(--font-display); letter-spacing: -.01em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.in-now .c { font-size: .875rem; color: var(--text-2); }
.in-sound {
  flex: none; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 14px;
  border-radius: var(--radius-pill); border: 1px solid var(--line-2);
  background: rgba(18, 18, 20, .66); color: var(--text-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 600 .88rem/1 var(--font-body);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.in-sound:hover { color: var(--text); border-color: rgba(244, 241, 234, .3); }
.in-sound[aria-pressed="true"] { color: var(--on-gold); background: var(--gold-grad); border-color: transparent; box-shadow: 0 8px 26px -10px rgba(201, 169, 97, .9); }
.in-sound .ic { width: 18px; height: 18px; }
.in-eq { display: none; align-items: flex-end; gap: 2px; width: 16px; height: 14px; }
.in-eq i { flex: 1; height: 40%; border-radius: 1px; background: currentColor; }
.in-sound[aria-pressed="true"] .in-eq { display: inline-flex; }
.in-sound[aria-pressed="true"] .in-sound-off { display: none; }
.in-sound.is-loading .in-eq i { opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .in-sound[aria-pressed="true"] .in-eq i { animation: in-eq 1.1s var(--ease) infinite alternate; }
  .in-sound[aria-pressed="true"] .in-eq i:nth-child(2) { animation-delay: -.4s; animation-duration: .9s; }
  .in-sound[aria-pressed="true"] .in-eq i:nth-child(3) { animation-delay: -.7s; animation-duration: 1.3s; }
  .in-sound[aria-pressed="true"] .in-eq i:nth-child(4) { animation-delay: -.2s; animation-duration: 1s; }
}
@keyframes in-eq { from { height: 25%; } to { height: 100%; } }
/* reduced motion: the hero is one still picture, so it has nothing to pause and no music to hear */
@media (prefers-reduced-motion: reduce) { .in-hero .in-sound, .in-hero .in-motion { display: none; } }

/* the waiting moment (showcaseWait in inicio.js): the music holds on a note, its key rings in gold, this names it */
.in-hero-wait {
  position: absolute; z-index: 3; left: var(--wx, 55%); bottom: calc(var(--kb-h) + max(46px, 2.6vw)); /* above the ring */
  display: grid; gap: 4px; padding: 9px 16px 10px; border-radius: 16px;
  background: rgba(14, 14, 16, .84); border: 1px solid rgba(201, 169, 97, .5);
  box-shadow: 0 16px 40px -18px #000, 0 0 34px -10px rgba(201, 169, 97, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.in-hero-wait.is-on { opacity: 1; transform: translate(-50%, 0); }
.in-hero-wait .k { display: inline-flex; align-items: center; gap: 8px; font: 600 .8125rem/1.15 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.in-hero-wait .k i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
@media (prefers-reduced-motion: no-preference) { .in-hero-wait.is-on .k i { animation: sol-pulse 1.4s var(--ease) infinite; } }
.in-hero-wait .t { font: 500 .9375rem/1.2 var(--font-body); color: var(--text); padding-left: 16px; }
/* narrow screens: in the bar, beside the buttons, at the same height */
.in-hero-wait.is-docked { left: var(--gutter); bottom: calc(var(--kb-h) + 14px); padding: 6px 14px 7px; gap: 2px; min-height: 44px; align-content: center; transform: translateY(8px); }
.in-hero-wait.is-docked.is-on { transform: none; }
@media (max-width: 599px) { .in-hero-wait.is-docked { left: 12px; bottom: calc(var(--kb-h) + 10px); } }

/* wide screens: the words on the left, the music beside them */
@media (min-width: 1024px) and (min-aspect-ratio: 5/4) {
  .in-hero-inner { justify-content: center; }
  /* the words end before the music: the notes of the Prelude start near 42 % of the width on 88 keys */
  .in-hero { --hero-x: max(var(--gutter), calc((100vw - var(--max-wide)) / 2)); }
  .in-hero-copy { width: calc(38.5vw - var(--hero-x)); max-width: none; }
  .in-hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 5, 6, .9) 0, rgba(5, 5, 6, .3) calc(var(--header-h) + 60px), transparent 30%),
      linear-gradient(90deg, rgba(5, 5, 6, .96) 0, rgba(5, 5, 6, .93) 30%, rgba(5, 5, 6, .82) 36.5%, rgba(5, 5, 6, .36) 41.5%, transparent 47%);
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--kb-h) - 60px), transparent calc(100% - var(--kb-h)));
    mask-image: linear-gradient(180deg, #000 calc(100% - var(--kb-h) - 60px), transparent calc(100% - var(--kb-h)));
  }
  /* the headline follows the height of the window too, so the keys always fit on the first screen */
  .in-hero-title { font-size: clamp(3rem, min(19cqi, 10svh), 9rem); }
  .in-hero-lead { max-width: 34em; }
}
/* wide but short windows (laptops): the three promises wait for #privacidad, where they are told in full */
@media (min-width: 1024px) and (min-aspect-ratio: 5/4) and (max-height: 800px) { .in-trust { display: none; } }

/* short and wide (phones held sideways): the hero may grow past one screen, the words stay compact. The hero is taller
   than the screen and as tall as its words need, so the keys are the piano's full size: the 30 % limit is left out of
   the estimate and the hero is never shorter than the keys / 0.3 (the piano measures 20 % and 30 % of the hero itself,
   not of the screen). */
@media (max-height: 520px) and (min-aspect-ratio: 3/2) {
  .in-hero {
    --kb-hh: max(100vh, 560px);
    --kb-x: max(66px, min(100vw * 5.2 / var(--kb-n), max(176px, .2 * var(--kb-hh)), 300px));
    min-height: max(var(--kb-hh), var(--kb-h) / .3);
  }
  @supports (height: 100svh) { .in-hero { --kb-hh: max(100svh, 560px); } }
  .in-hero-inner { justify-content: flex-start; padding-top: calc(var(--header-h) + 14px); }
  .in-hero-copy { width: min(68vw, 720px); max-width: none; }
  .in-hero-title { font-size: clamp(2.1rem, min(9.4cqi, 13svh), 3.4rem); }
  .in-hero-lead { font-size: 1rem; margin-top: 12px; }
  .in-hero-ctas { margin-top: 16px; }
  .in-hero-ctas .btn.lg { --h: 50px; }
  .in-trust { display: flex; margin-top: 14px; font-size: .875rem; }
  .in-now { display: none; }
}

/* narrow screens: the words on top, the music under them; the shade ends a little after the words end */
@media not all and (min-width: 1024px) and (min-aspect-ratio: 5/4) {
  .in-hero-shade {
    background: linear-gradient(180deg, rgba(5, 5, 6, .9) 0, rgba(5, 5, 6, .86) calc(var(--copy-b, 62%) - 30px), rgba(5, 5, 6, .64) calc(var(--copy-b, 62%) + 16px), transparent calc(var(--copy-b, 62%) + 90px));
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--kb-h) - 30px), transparent calc(100% - var(--kb-h)));
    mask-image: linear-gradient(180deg, #000 calc(100% - var(--kb-h) - 30px), transparent calc(100% - var(--kb-h)));
  }
  .in-hero-copy::before { display: none; }
  /* the last lines may have a falling note behind them: brighter words and a soft dark edge keep them readable (4.5:1) */
  .in-trust, .in-soon, .in-hero .in-mail { color: rgba(244, 241, 234, .8); text-shadow: 0 0 10px #050506, 0 0 3px #050506; }
  /* the notes fall right where "on the music stand" would be: the bar keeps only its buttons */
  .in-now { display: none; }
}

/* phones */
@media (max-width: 599px) {
  .in-hero-eyebrow { margin-bottom: 12px; }
  .in-hero-lead { margin-top: 14px; }
  .in-hero-ctas { gap: 10px 14px; margin-top: 18px; }
  .in-hero-ctas .btn.lg, .in-hero-ctas .btn-ghost.lg { --h: 54px; padding: 0 26px; }
  .in-trust { gap: 6px 16px; font-size: .875rem; margin-top: 16px; }
  .in-now { display: none; }
  .in-hero-now { right: 12px; bottom: calc(var(--kb-h) + 10px); gap: 8px; }
  .in-sound { min-height: 44px; padding: 0 14px 0 12px; }
}
/* most phones: the words and the keys share the first screen; the three promises wait for #privacidad, where
   they are told in full (they stay on tall phones) */
@media (max-width: 599px) and (max-height: 760px) { .in-trust { display: none; } }
.in-hero.is-apretado .in-trust { display: none; } /* inicio.js: the keys would not fit on the first screen */
@media (max-width: 599px) and (max-height: 700px) {
  .in-hero-lead { font-size: 1rem; }
  .in-hero-ctas { margin-top: 16px; }
}
@media (max-width: 359px) {
  .in-sound { width: 44px; padding: 0; justify-content: center; }
  .in-sound > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ======================================================================
   3 · how it works
   ====================================================================== */
.in-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2vw, 28px); counter-reset: none; }
@media (min-width: 860px) { .in-steps { grid-template-columns: repeat(3, 1fr); } }
.in-step {
  position: relative; display: flex; flex-direction: column;
  padding: 14px 14px clamp(22px, 2.4vw, 32px);
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 26, 29, .9), rgba(14, 14, 16, .9));
}
.in-step h3 { margin: 4px clamp(10px, 1.6vw, 18px) 8px; font-size: var(--fs-h3); }
.in-step p { margin: 0 clamp(10px, 1.6vw, 18px); color: var(--text-2); max-width: 40ch; }
.in-step-n { display: block; margin: 22px clamp(10px, 1.6vw, 18px) 0; font: 600 .875rem/1 var(--font-display); letter-spacing: .12em; color: var(--gold); }
.in-step-art {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - 8px);
  background:
    radial-gradient(90% 80% at 50% 110%, rgba(201, 169, 97, .12), transparent 60%),
    linear-gradient(180deg, #0a0a0c, #050506);
  border: 1px solid rgba(244, 241, 234, .05);
  container-type: inline-size;
}
.in-step-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* phones and portrait tablets: each step is one short row, the picture beside the words */
@media (max-width: 859px) {
  .in-steps { gap: 12px; }
  .in-step { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: center; gap: 0 16px; padding: 12px 16px 12px 12px; }
  .in-step-art { aspect-ratio: 4 / 3; }
  .in-step-n { margin: 0 0 4px; }
  .in-step h3 { margin: 0 0 4px; }
  .in-step p { margin: 0; font-size: .95rem; line-height: 1.45; }
}
/* phones held sideways: the three steps side by side, with shorter pictures */
@media (min-width: 560px) and (max-width: 859px) and (max-height: 520px) {
  .in-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .in-step { display: flex; flex-direction: column; align-items: stretch; padding: 10px 10px 16px; }
  .in-step-art { aspect-ratio: 16 / 8; }
  .in-step-n { margin: 12px 6px 4px; }
  .in-step h3 { margin: 0 6px 4px; }
  .in-step p { margin: 0 6px; }
}
/* small pictures: the labels inside them step aside */
@container (max-width: 230px) {
  .in-art-chip { display: none; }
  .in-mcard b { display: none; }
  .in-mcard { justify-content: space-between; }
  .in-mcard .st { width: 38%; }
  .in-ok { width: 26px; height: 26px; }
  .in-ok .ic { width: 14px; height: 14px; }
}

/* 1 · connect: a pulse runs along the cable, the phone says "piano connected" */
.in-pulse { stroke-dasharray: 14 120; stroke-dashoffset: 14; opacity: 0; }
.in-led { opacity: .25; }
.in-art-chip {
  position: absolute; right: 7%; top: 9%;
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px;
  border-radius: var(--radius-pill); background: rgba(18, 18, 20, .9); border: 1px solid var(--line-2);
  font: 600 .875rem/1 var(--font-body); color: var(--text-2); white-space: nowrap;
  opacity: 0; transform: translateY(6px);
}
.in-art-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-pulse { animation: in-pulse 3.6s var(--ease) infinite; }
  .is-playing .in-led { animation: in-led 3.6s var(--ease) infinite; }
  .is-playing .in-art-chip { animation: in-chip 3.6s var(--ease) infinite; }
}
@media (prefers-reduced-motion: reduce) { .in-led { opacity: 1; } .in-art-chip { opacity: 1; transform: none; } }
@keyframes in-pulse { 0% { stroke-dashoffset: 14; opacity: 0; } 8% { opacity: 1; } 46% { stroke-dashoffset: -100; opacity: 1; } 50%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes in-led { 0%, 44% { opacity: .25; } 50%, 92% { opacity: 1; } 100% { opacity: .25; } }
@keyframes in-chip { 0%, 46% { opacity: 0; transform: translateY(6px); } 54%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }

/* 2 · choose: three pieces, one comes forward */
.in-cards { position: absolute; inset: 12% 14% 10%; }
.in-mcard {
  position: absolute; left: 0; right: 0; height: 34%;
  display: flex; align-items: center; gap: 10px; padding: 0 5%;
  border-radius: 12px; background: #141417; border: 1px solid var(--line-2);
  box-shadow: 0 14px 30px -18px #000;
  font: 600 clamp(.875rem, 4.6cqi, 1rem)/1.1 var(--font-display); letter-spacing: -.01em; color: var(--text-2);
  transform-origin: 50% 100%;
}
.in-mcard b { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-mcard .st {
  flex: none; width: 22%; height: 58%; border-radius: 6px;
  background:
    repeating-linear-gradient(180deg, transparent 0 4px, rgba(201, 169, 97, .5) 4px 5px),
    linear-gradient(90deg, rgba(134, 169, 222, .25), rgba(201, 169, 97, .25));
}
.in-mcard .lv { flex: none; width: 34px; height: 8px; border-radius: 4px; background: rgba(159, 210, 176, .35); }
.in-mcard .lv.l2 { background: rgba(201, 169, 97, .45); }
.in-mcard .lv.l3 { background: rgba(134, 169, 222, .45); }
.in-mcard.c3 { top: 0; transform: scale(.9); opacity: .5; }
.in-mcard.c2 { top: 22%; transform: scale(.95); opacity: .75; }
.in-mcard.c1 { top: 46%; color: var(--text); border-color: rgba(201, 169, 97, .55); box-shadow: 0 0 0 1px rgba(201, 169, 97, .2), 0 16px 40px -18px rgba(201, 169, 97, .55); }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-mcard.c1 { animation: in-pick 4.2s var(--ease) infinite; }
  .is-playing .in-mcard.c2 { animation: in-pick2 4.2s var(--ease) infinite; }
}
@keyframes in-pick { 0%, 100% { transform: none; } 40%, 70% { transform: translateY(-6%) scale(1.03); } }
@keyframes in-pick2 { 0%, 100% { transform: scale(.95); } 40%, 70% { transform: scale(.95) translateY(-4%); opacity: .6; } }

/* 3 · play: notes fall, the keys light, a tick */
.in-fall { position: absolute; left: 14%; right: 14%; top: 0; bottom: 36%; overflow: hidden; }
.in-fall .n { position: absolute; top: -30%; width: 10.5%; height: 26%; border-radius: 6px; }
.in-fall .g { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 18px rgba(201, 169, 97, .55); }
.in-fall .b { background: linear-gradient(180deg, var(--blue-hi), var(--blue)); box-shadow: 0 0 18px rgba(134, 169, 222, .5); }
.in-fall .n1 { left: 26.5%; } .in-fall .n2 { left: 1%; } .in-fall .n3 { left: 51.5%; } .in-fall .n4 { left: 76.5%; }
.in-minikeys { position: absolute; left: 14%; right: 14%; bottom: 10%; height: 26%; display: flex; gap: 2px; border-top: 2px solid var(--felt); }
.in-minikeys i { flex: 1; border-radius: 0 0 4px 4px; background: linear-gradient(180deg, #e9e3d6, var(--ivory) 30%); }
.in-minikeys b { position: absolute; top: 0; width: 7.4%; height: 60%; margin-left: -3.7%; border-radius: 0 0 3px 3px; background: linear-gradient(180deg, #050506, #1c1c20); }
.in-minikeys .k1 { left: 12.5%; } .in-minikeys .k2 { left: 25%; } .in-minikeys .k4 { left: 50%; } .in-minikeys .k5 { left: 62.5%; } .in-minikeys .k6 { left: 75%; }
.in-flash { position: absolute; left: 14%; right: 14%; bottom: 36%; height: 0; }
.in-flash i { position: absolute; bottom: -18px; width: 16%; height: 36px; margin-left: -2.75%; border-radius: 50%; opacity: 0; background: radial-gradient(closest-side, rgba(234, 211, 154, .85), rgba(201, 169, 97, .25) 55%, transparent); }
.in-flash .f2 { background: radial-gradient(closest-side, rgba(188, 210, 242, .85), rgba(134, 169, 222, .25) 55%, transparent); }
.in-flash .f1 { left: 26.5%; } .in-flash .f2 { left: 1%; } .in-flash .f3 { left: 51.5%; } .in-flash .f4 { left: 76.5%; }
.in-ok {
  position: absolute; right: 8%; top: 10%; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(159, 210, 176, .14); color: var(--ok); border: 1px solid rgba(159, 210, 176, .4);
}
.in-ok .ic { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-fall .n { animation: in-fall 3.2s linear infinite; }
  .is-playing .in-fall .n2 { animation-delay: -.8s; }
  .is-playing .in-fall .n3 { animation-delay: -1.6s; }
  .is-playing .in-fall .n4 { animation-delay: -2.4s; }
  .is-playing .in-ok { animation: in-ok 1.6s var(--ease) infinite; }
  .is-playing .in-flash i { animation: in-flash 3.2s linear infinite; }
  .is-playing .in-flash .f2 { animation-delay: -.8s; } .is-playing .in-flash .f3 { animation-delay: -1.6s; } .is-playing .in-flash .f4 { animation-delay: -2.4s; }
}
@keyframes in-flash { 0%, 74% { opacity: 0; transform: scale(.6); } 78% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .in-fall .n1 { top: 40%; } .in-fall .n2 { top: 10%; } .in-fall .n3 { top: 60%; } .in-fall .n4 { top: 0%; } }
.in-step-art:not(.is-playing) .in-fall .n1 { top: 40%; } .in-step-art:not(.is-playing) .in-fall .n2 { top: 10%; }
.in-step-art:not(.is-playing) .in-fall .n3 { top: 60%; } .in-step-art:not(.is-playing) .in-fall .n4 { top: 0%; }
@keyframes in-fall { from { transform: translateY(0); } to { transform: translateY(520%); } }
@keyframes in-ok { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ======================================================================
   4 · two views: the practice screen on the music stand
   ====================================================================== */
.in-vistas-staff svg { top: 8%; opacity: .32; }
.in-stand { position: relative; margin: 0 auto; max-width: 1500px; }
@media (min-width: 2200px) { .in-stand { max-width: 1800px; } .in-tile p, .in-src-t span, .in-reqc p { font-size: 1.05rem; } .in-tile h3 { font-size: 1.5rem; } }
.in-stand-device { position: relative; margin: 0 auto; width: min(100%, 1040px); }
.in-stand-phone { position: relative; z-index: 2; }
.in-stand-phone .screen-wrap { position: relative; }
.in-stand-phone img { width: 100%; height: auto; }
/* the music stand: a lacquer ledge with a brass lip and two small pegs */
.in-stand-ledge {
  position: relative; z-index: 3; height: clamp(14px, 1.7vw, 24px); margin: -6px max(-5%, calc(4px - var(--gutter))) 0;
  border-radius: 4px 4px 14px 14px;
  background: linear-gradient(180deg, #2c2c31 0, #141417 30%, #0a0a0c 100%);
  box-shadow: 0 1px 0 rgba(234, 211, 154, .32) inset, 0 30px 50px -20px #000, 0 50px 90px -40px rgba(201, 169, 97, .35);
}
.in-stand-ledge::before, .in-stand-ledge::after {
  content: ""; position: absolute; top: -10px; width: clamp(18px, 2.2vw, 30px); height: 12px; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
}
.in-stand-ledge::before { left: 16%; } .in-stand-ledge::after { right: 16%; }
.in-stand-ledge i { position: absolute; left: 10%; right: 10%; top: 100%; height: 60px; background: radial-gradient(50% 100% at 50% 0, rgba(201, 169, 97, .12), transparent); }

/* hotspots on the screenshot */
.in-hot {
  position: absolute; z-index: 3; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-grad); color: var(--on-gold); font: 700 .8125rem/1 var(--font-body);
  box-shadow: 0 0 0 3px rgba(5, 5, 6, .65), 0 6px 18px -4px rgba(0, 0, 0, .8);
}
.in-hot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid rgba(234, 211, 154, .7); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .in-hot::after { animation: in-ring 2.6s var(--ease-out) infinite; } .in-hot.h-izquierda::after { animation-delay: .65s; } .in-hot.h-partitura::after { animation-delay: 1.3s; } .in-hot.h-compas::after { animation-delay: 1.95s; } }
@keyframes in-ring { 0% { opacity: .9; transform: scale(.7); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
.h-derecha { left: 66.3%; top: 49.6%; }
.h-izquierda { left: 20.7%; top: 54.2%; }
.h-partitura { left: 50.6%; top: 22%; }
.h-compas { left: 53.8%; top: 35.8%; }

@media (max-width: 699px) {
  .in-hot { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: .75rem; }
  .in-hot::after { inset: -5px; }
  .h-compas { left: 57%; }
}
.in-callouts { list-style: none; margin: clamp(28px, 4vw, 44px) auto 0; padding: 0; display: grid; gap: 14px 18px; max-width: 920px; }
@media (min-width: 560px) { .in-callouts { grid-template-columns: 1fr 1fr; } }
.in-callouts li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 14px; align-items: start; }
.in-callouts .n {
  grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(201, 169, 97, .14); color: var(--gold-hi); border: 1px solid rgba(201, 169, 97, .45);
  font: 700 .8rem/1 var(--font-body);
}
.in-callouts b { font: 600 1.06rem/1.3 var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
.in-callouts span:last-child { color: var(--text-2); font-size: .95rem; }
.c-derecha b { color: var(--gold-hi); } .c-izquierda b { color: var(--blue-hi); }
.in-stand-lines { display: none; }

/* wide: labels at both sides of the phone, joined by fine lines */
@media (min-width: 1180px) {
  .in-stand { padding: 0 0 8px; }
  .in-stand-device { width: 64%; }
  .in-callouts { margin: 0; max-width: none; display: block; }
  .in-callouts li { position: absolute; z-index: 4; width: 17%; grid-template-columns: 1fr; gap: 4px; }
  .in-callouts .n { display: none; }
  .in-callouts li::before {
    content: ""; position: absolute; top: 2px; width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 169, 97, .16);
  }
  .c-izquierda::before { background: var(--blue) !important; box-shadow: 0 0 0 4px rgba(134, 169, 222, .18) !important; }
  .c-izquierda, .c-partitura { left: 0; text-align: right; justify-items: end; padding-right: 22px; }
  .c-izquierda::before, .c-partitura::before { right: 0; }
  .c-derecha, .c-compas { right: 0; padding-left: 22px; }
  .c-derecha::before, .c-compas::before { left: 0; }
  .c-partitura { top: 4%; } .c-izquierda { top: 52%; }
  .c-compas { top: 4%; } .c-derecha { top: 52%; }
  .in-stand-lines { display: block; position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .in-stand-lines path { fill: none; stroke: rgba(234, 211, 154, .55); stroke-width: 1; }
  .in-stand-lines path.blue { stroke: rgba(188, 210, 242, .55); }
  .in-stand-lines circle { fill: none; stroke: rgba(234, 211, 154, .7); stroke-width: 1; }
  .in-hot { width: 14px; height: 14px; margin: -7px 0 0 -7px; font-size: 0; }
  .in-hot.h-izquierda { background: linear-gradient(180deg, var(--blue-hi), var(--blue)); }
  .in-hot.h-izquierda::after { border-color: rgba(188, 210, 242, .75); }
}

/* ======================================================================
   5 · the interactive demo
   ====================================================================== */
.in-demo { padding-top: calc(var(--section-y) * .85); }
.in-demo-shell {
  display: grid; gap: 16px;
  padding: clamp(10px, 1.2vw, 16px);
  border-radius: calc(var(--radius-lg) + 6px);
  background: linear-gradient(180deg, rgba(30, 30, 34, .8), rgba(12, 12, 14, .9));
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 140px -60px rgba(0, 0, 0, 1), 0 40px 120px -80px rgba(201, 169, 97, .45);
}
.in-picker { min-width: 0; }
.in-picker-label { margin: 2px 6px 10px; font: 600 var(--fs-eyebrow)/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.in-picker-list {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(176px, 1fr); gap: 8px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: thin; scrollbar-color: rgba(244, 241, 234, .2) transparent;
}
.in-pick {
  position: relative; scroll-snap-align: start; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  min-height: 104px; padding: 12px 14px 14px; text-align: left;
  border-radius: 16px; border: 1px solid var(--line); background: rgba(244, 241, 234, .025); color: var(--text-2);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.in-pick:hover { background: rgba(244, 241, 234, .05); border-color: var(--line-2); color: var(--text); }
.in-pick[aria-checked="true"] {
  color: var(--text); border-color: rgba(201, 169, 97, .6);
  background: linear-gradient(180deg, rgba(201, 169, 97, .16), rgba(201, 169, 97, .05));
  box-shadow: 0 0 0 1px rgba(201, 169, 97, .16) inset, 0 14px 34px -22px rgba(201, 169, 97, .8);
}
.in-pick-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 22px; margin-bottom: 4px; }
.in-pick-n { font: 600 .875rem/1 var(--font-display); color: var(--text-2); letter-spacing: .08em; }
.in-pick[aria-checked="true"] .in-pick-n { color: var(--gold); }
.in-pick-t { font: 600 1rem/1.22 var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
/* the catalogue numbers and the composer stay readable on the gold of the chosen piece (4.5:1) */
.in-pick-t small { font: 500 .875rem/1 var(--font-body); color: var(--text-2); letter-spacing: 0; white-space: nowrap; }
.in-pick-c { font-size: .875rem; color: var(--text-2); margin-top: auto; }
.in-pick-lv { height: 24px; padding: 0 10px; font-size: .875rem; font-weight: 600; }
.in-pick-lv:empty { visibility: hidden; }
@media (min-width: 1100px) { .in-picker-list { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; } }

.in-demo-stage {
  position: relative; min-width: 0; overflow: hidden;
  height: clamp(540px, 148vw, 700px);
  border-radius: var(--radius-lg); background: #050506;
  border: 1px solid var(--line);
}
.in-demo-stage > .sp { border-radius: inherit; }
.in-demo-wait {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  color: var(--text-2); font-size: .95rem;
  background:
    linear-gradient(180deg, transparent calc(100% - 34%), rgba(243, 238, 227, .06) calc(100% - 34%)),
    radial-gradient(60% 50% at 50% 100%, rgba(201, 169, 97, .1), transparent);
}
.in-spin { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(201, 169, 97, .25); border-top-color: var(--gold); }
@media (prefers-reduced-motion: no-preference) { .in-spin { animation: in-spin .9s linear infinite; } }
@keyframes in-spin { to { transform: rotate(360deg); } }
@media (min-width: 600px) { .in-demo-stage { height: clamp(520px, 92vw, 720px); } }
@media (min-width: 900px) { .in-demo-stage { height: clamp(520px, 58vw, 760px); } }
@media (min-width: 1180px) { .in-demo-stage { height: clamp(560px, 50vw, 860px); max-height: calc(100svh - var(--header-h) - 48px); min-height: 560px; } }
@media (min-width: 2200px) { .in-demo-stage { height: clamp(760px, 40vw, 1080px); } }
/* a phone held sideways: the whole piano, its control bar included, fits on the screen under the sticky header, so the
   message over the notes is never under the header (844x390: the stage 314 px from 76 px, the keys 90 px tall) */
@media (max-height: 520px) and (min-aspect-ratio: 3/2) { .in-demo-stage { height: calc(100svh - var(--header-h) - 8px); min-height: 300px; } }
/* without JavaScript the piano cannot start: one line says so instead of the wait (temprano.js sets html.js before the
   first paint, so visitors with JavaScript never see it), in a smaller box; the piece cards and the keyboard help,
   which would do nothing, are not there */
.in-demo-nojs { display: none; }
html:not(.js) .in-demo-nojs { display: block; max-width: 32ch; padding: 0 20px; text-align: center; color: var(--text); font-size: 1rem; }
html:not(.js) .in-spin, html:not(.js) .in-demo-load, html:not(.js) .in-picker, html:not(.js) .in-demo-help { display: none; }
html:not(.js) .in-demo-stage { height: clamp(220px, 32vw, 340px); min-height: 0; max-height: none; }

.in-demo-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 44px; margin: clamp(22px, 2.6vw, 32px) auto 0; max-width: 1240px; }
.in-kbd { display: none; flex-wrap: wrap; align-items: center; gap: 12px 16px; color: var(--text-2); font-size: .92rem; }
.in-kbd p { margin: 0; flex: 1 1 22ch; max-width: 46ch; display: grid; gap: 2px; }
.in-kbd b { color: var(--text); font-weight: 600; }
/* where the computer keys reach the pianos (a mouse or a touchpad), at every width; the little keys from 700 px.
   html.in-teclas: also a laptop with a touch screen that answers the media query like a tablet, once its mouse,
   touchpad or keys are used (js/demo/computer.js). inicio.js sets it when nothing on the screen moves: at once when the
   help is above the screen (it keeps the view still) or below it, else when it leaves the screen or at the visitor's
   first key. The letters reach the pianos without the focus only from then (globalKeys), so the switch is always on
   the page first (WCAG 2.1.4). */
@media (hover: hover) and (pointer: fine) { .in-kbd { display: flex; } }
.in-teclas .in-kbd { display: flex; }
/* the switch for the computer keys (WCAG 2.1.4): the app's own switch, gold when on */
.in-kswitch { flex: none; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--text); font: 600 .92rem/1.2 var(--font-body); cursor: pointer; }
.in-kswitch-track { position: relative; flex: none; width: 42px; height: 25px; border-radius: var(--radius-pill); background: rgba(244, 241, 234, .16); transition: background .2s var(--ease); }
.in-kswitch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: transform .22s var(--ease); }
.in-kswitch[aria-checked="true"] .in-kswitch-track { background: var(--gold); }
.in-kswitch[aria-checked="true"] .in-kswitch-track::after { transform: translateX(17px); }
@media (forced-colors: active) {
  .in-kswitch-track { border: 1px solid ButtonText; }
  .in-kswitch-track::after { background: ButtonText; box-shadow: none; }
  .in-kswitch[aria-checked="true"] .in-kswitch-track { background: Highlight; }
}
.in-kbd-keys { position: relative; flex: none; display: grid; grid-template-columns: repeat(8, 26px); gap: 2px; height: 50px; padding-top: 0; }
.in-kbd-keys .w {
  align-self: end; height: 50px; display: grid; align-items: end; justify-items: center; padding-bottom: 5px;
  border-radius: 0 0 5px 5px; background: var(--ivory); color: #3a3428; font: 700 .75rem/1 var(--font-body);
}
.in-kbd-keys .b {
  position: absolute; top: 0; width: 18px; height: 29px; display: grid; justify-items: center; align-items: end; padding-bottom: 3px;
  border-radius: 0 0 4px 4px; background: #0b0b0d; color: rgba(244, 241, 234, .85); font: 700 .6875rem/1 var(--font-body);
  box-shadow: 0 0 0 1px rgba(244, 241, 234, .12);
}
.in-kbd-keys .b1 { left: 18px; } .in-kbd-keys .b2 { left: 46px; } .in-kbd-keys .b4 { left: 102px; } .in-kbd-keys .b5 { left: 130px; } .in-kbd-keys .b6 { left: 158px; }
.in-kbd-keys::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 2px; background: var(--felt); border-radius: 2px; }
@media (max-width: 699px) { .in-kbd-keys { display: none; } }
.in-midi-help { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--text-2); font-size: .92rem; max-width: 44ch; }
.in-midi-help .ic { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: rgba(201, 169, 97, .1); }
.in-midi-help .ic { color: var(--gold); }
.in-demo-foot { position: relative; margin-top: 22px; }
.in-demo-note { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 0 auto; max-width: 72ch; color: var(--text-2); font-size: .9rem; text-align: left; }
.in-demo-note .ic { flex: none; margin-top: 2px; color: var(--gold); }
/* testers wanted: at the end of the excerpt the offer takes the note's place, over it and the empty bottom of the
   section, out of the flow, so nothing moves; never over the piano or its controls (inicio.js demoOffer) */
.in-offer {
  position: absolute; z-index: 2; left: 0; right: 0; top: 0; margin: 0 auto; width: fit-content; max-width: min(100%, 640px);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; padding: 14px 18px 12px; text-align: center;
  border-radius: 22px; border: 1px solid rgba(201, 169, 97, .38); background: #0c0c0e;
  box-shadow: 0 24px 60px -30px #000, 0 0 40px -18px rgba(201, 169, 97, .5);
}
.in-offer-t { flex-basis: 100%; margin: 0 auto 2px; max-width: 46ch; color: var(--text); font-size: .95rem; line-height: 1.45; text-wrap: balance; }
.in-offer .btn-ghost { --h: 48px; }
.in-offer .btn-ghost .ic { width: 18px; height: 18px; color: var(--gold); }
/* "Quiero probarla" and Copy side by side, the address under them: compact enough for a phone */
.in-offer .in-mail { display: contents; }
.in-offer .in-mail-t { order: 3; flex-basis: 100%; }
.in-demo-foot.has-offer .in-demo-note { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) { .in-offer:not([hidden]) { animation: in-offer .5s var(--ease-out); } }
@keyframes in-offer { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 599px) { .in-offer { padding: 12px 14px 10px; } }

/* the testers' e-mail address as text, with a Copy button, next to every button that opens it (a visitor without a
   mail app copies it; when the browser refuses, inicio.js selects it so it can be copied by hand) */
.in-mail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 6px; margin: 0; color: var(--text-2); font-size: .9375rem; line-height: 1.3; }
.in-mail-a { color: var(--text); font-weight: 600; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.in-mail-copy { --h: 44px; padding: 0 8px; font-size: .9375rem; }
.in-hero-ctas .in-mail { flex-basis: 100%; justify-content: flex-start; margin-top: -4px; }
.in-final-ctas .in-mail { flex-basis: 100%; margin-top: -4px; }

/* ======================================================================
   6 · practice tools: the bento
   ====================================================================== */
.in-bento { display: grid; gap: clamp(12px, 1.4vw, 20px); grid-template-columns: 1fr 1fr; }
.in-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(18px, 2vw, 28px);
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(244, 241, 234, .035), transparent 60%),
    linear-gradient(180deg, #151518, #0e0e10);
  container-type: inline-size;
  transition: border-color .35s var(--ease);
}
.in-tile:hover { border-color: var(--line-2); }
.in-tile h3 { font-size: clamp(1.08rem, .98rem + .5vw, 1.4rem); margin: 0 0 6px; }
.in-tile p { margin: 0; color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.in-tile-ic {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; margin-bottom: 14px;
  border-radius: 12px; background: rgba(201, 169, 97, .1); color: var(--gold);
}
.in-tile-ic .ic { width: 21px; height: 21px; }
.in-tile--wait, .in-tile--loop { grid-column: 1 / -1; }
@media (max-width: 379px) { .in-bento { grid-template-columns: 1fr; } }
@media (min-width: 760px) and (max-width: 1099px) {
  .in-tile--wait { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; column-gap: 28px; }
  .in-tile--wait .in-tile-head { grid-row: 1; grid-column: 1; }
  .in-tile--wait .in-mini { grid-row: 1 / span 2; grid-column: 2; margin-top: 0; }
  .in-tile--wait .in-mini-hint { grid-column: 1; grid-row: 2; align-self: end; }
}
@media (min-width: 1100px) {
  .in-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); }
  .in-tile--wait { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .in-tile--loop { grid-column: 3 / span 2; grid-row: 1; }
}

/* the small tiles: a little picture at the top right */
.in-tile-vis { height: 56px; margin-bottom: 14px; position: relative; }
.in-tile--speed .in-tile-ic, .in-tile--hands .in-tile-ic, .in-tile--pedal .in-tile-ic, .in-tile--metro .in-tile-ic, .in-tile--acc .in-tile-ic, .in-tile--hear .in-tile-ic { display: none; }
.in-tile--speed, .in-tile--hands, .in-tile--pedal, .in-tile--metro, .in-tile--acc, .in-tile--hear { min-height: 200px; }
@media (max-width: 599px) {
  .in-tile--speed, .in-tile--hands, .in-tile--pedal, .in-tile--metro, .in-tile--acc, .in-tile--hear { padding: 16px; min-height: 0; }
  .in-tile--speed p, .in-tile--hands p, .in-tile--pedal p, .in-tile--metro p, .in-tile--acc p, .in-tile--hear p { font-size: .88rem; }
  .in-tile-vis { height: 48px; margin-bottom: 12px; }
}

@container (max-width: 230px) {
  .in-vis-hands { flex-direction: column; gap: 6px; height: auto; }
  .in-vis-hands .hand { padding: 6px 10px; }
  .in-vis-hands .ic { width: 20px; height: 20px; }
  .in-tile--hands .in-tile-vis { height: auto; }
  .in-vis-acc { flex-direction: column; align-items: flex-start; gap: 8px; }
  .in-tile--acc .in-tile-vis { height: auto; }
  .in-vis-speed .lane b { right: auto; left: 8px; }
  .in-vis-speed .lane { padding-left: 52px; }
  .in-vis-speed .lane i { margin-left: 46px; }
}

/* Wait for me: the live mini piano */
.in-tile--wait { background: radial-gradient(90% 60% at 50% 100%, rgba(201, 169, 97, .12), transparent 70%), linear-gradient(180deg, #151518, #0b0b0d); }
.in-mini { position: relative; margin-top: 20px; height: clamp(220px, 58cqi, 360px); border-radius: 18px; overflow: hidden; background: #050506; border: 1px solid var(--line); }
@media (min-width: 1100px) { .in-mini { flex: 1; height: auto; min-height: 280px; } }
.in-mini > .sp { border-radius: inherit; }
.in-mini-poster { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, var(--felt) 58% calc(58% + 2px), var(--ivory) calc(58% + 2px)); }
.in-mini-poster .note { position: absolute; left: 24%; bottom: 44%; width: 9%; height: 22%; border-radius: 8px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 22px rgba(201, 169, 97, .6); }
.in-mini-poster .ring { position: absolute; left: 28.5%; top: 58%; width: 70px; height: 70px; margin: -35px; border-radius: 50%; border: 1.5px solid rgba(234, 211, 154, .7); }
.in-mini.is-live .in-mini-poster { display: none; }
.in-mini-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 14px 2px 0 !important; color: var(--text-2); font-size: .9rem !important; }
.in-mini-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
@media (prefers-reduced-motion: no-preference) { .in-mini-hint .dot { animation: sol-pulse 1.6s var(--ease) infinite; } }

/* Loops: two gold handles over a short timeline */
.in-loop { margin-top: 22px; user-select: none; -webkit-user-select: none; }
.in-loop-track { position: relative; height: 92px; border-radius: 14px; background: #08080a; border: 1px solid var(--line); touch-action: pan-y; container-type: inline-size; }
.in-loop-bars { position: absolute; inset: 0 14px; display: flex; }
.in-loop-bar { position: relative; flex: 1; border-left: 1px solid rgba(244, 241, 234, .1); }
.in-loop-bar:first-child { border-left-color: transparent; }
.in-loop-bar .num { position: absolute; left: 5px; top: 5px; font: 600 .75rem/1 var(--font-body); color: var(--text-3); }
.in-loop-bar i { position: absolute; width: 12%; height: 6px; border-radius: 3px; background: var(--gold); opacity: .85; }
.in-loop-bar i.l { background: var(--blue); }
.in-loop-sel {
  position: absolute; top: 0; bottom: 0; left: calc(14px + (100% - 28px) * var(--a, .25)); width: calc((100% - 28px) * (var(--b, .625) - var(--a, .25)));
  background: linear-gradient(180deg, rgba(201, 169, 97, .2), rgba(201, 169, 97, .08));
  border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transition: left .18s var(--ease), width .18s var(--ease);
}
.in-loop.is-drag .in-loop-sel { transition: none; }
/* the play line moves on every frame: by transform (no layout, no layout shift), across the track (100cqw) */
.in-loop-head {
  position: absolute; top: 6px; bottom: 6px; left: 14px; width: 2px; margin-left: -1px; border-radius: 2px;
  transform: translateX(calc((100cqw - 28px) * var(--p, .3)));
  background: var(--gold-hi); box-shadow: 0 0 12px var(--gold);
}
.in-loop-handle {
  position: absolute; top: 50%; width: 22px; height: 54px; margin: -27px 0 0 -11px; border-radius: 8px;
  left: calc(14px + (100% - 28px) * var(--x, .25));
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); cursor: ew-resize; touch-action: none;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .9), 0 0 0 1px rgba(234, 211, 154, .5) inset;
  transition: left .18s var(--ease), transform .2s var(--ease);
}
.in-loop-handle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 18px; margin: -9px 0 0 -3px; border-left: 1.5px solid rgba(29, 22, 8, .6); border-right: 1.5px solid rgba(29, 22, 8, .6); }
.in-loop-handle::after { content: ""; position: absolute; inset: -12px -11px; } /* a 44 px target */
.in-loop-handle[data-loop-handle="b"] { --x: .625; } /* bars 3 to 5 before the script runs */
.in-loop.is-drag .in-loop-handle { transition: none; }
.in-loop-handle:hover, .in-loop-handle.is-active { transform: scaleY(1.06); }
.in-loop-handle:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
html:not(.js) .in-loop-handle { cursor: default; transform: none; }
.in-loop-label { display: flex; align-items: center; gap: 10px; margin: 14px 2px 0 !important; color: var(--text) !important; font: 600 .95rem/1.2 var(--font-body) !important; }
.in-loop-label .ic { color: var(--gold); }
.in-loop-label b { display: inline-grid; place-items: center; min-width: 36px; height: 26px; padding: 0 9px; border-radius: var(--radius-pill); background: rgba(201, 169, 97, .16); color: var(--gold-hi); font-size: .875rem; }
.in-loop-tip { margin-left: auto; color: var(--text-2); font-weight: 500; font-size: .875rem; }
/* without JavaScript the loop tile and the Espérame tile are pictures: no "drag the handles", no "play the key" */
html:not(.js) .in-loop-tip, html:not(.js) .in-mini-hint { display: none; }

/* Speed: the same notes at half speed and at full speed */
.in-vis-speed { display: grid; gap: 8px; }
.in-vis-speed .lane { position: relative; height: 24px; border-radius: 12px; background: rgba(244, 241, 234, .04); overflow: hidden; }
.in-vis-speed .lane b { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 600 .8125rem/1 var(--font-body); color: var(--text-3); font-variant-numeric: tabular-nums; }
.in-vis-speed .lane i { position: absolute; top: 7px; left: 0; width: 22px; height: 10px; border-radius: 5px; background: var(--gold); box-shadow: 0 0 10px rgba(201, 169, 97, .6); }
.in-vis-speed .slow i { background: var(--blue); box-shadow: 0 0 10px rgba(134, 169, 222, .5); }
.in-vis-speed .slow i:nth-child(1) { left: 6%; } .in-vis-speed .slow i:nth-child(2) { left: 30%; } .in-vis-speed .slow i:nth-child(3) { left: 54%; }
.in-vis-speed .fast i:nth-child(1) { left: 4%; } .in-vis-speed .fast i:nth-child(2) { left: 18%; } .in-vis-speed .fast i:nth-child(3) { left: 32%; } .in-vis-speed .fast i:nth-child(4) { left: 46%; } .in-vis-speed .fast i:nth-child(5) { left: 60%; }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-vis-speed .lane i { animation: in-lane 4s linear infinite; }
  .is-playing .in-vis-speed .fast i { animation-duration: 2s; }
}
@keyframes in-lane { from { transform: translateX(0); } to { transform: translateX(var(--lane-shift, 120px)); opacity: .0; } }

/* Hands: you play one, sol plays the other */
.in-vis-hands { display: flex; gap: 10px; }
.in-vis-hands .hand { position: relative; flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(244, 241, 234, .03); }
.in-vis-hands .ic { width: 26px; height: 26px; }
.in-vis-hands .left .ic { color: var(--blue); } .in-vis-hands .right .ic { color: var(--gold); }
.in-vis-hands small { font: 600 .875rem/1 var(--font-body); color: var(--text-2); }
.in-vis-hands .right { border-color: rgba(201, 169, 97, .45); background: rgba(201, 169, 97, .08); }
.in-vis-hands .right small.who-sol, .in-vis-hands .left small.who-you { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-vis-hands .hand { animation: in-hand-a 6s var(--ease) infinite; }
  .is-playing .in-vis-hands .left { animation-name: in-hand-b; }
}
@keyframes in-hand-a { 0%, 45% { border-color: rgba(201, 169, 97, .45); background: rgba(201, 169, 97, .08); } 55%, 95% { border-color: var(--line); background: rgba(244, 241, 234, .03); } }
@keyframes in-hand-b { 0%, 45% { border-color: var(--line); background: rgba(244, 241, 234, .03); } 55%, 95% { border-color: rgba(134, 169, 222, .5); background: rgba(134, 169, 222, .08); } }

/* Pedal: short notes held longer while the pedal is down */
.in-vis-pedal { display: flex; align-items: center; gap: 12px; }
.in-vis-pedal .sus { flex: 1; display: grid; gap: 5px; }
.in-vis-pedal .sus i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), rgba(201, 169, 97, .15)); width: 30%; }
.in-vis-pedal .sus i:nth-child(2) { margin-left: 18%; background: linear-gradient(90deg, var(--blue), rgba(134, 169, 222, .15)); }
.in-vis-pedal .sus i:nth-child(3) { margin-left: 36%; }
.in-vis-pedal .foot { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(201, 169, 97, .1); color: var(--gold); }
.in-vis-pedal .foot .ic { width: 24px; height: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-vis-pedal .sus i { animation: in-sus 3s var(--ease) infinite; }
  .is-playing .in-vis-pedal .foot .ic { animation: in-press 3s var(--ease) infinite; }
}
@keyframes in-sus { 0%, 15% { width: 22%; } 50%, 85% { width: 62%; } 100% { width: 22%; } }
@keyframes in-press { 0%, 15% { transform: none; } 22%, 85% { transform: translateY(3px) scaleY(.9); } 100% { transform: none; } }

/* Metronome: the arm swings, the beats light */
.in-vis-metro { display: flex; align-items: center; gap: 16px; }
.in-vis-metro .arm { position: relative; width: 44px; height: 52px; }
.in-vis-metro .arm::before { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 42px; clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); background: rgba(244, 241, 234, .07); }
.in-vis-metro .arm i { position: absolute; left: 50%; bottom: 4px; width: 2px; height: 44px; margin-left: -1px; background: var(--gold); border-radius: 2px; transform-origin: 50% 100%; transform: rotate(-22deg); }
.in-vis-metro .arm i::after { content: ""; position: absolute; left: -4px; top: 9px; width: 10px; height: 6px; border-radius: 2px; background: var(--gold-hi); }
.in-vis-metro .beats { display: flex; gap: 8px; }
.in-vis-metro .beats i { width: 12px; height: 12px; border-radius: 50%; background: rgba(244, 241, 234, .12); }
.in-vis-metro .beats i:first-child { background: rgba(201, 169, 97, .35); }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-vis-metro .arm i { animation: in-swing 1s ease-in-out infinite alternate; }
  .is-playing .in-vis-metro .beats i { animation: in-beat 2s steps(1) infinite; }
  .is-playing .in-vis-metro .beats i:nth-child(2) { animation-delay: .5s; }
  .is-playing .in-vis-metro .beats i:nth-child(3) { animation-delay: 1s; }
  .is-playing .in-vis-metro .beats i:nth-child(4) { animation-delay: 1.5s; }
}
@keyframes in-swing { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
@keyframes in-beat { 0% { background: var(--gold); box-shadow: 0 0 10px var(--gold); } 25%, 100% { background: rgba(244, 241, 234, .12); box-shadow: none; } }

/* Live accuracy: results appear one by one, right notes in their hand's color, wrong ones in red (like the app) */
.in-vis-acc { display: flex; align-items: center; gap: 14px; }
.in-vis-acc .pct { flex: none; min-width: 3.4em; font: 600 1.7rem/1 var(--font-display); letter-spacing: -.02em; color: var(--gold-hi); }
/* the ten results always in one row: where there is no room for them at 11 px, they get a little smaller (never one
   left alone on a second row) */
.in-vis-acc .dots { display: flex; flex-wrap: nowrap; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.in-vis-acc .dots i { flex: 0 1 auto; width: 11px; min-width: 0; height: auto; aspect-ratio: 1; border-radius: 50%; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.in-vis-acc .dots i.hit { background: var(--gold); }
.in-vis-acc .dots i.hit.b { background: var(--blue); }
.in-vis-acc .dots i.miss { background: var(--wrong); }
.in-vis-acc .dots i.is-off { opacity: .12; transform: scale(.7); }

/* Hear my part: a quiet equaliser */
.in-vis-hear { display: flex; align-items: center; gap: 5px; }
.in-vis-hear i { width: 6px; height: 30%; border-radius: 3px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); opacity: .85; }
.in-vis-hear i:nth-child(even) { background: linear-gradient(180deg, var(--blue-hi), var(--blue)); }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-vis-hear i { animation: in-eq 1.2s var(--ease) infinite alternate; }
  .is-playing .in-vis-hear i:nth-child(2) { animation-delay: -.3s; } .is-playing .in-vis-hear i:nth-child(3) { animation-delay: -.8s; }
  .is-playing .in-vis-hear i:nth-child(4) { animation-delay: -.5s; } .is-playing .in-vis-hear i:nth-child(5) { animation-delay: -1s; }
  .is-playing .in-vis-hear i:nth-child(6) { animation-delay: -.2s; } .is-playing .in-vis-hear i:nth-child(7) { animation-delay: -.65s; }
}
@media (prefers-reduced-motion: reduce) { .in-vis-hear i:nth-child(odd) { height: 70%; } .in-vis-hear i:nth-child(3n) { height: 100%; } }

/* the real app, under the bento */
.in-appshots { margin-top: clamp(48px, 6vw, 96px); }
.in-appshots-k { text-align: center; margin: 0 0 clamp(20px, 3vw, 36px); }
.in-appshots-row { display: grid; gap: clamp(28px, 4vw, 56px); align-items: end; }
@media (min-width: 900px) { .in-appshots-row { grid-template-columns: 1.08fr 1fr; } }
.in-shot { margin: 0; }
.in-shot figcaption { margin-top: 18px; color: var(--text-2); font-size: .9rem; text-align: center; }
.in-shot--loop .frame-laptop { margin: 0 6%; }

/* ======================================================================
   7 · your music, ready to practise
   ====================================================================== */
.in-flow { position: relative; display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.in-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 2; }
@media (min-width: 560px) { .in-sources { grid-template-columns: 1fr 1fr; } .in-sources > .in-src:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.in-src {
  position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #151518, #0f0f11);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.in-src.is-lit { border-color: rgba(201, 169, 97, .5); box-shadow: 0 0 0 1px rgba(201, 169, 97, .12) inset, 0 12px 40px -24px rgba(201, 169, 97, .7); }
.in-src-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(201, 169, 97, .1); color: var(--gold); }
.in-src-ic .ic { width: 21px; height: 21px; }
.in-src-ic.rec { color: var(--wrong); background: rgba(224, 114, 127, .1); }
.in-src-ic.mark .ic { width: 22px; height: 22px; }
.in-src-t { display: grid; gap: 3px; min-width: 0; }
.in-src-t b { font: 600 1rem/1.25 var(--font-display); letter-spacing: -.01em; }
.in-src-t b .chip { height: 24px; margin-left: 10px; padding: 0 10px; vertical-align: 1px; font-size: .875rem; }
.in-src-t span { color: var(--text-2); font-size: .9rem; line-height: 1.45; }
.in-src-t b .chip { color: var(--text-2); }

.in-stream {
  position: relative; z-index: 2; height: 340px; width: 100%; max-width: 480px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(201, 169, 97, .13), transparent 70%),
    linear-gradient(180deg, #08080a, #050506);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .95);
}
.in-stream-sky { position: absolute; left: 8%; right: 8%; top: 0; bottom: 25%; }
.in-stream-sky .s { position: absolute; top: -26%; width: min(calc(100% / 7 - 14px), 30px); margin-left: calc(100% / 14 - min(calc(100% / 7 - 14px), 30px) / 2); height: 22%; border-radius: 8px; opacity: 0; }
.in-stream-sky .g { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 18px rgba(201, 169, 97, .5); }
.in-stream-sky .b { background: linear-gradient(180deg, var(--blue-hi), var(--blue)); box-shadow: 0 0 18px rgba(134, 169, 222, .45); }
.in-stream .k0 { left: 0; } .in-stream .k1 { left: calc(100% / 7); } .in-stream .k2 { left: calc(200% / 7); } .in-stream .k3 { left: calc(300% / 7); }
.in-stream .k4 { left: calc(400% / 7); } .in-stream .k5 { left: calc(500% / 7); } .in-stream .k6 { left: calc(600% / 7); }
.in-stream-hit { position: absolute; left: 8%; right: 8%; bottom: 25%; height: 0; }
.in-stream-hit i { position: absolute; bottom: 0; width: calc(100% / 7); height: 60px; margin-bottom: -30px; opacity: 0; background: radial-gradient(closest-side, rgba(234, 211, 154, .5), transparent); }
.in-stream-keys { position: absolute; left: 8%; right: 8%; bottom: 0; height: 25%; display: flex; gap: 3px; border-top: 2px solid var(--felt); }
.in-stream-keys i { flex: 1; background: linear-gradient(180deg, #e7e1d3, var(--ivory) 30%); border-radius: 0 0 6px 6px; }
.in-stream-keys b { position: absolute; top: 0; width: 8.6%; height: 58%; margin-left: -4.3%; border-radius: 0 0 4px 4px; background: linear-gradient(180deg, #050506, #1c1c20); box-shadow: 0 2px 4px rgba(0, 0, 0, .4); }
.in-stream-keys .k1 { left: calc(100% / 7); } .in-stream-keys .k2 { left: calc(200% / 7); } .in-stream-keys .k4 { left: calc(400% / 7); } .in-stream-keys .k5 { left: calc(500% / 7); } .in-stream-keys .k6 { left: calc(600% / 7); }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-stream-sky .s { animation: in-stream 4.8s linear infinite; }
  .in-stream-sky .d1 { animation-delay: -.48s !important; } .in-stream-sky .d2 { animation-delay: -.96s !important; } .in-stream-sky .d3 { animation-delay: -1.44s !important; }
  .in-stream-sky .d4 { animation-delay: -1.92s !important; } .in-stream-sky .d5 { animation-delay: -2.4s !important; } .in-stream-sky .d6 { animation-delay: -2.88s !important; }
  .in-stream-sky .d7 { animation-delay: -3.36s !important; } .in-stream-sky .d8 { animation-delay: -3.84s !important; } .in-stream-sky .d9 { animation-delay: -4.32s !important; }
}
.in-stream:not(.is-playing) .in-stream-sky .s, html:not(.js) .in-stream-sky .s { opacity: 1; }
.in-stream:not(.is-playing) .in-stream-sky .d0 { top: 60%; } .in-stream:not(.is-playing) .in-stream-sky .d1 { top: 20%; } .in-stream:not(.is-playing) .in-stream-sky .d2 { top: 34%; }
.in-stream:not(.is-playing) .in-stream-sky .d3 { top: 6%; } .in-stream:not(.is-playing) .in-stream-sky .d4 { top: 72%; } .in-stream:not(.is-playing) .in-stream-sky .d5 { top: 48%; }
.in-stream:not(.is-playing) .in-stream-sky .d6 { top: 14%; } .in-stream:not(.is-playing) .in-stream-sky .d7, .in-stream:not(.is-playing) .in-stream-sky .d8, .in-stream:not(.is-playing) .in-stream-sky .d9 { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .in-stream-sky .s { opacity: 1; }
  .in-stream-sky .d0 { top: 60%; } .in-stream-sky .d1 { top: 20%; } .in-stream-sky .d2 { top: 34%; } .in-stream-sky .d3 { top: 6%; } .in-stream-sky .d4 { top: 72%; }
  .in-stream-sky .d5 { top: 48%; } .in-stream-sky .d6 { top: 14%; } .in-stream-sky .d7 { display: none; } .in-stream-sky .d8 { display: none; } .in-stream-sky .d9 { display: none; }
}
@keyframes in-stream { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 100% { transform: translateY(470%); opacity: 1; } }

.in-flow-lines { display: none; }
@media (min-width: 1000px) {
  .in-flow { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); }
  .in-stream { height: 100%; min-height: 460px; max-width: none; }
  .in-flow-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
  .in-flow-lines path { fill: none; stroke-width: 1.2; stroke-linecap: round; }
  .in-flow-lines .base { stroke: rgba(244, 241, 234, .07); }
  .in-flow-lines .run { stroke: url(#in-flow-grad); stroke-dasharray: 10 400; stroke-dashoffset: 410; opacity: 0; }
  .in-flow-lines .run.b { stroke: url(#in-flow-grad-b); }
}
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-flow-lines .run.go { animation: in-run 2.2s var(--ease) forwards; }
}
@keyframes in-run { 0% { stroke-dashoffset: 410; opacity: 0; } 8% { opacity: 1; } 82% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.in-flow-note {
  display: flex; align-items: flex-start; gap: 12px; margin: clamp(28px, 3.4vw, 44px) 0 0; padding: 18px 22px;
  border-radius: 18px; border: 1px solid rgba(159, 210, 176, .22); background: rgba(159, 210, 176, .05);
  color: var(--text); max-width: 860px;
}
.in-flow-note .ic { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--ok); }

/* ======================================================================
   8 · repertoire: counts, composers, a path through the levels with pieces people know
   ====================================================================== */
.in-rep-top { display: grid; gap: clamp(28px, 4vw, 56px); align-items: end; }
@media (min-width: 1000px) { .in-rep-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .in-rep-top .section-head { margin-bottom: 0; } }
.in-counts-box { display: grid; gap: clamp(12px, 1.4vw, 18px); min-width: 0; }
.in-counts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
/* the owner's promise under the counts: more pieces are on their way */
.in-mas { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--gold-hi); font: 600 clamp(1rem, .9rem + .45vw, 1.3rem)/1.3 var(--font-display); letter-spacing: -.01em; }
.in-mas .ic { width: 20px; height: 20px; flex: none; color: var(--gold); }
.in-count { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: clamp(16px, 2vw, 26px) clamp(14px, 1.8vw, 24px); border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #141417, #0d0d0f); min-width: 0; }
.in-count dd {
  margin: 0; font: 600 clamp(2.2rem, 1.4rem + 3.2vw, 4.6rem)/.9 var(--font-display); letter-spacing: -.04em;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.in-count dt { color: var(--text-2); font-size: clamp(.875rem, .8rem + .3vw, 1rem); line-height: 1.35; }
@media (max-width: 459px) {
  .in-counts { grid-template-columns: 1fr; }
  .in-count { flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .in-count dt { text-align: left; }
}

/* the ribbon of composers: two rows, each one moving as a whole (inicio.js), with room kept for them from the start */
.in-ribbon { position: relative; margin: clamp(40px, 5vw, 72px) 0; --card-h: 248px; --rgap: clamp(12px, 1.4vw, 18px); }
@media (max-width: 599px) { .in-ribbon { --card-h: 210px; } }
.in-marquee { position: relative; display: grid; gap: var(--rgap); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
html.js .in-marquee:not(.is-ready) { min-height: calc(2 * var(--card-h) + var(--rgap)); align-content: center; }
.in-marquee-row { position: relative; height: var(--card-h); }
.in-marquee:not(.is-ready) .in-marquee-row { display: none; }
.in-marquee.is-ready .in-marquee-static { display: none; }
.in-marquee-track { display: flex; gap: var(--rgap); width: max-content; will-change: transform; }
.in-marquee-static { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.in-marquee-static li { padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); color: var(--text-2); font: 600 .95rem/1 var(--font-display); }
.in-marquee.is-static { -webkit-mask-image: none; mask-image: none; }
.in-marquee.is-static .in-marquee-row { height: auto; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(244, 241, 234, .2) transparent; }
.in-marquee.is-static .in-marquee-track { padding: 0 var(--gutter) 8px; will-change: auto; transform: none !important; }
.in-marquee.is-static .in-ccard { scroll-snap-align: start; }
.in-ribbon-motion { position: absolute; z-index: 2; right: max(var(--gutter), calc((100% - var(--max-wide)) / 2)); top: 50%; margin-top: -22px; background: rgba(12, 12, 14, .82); }

.in-ccard {
  --cw: 260px;
  position: relative; flex: none; width: var(--cw); height: var(--card-h);
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #0e0e10;
  display: flex; flex-direction: column;
}
.in-ccard-art { position: relative; flex: none; height: 62%; background: radial-gradient(90% 90% at 80% 30%, rgba(201, 169, 97, .1), transparent 60%), #08080a; overflow: hidden; }
.in-ccard-art .sol-art { opacity: 0; transition: opacity .8s var(--ease); }
.in-ccard-art.is-drawn .sol-art { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .in-ccard-art .sol-art { transition: none; } } /* at once, as on the inner pages (paginas.css) */
.in-ccard-mono {
  position: absolute; right: 10%; top: 50%; transform: translateY(-50%);
  font: 600 3.4rem/1 var(--font-display); letter-spacing: -.04em;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9;
}
.in-ccard-art.is-drawn .in-ccard-mono { opacity: 0; }
.in-ccard-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 169, 97, .4), transparent); }
.in-ccard-t { flex: 1; display: grid; align-content: center; gap: 4px; padding: 10px 16px 12px; min-width: 0; }
.in-ccard-t b { font: 600 1.02rem/1.2 var(--font-display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-ccard-t span { display: flex; justify-content: space-between; gap: 8px; color: var(--text-2); font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.in-ccard-t span em { font-style: normal; color: var(--gold); }
@media (max-width: 599px) { .in-ccard { --cw: 210px; } }
/* a moving row is far wider than the screen (its cards twice, to wrap around): the cards out of sight are not laid out
   or painted inside (their size is fixed, so nothing moves), and the frame that first draws #repertorio on the way down
   lays out the few on screen instead of all of them (round 6: 84 cards, about 250 ms on a phone at CPU 4x) */
.in-marquee-track > .in-ccard { content-visibility: auto; contain-intrinsic-size: var(--cw) var(--card-h); }
/* the names are measured on hidden copies of a card's name line beside the rows (inicio.js fitNames), never inside them */
.in-ccard-probes { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }

/* the levels as a path: start, keep growing, go further, each with pieces people know */
.in-path { padding: clamp(20px, 2.6vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, #131316, #0c0c0e); }
.in-path-k { margin: 0 0 clamp(14px, 1.6vw, 22px); font: 600 var(--fs-eyebrow)/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.in-path-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.in-path-step { position: relative; display: grid; align-content: start; gap: 10px; min-width: 0; padding: clamp(16px, 1.8vw, 24px); border-radius: 18px; border: 1px solid var(--line); background: rgba(244, 241, 234, .022); }
.in-path-step .chip { justify-self: start; }
.in-path-n { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.in-path-n b { font: 600 clamp(2.2rem, 1.6rem + 2vw, 3.4rem)/1 var(--font-display); letter-spacing: -.035em; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.in-path-n span { color: var(--text-2); font-size: 1rem; }
.in-path-list { list-style: none; margin: 4px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); display: grid; }
.in-path-list a { display: grid; gap: 1px; min-height: 44px; align-content: center; padding: 6px 0; text-decoration: none; }
.in-path-list .t { font: 600 1rem/1.3 var(--font-display); letter-spacing: -.01em; color: var(--text); transition: color .2s var(--ease); }
/* the icon and one text span (.tt): the title wraps as one text, "E-flat" kept whole by .nw, with no gap around it */
.in-path-list .t { display: flex; align-items: flex-start; gap: 8px; }
.in-path-list .t .ic { flex: none; width: 12px; height: 12px; margin-top: .35em; color: var(--gold); }
.in-path-list .tt { min-width: 0; }
.in-path-list .c { padding-left: 20px; font-size: .875rem; color: var(--text-2); }
.in-path-list a:hover .t, .in-path-list a:focus-visible .t { color: var(--gold-hi); }
@media (min-width: 860px) {
  .in-path-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  /* a small gold arrow between the steps */
  .in-path-step + .in-path-step::before {
    content: ""; position: absolute; left: -24px; top: 30px; width: 20px; height: 20px; border-radius: 50%;
    background: #0c0c0e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 5.5l4.5 4.5L8 14.5' fill='none' stroke='%23c9a961' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  }
}
@media (max-width: 599px) {
  .in-path { padding: 0; border: 0; background: none; }
  .in-path-list li:nth-child(n + 3) { display: none; }
}
.in-rep-ctas { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: clamp(22px, 2.6vw, 36px); }
.in-rep-pd { display: flex; align-items: center; gap: 8px; margin: 0 0 0 8px; color: var(--text-2); font-size: .9rem; }
.in-rep-pd .ic { color: var(--ok); }
@media (max-width: 599px) { .in-rep-pd { flex-basis: 100%; margin: 6px 0 0; } }

/* ======================================================================
   9 · details
   ====================================================================== */
.in-details { display: grid; gap: clamp(14px, 1.6vw, 22px); }
@media (min-width: 900px) { .in-details { grid-template-columns: 1fr 1fr; } }
.in-detail {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, #141417, #0c0c0e);
}
.in-detail h3 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.9rem); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 12px; max-width: 22ch; }
.in-detail p { color: var(--text-2); margin: 0; max-width: 52ch; }
.in-compare { display: grid; gap: 14px; margin-top: auto; padding-top: 28px; }
.in-compare .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 8px 16px; align-items: end; }
.in-compare .who { color: var(--text-2); font-size: .92rem; }
.in-compare .row.sol .who { color: var(--gold-hi); font: 600 1rem/1 var(--font-display); }
.in-compare b { grid-row: 1; grid-column: 2; font: 600 clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem)/1 var(--font-display); letter-spacing: -.03em; }
.in-compare .row.sol b { color: var(--text); }
.in-compare .row.cut b { color: var(--text-2); }
.in-compare .bar { grid-column: 1 / -1; position: relative; height: 12px; border-radius: 7px; background: rgba(244, 241, 234, .06); overflow: hidden; }
.in-compare .bar i { position: absolute; inset: 0; transform-origin: 0 50%; border-radius: inherit; transition: transform 1.4s var(--ease-out); }
.in-compare .sol .bar i { transform: scaleX(.946); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); box-shadow: 0 0 18px rgba(201, 169, 97, .45); }
.in-compare .cut .bar i { transform: scaleX(.837); background: rgba(244, 241, 234, .28); }
.in-detail.reveal-wait:not(.is-in) .in-compare .bar i { transform: scaleX(0); }
.in-detail .in-foot { margin: 14px 0 0; color: var(--text-2); font-size: .875rem; }

.in-grand { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; margin-top: 24px; min-height: 170px; }
.in-grand-stage { position: relative; flex: 1 1 auto; min-height: 170px; max-height: 300px; border-radius: 16px; overflow: hidden; background: #050506; border: 1px solid var(--line); }
.in-grand-stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, var(--felt) 0 2px, var(--ivory) 2px); opacity: .9; }
.in-grand-stage.is-live::before { display: none; }
.in-grand-btn { position: absolute; right: 14px; top: 14px; z-index: 3; }
.in-grand-btn[aria-pressed="true"] { filter: brightness(1.05); }

/* help inside the app: the panel finds "Loop", and Show me on screen lights that button in the bar below,
   with the app's own words and buttons */
.in-detail--help { gap: 24px; }
@media (min-width: 900px) { .in-detail--help { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(24px, 3vw, 48px); } }
.in-help { position: relative; min-height: 384px; border-radius: 16px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: radial-gradient(70% 60% at 70% 30%, rgba(201, 169, 97, .06), transparent 70%), #0b0b0d; container-type: inline-size; }
.in-help-panel { position: absolute; z-index: 3; left: 14px; top: 14px; right: 14px; display: grid; align-content: start; gap: 6px; padding: 12px; border-radius: 14px; background: #141417; border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px #000; font: 500 .875rem/1.25 var(--font-body); color: var(--text-2); }
.in-help-title { display: flex; align-items: center; gap: 8px; font: 600 .95rem/1.2 var(--font-display); color: var(--text); margin-bottom: 2px; }
.in-help-title .ic { width: 16px; height: 16px; color: var(--gold); }
.in-help-search { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); background: rgba(244, 241, 234, .05); border: 1px solid rgba(201, 169, 97, .45); color: var(--text); white-space: nowrap; overflow: hidden; }
.in-help-search .ic { width: 14px; height: 14px; flex: none; color: var(--text-2); }
.in-help-search .caret { width: 1.5px; height: 16px; margin-left: -6px; background: var(--gold-hi); }
.in-help-topic { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; padding: 0 10px; border-radius: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-help-topic.on { flex-direction: column; align-items: flex-start; gap: 8px; padding: 9px 10px 10px; background: rgba(201, 169, 97, .08); color: var(--text); white-space: normal; }
.in-help-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: var(--radius-pill); background: var(--gold-grad); color: var(--on-gold); font: 600 .8125rem/1 var(--font-body); }
.in-help-btn .ic { width: 14px; height: 14px; }
.in-help-topic:not(.on) { display: none; }
/* the app's bottom bar: play, the timeline, Loop (lit), Saved loops, Wait for me, speed */
.in-help-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-top: 1px solid var(--line); background: #08080a; }
.in-help-play { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--on-gold); }
.in-help-play .ic { width: 14px; height: 14px; margin-left: 2px; }
.in-help-time { position: relative; flex: 1 1 40px; min-width: 20px; height: 4px; border-radius: 2px; background: rgba(244, 241, 234, .12); }
.in-help-time i { position: absolute; left: 0; top: 0; bottom: 0; width: 42%; border-radius: inherit; background: var(--gold); }
.in-help-pill { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); background: rgba(244, 241, 234, .04); font: 600 .8125rem/1 var(--font-body); color: var(--text-2); white-space: nowrap; }
.in-help-pill .ic { width: 14px; height: 14px; }
/* "Show me on screen": the rest of the screen darkens, the button glows */
.in-help-pill.lit { z-index: 2; color: var(--text); border-color: rgba(234, 211, 154, .9); box-shadow: 0 0 0 999px rgba(5, 5, 6, .62), 0 0 0 2px rgba(234, 211, 154, .55), 0 0 26px rgba(201, 169, 97, .5); }
/* what the app says when it lights the button, just above it */
.in-help-tip { position: absolute; left: -44px; bottom: calc(100% + 14px); width: max-content; max-width: min(230px, 72cqi); padding: 9px 14px; border-radius: 12px; background: #1a1a1d; border: 1px solid rgba(201, 169, 97, .45); color: var(--text); font: 500 .875rem/1.3 var(--font-body); white-space: normal; text-align: left; box-shadow: 0 14px 30px -14px #000; }
.in-help-tip::after { content: ""; position: absolute; left: 74px; top: 100%; width: 10px; height: 10px; margin-top: -5px; background: #1a1a1d; border: solid rgba(201, 169, 97, .45); border-width: 0 1px 1px 0; transform: rotate(45deg); }
@container (min-width: 520px) {
  .in-help-panel { right: auto; width: 54%; }
  .in-help-topic:not(.on) { display: flex; }
}
/* only the pills that fit, never one cut at the card's edge: Bucle always, with its gold ring; Espérame from 300 px,
   the speed from 410 px, Saved loops from 580 px (the widths these need in both languages, measured in round 6, plus
   about a tenth for other fonts). The bar's time line takes what is left. The tip stays inside the card: it opens to
   the left of Bucle on wide cards (from 640 px) and when Bucle stands alone at the right end (narrow cards), to its
   right in between (there Bucle is too near the left edge for the other way). */
@container (max-width: 579px) { .in-help-pill.p-saved { display: none; } }
@container (max-width: 409px) { .in-help-pill.p-speed { display: none; } }
@container (max-width: 359px) { .in-help-bar { gap: 6px; padding: 0 10px; } }
@container (max-width: 299px) { .in-help-pill.p-wait { display: none; } }
@container (max-width: 299px) or (min-width: 640px) {
  .in-help-tip { left: auto; right: -6px; }
  .in-help-tip::after { left: auto; right: 26px; }
}
@media (max-width: 599px) { .in-help { min-height: 336px; } }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-help-pill.lit { animation: in-lit 2.6s var(--ease) infinite; }
  .is-playing .in-help-search .caret { animation: in-caret 1.1s steps(1) infinite; }
}
@keyframes in-lit { 0%, 100% { box-shadow: 0 0 0 999px rgba(5, 5, 6, .62), 0 0 0 2px rgba(234, 211, 154, .55), 0 0 22px rgba(201, 169, 97, .4); } 50% { box-shadow: 0 0 0 999px rgba(5, 5, 6, .62), 0 0 0 3px rgba(234, 211, 154, .8), 0 0 34px rgba(201, 169, 97, .6); } }
@keyframes in-caret { 50% { opacity: 0; } }

/* ======================================================================
   10, 11 · listen, create: words beside the devices
   ====================================================================== */
.in-split { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (min-width: 1000px) {
  .in-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .in-split--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .in-split--rev .in-split-copy { order: 2; }
}
.in-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.in-points li { display: flex; align-items: flex-start; gap: 14px; color: var(--text); }
.in-points .ic { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--gold); }
.in-points span { color: rgba(244, 241, 234, .86); }

.in-devices { position: relative; padding: 0 8% 14% 6%; }
.in-dev-laptop { width: 100%; }
.in-dev-phone { position: absolute; right: 0; bottom: 0; width: 30%; max-width: none; z-index: 2; box-shadow: 0 0 0 1px rgba(244, 241, 234, .08) inset, 0 0 0 1.5px #000, -30px 40px 80px -30px rgba(0, 0, 0, .95), 0 30px 80px -50px rgba(134, 169, 222, .35); }
.in-badges { list-style: none; margin: 0; padding: 0; }
.in-badges li {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border-radius: var(--radius-pill); background: rgba(18, 18, 20, .86); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 600 .875rem/1 var(--font-body); color: var(--text); white-space: nowrap;
  box-shadow: 0 14px 30px -14px #000;
}
.in-badges .ic { width: 17px; height: 17px; color: var(--gold); }
.in-badges .b1 { right: 26%; bottom: 38%; }
.in-badges .b3 { right: 28%; bottom: 16%; }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .in-badges li { animation: in-float 6s var(--ease) infinite; }
  .is-playing .in-badges .b3 { animation-delay: -3s; }
}
@keyframes in-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 599px) {
  .in-devices { padding: 0 4% 26% 6%; }
  .in-dev-phone { width: 36%; }
  .in-badges li { height: 34px; padding: 0 12px; font-size: .875rem; }
  .in-badges .b1 { right: 38%; bottom: 26%; } .in-badges .b3 { right: 40%; bottom: 6%; }
}

.in-create-vis { position: relative; padding-bottom: 40px; }
.in-file {
  position: absolute; z-index: 3; right: 6%; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px;
  border-radius: 18px; background: rgba(20, 20, 23, .92); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 50px -24px #000;
}
.in-file-ic { position: relative; width: 44px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: rgba(201, 169, 97, .1); color: var(--gold); }
.in-file-ic .ic { width: 26px; height: 26px; }
.in-file-ic b { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); padding: 2px 6px; border-radius: 6px; background: var(--gold-grad); color: var(--on-gold); font: 700 .75rem/1.2 var(--font-body); }
.in-file-t { display: inline-flex; align-items: center; gap: 10px; font: 600 .95rem/1.2 var(--font-display); }
.in-rec { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #b8303d; color: #fff; }
.in-rec .ic { width: 15px; height: 15px; }

/* ======================================================================
   12 · privacy
   ====================================================================== */
.in-priv-grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (min-width: 1000px) { .in-priv-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.in-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.in-checks li { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.in-checks li:last-child { border-bottom: 0; }
.in-checks strong { color: var(--gold-hi); font-weight: 600; }
.in-checks .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(159, 210, 176, .12); color: var(--ok); border: 1px solid rgba(159, 210, 176, .35); }
.in-checks .tick .ic { width: 15px; height: 15px; }
@media (prefers-reduced-motion: no-preference) {
  html.js .in-checks li.reveal-wait .tick { transform: scale(.4); opacity: 0; transition: transform .5s var(--ease-out) .25s, opacity .5s var(--ease-out) .25s; }
  html.js .in-checks li.reveal-wait.is-in .tick { transform: none; opacity: 1; }
}
.in-perms {
  position: relative; padding: clamp(22px, 2.6vw, 34px); border-radius: 30px;
  background: linear-gradient(180deg, #17171a, #0d0d0f); border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -50px #000, 0 30px 90px -60px rgba(159, 210, 176, .3);
  max-width: 460px; justify-self: center; width: 100%;
}
.in-perms-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.in-perms-mark { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #0b0b0d; border: 1px solid rgba(201, 169, 97, .3); }
.in-perms-mark svg { width: 30px; height: 30px; color: var(--gold); }
.in-perms-app { margin: 0; font: 600 1.15rem/1 var(--font-display); letter-spacing: -.02em; }
.in-perms h3 { margin: 4px 0 0; font: 500 .9rem/1.2 var(--font-body); color: var(--text-2); letter-spacing: 0; }
.in-perms-k { margin: 18px 0 8px; font: 600 .8125rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.in-perms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.in-perms-list.yes li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(244, 241, 234, .04); font-weight: 600; }
.in-perms-list.yes li > span { display: grid; gap: 2px; }
.in-perms-list.yes small { font-weight: 400; font-size: .875rem; line-height: 1.35; color: var(--text-2); }
.in-perms-list.yes .ic { color: var(--ok); }
.in-perms-list.no { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 6px 14px; }
.in-perms-list.no li { position: relative; padding: 6px 0 6px 26px; color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(224, 114, 127, .7); }
.in-perms-list.no li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 1.5px solid rgba(224, 114, 127, .75); }
.in-perms-list.no li::after { content: ""; position: absolute; left: 5px; top: 50%; width: 9px; height: 1.5px; margin-top: -.75px; background: rgba(224, 114, 127, .85); transform: rotate(-45deg); }
.in-perms-foot { margin: 18px 0 0; color: var(--text-2); font-size: .875rem; }

/* ======================================================================
   13 · requirements
   ====================================================================== */
.in-reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 1.4vw, 18px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.in-reqc { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 2vw, 28px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, #141417, #0d0d0f); }
.in-reqc-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(201, 169, 97, .1); color: var(--gold); margin-bottom: 10px; }
.in-reqc-ic .ic { width: 24px; height: 24px; }
.in-reqc h3 { font-size: 1.14rem; line-height: 1.25; letter-spacing: -.015em; }
.in-reqc p { margin: 0; color: var(--text-2); font-size: .95rem; }
.in-reqc .chip { position: absolute; right: 16px; top: 18px; height: 28px; font-size: .875rem; }
/* "Will it work with your piano?": the help page's check, in the browser, with the visitor's own piano */
.in-check {
  display: grid; gap: 16px 24px; align-items: center; margin-top: clamp(14px, 1.6vw, 20px); padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--radius-lg); border: 1px solid rgba(201, 169, 97, .42);
  background: radial-gradient(110% 160% at 0% 0%, rgba(201, 169, 97, .14), transparent 55%), linear-gradient(180deg, #17150f, #0d0c0a);
}
@media (min-width: 800px) { .in-check { grid-template-columns: auto minmax(0, 1fr) auto; } }
.in-check h3 { font-size: 1.2rem; margin-bottom: 4px; }
.in-check p { margin: 0; color: var(--text-2); max-width: 62ch; }
.in-check .btn { justify-self: start; }
.in-check .btn .ic { width: 18px; height: 18px; }
.in-check-keys { position: relative; display: flex; gap: 2px; width: 74px; height: 50px; padding-top: 2px; border-top: 2px solid var(--felt); }
.in-check-keys i { flex: 1; border-radius: 0 0 4px 4px; background: linear-gradient(180deg, #e9e3d6, var(--ivory) 30%); }
.in-check-keys i.on { background: linear-gradient(180deg, var(--gold), var(--gold-hi)); box-shadow: 0 -14px 24px -6px rgba(201, 169, 97, .7); }
.in-check-keys b { position: absolute; top: 2px; width: 9px; height: 28px; margin-left: -4.5px; border-radius: 0 0 3px 3px; background: linear-gradient(180deg, #050506, #1c1c20); }
.in-check-keys .k1 { left: 20%; } .in-check-keys .k2 { left: 40%; } .in-check-keys .k4 { left: 80%; }
.in-nopiano { display: grid; gap: 14px 24px; align-items: center; margin-top: clamp(14px, 1.6vw, 20px); padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius-lg); border: 1px dashed rgba(201, 169, 97, .35); background: rgba(201, 169, 97, .04); }
@media (min-width: 800px) { .in-nopiano { grid-template-columns: auto minmax(0, 1fr) auto; } }
.in-nopiano-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(201, 169, 97, .12); color: var(--gold); }
.in-nopiano-ic .ic { width: 26px; height: 26px; }
.in-nopiano h3 { font-size: 1.2rem; margin-bottom: 4px; }
.in-nopiano p { margin: 0; color: var(--text-2); max-width: 70ch; }
.in-nopiano .btn-text { justify-self: start; }

/* ======================================================================
   14 · launch
   ====================================================================== */
.in-launch-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  display: grid; justify-items: center; gap: 14px;
  padding: clamp(44px, 6vw, 96px) clamp(20px, 4vw, 64px);
  border-radius: clamp(24px, 3vw, 40px); border: 1px solid rgba(201, 169, 97, .3);
  background: radial-gradient(80% 90% at 50% 0%, rgba(201, 169, 97, .16), transparent 60%), linear-gradient(180deg, #141417, #09090b);
}
.in-launch-glow { position: absolute; z-index: -1; left: 50%; top: -40%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 169, 97, .22), transparent); filter: blur(10px); }
.in-launch-mark { width: clamp(56px, 6vw, 84px); height: clamp(56px, 6vw, 84px); color: var(--gold); filter: drop-shadow(0 0 30px rgba(201, 169, 97, .45)); }
.in-launch-card .h2 { margin-top: 6px; }
.in-launch-card .lead { margin: 12px auto 0; }
.in-launch-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
/* the beta and store buttons carry the owner's own words (lanzamiento.boton, up to 40 characters): on a phone they break
   onto a second line inside the button, which stays as tall as before for one line, instead of pushing the button (and
   #lanzamiento's card with it) past the screen. The other buttons keep their one line. */
[data-beta-link], [data-play-link] { max-width: 100%; min-width: 0; }
.btn[data-beta-link], .btn-ghost[data-beta-link] { white-space: normal; line-height: 1.2; text-align: center; }
[data-beta-link] > span, [data-play-link] .t { min-width: 0; }
[data-beta-link] > span, .store-btn .t [data-play-text] { text-wrap: balance; overflow-wrap: anywhere; }
.store-btn .t [data-play-text] { line-height: 1.15; }
.in-price .chip { height: 28px; font-size: .875rem; }
.in-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 0; font: 600 1.1rem/1.3 var(--font-display); }
.in-launch-win { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 0; color: var(--text-2); }
.in-launch-win .ic { color: var(--gold); }
.in-testers { margin-top: 18px; padding: 22px 24px; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(5, 5, 6, .5); max-width: 640px; display: grid; gap: 10px; justify-items: center; }
.in-testers h3 { font-size: 1.15rem; }
.in-testers p { margin: 0; color: var(--text-2); }

/* ======================================================================
   15 · testimonials (only real ones)
   ====================================================================== */
.in-quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.in-quote { margin: 0; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, #141417, #0d0d0f); display: flex; flex-direction: column; gap: 18px; }
.in-quote blockquote { margin: 0; font: 500 1.12rem/1.5 var(--font-display); letter-spacing: -.005em; color: var(--text); }
.in-quote blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--gold); margin-bottom: 8px; }
.in-quote figcaption { color: var(--text-2); font-size: .92rem; }
.in-quote figcaption b { display: block; color: var(--text); font-weight: 600; }

/* ======================================================================
   16 · questions
   ====================================================================== */
.in-faq-grid { display: grid; gap: clamp(24px, 4vw, 72px); align-items: start; }
@media (min-width: 1000px) { .in-faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .in-faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.in-faq-all { justify-self: start; margin-top: 6px; }
.faq .answer p { margin: 0 0 .8em; }
.faq .answer p:last-child { margin: 0; }
.faq .answer a { color: var(--gold-hi); }

/* ======================================================================
   17 · closing
   ====================================================================== */
.in-final {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(110px, 12vw, 220px) 0 0; text-align: center;
  background: radial-gradient(70% 60% at 50% 100%, rgba(201, 169, 97, .16), transparent 70%);
}
.in-final-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; }
.in-final-title { font-size: clamp(2.4rem, 1rem + 5.6vw, 7rem); line-height: .98; letter-spacing: -.04em; max-width: 16ch; }
.in-final-title span { display: block; }
.in-final-title .l2 { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.in-final .lead { margin: 4px auto 0; }
.in-final-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 18px; margin-top: 20px; }
.in-final { --fsky: clamp(170px, 17vw, 300px); }
.in-final-sky { position: absolute; left: 0; right: 0; bottom: var(--fk-h, 150px); height: var(--fsky); z-index: 0; pointer-events: none; overflow: hidden; }
.in-final-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0, rgba(5, 5, 6, .6) 40%, transparent 85%); }
.in-fnote { position: absolute; bottom: 0; width: var(--w, 30px); border-radius: 8px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 22px rgba(201, 169, 97, .5); }
.in-fnote.b { background: linear-gradient(180deg, var(--blue-hi), var(--blue)); box-shadow: 0 0 22px rgba(134, 169, 222, .5); }
.in-final { --fk-h: clamp(90px, 9vw, 170px); }
.in-final-keys { position: relative; z-index: 1; height: var(--fk-h); margin-top: calc(var(--fsky) + clamp(24px, 3vw, 56px)); display: flex; border-top: 2px solid var(--felt); box-shadow: 0 -30px 80px -30px rgba(201, 169, 97, .35); }
.in-final-keys .w { position: relative; flex: 1; border-right: 1px solid rgba(0, 0, 0, .25); background: linear-gradient(180deg, #e8e2d4, var(--ivory) 30%); transition: background .5s var(--ease); }
.in-final-keys .w.lit { background: linear-gradient(180deg, var(--gold), var(--gold-hi)); box-shadow: 0 -40px 60px -10px rgba(201, 169, 97, .55); }
.in-final-keys .w.lit-b { background: linear-gradient(180deg, var(--blue), var(--blue-hi)); box-shadow: 0 -40px 60px -10px rgba(134, 169, 222, .5); }
.in-final-keys .k { position: absolute; z-index: 2; top: 0; width: 60%; right: -30%; height: 62%; border-radius: 0 0 4px 4px; background: linear-gradient(180deg, #050506, #1b1b1f); box-shadow: 0 2px 0 rgba(255, 255, 255, .06) inset; }

/* 25 nov 2026 · precios y novedades de la 1.0 */
.in-planes { margin-top: clamp(8px, 1vw, 14px); }
.in-plan { gap: 8px; }
.in-plan .chip { align-self: flex-start; margin-bottom: 6px; }
.in-plan h3 { margin: 0; }
.in-plan-precio { margin: 4px 0 0; color: var(--text-2); }
.in-plan-precio b { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; color: var(--text); font-weight: 650; letter-spacing: -.01em; }
.in-plan-lanz { margin: 0; color: var(--gold); font-weight: 600; }
.in-plan--top { border-color: rgba(201, 169, 97, .55); background: linear-gradient(180deg, #1c1912, #0f0e0b); box-shadow: 0 0 0 1px rgba(201, 169, 97, .15), 0 18px 50px -20px rgba(201, 169, 97, .35); }
.in-gratis { margin-top: clamp(14px, 1.6vw, 20px); }
.in-plan-notas { margin: clamp(14px, 1.6vw, 20px) 0 0; font-size: 14px; color: var(--text-3); max-width: 70ch; }
.in-plan-aviso { margin: 14px 0 0; color: var(--text-2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
