:root {
  color-scheme: light;
  --cream: #f7f3ed;
  --paper: #fffefb;
  --ink: #302b28;
  --muted: #756b63;
  --line: #e7ded4;
  --accent: #be533f;
  --rose: #f1e1d7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--cream); color: var(--ink); line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 10; padding: 12px 18px; background: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 7px; font-size: 26px; font-weight: 800; letter-spacing: -1.3px; text-decoration: none; }
.brand img { width: 40px; }
.brand-dot { color: var(--accent); }
.site-header nav, .site-footer nav { display: flex; gap: 30px; }
.site-header nav a { text-decoration: none; font-size: 13px; font-weight: 600; }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent); }
.header-action { font-size: 13px; font-weight: 700; border: 1px solid var(--ink); border-radius: 999px; padding: 10px 18px; text-decoration: none; white-space: nowrap; }
.header-action span { margin-left: 12px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; padding-block: 52px 68px; min-height: 660px; }
.eyebrow { margin: 0 0 25px; font-size: 10px; letter-spacing: 2.1px; font-weight: 750; color: var(--accent); }
.small-spark { font-size: 21px; margin-right: 7px; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(54px, 5.85vw, 82px); line-height: 1.04; letter-spacing: -4.2px; font-weight: 650; margin-bottom: 25px; }
em { font: inherit; font-style: normal; color: var(--accent); }
.hero-intro { max-width: 425px; font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 21px; }
.store-links { display: flex; align-items: center; gap: 13px; min-height: 69px; width: fit-content; }
.store-link { display: inline-flex; align-items: center; text-decoration: none; }
.store-link.apple img { width: 150px; height: 50px; }
.store-link.android img { width: 172px; height: auto; }
.availability { font-size: 11px; color: var(--muted); margin: 3px 0 23px; }
.text-link { font-size: 13px; font-weight: 650; text-decoration: none; }
.text-link span { margin-left: 13px; }
.hero-art { position: relative; min-width: 0; padding: 30px 12px 18px; }
.hero-orbit { position: absolute; width: 102%; aspect-ratio: 1; top: 5%; left: -1%; border-radius: 50%; background: var(--rose); }
.hero-orbit::after { content: ''; position: absolute; inset: -20px; border: 1px solid #dfc7b8; border-radius: 50%; }
.hero-phones { position: relative; width: 100%; max-height: 540px; object-fit: contain; }
.art-note { position: absolute; font-size: 18px; font-weight: 650; z-index: 1; }
.note-top { top: -2px; left: 38px; transform: rotate(-7deg); }
.note-bottom { right: 10px; bottom: -10px; transform: rotate(-5deg); }
.note-bottom span { display: inline-block; font-size: 32px; margin-left: 7px; color: var(--accent); }
.decor-spark { position: absolute; right: -15px; top: 8px; color: var(--accent); font-size: 62px; line-height: 1; }
.promise-strip { background: var(--ink); color: var(--cream); }
.promise-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 79px; }
.promise-strip span { font-size: 13px; font-weight: 500; }
.promise-strip span[aria-hidden] { color: #e79980; font-size: 25px; }
.section-space { padding-block: 105px; }
h2 { font-size: clamp(36px, 4vw, 54px); letter-spacing: -2.3px; font-weight: 600; line-height: 1.14; margin-bottom: 27px; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 650; letter-spacing: -.5px; margin-bottom: 11px; }
.problem { display: grid; grid-template-columns: 1fr 1.1fr; gap: 105px; }
.problem .section-heading { padding-top: 16px; }
.problem-stories article { border-top: 1px solid var(--line); padding: 23px 0 7px; }
.story-number { display: block; font-size: 9px; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 9px; font-weight: 700; }
.problem-stories p { color: var(--muted); font-size: 14px; max-width: 440px; }
.feature-find { background: var(--paper); }
.feature-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 95px; }
.feature-art { display: flex; align-items: center; justify-content: center; border-radius: 180px 180px 24px 24px; min-width: 0; overflow: hidden; padding: 26px 25px; }
.feature-art img { max-height: 535px; width: 100%; object-fit: contain; }
.cream-art { background: var(--cream); }
.rose-art { background: var(--rose); border-radius: 24px 24px 180px 180px; }
.feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; max-width: 430px; }
.feature-copy .feature-takeaway { color: var(--ink) !important; font-weight: 550; font-size: 13px !important; line-height: 1.8; margin-top: 30px; padding-top: 21px; border-top: 1px solid var(--line); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0; }
.tag-row span { padding: 6px 12px; font-size: 10px; border-radius: 999px; background: #f8e5db; color: #823b2e; }
.tag-row span:nth-child(2) { background: #eee5f4; color: #74518b; }
.tag-row span:nth-child(3) { background: #e6ede5; color: #4d6e54; }
.tag-row span:nth-child(4) { background: #f0e8d8; color: #776038; }
.player-invitation { color: var(--accent) !important; font-weight: 650; }
.player-art { flex-direction: column; }
.practice-player.phone-frame { width: min(340px, 100%); flex: none; }
.practice-player .demo-video { height: auto; aspect-ratio: 326 / 540; object-fit: cover; background: #292725; }
.player-media { position: relative; }
.player-surface { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.player-surface:focus-visible { outline-offset: -5px; }
.player-time { position: absolute; bottom: 10px; left: 10px; padding: 5px 7px; border-radius: 7px; background: #242220cc; color: white; font-size: 11px; pointer-events: none; font-variant-numeric: tabular-nums; }
.player-panel { background: #f2ece5; }
.player-range { appearance: none; -webkit-appearance: none; display: block; width: calc(100% - 20px); height: 36px; margin: 0 10px; padding: 0; border: 0; background: transparent; cursor: pointer; touch-action: none; }
.player-range::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--range-progress, 50%), #d7ccc2 var(--range-progress, 50%)); }
.player-range::-moz-range-track { height: 5px; border-radius: 3px; background: #d7ccc2; }
.player-range::-moz-range-progress { height: 5px; border-radius: 3px; background: var(--accent); }
.player-range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6.5px; border: 3px solid white; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 4px #6a44382e; }
.player-range::-moz-range-thumb { box-sizing: border-box; width: 18px; height: 18px; border: 3px solid white; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 4px #6a44382e; }
.player-range:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-radius: 5px; }
.player-timeline { height: 32px; width: calc(100% - 16px); margin-inline: 8px; --range-progress: 0%; }
.player-timeline::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; }
.player-timeline::-moz-range-track, .player-timeline::-moz-range-progress { height: 4px; border-radius: 2px; }
.player-timeline::-webkit-slider-thumb { width: 4px; height: 16px; margin-top: -6px; border: 0; border-radius: 2px; box-shadow: none; }
.player-timeline::-moz-range-thumb { width: 4px; height: 16px; border: 0; border-radius: 2px; box-shadow: none; }
.player-speed-panel { height: 64px; padding-inline: 16px; }
.player-speed-heading { display: flex; align-items: center; justify-content: space-between; height: 24px; font-size: 11px; font-weight: 700; color: var(--muted); }
.player-speed-heading output { color: var(--accent); font-weight: 900; font-size: 12px; }
.player-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; }
.player-icon { display: block; flex: none; width: 14px; height: 14px; }
.player-icon[hidden] { display: none; }
.player-controls button { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 0 3px; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; touch-action: manipulation; user-select: none; }
.player-controls button:active { opacity: .6; }
.practice-player .demo-status { color: var(--accent); margin: 0; padding-inline: 10px; min-height: 0; }
.practice-player .demo-status:not(:empty) { padding-block: 8px; }
html:not([data-platform]) .player-panel, html:not([data-platform]) .player-surface { display: none; }
.progress-section { background: #eee9df; }
.progress-art { background: #e3dece; border-radius: 24px 180px 24px 24px; }
.centered { text-align: center; max-width: 820px; margin-inline: auto; }
.centered > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.import-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 65px; }
.import-steps article { display: flex; gap: 19px; padding: 22px 24px; margin-block: 5px; }
.step-number { flex: 0 0 30px; display: grid; place-items: center; height: 30px; border: 1px solid #d0c5b9; border-radius: 50%; font-size: 12px; }
.import-steps h3 { font-size: 18px; margin-bottom: 5px; }
.import-steps p { font-size: 13px; color: var(--muted); margin-bottom: 0; }
.active-step { background: var(--rose); border-radius: 18px; }
.active-step .step-number { border-color: var(--accent); background: var(--accent); color: white; }
.instagram-note { padding: 26px 24px 0; border-top: 1px solid var(--line); margin-top: 30px; }
.instagram-note span { color: var(--accent); font-size: 22px; margin-right: 8px; }
.demo-stage { position: relative; display: flex; flex-direction: column; align-items: center; background: #ead6c6; padding: 40px 25px 20px; border-radius: 180px 180px 24px 24px; }
.demo-note { font-size: 18px; font-weight: 650; margin-bottom: 24px; color: #674638; }
.phone-frame { width: min(250px, 100%); border: 7px solid #302b28; border-radius: 29px; overflow: hidden; background: var(--cream); box-shadow: 0 25px 45px #55433426; position: relative; }
.demo-video { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1602; object-fit: contain; background: var(--cream); }
.video-toggle { position: absolute; bottom: 17px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; align-items: center; border: 1px solid #ffffff70; background: #302b28ef; color: #fffefb; padding: 8px 13px; border-radius: 999px; font-size: 11px; white-space: nowrap; cursor: pointer; box-shadow: 0 2px 9px #0002; }
.video-toggle:hover { background: #be533f; }
html:not([data-platform]) .video-toggle { display: none; }
.demo-caption { margin: 20px 0 0; font-size: 10px; color: #674638; text-align: center; }
.demo-status { margin: 5px 0 0; font-size: 11px; min-height: 17px; text-align: center; color: #674638; }
.collection-section { background: var(--paper); }
.collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 42px; }
.collection-grid article { border-radius: 24px; padding: 37px 37px 0; overflow: hidden; min-height: 430px; }
.collection-grid p { color: var(--muted); font-size: 14px; max-width: 350px; }
.boards-panel { background: #eee9df; }
.share-panel { background: var(--rose); }
.share-panel img { height: 300px; width: 100%; object-fit: contain; object-position: center top; margin-top: 20px; }
.board-stack { position: relative; height: 245px; margin-top: 37px; }
.board-mini { position: absolute; width: 69%; padding: 20px 25px; border-radius: 17px; border: 1px solid var(--line); box-shadow: 0 15px 25px #302b2810; background: var(--paper); }
.board-mini > span:first-child { font-size: 35px; line-height: 1; display: block; margin-bottom: 25px; }
.board-mini strong { display: block; font-size: 23px; font-weight: 600; letter-spacing: -.8px; }
.board-mini > span:last-child { font-size: 10px; color: var(--muted); }
.salsa { transform: rotate(8deg); right: 0; color: #93703e; }
.bachata { transform: rotate(-8deg); left: 12px; top: 23px; color: var(--accent); }
.storage-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.storage-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.storage-copy .storage-detail { font-size: 11px !important; padding-top: 15px; max-width: 390px; }
.storage-art { padding: 50px 25px; background: var(--paper); border-radius: 24px; display: flex; flex-direction: column; align-items: center; }
.film-strip { display: flex; gap: 5px; padding: 12px 7px; border-block: 5px dotted #bbb0a5; width: 100%; }
.film-strip i { height: 65px; flex: 1; background: #e7ded4; border-radius: 3px; }
.film-strip .selected-frame { background: var(--accent); }
.storage-label { font-size: 11px; color: var(--muted); margin-top: 13px; }
.storage-arrow { font-size: 45px; font-family: Georgia, serif; color: var(--accent); margin-block: 12px; }
.focus-clip { background: var(--rose); display: flex; align-items: center; gap: 17px; padding: 23px; border-radius: 12px; width: 100%; }
.focus-clip > span { background: var(--accent); color: white; width: 39px; height: 44px; display: grid; place-items: center; border-radius: 6px; flex-shrink: 0; }
.focus-clip strong { display: block; font-size: 13px; font-weight: 650; }
.focus-clip div span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.dance-moment { position: relative; min-height: 580px; overflow: hidden; background: var(--ink); }
.dance-moment > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.moment-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #302b28dc 0%, #302b2855 65%, #302b2815 100%); }
.moment-copy { position: relative; padding-block: 92px; color: var(--paper); }
.moment-copy .eyebrow { color: #edb19b; }
.moment-copy h2 { font-size: clamp(45px, 5.2vw, 70px); }
.moment-copy em { color: #edb19b; }
.moment-copy > p:last-child { font-size: 16px; color: #f1e1d7; }
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 90px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 15px; font-weight: 550; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 25px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { font-size: 13px; color: var(--muted); padding-right: 30px; padding-bottom: 16px; }
.closing { position: relative; background: var(--rose); padding: 65px 25px; border-radius: 25px; text-align: center; margin-bottom: 80px; }
.closing h2 { font-size: clamp(38px, 4.7vw, 65px); }
.closing > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.closing-spark { position: absolute; font-size: 100px; right: 8%; top: 13%; color: #be533f38; }
.primary-action { display: inline-flex; align-items: center; gap: 25px; background: var(--accent); color: #fff; text-decoration: none; padding: 14px 22px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-top: 12px; }
.primary-action:hover { background: #a64433; }
.site-footer { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 22px; padding-block: 32px; }
.site-footer .brand { font-size: 22px; }
.site-footer .brand img { width: 34px; }
.site-footer > p { margin: 0 auto 0 0; font-size: 11px; color: var(--muted); }
.site-footer nav { gap: 20px; }
.site-footer nav a { font-size: 11px; color: var(--muted); text-decoration: none; }
@media (min-width: 1450px) { .hero { min-height: 700px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .site-header nav { gap: 18px; }
  .hero { min-height: 610px; padding-block: 40px 55px; }
  h1 { font-size: 58px; letter-spacing: -3px; }
  .feature-layout, .problem, .storage-section, .faq { gap: 45px; }
  .feature-art { padding: 18px; }
  .feature-art img { max-height: 450px; }
  .import-layout { gap: 45px; }
  .section-space { padding-block: 75px; }
  .art-note { font-size: 18px; }
  .decor-spark { font-size: 45px; }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 18px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 76px; gap: 12px; }
  .brand { font-size: 23px; }
  .brand img { width: 35px; }
  .site-header nav { display: none; }
  .header-action { font-size: 11px; padding: 9px 13px; }
  .header-action span { margin-left: 6px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-block: 31px 47px; gap: 36px; min-height: auto; }
  .eyebrow { font-size: 9px; letter-spacing: 1.6px; margin-bottom: 17px; }
  .small-spark { font-size: 18px; }
  h1 { font-size: clamp(45px, 12.5vw, 65px); line-height: 1.02; letter-spacing: -2.8px; margin-bottom: 18px; }
  .hero-intro { font-size: 14px; line-height: 1.65; max-width: 390px; margin-bottom: 12px; }
  .store-links { min-height: 62px; gap: 7px; }
  .store-link.apple img { width: 140px; height: auto; }
  .store-link.android img { width: 161px; }
  .availability { font-size: 10px; margin: 0 0 15px; }
  .text-link { font-size: 12px; }
  .hero-art { max-width: 450px; width: 100%; margin-inline: auto; padding-top: 24px; }
  .hero-phones { max-height: 460px; }
  .hero-orbit { width: 92%; left: 4%; }
  .hero-orbit::after { inset: -12px; }
  .note-top { left: 15px; }
  .note-bottom { right: 5px; bottom: -8px; }
  .decor-spark { right: -5px; }
  .promise-strip .wrap { flex-wrap: wrap; justify-content: center; padding-block: 18px; gap: 9px 16px; min-height: 74px; }
  .promise-strip span { font-size: 10px; }
  .promise-strip span[aria-hidden] { font-size: 17px; }
  .promise-strip span:nth-child(4) { display: none; }
  .section-space { padding-block: 61px; }
  h2 { font-size: 38px; letter-spacing: -1.7px; margin-bottom: 21px; }
  h3 { font-size: 18px; }
  .problem, .feature-layout, .import-layout, .storage-section, .faq { display: flex; flex-direction: column; align-items: stretch; gap: 30px; }
  .problem .section-heading { padding-top: 0; }
  .problem-stories article { padding-block: 20px 4px; }
  .problem-stories p { font-size: 13px; }
  .feature-copy { order: 0; }
  .feature-art { order: 1; max-width: 450px; width: 100%; margin-inline: auto; padding: 23px; border-radius: 100px 100px 20px 20px; }
  .feature-art img { max-height: 440px; }
  .feature-copy > p:not(.eyebrow) { font-size: 14px; }
  .feature-copy .feature-takeaway { margin-top: 22px; padding-top: 16px; }
  .centered { text-align: left; }
  .centered > p:not(.eyebrow) { font-size: 14px; }
  .import-layout { margin-top: 28px; }
  .import-steps article { padding: 17px 15px; gap: 13px; }
  .import-steps h3 { font-size: 16px; }
  .import-steps p { font-size: 12px; }
  .instagram-note { padding: 20px 15px 0; }
  .demo-stage { border-radius: 100px 100px 20px 20px; padding-top: 28px; }
  .phone-frame { width: 245px; }
  .collection-grid { grid-template-columns: 1fr; margin-top: 26px; gap: 20px; }
  .collection-grid article { padding: 27px 26px 0; min-height: 380px; }
  .collection-grid p { font-size: 13px; }
  .share-panel img { height: 280px; }
  .storage-copy > p:not(.eyebrow) { font-size: 14px; }
  .storage-art { padding: 33px 22px; }
  .dance-moment { min-height: 470px; }
  .dance-moment > img { object-position: 60% top; }
  .moment-shade { background: linear-gradient(90deg, #302b28d9 0%, #302b2866 100%); }
  .moment-copy { padding-block: 64px; }
  .moment-copy h2 { font-size: 51px; }
  .moment-copy > p:last-child { font-size: 14px; }
  .faq { gap: 15px; }
  .faq-list summary { font-size: 14px; padding-block: 19px; }
  .closing { padding-block: 48px; margin-bottom: 48px; }
  .closing h2 { font-size: 39px; }
  .closing-spark { font-size: 55px; top: 12px; right: 15px; }
  .site-footer { gap: 15px; padding-block: 25px; }
  .site-footer nav { width: 100%; flex-wrap: wrap; gap: 18px; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 43px; }
  .hero-intro { font-size: 13px; }
  .store-link.apple img { width: 126px; }
  .store-link.android img { width: 145px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  h2 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
/* Video galleries share one fixed frame; inactive demos stay unloaded. */
[hidden] { display: none !important; }
.media-tabs { width: 100%; min-width: 0; }
.media-tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; padding: 5px; margin: 0 auto 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); width: fit-content; max-width: 100%; }
.media-tab-list button { border: 0; background: transparent; border-radius: 18px; padding: 9px 12px; color: var(--muted); font-size: 11px; font-weight: 650; cursor: pointer; }
.media-tab-list button[aria-selected="true"] { background: var(--accent); color: white; }
.media-panel { min-width: 0; }
.media-demo.demo-stage { padding: 0; background: transparent; border-radius: 0; }
.media-demo .phone-frame { width: min(265px, 100%); }
.hero-demos.hero-art { background: var(--rose); padding: 16px; border-radius: 100px 100px 26px 26px; }
.hero-gallery .media-panel { min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.hero-gallery .practice-player.phone-frame, .hero-gallery .media-demo .phone-frame { width: min(210px, 100%); }
.hero-gallery .media-demo { width: 100%; }
.hero { padding-block: 10px; min-height: auto; }
.filter-art { flex-direction: column; }
.filter-gallery .media-panel { min-height: 565px; }
.filter-gallery > .privacy-note { margin: -6px auto 16px; }
.privacy-note { margin: 12px auto 0; max-width: 290px; text-align: center; font-size: 10px; line-height: 1.5; color: var(--muted); }
.import-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-top: 50px; }
.import-gallery .media-tab-list { display: flex; flex-direction: column; background: transparent; border: 0; border-radius: 0; width: 100%; margin: 0; padding: 0; gap: 12px; }
.import-gallery .media-tab-list button { display: flex; align-items: flex-start; gap: 16px; border-radius: 18px; padding: 22px; text-align: left; width: 100%; background: transparent; color: var(--ink); }
.import-gallery .media-tab-list button[aria-selected="true"] { background: var(--rose); }
.import-gallery strong { display: block; font-size: 18px; }
.import-gallery small { display: block; font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 4px; }
.import-gallery .media-tab-list button[aria-selected="true"] .step-number { background: var(--accent); color: white; border-color: var(--accent); }
.import-gallery .media-panel { grid-column: 2; grid-row: 1; background: #ead6c6; padding: 35px 25px; border-radius: 100px 100px 24px 24px; }
.import-finish { text-align: center; margin: 28px 0 0; color: var(--muted); font-size: 13px; }
.import-finish strong { color: var(--ink); }
.share-demos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 25px; }
.share-demos > div { min-width: 0; }
.share-role { text-align: center; font-size: 11px !important; text-transform: uppercase; letter-spacing: 1.5px; }
.share-demos .phone-frame { border-width: 5px; border-radius: 22px; }
.share-demos .video-toggle { font-size: 9px; padding: 7px 9px; }
.collection-grid .share-panel { padding-bottom: 28px; }
@media (max-width: 1000px) { .import-gallery { gap: 35px; } }
@media (max-width: 700px) {
  .hero { padding-block: 31px 47px; gap: 18px; }
  .hero-demos.hero-art { padding: 22px 15px; max-width: 450px; }
  .hero-gallery .media-panel { min-height: 595px; }
  .hero-gallery .practice-player.phone-frame, .hero-gallery .media-demo .phone-frame { width: min(265px, 100%); }
  .filter-gallery .media-panel { min-height: 565px; }
  .import-gallery { display: flex; flex-direction: column; gap: 25px; margin-top: 25px; }
  .import-gallery .media-panel { width: 100%; padding: 25px 20px; }
  .import-gallery .media-tab-list button { padding: 18px; }
  .import-gallery strong { font-size: 16px; }
  .import-gallery small { font-size: 12px; }
  .share-demos { grid-template-columns: 1fr; }
  .share-demos .phone-frame { width: min(245px, 100%); }
}
@media (max-width: 359px) { .share-demos { grid-template-columns: 1fr; } }

/* Compact controls keep the same touch targets, with less space between rows. */
.player-timeline { height: 26px; }
.player-speed-panel { height: 50px; }
.player-speed-heading { height: 20px; }
.player-speed { height: 30px; }
.player-controls { padding: 3px 6px 6px; }
.hero-gallery .media-panel { min-height: 0; }
.hero-gallery .media-tab-list { margin-bottom: 10px; }
.hero-gallery .practice-player.phone-frame, .hero-gallery .media-demo .phone-frame { width: min(250px, 100%); aspect-ratio: 250 / 500; }
.hero-gallery .phone-frame > .demo-video { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-fit: contain; }
.hero-gallery .practice-player { display: flex; flex-direction: column; }
.hero-gallery .player-media { flex: 1; min-height: 0; }
.hero-gallery .player-media .demo-video { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-fit: contain; }
.hero-gallery .player-panel { flex: none; }
.progress-art { flex-direction: column; }
.filter-heading { text-align: center; font-size: 13px; font-weight: 650; color: var(--ink); margin: 0 0 10px; }
.privacy-note { margin: 10px auto 0; font-size: 10px; max-width: 290px; line-height: 1.5; }
.collection-grid .privacy-note { font-size: 10px; }
.demo-status:empty { display: none; }
.problem { grid-template-columns: .85fr 1.15fr; gap: 60px; }
.problem-stories article { display: grid; grid-template-columns: 146px 1fr; column-gap: 22px; padding: 22px 0; }
.problem-stories .story-number, .problem-stories h3, .problem-stories p { grid-column: 2; }
.problem-stories p { margin-bottom: 0; }
.story-visual { grid-column: 1; grid-row: 1 / span 3; border-radius: 16px; background: var(--rose); overflow: hidden; min-height: 150px; }
.camera-roll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 10px; align-content: center; transform: rotate(-3deg); }
.roll-tile { position: relative; height: 55px; display: grid; place-items: center; border-radius: 5px; overflow: hidden; font-size: 7px; color: #51463c; background: #e4dacb; }
.roll-tile.holiday { background: linear-gradient(#bdd5d7 55%, #dbbf93 55%); }
.roll-tile.sunset { background: linear-gradient(#e6bd94, #c97662); }
.roll-tile.photo { background: linear-gradient(135deg, #b7c8b3, #e0cfb3); }
.roll-tile.dance { outline: 2px solid var(--accent); }
.roll-tile img { width: 100%; height: 100%; object-fit: cover; }
.roll-tile.dance > span { position: absolute; bottom: 0; background: #302b28c9; color: white; width: 100%; text-align: center; }
.lost-search { padding: 17px 10px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.search-query { background: var(--paper); border-radius: 20px; padding: 8px; font-size: 9px; }
.search-file { padding: 5px 10px; border-radius: 6px; border: 1px solid #ddc8b9; font-size: 9px; color: var(--muted); }
.search-question { font-size: 10px; color: var(--accent); font-weight: 650; }
.repeat-moves { padding: 12px; text-align: center; background: #e7e4d8; }
.repeat-loop { display: block; font-size: 52px; line-height: 1.2; color: var(--accent); }
.repeat-moves > div { display: flex; gap: 4px; justify-content: center; }
.repeat-moves > div > span { padding: 5px 6px; background: var(--paper); border-radius: 12px; font-size: 9px; }
.repeat-moves small { display: block; margin-top: 12px; font-size: 9px; color: var(--muted); }
.board-stack { height: 270px; }
.board-mini { animation: board-front 8s ease-in-out infinite; left: 8%; top: 30px; transform: rotate(-7deg); z-index: 2; }
.board-mini.salsa { animation-delay: -4s; }
.board-mini > span:last-child { display: inline-block; margin-top: 9px; padding: 5px 10px; border-radius: 20px; background: var(--cream); color: var(--ink); font-size: 12px; }
@keyframes board-front {
  0%, 35%, 100% { transform: translate(0, 0) rotate(-7deg); z-index: 2; }
  45% { transform: translate(-18%, -10px) rotate(-12deg); z-index: 2; }
  50%, 85% { transform: translate(27%, -24px) rotate(7deg); z-index: 1; }
  95% { transform: translate(39%, -30px) rotate(12deg); z-index: 1; }
}
.share-sequence-actions { display: flex; justify-content: center; gap: 12px; align-items: center; margin-top: 18px; }
.share-sequence-actions button { border: 1px solid var(--accent); color: var(--accent); background: var(--paper); border-radius: 20px; padding: 8px 14px; font-size: 11px; cursor: pointer; }
.share-sequence-status { font-size: 11px !important; margin: 0; }
.share-demos .video-toggle { display: none; }
@media (max-width: 1000px) { .problem { gap: 35px; } .problem-stories article { grid-template-columns: 112px 1fr; gap: 12px; } }
@media (max-width: 700px) {
  .hero-demos.hero-art { padding: 20px 10px; }
  .hero-gallery .practice-player.phone-frame, .hero-gallery .media-demo .phone-frame { width: min(340px, 100%); }
  .hero-gallery .media-panel { min-height: 0; }
  .hero-gallery .media-tab-list { gap: 2px; padding: 4px; }
  .hero-gallery .media-tab-list button { padding: 9px 8px; font-size: 10px; }
  .problem-stories article { grid-template-columns: 105px 1fr; column-gap: 14px; padding-block: 20px; }
  .story-visual { min-height: 135px; align-self: center; }
  .camera-roll { grid-template-columns: repeat(2, 1fr); padding: 8px; }
  .roll-tile { height: 38px; }
  .problem-stories h3 { font-size: 16px; }
  .share-demos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .share-demos .phone-frame { width: 100%; border-width: 4px; border-radius: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .board-mini { animation: none; }
  .board-mini.salsa { transform: translate(27%, -24px) rotate(7deg); z-index: 1; }
}

.stage-journey { list-style: none; padding: 0; margin: 25px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: stage; }
.stage-journey li { position: relative; padding: 17px 15px 17px 42px; background: var(--paper); border: 1px solid #d9d3c7; border-radius: 14px; counter-increment: stage; }
.stage-journey li::before { content: counter(stage); position: absolute; left: 13px; top: 18px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #8f847d; color: white; font-size: 10px; font-weight: 700; }
.stage-journey li:nth-child(2)::before { background: #cb6049; }
.stage-journey li:nth-child(3)::before { background: #8b74aa; }
.stage-journey li:nth-child(4)::before { background: #467c66; }
.stage-journey strong { display: block; font-size: 13px; margin-bottom: 6px; }
.stage-journey li > span { display: block; font-size: 11px; line-height: 1.6; color: var(--muted); }
.stage-preview { max-width: 320px; margin: 14px auto 0; text-align: center; font-size: 10px; line-height: 1.7; font-weight: 650; color: var(--ink); }
.stage-preview > span { color: var(--accent); padding-inline: 3px; }
@media (max-width: 359px) { .stage-journey { grid-template-columns: 1fr; } }

.stage-journey li { --stage-color: #8f847d; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.stage-journey li:nth-child(2) { --stage-color: #cb6049; }
.stage-journey li:nth-child(3) { --stage-color: #8b74aa; }
.stage-journey li:nth-child(4) { --stage-color: #467c66; }
.stage-journey li.is-active { border-color: var(--stage-color); box-shadow: 0 0 0 2px var(--stage-color), 0 5px 20px #302b2814; background: #fff9f0; }
.stage-preview > [data-stage-start] { display: inline-block; color: var(--muted); border-radius: 6px; padding: 2px 4px; }
.stage-preview > .is-active { background: var(--accent); color: white; }


/* Two-column demo follows the app's poster cards; only the selected clip loads. */
.interactive-filter { width: 100%; min-width: 0; text-align: center; }
.filter-demo-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.filter-demo-buttons button { border: 1px solid var(--line); border-radius: 18px; padding: 10px 12px; min-height: 44px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 650; cursor: pointer; }
.filter-demo-buttons button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: white; }
.filter-demo-invitation { margin: 10px 0 16px; color: var(--accent); font-size: 12px; font-weight: 650; }
.filter-demo-phone.phone-frame { width: min(300px, 100%); height: auto; aspect-ratio: 9 / 19.5; flex: none; margin-inline: auto; display: flex; flex-direction: column; text-align: left; background: var(--cream); line-height: 1.25; }
.filter-phone-status { display: flex; justify-content: space-between; padding: 8px 14px 0; font-size: 10px; font-weight: 750; }
.filter-phone-heading { padding: 9px 12px 5px; }
.filter-phone-heading > strong { font-size: 22px; letter-spacing: -.6px; }
.filter-phone-summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 12px; height: 26px; }
.filter-phone-summary p { margin: 0; font-size: 11px; font-weight: 650; color: var(--muted); }
.filter-phone-summary button { flex: none; padding: 0 6px; min-height: 44px; border: 0; background: transparent; color: var(--accent); font-size: 11px; font-weight: 750; cursor: pointer; }
.filter-active-label { margin: 3px 12px 8px; font-size: 10px; color: var(--accent); }
.filter-demo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; list-style: none; margin: 0; padding: 2px 9px 12px; }
.filter-demo-list:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.filter-move { min-width: 0; }
.filter-move-link { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 15px; overflow: hidden; background: #342f2c; color: white; text-decoration: none; isolation: isolate; }
.filter-move-link::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#0009, transparent 38%, transparent 55%, #000b); z-index: -1; }
.filter-move-link img { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.filter-move-title { display: flex; align-items: start; justify-content: space-between; gap: 4px; padding: 9px; font-size: 13px; line-height: 1.2; text-shadow: 0 1px 4px #0008; }
.filter-move-title > span { font-size: 18px; }
.filter-move-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: #ffffff30; font-size: 15px; }
.filter-move-meta { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 3px; padding: 9px; font-size: 10px; }
.filter-move-meta > span:last-child { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fffdf2; }
.filter-phone-footer { display: flex; justify-content: space-between; gap: 6px; padding: 9px 12px; border-top: 1px solid var(--line); background: var(--paper); font-size: 9px; color: var(--muted); }
.filter-demo-note { margin: 12px 0 0; font-size: 10px; color: var(--muted); }
.hero-gallery .filter-demo-phone.phone-frame { width: min(310px, 100%); height: 460px; aspect-ratio: auto; }
.hero-gallery .filter-demo-buttons button { font-size: 10px; padding-inline: 8px; }
#practice .player-media .demo-video { object-fit: contain; }
@media (max-width: 700px) {
  .filter-demo-phone.phone-frame { height: auto; }
  .hero-gallery .filter-demo-phone.phone-frame { width: min(344px, 100%); }
}

/* One repertoire journey, from existing videos to the dance floor. */
.story-hero.hero { padding-block: 48px 52px; gap: 48px; }
.story-hero h1 { font-size: clamp(34px, 4.55vw, 66px); letter-spacing: -2.3px; }
.story-hero h1 > span { display: block; white-space: nowrap; }
.story-hero .eyebrow { letter-spacing: 1.6px; font-size: 11px; margin-bottom: 22px; }
.story-repertoire { background: var(--rose); border-radius: 90px 90px 24px 24px; padding: 28px; text-align: center; }
.repertoire-caption { margin-bottom: 18px; }
.repertoire-caption strong { display: block; font-size: 19px; }
.repertoire-caption > span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.story-repertoire .filter-demo-phone { height: auto; }
.story-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-path a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 12px; font-weight: 650; }
.story-path a > span { color: var(--accent); font-size: 11px; }
.story-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 42px; }
.story-gallery-side, .story-repertoire-side { padding: 24px; text-align: center; border-radius: 24px; background: var(--cream); min-width: 0; }
.story-repertoire-side { background: var(--rose); }
.story-side-label { font-size: 10px; letter-spacing: 1.7px; color: var(--accent); font-weight: 750; margin-bottom: 9px; }
.story-comparison h3 { font-size: 21px; margin-bottom: 24px; }
.story-comparison .filter-art { background: transparent; border-radius: 0; padding: 0; }
.story-gallery-phone { width: min(300px, 100%); margin: 144px auto 0; height: auto; aspect-ratio: 9 / 19.5; display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.story-gallery-query { font-size: 11px; color: var(--muted); margin: 6px 12px 15px; }
.story-gallery-grid { flex: 1; min-height: 0; grid-auto-rows: minmax(0, 1fr); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3px; padding: 0 8px; }
.story-gallery-tile { position: relative; min-height: 0; background: var(--line); overflow: hidden; }
.story-gallery-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-gallery-tile small { position: absolute; bottom: 0; left: 0; right: 0; font-size: 8px; padding: 5px 3px; color: white; background: #302b28b3; }
.story-gallery-photo { display: grid; place-items: center; background: linear-gradient(#c5dada 55%, #dfc69f 55%); font-size: 28px; color: #aa7746; }
.story-gallery-question { padding: 15px 12px; color: var(--muted); font-size: 11px; margin: 0; }
.story-side-takeaway { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.story-back-link { margin-top: 15px; font-size: 12px; color: var(--accent); }
@media (max-width: 1000px) and (min-width: 701px) {
  .story-hero.hero { gap: 25px; }
  .story-hero h1 { font-size: 4.3vw; letter-spacing: -1.6px; }
  .story-comparison { gap: 20px; }
  .story-gallery-side, .story-repertoire-side { padding: 20px 12px; }
  .story-gallery-phone { margin-top: 152px; }
}
@media (max-width: 700px) {
  .story-hero.hero { padding-block: 32px; gap: 30px; }
  .story-hero h1 { font-size: clamp(32px, 9.8vw, 46px); letter-spacing: -1.5px; }
  .story-hero .eyebrow { font-size: 9px; }
  .story-repertoire { border-radius: 65px 65px 22px 22px; padding: 23px 15px; }
  .story-path { grid-template-columns: 1fr 1fr; gap: 17px 12px; }
  .story-path a { font-size: 11px; }
  .story-comparison { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .story-gallery-side { padding: 22px; }
  .story-gallery-phone { height: auto; aspect-ratio: auto; margin-top: 0; padding-bottom: 5px; }
  .story-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-gallery-tile { aspect-ratio: 1.15; }
  .story-gallery-tile:nth-child(n+7) { display: none; }
  .story-repertoire-side { padding: 25px 14px; }
}

/* Enlarge the full-proportion phone inside a shorter, usable viewport. */
.phone-crop { --phone-visible-height: 580px; width: min(400px, 100%); height: var(--phone-visible-height); overflow: hidden; margin-inline: auto; border-radius: 29px 29px 0 0; }
.phone-crop .filter-demo-phone.phone-frame { width: 100%; aspect-ratio: 9 / 19.5; height: auto; }
.phone-crop .filter-demo-list { flex: none; height: calc(var(--phone-visible-height) - 120px); padding-bottom: 0; }
.story-repertoire .phone-crop .filter-demo-list { height: calc(var(--phone-visible-height) - 100px); }
.phone-crop .filter-phone-footer { display: none; }
@media (max-width: 1000px) and (min-width: 701px) {
  .phone-crop { --phone-visible-height: 520px; }
}
@media (max-width: 700px) {
  .phone-crop { --phone-visible-height: 540px; }
}
@media (max-width: 359px) {
  .phone-crop { --phone-visible-height: 470px; }
}

/* The real repertoire recording reuses the enlarged, cropped hero phone. */
.hero-overview-demo .phone-crop { position: relative; }
.hero-recording.phone-frame { width: 100%; }
.hero-recording .demo-video { width: 100%; height: auto; aspect-ratio: 324 / 720; object-fit: contain; }
.hero-overview-demo .video-toggle { z-index: 1; }


/* The complete phone stays the same size, with a compact caption and switch. */
.story-hero.hero { align-items: start; }
.story-hero .hero-copy { padding-top: 35px; }
.hero-core-caption { margin-bottom: 16px; }
.hero-core-caption h3 { margin: 0 0 4px; font-size: 21px; line-height: 1.25; }
.hero-core-description { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.hero-core-frame.phone-frame { width: min(400px, 100%); aspect-ratio: 324 / 720; margin-inline: auto; }
.hero-core-screen { position: absolute; inset: 0; background: var(--cream); }
.hero-core-screen > video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--cream); }
.hero-core-tabs { --hero-step: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: min(292px, 100%); margin: 18px auto 0; padding: 3px; border-radius: 999px; background: #e5cec0; isolation: isolate; }
.hero-core-pill { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc((100% - 6px) / 3); border-radius: 999px; background: var(--accent); transform: translateX(calc(var(--hero-step) * 100%)); box-shadow: 0 2px 5px #8b3b2520; z-index: -1; }
.hero-core-tabs button { min-width: 0; padding: 8px 6px; background: transparent; border: 0; border-radius: 999px; color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.hero-core-tabs button[aria-selected="true"] { color: var(--paper); }
.hero-core-tabs button:not(:disabled):hover { color: var(--accent); }
.hero-core-tabs button[aria-selected="true"]:hover { color: var(--paper); }
.hero-core-actions { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; min-height: 30px; }
.hero-core-toggle { border: 0; border-radius: 999px; padding: 5px 10px; background: transparent; color: var(--ink); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hero-core-actions > span { font-size: 10px; color: var(--muted); }
.video-comparison { gap: 24px; }
.video-comparison .media-demo { width: 100%; }
.video-comparison .comparison-phone.phone-frame { width: min(340px, 100%); margin-inline: auto; }
.video-comparison .demo-video, .player-art .comparison-phone .demo-video { aspect-ratio: 324 / 720; }
.player-art > .media-demo { width: 100%; }
.player-art .comparison-phone.phone-frame { width: min(340px, 100%); margin-inline: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero-core-pill { transition: transform 280ms cubic-bezier(.2, 0, 0, 1), box-shadow 280ms ease-out; }
  .hero-core-tabs button { transition: color 180ms ease-out; }
}
@media (max-width: 700px) {
  .story-hero .hero-copy { padding-top: 0; }
  .hero-core-caption h3 { font-size: 19px; }
  .hero-core-description { font-size: 11px; }
  .video-comparison { grid-template-columns: 1fr; gap: 20px; }
  .video-comparison .story-gallery-side, .video-comparison .story-repertoire-side { padding: 16px 8px; border-radius: 16px; }
  .video-comparison h3 { font-size: 18px; margin-bottom: 16px; }
  .video-comparison .story-side-label { font-size: 10px; letter-spacing: 1px; }
  .video-comparison .comparison-phone.phone-frame { border-width: 4px; border-radius: 16px; }
  .video-comparison .story-side-takeaway { font-size: 12px; line-height: 1.5; margin-top: 12px; }
  .video-comparison .video-toggle { padding: 7px 10px; gap: 6px; font-size: 11px; bottom: 14px; }
}
@media (max-width: 359px) {
  .video-comparison { grid-template-columns: 1fr; }
  .video-comparison h3 { min-height: 0; font-size: 17px; }
  .video-comparison .comparison-phone.phone-frame { width: min(240px, 100%); }
}


/* The recorded search race stays side by side, including narrow phones. */
.search-race .video-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.search-race .story-gallery-side, .search-race .story-repertoire-side { padding: 18px 12px 8px; }
.race-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 340px; margin: 0 auto 12px; }
.search-race .race-heading h3 { margin: 0; min-height: 0; font-size: 16px; }
.race-heading output { font-variant-numeric: tabular-nums; font-size: 23px; font-weight: 750; line-height: 1.2; letter-spacing: -.5px; }
.race-result { min-height: 22px; margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.search-race .is-found .race-heading output, .search-race .is-found .race-result { color: var(--accent); }
.search-race .is-found .race-result { font-weight: 750; }
.race-actions { text-align: center; margin-top: 24px; }
.race-start { display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-height: 52px; padding: 12px 25px; border: 0; border-radius: 999px; background: var(--accent); color: var(--paper); font-size: 15px; font-weight: 700; cursor: pointer; }
.race-start:hover { background: #a54635; }
.race-start:disabled { opacity: .65; cursor: wait; }
.race-status { margin: 12px 0 0; min-height: 23px; font-size: 13px; color: var(--ink); }
.race-note { margin: 5px auto 0; max-width: 460px; font-size: 11px; color: var(--muted); line-height: 1.5; }
@media (max-width: 700px) {
  #find .story-find.wrap { width: calc(100% - 20px); }
  #find .section-heading { padding-inline: 12px; }
  .search-race .video-comparison { gap: 8px; margin-top: 24px; }
  .search-race .story-gallery-side, .search-race .story-repertoire-side { padding: 10px 3px 4px; border-radius: 14px; }
  .race-heading { flex-direction: column; gap: 3px; margin-bottom: 9px; }
  .search-race .race-heading h3 { font-size: 12px; }
  .race-heading output { font-size: 21px; }
  .search-race .comparison-phone.phone-frame { width: 100%; max-width: none; border-width: 3px; border-radius: 14px; }
  .race-result { margin-top: 8px; font-size: 10px; }
  .race-actions { margin-top: 18px; }
  .race-start { min-height: 50px; }
  .race-note { padding-inline: 9px; font-size: 10px; }
}


/* Preserve equal phone geometry while making the first result unmistakable. */
.search-race [data-race-side] { position: relative; isolation: isolate; }
.search-race .is-winner { box-shadow: 0 0 0 2px #be533f65, 0 6px 30px #be533f28; background: #f5dfcb; }
.search-race .is-winner .race-result { display: inline-block; min-height: 22px; padding: 1px 12px; border-radius: 999px; background: var(--accent); color: var(--paper); }
.race-confetti { display: none; position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; z-index: 2; }
.race-confetti i { position: absolute; top: 48px; left: calc(7% + var(--piece) * 9%); width: 5px; height: 9px; border-radius: 1px; background: var(--accent); opacity: 0; }
.race-confetti i:nth-child(3n) { background: #d7a341; }
.race-confetti i:nth-child(3n + 1) { background: #e8a899; }
@media (prefers-reduced-motion: no-preference) {
  .search-race .is-winner { animation: race-winner-reveal 350ms cubic-bezier(.2, 0, 0, 1); }
  .is-winner .race-result { animation: race-badge-reveal 350ms cubic-bezier(.2, 0, 0, 1); }
  .is-winner .race-confetti { display: block; }
  .is-winner .race-confetti i { animation: race-confetti-fall 950ms cubic-bezier(.2, 0, .3, 1) both; animation-delay: calc(var(--piece) * 20ms); }
}
@keyframes race-winner-reveal {
  from { box-shadow: 0 0 0 0 #be533f00, 0 0 0 #be533f00; }
  to { box-shadow: 0 0 0 2px #be533f65, 0 6px 30px #be533f28; }
}
@keyframes race-badge-reveal {
  from { transform: translateY(3px) scale(.94); }
  to { transform: translateY(0) scale(1); }
}
@keyframes race-confetti-fall {
  0% { opacity: 0; transform: translateY(-12px) rotate(0deg); }
  15% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(100px) rotate(220deg); }
}

/* The Google PNG has transparent margins: match visible badge height to Apple. */
.store-links { --store-badge-height: 50px; gap: 12px; }
.store-link.apple { height: var(--store-badge-height); width: calc(var(--store-badge-height) * 119.66407 / 40); }
.store-link.apple img { width: 100%; height: var(--store-badge-height); }
.store-link.android { position: relative; overflow: hidden; height: var(--store-badge-height); width: calc(var(--store-badge-height) * 564 / 168); }
.store-link.android img { position: absolute; max-width: none; width: calc(var(--store-badge-height) * 646 / 168); height: calc(var(--store-badge-height) * 250 / 168); left: calc(var(--store-badge-height) * -41 / 168); top: calc(var(--store-badge-height) * -41 / 168); }
@media (max-width: 700px) {
  .store-links { --store-badge-height: 42px; gap: 8px; }
}
@media (max-width: 359px) {
  .store-links { --store-badge-height: 40px; }
}

/* Show the gallery poster until a real playback frame is available. */
.race-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; pointer-events: none; }
.race-confetti i:nth-child(1) { --piece: 0; }
.race-confetti i:nth-child(2) { --piece: 1; }
.race-confetti i:nth-child(3) { --piece: 2; }
.race-confetti i:nth-child(4) { --piece: 3; }
.race-confetti i:nth-child(5) { --piece: 4; }
.race-confetti i:nth-child(6) { --piece: 5; }
.race-confetti i:nth-child(7) { --piece: 6; }
.race-confetti i:nth-child(8) { --piece: 7; }
.race-confetti i:nth-child(9) { --piece: 8; }
.race-confetti i:nth-child(10) { --piece: 9; }


/* Feature summaries sit directly below the Hero description. */
.hero-feature-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0 0 18px; list-style: none; max-width: 440px; }
.hero-feature-tags li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 600; line-height: 1.3; background: var(--paper); }
#import-title, #find-title, #practice-title { font-size: clamp(30px, 3.8vw, 50px); }
.import-section .section-heading > p:last-child, .story-find .section-heading > p:last-child { max-width: 640px; margin-inline: auto; }
.closing .store-links { margin-inline: auto; }
@media (max-width: 700px) {
  .hero-feature-tags { gap: 6px; margin-bottom: 12px; }
  .hero-feature-tags li { font-size: 10px; padding: 5px 8px; }
}
