*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body-font); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent); }
button, input, select { font: inherit; color: inherit; }
button:not(:disabled) { cursor: pointer; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bone { display: inline-block; max-width: 100%; height: .75em; border-radius: var(--radius); background: var(--line); animation: bone-pulse 1.5s ease-in-out infinite alternate; }
@keyframes bone-pulse { to { background-color: var(--soft); } }
@media (prefers-reduced-motion: reduce) {
  .bone { animation: none; }
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.04; }
h1, h2 { font-family: var(--display-font); font-weight: 900; letter-spacing: -.062em; }
h1 { font-size: clamp(3.15rem, 8vw, 7.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 4rem); }
h3 { font-size: 1.4rem; letter-spacing: -.035em; }
.wrap { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.label { font: 700 .76rem/1.45 var(--label-font); letter-spacing: .105em; text-transform: uppercase; }
.lead { max-width: 39rem; color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.24rem); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 2; background: var(--surface); padding: 10px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 17px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1.38rem; font-weight: 900; letter-spacing: -.07em; text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(13px, 2.8vw, 35px); }
nav a, .top-store { font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a[aria-current] { text-decoration: underline; text-underline-offset: .5em; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.top-store { border: 1px solid var(--ink); border-radius: var(--radius); padding: 7px 13px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 6vw, 86px); }
.hero-copy > .label, .intro > .label, .section-head > .label, .detail .label { color: var(--accent); }
.hero h1 { margin-block: 22px 25px; font-size: clamp(3.1rem, 6.05vw, 6.3rem); line-height: .94; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-art { background: var(--accent-bright); }
.hero-art img { width: 100%; height: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 23px; align-items: center; margin-top: 28px; }
.button, .reset { border: 1px solid transparent; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); padding: 11px 16px; display: inline-flex; align-items: center; gap: 20px; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--ink); color: var(--inverse); }
.text-link { display: inline-block; font-weight: 750; text-underline-offset: .25em; }
.section { border-top: 1px solid var(--line); padding-block: 34px 68px; }
.section-head h2 { max-width: 15ch; margin-top: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-block: 32px 24px; }
.feature-grid article { border-top: 1px solid var(--line); padding-top: 15px; }
.feature-grid h3 { margin-block: 10px; }
.feature-grid article > p:not(.label), .feature-list article p:not(.label), .faq p { color: var(--muted); }
.dark-band { background: var(--ink); color: var(--inverse); padding-block: 55px; }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.band-inner h2 { margin-block: 10px; }
.band-inner p { max-width: 60ch; }
.band-inner .button { flex-shrink: 0; background: var(--inverse); color: var(--ink); }
.band-inner .button:hover { background: var(--accent-bright); }
.intro { padding-block: clamp(45px, 7vw, 92px) 36px; }
.intro h1 { margin-block: 13px 18px; overflow-wrap: anywhere; }
.feature-list { padding-bottom: 44px; }
.feature-list article { display: grid; grid-template-columns: minmax(10rem, 1fr) 3fr; gap: 18px; border-top: 1px solid var(--line); padding-block: 30px; }
.feature-list article h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 12px; }
.feature-list article p:not(.label) { max-width: 60ch; }
.feature-list .text-link { margin-top: 13px; }
.support-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 76px); align-items: center; padding-block: clamp(36px, 7vw, 90px); }
.support-copy .label, .support-copy em, .faq .label { color: var(--accent); }
.support-copy h1 { margin-block: 12px 18px; }
.support-copy em { font-style: normal; }
.support-index { background: var(--accent); color: var(--accent-ink); padding: clamp(18px, 4vw, 40px); }
.support-index input { background: var(--surface); color: var(--ink); border-color: transparent; }
.support-index :focus-visible { outline-color: var(--accent-ink); }
.support-index nav { display: block; margin-top: 24px; }
.support-index nav a { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: 8px; border-top: 1px solid currentColor; padding: 12px 0; }
.support-index nav a:hover { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.support-answers { padding-bottom: clamp(24px, 5vw, 65px); }
.support-answers > p { border-top: 1px solid var(--line); padding-block: 24px; }
.field { display: grid; gap: 7px; font-size: .88rem; font-weight: 750; }
input, select { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); width: 100%; min-width: 0; padding: 10px; }
select {
  appearance: none;
  padding-inline-end: 2rem;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231d211a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
}
select:dir(rtl) { background-position: left 10px center; }
@media (forced-colors: active) {
  select { appearance: auto; background-image: none; }
}
.faq { display: grid; grid-template-columns: 1fr 1.65fr; gap: 20px clamp(24px, 6vw, 76px); border-top: 1px solid var(--line); padding-block: clamp(22px, 4vw, 42px); }
.faq h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding-block: 13px; font-weight: 750; }
.faq summary:hover, .faq details[open] summary { color: var(--accent); }
.faq details p { padding: 0 18px 14px; }
.catalog, .detail { padding-bottom: 65px; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; align-items: end; gap: 12px; margin: 0; min-width: 0; border: 0; border-block: 1px solid var(--line); padding: 15px 0; }
.reset { background: transparent; color: var(--ink); border-color: var(--line); font-size: .88rem; }
.reset:hover:not(:disabled) { background: var(--soft); }
.reset:disabled { opacity: .48; }
.results-label { margin-block: 20px 10px; }
.exercise-list, .muscles { list-style: none; margin: 0; padding: 0; }
.exercise-list li { border-top: 1px solid var(--line); }
.exercise-list li:last-child { border-bottom: 1px solid var(--line); }
.exercise-link { display: grid; grid-template-columns: auto 2.4rem minmax(0, 2fr) minmax(0, 1.25fr) 1.25rem; gap: 12px; align-items: center; padding: 12px 8px; text-decoration: none; }
a.exercise-link:hover { background: var(--soft); }
.exercise-thumbnail { display: block; width: 3.25rem; height: 3.25rem; border-radius: var(--radius); overflow: hidden; }
.exercise-thumbnail:not(.bone) { background: var(--soft); }
.exercise-thumbnail :is(img, video) { width: 100%; height: 100%; object-fit: cover; }
.exercise-thumbnail.bone > * { opacity: 0; }
.exercise-link strong { font-size: clamp(1.08rem, 2vw, 1.38rem); line-height: 1.2; }
.exercise-meta { color: var(--muted); font-size: .88rem; }
.pagination { justify-content: space-between; margin-top: 18px; gap: 8px; }
.detail { padding-top: 35px; }
.detail-title { padding-block: 24px; border-bottom: 1px solid var(--line); }
.detail-title h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); margin-block: 7px 14px; overflow-wrap: anywhere; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; margin-top: 24px; align-items: start; }
.detail-grid h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.detail-grid section + section { margin-top: 28px; }
.demo-frame { display: grid; place-items: center; }
.demo-frame.bone { height: auto; aspect-ratio: 4 / 3; max-height: 420px; }
.demo-frame :is(video, img) { width: auto; height: auto; max-height: 420px; }
.detail-grid ol { padding-left: 1.5rem; }
.detail-grid li + li { margin-top: 8px; }
.specs { margin: 0; }
.specs > div { border-bottom: 1px solid var(--line); padding-block: 8px; }
.specs dt { color: var(--muted); font-size: .8rem; }
.specs dd { margin: 0; font-weight: 650; }
.muscles li { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.muscles small { display: block; color: var(--muted); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 25px; }
.footer p { color: var(--muted); font-size: .88rem; margin-top: 6px; }
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .header-inner nav { order: 3; width: 100%; }
  .hero, .detail-grid, .support-hero, .faq { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 5.4rem); }
  .hero-art img { max-height: 430px; object-fit: contain; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:first-child { grid-column: 1 / -1; }
  .filters button { justify-self: start; }
  .footer-inner, .band-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 500px) {
  .feature-grid, .feature-list article { grid-template-columns: 1fr; }
  .exercise-link { grid-template-columns: auto 1.7rem minmax(0, 1fr) 1.25rem; column-gap: 8px; row-gap: 2px; }
  .exercise-thumbnail { width: 2.75rem; height: 2.75rem; grid-row: span 2; }
  .exercise-link .exercise-meta { grid-column: 3; grid-row: 2; }
  .exercise-link .arrow { grid-column: 4; grid-row: 1; }
  .footer nav { flex-wrap: wrap; }
}
