/* BP-e2: "Sound like you?" (approved 30 Nov 2026 as its own page, bp-sound / r108-m55). 7 founder problems. Each card
   starts as the problem (grey, a small red mark) and turns into our fix (BP lime on cream) as it moves up the screen,
   or on a tap. The words never move. Every rule is scoped to #sound.slx; classes are slx-/slc-/slb- so site rules
   cannot reach them.
   Column: .m271-stage .m271-wrap keeps the old section's column and --gutter (m247.js reads it to line up 6 other
   sections).
   Zoom: the section itself (as in m271, so the column above measures the same) cancels the page's html zoom
   (1.2 / 1.3 / 1.6, home css), so sizes below show at their own size and
   --bpz is 1 inside (bpc.css title size divides by it). */

#sound.slx {
  --lime: #c2f542; --lime-hover: #abd839; --lime-deep: #9fd11f;
  --olive: #445a00; --olive-deep: #2a3600; --green: #5c7900;
  --paper: #fbfaf6; --cream: #f5ebdd; --ink: #151518; --muted: #4a4c44;
  --g-card: #ebe8e2; --g-line: #dcd8cf; --g-text: #4b4944; --g-text-done: #8d8a83;
  --red: #c2493e; --red-soft: #f5e1dc; --red-line: rgb(194 73 62 / 0.42);
  --gutter: clamp(20px, 4.45vw, 64px);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --dither: conic-gradient(var(--olive-deep) 25%, transparent 0 50%, var(--olive-deep) 0 75%, transparent 0) 0 0 / 4px 4px;
  position: relative; margin: 0; color: var(--ink); background: var(--cream);
  font-family: "Roobert", system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
#sound.slx *, #sound.slx *::before, #sound.slx *::after { box-sizing: border-box; }
#sound.slx img { display: block; max-width: 100%; }

/* the old section's column, unchanged (m271.css): m247.js measures it */
#sound.slx .m271-wrap { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

#sound.slx .slx-in { --bpz: 1; padding: 96px 0 128px; }
@media (min-width: 1200px) { #sound.slx { zoom: 0.8333333; } }
@media (min-width: 700px) and (max-width: 959px) and (min-height: 900px) { #sound.slx { zoom: 0.7692308; } }
@media (min-width: 2200px) and (min-height: 1200px) { #sound.slx { zoom: 0.625; } }
/* a hidden fixed box: the screen, measured in the same units as the cards */
#sound.slx .slx-vp { position: fixed; inset: 0; visibility: hidden; pointer-events: none; z-index: -1; }

#sound.slx .sl__head { max-width: 760px; margin-bottom: 64px; }
#sound.slx .sl__title { margin: 0; font-weight: 600; font-size: clamp(34px, 3.9vw, 60px); line-height: 1.06; letter-spacing: -.028em; color: var(--ink); }
#sound.slx .sl__title em { font-style: normal; color: var(--green); }
#sound.slx .sl__sub { margin: 18px 0 0; color: var(--muted); font-size: 21px; line-height: 1.5; max-width: 40em; text-wrap: pretty; }

#sound.slx .sl__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
#sound.slx .sl__aside { position: sticky; top: 132px; display: grid; gap: 28px; }

#sound.slx .sl__meter { display: grid; gap: 12px; }
#sound.slx .sl__bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
#sound.slx .sl__bars i { display: block; height: 8px; border-radius: 8px; background: rgb(21 21 24 / 0.1); transition: transform .45s var(--spring); }
#sound.slx .sl__bars i.is-on { background: var(--olive); transform: scaleY(1.25); }
#sound.slx .sl__count { margin: 0; font-size: 19px; color: var(--muted); line-height: 1.2; }
#sound.slx .sl__n { display: inline-block; min-width: .6em; font-weight: 600; font-size: 44px; letter-spacing: -.03em; color: var(--ink); vertical-align: -6px; margin-right: 4px; }
#sound.slx .sl__n.is-bump { animation: slx-bump .45s var(--spring); }
@keyframes slx-bump { 40% { transform: scale(1.18); color: var(--green); } }

#sound.slx .sl__pirate { position: relative; margin: 0; height: min(52vh, 440px); }
#sound.slx .sl__pirate::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 62%; height: 18px; translate: -50% 0; border-radius: 50%; background: rgb(42 54 0 / 0.12); filter: blur(6px); }
#sound.slx .sl__pirate img { position: absolute; left: 50%; bottom: 0; z-index: 1; height: 100%; width: auto; max-width: none; translate: -50% 0; opacity: 0; transition: opacity .35s ease; }
#sound.slx .sl__pirate img.is-on { opacity: 1; }

#sound.slx .sl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
#sound.slx .sl__list > li { margin: 0; padding: 0; }

/* the card */
#sound.slx .slc {
  position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 22px; row-gap: 20px;
  width: 100%; min-height: 0; height: auto; margin: 0; padding: 30px 36px 32px 28px; border: 0; border-radius: 26px; text-align: left;
  font: inherit; color: inherit; background: transparent; box-shadow: none; transform: none;
  cursor: pointer; isolation: isolate; -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none;
}
#sound.slx .slc::before, #sound.slx .slc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
#sound.slx .slc::before { z-index: -2; background: var(--dither); translate: 0 0; opacity: 0; transition: opacity .25s ease, translate .45s var(--spring); }
#sound.slx .slc::after { z-index: -1; background: var(--g-card); box-shadow: inset 0 0 0 1.5px var(--g-line); transition: background-color .25s ease, box-shadow .25s ease; }
#sound.slx .slc:focus-visible { outline: 3px solid var(--olive); outline-offset: 5px; }

#sound.slx .slc__edge { position: absolute; left: 0; top: 34px; width: 4px; height: 38px; border-radius: 0 4px 4px 0; background: var(--red); transition: background-color .25s ease; }

#sound.slx .slc__mark { grid-column: 1; grid-row: 1; position: relative; display: block; width: 46px; height: 46px; border-radius: 50%; background: var(--red-soft); transition: background-color .25s ease, box-shadow .25s ease; }
#sound.slx .slc__mark svg { position: absolute; inset: 0; margin: auto; width: 24px; height: 24px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s ease, transform .4s var(--spring); }
#sound.slx .slc__mark .slc-x { stroke: var(--red); }
#sound.slx .slc__mark .slc-v { stroke: var(--olive-deep); opacity: 0; transform: scale(.4) rotate(-20deg); }

#sound.slx .slc__prob { grid-column: 2; grid-row: 1; display: block; align-self: center; font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -.02em; color: var(--g-text); }
#sound.slx .slc__ptext { background: linear-gradient(var(--red-line), var(--red-line)) no-repeat 0 60% / 0% 1.5px; transition: color .5s ease, background-size .7s cubic-bezier(.16, 1, .3, 1); }

#sound.slx .slc__fix { grid-column: 2; grid-row: 2; display: grid; }
#sound.slx .slc__layer { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; color: rgb(21 21 24 / 0.14); }
#sound.slx .slc__say { display: block; font-weight: 600; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.3; letter-spacing: -.012em; }
#sound.slx .slc__proof { display: block; font-weight: 400; font-size: clamp(15px, 1.12vw, 17px); line-height: 1.45; }
#sound.slx .slc__proof b { font-weight: 600; }
#sound.slx .slc mark { color: inherit; background: transparent; background-image: none; padding: 0; margin: 0; border-radius: 0; }

/* the fix fills in word by word (sound.js wraps each word in .slw) */
#sound.slx .slw { transition: color .28s ease, background-color .28s ease; }
#sound.slx .slw--hl { padding: .03em .1em; margin: 0 -.1em; }
#sound.slx .slw--s { border-radius: .2em 0 0 .2em; }
#sound.slx .slw--e { border-radius: 0 .2em .2em 0; }
#sound.slx .slw--s.slw--e { border-radius: .2em; }
#sound.slx .slc__say .slw.on { color: var(--ink); }
#sound.slx .slc__say .slw--hl.on { background: var(--lime); }
#sound.slx .slc__proof .slw.on { color: var(--muted); }
#sound.slx .slc__proof b .slw.on { color: var(--olive); }

/* fixed */
#sound.slx .slc.is-fixed::after { background: var(--paper); box-shadow: inset 0 0 0 2px var(--olive-deep); }
#sound.slx .slc.is-fixed::before { opacity: 1; translate: 4px 4px; }
#sound.slx .slc.is-fixed .slc__edge { background: var(--lime-deep); }
#sound.slx .slc.is-fixed .slc__mark { background: var(--lime); box-shadow: inset 0 0 0 2px var(--olive-deep); }
#sound.slx .slc.is-fixed .slc__mark .slc-x { opacity: 0; transform: scale(.4) rotate(20deg); }
#sound.slx .slc.is-fixed .slc__mark .slc-v { opacity: 1; transform: none; }
#sound.slx .slc.is-fixed .slc__ptext { color: var(--g-text-done); background-size: 100% 1.5px; }

@media (hover: hover) and (pointer: fine) {
  #sound.slx .slc:not(.is-fixed):hover::after { box-shadow: inset 0 0 0 1.5px #bdb8ac; }
  #sound.slx .slc:not(.is-fixed):hover .slc__mark { background: #f1d3cc; }
  #sound.slx .slc.is-fixed:hover::before { translate: 6px 6px; }
}

/* the end */
#sound.slx .sl__end { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 88px; }
#sound.slx .sl__end-pirate { display: none; }
#sound.slx .sl__end-h { margin: 0; font-weight: 600; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -.028em; max-width: 15em; text-wrap: balance; color: var(--ink); }
#sound.slx .sl__end-h em { display: block; font-style: normal; color: var(--green); }
#sound.slx .sl__end-line { margin: 16px 0 30px; color: var(--muted); font-size: 21px; line-height: 1.5; max-width: 30em; }
#sound.slx .sl__end-note { margin: 18px 0 0; color: var(--muted); font-size: 16px; }

/* BP-e's button */
#sound.slx .slb {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 12px; width: auto;
  min-height: 60px; padding: 0 30px; border: 0; border-radius: 999px; color: var(--ink); background: transparent; text-decoration: none;
  font-weight: 600; font-size: 21px; letter-spacing: -.01em; -webkit-tap-highlight-color: transparent;
  transition: translate 250ms var(--spring);
}
#sound.slx .slb::before, #sound.slx .slb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transition: translate 250ms var(--spring), background-color 180ms ease; }
#sound.slx .slb::before { z-index: -2; background: var(--dither); translate: 4px 4px; }
#sound.slx .slb::after { z-index: -1; background: var(--lime); box-shadow: inset 0 0 0 2px var(--olive-deep); }
#sound.slx .slb svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#sound.slx .slb:focus-visible { outline: 3px solid var(--olive); outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) {
  #sound.slx .slb:hover { translate: -2px -2px; }
  #sound.slx .slb:hover::after { background-color: var(--lime-hover); }
  #sound.slx .slb:hover::before { translate: 6px 6px; }
}
#sound.slx .slb:active { translate: 1px 1px; }
#sound.slx .slb:active::before { translate: 2px 2px; }

/* reduced motion and no JS: problem and fix side by side, no animation */
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "p f"; gap: 10px; padding: 10px; cursor: default; }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc::after { background: var(--paper); box-shadow: inset 0 0 0 2px var(--olive-deep); }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc::before { opacity: 1; translate: 4px 4px; }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__edge { display: none; }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__mark { grid-area: p; align-self: start; margin: 20px 0 0 18px; width: 36px; height: 36px; z-index: 1; background: var(--red-soft); box-shadow: none; }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__mark svg { width: 20px; height: 20px; }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__mark .slc-x { opacity: 1; transform: none; }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__mark .slc-v { opacity: 0; }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__prob { grid-area: p; align-self: stretch; padding: 22px 22px 22px 68px; border-radius: 18px; background: var(--g-card); font-size: clamp(19px, 1.6vw, 24px); }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__ptext { color: var(--g-text); background: none; }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__fix { grid-area: f; padding: 22px 22px 22px 68px; position: relative; }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__fix::before { content: ""; position: absolute; left: 18px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.6l4.1 4.1L18.6 7.4' fill='none' stroke='%232a3600' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: inset 0 0 0 2px var(--olive-deep); }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__layer { color: var(--ink); }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__say mark { background: var(--lime); padding: .03em .1em; margin: 0 -.1em; border-radius: .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__proof { color: var(--muted); }
:is(html:not(.slx-js), html.slx-still) #sound.slx .slc__proof b { color: var(--olive); }
html:not(.slx-js) #sound.slx .sl__meter { display: none; }
html.slx-still #sound.slx *, html.slx-still #sound.slx *::before, html.slx-still #sound.slx *::after { transition: none !important; animation: none !important; }

/* tablets and phones */
@media (max-width: 899px) {
  #sound.slx .slx-in { padding: 64px 0 72px; }
  #sound.slx .sl__head { margin-bottom: 28px; }
  #sound.slx .sl__sub { font-size: 19px; margin-top: 14px; }
  #sound.slx .sl__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  /* the counter rides along under the menu bar; the pirate waits at the end */
  #sound.slx .sl__aside { top: 92px; z-index: 5; display: block; padding: 12px 18px; border-radius: 999px; background: rgb(251 250 246 / 0.94); box-shadow: 0 10px 28px -16px rgb(42 54 0 / 0.45), inset 0 0 0 1px rgb(42 54 0 / 0.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  #sound.slx .sl__meter { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; }
  #sound.slx .sl__bars { gap: 4px; }
  #sound.slx .sl__bars i { height: 7px; }
  #sound.slx .sl__count { font-size: 15px; white-space: nowrap; }
  #sound.slx .sl__n { font-size: 20px; vertical-align: -1px; margin-right: 2px; }
  #sound.slx .sl__pirate { display: none; }
  #sound.slx .sl__list { gap: 16px; }
  #sound.slx .slc { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 16px; padding: 22px 20px 24px 18px; border-radius: 22px; }
  #sound.slx .slc__edge { top: 26px; height: 30px; width: 3px; }
  #sound.slx .slc__mark { width: 36px; height: 36px; align-self: start; margin-top: 1px; }
  #sound.slx .slc__mark svg { width: 19px; height: 19px; }
  #sound.slx .slc__prob { font-size: 21px; line-height: 1.22; }
  #sound.slx .slc__say { font-size: 19px; }
  #sound.slx .slc__proof { font-size: 15px; }
  #sound.slx .sl__end { position: relative; margin-top: 56px; }
  #sound.slx .sl__end-pirate { display: block; position: absolute; right: -4px; top: -18px; width: 96px; height: auto; }
  #sound.slx .sl__end-h { font-size: 30px; max-width: calc(100% - 104px); }
  #sound.slx .sl__end-line { font-size: 18px; margin: 12px 0 24px; max-width: calc(100% - 104px); }
  #sound.slx .slb { min-height: 56px; padding: 0 22px; font-size: 18px; gap: 10px; white-space: nowrap; }
  #sound.slx .slb svg { width: 22px; height: 22px; }
  #sound.slx .sl__end-note { font-size: 14px; }
  :is(html:not(.slx-js), html.slx-still) #sound.slx .slc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "p" "f"; }
  :is(html:not(.slx-js), html.slx-still) #sound.slx .slc__prob, :is(html:not(.slx-js), html.slx-still) #sound.slx .slc__fix { padding: 18px 18px 18px 62px; }
  :is(html:not(.slx-js), html.slx-still) #sound.slx .slc__mark { margin: 16px 0 0 16px; width: 32px; height: 32px; }
  :is(html:not(.slx-js), html.slx-still) #sound.slx .slc__fix::before { left: 16px; top: 16px; width: 32px; height: 32px; background-size: 18px; }
}
@media (max-width: 899px) and (min-width: 600px) {
  #sound.slx .slc__prob { font-size: 25px; }
  #sound.slx .slc__say { font-size: 21px; }
}
@media (max-width: 380px) {
  #sound.slx .sl__end-pirate { width: 84px; }
  #sound.slx .sl__end-h, #sound.slx .sl__end-line { max-width: calc(100% - 90px); }
  #sound.slx .sl__end-h { font-size: 27px; }
  #sound.slx .slb { padding: 0 18px; font-size: 17px; }
}
