/* SwingCheck AI — simplified homepage (owner 2026-12-01: "too complicated, too much text").
   Only layout on top of home.css: same tokens (--c, --y, --ink, --mute, --line, --c-soft), same buttons. */

/* hero: headline + one sentence + one action, Coach Austin introduced beside it */
.hm-hero--premium .hm-hero-copy .hm-lead { max-width: 34ch; }
.hm-austin-card { display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 26px 28px; box-shadow: 0 18px 50px rgba(10, 26, 128, .12); color: var(--ink); }
.hm-austin-kicker { display: block; font-size: 14px; font-weight: 700; color: var(--c); }
.hm-austin-card h2 { margin: 2px 0 8px; font-size: clamp(26px, 3vw, 34px); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.hm-austin-card p { margin: 0 0 16px; font-size: 16px; line-height: 1.5; color: var(--slate); }
.hm-austin-card small { display: block; margin-top: 10px; font-size: 13px; color: var(--mute); }

/* the eight categories: one clean accordion */
.hm-explore-sec .hm-xp-head { margin-bottom: 26px; }
.hm-cats { display: grid; gap: 12px; max-width: 920px; margin: 0 auto; }
.hm-cat { background: #fff; color: var(--ink); border-radius: 16px; border: 1px solid rgba(255, 255, 255, .5); overflow: hidden; }
.hm-cat > summary { list-style: none; display: grid; grid-template-columns: 48px 1fr 24px; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; min-height: 72px; }
.hm-cat > summary::-webkit-details-marker { display: none; }
.hm-cat > summary:focus-visible { outline: 3px solid var(--y); outline-offset: -3px; }
.hm-cat-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--c-soft); display: grid; place-items: center; }
.hm-cat-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-cat-t b { display: block; font-size: 18px; line-height: 1.25; color: var(--ink); }
.hm-cat-t span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--slate); }
.hm-cat-chev { width: 12px; height: 12px; border-right: 2.5px solid var(--c); border-bottom: 2.5px solid var(--c); transform: rotate(45deg); justify-self: center; transition: transform .2s; }
.hm-cat[open] .hm-cat-chev { transform: rotate(225deg); }
.hm-cat-body { padding: 0 20px 22px 84px; font-size: 15px; line-height: 1.6; color: var(--slate); }
.hm-cat-body p { margin: 0 0 10px; max-width: 70ch; color: var(--slate); }
.hm-cat-body b { color: var(--ink); }
.hm-cat-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.hm-cat-acts > * { white-space: normal; max-width: 100%; text-align: center; height: auto; min-height: 44px; }
.hm-cat-more { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.hm-explore-sec .hm-disclaimer { max-width: 920px; margin: 22px auto 0; }

/* "more" panels (parents) */
.hm-more { margin-top: 18px; }
.hm-more > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c); min-height: 44px; }
.hm-more > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.hm-more[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.hm-more .hm-parents-grid { margin-top: 14px; }

/* calmer sections: fewer, bigger gaps */
.hm-global .hm-sec-head, .hm-start-head { margin-bottom: 22px; }

@media (max-width: 760px) {
  .hm-austin-card { padding: 18px 18px 20px; border-radius: 18px; text-align: left; }
  .hm-austin-card h2 { font-size: 22px; margin: 0 0 4px; }
  .hm-austin-card p { font-size: 15px; margin: 0 0 12px; }
  .hm-austin-card small { display: none; }
  .hm-hero--premium .hm-hero-cta { gap: 10px; }
  .hm-cat > summary { grid-template-columns: 40px 1fr 20px; gap: 12px; padding: 16px; }
  .hm-cat-ic { width: 40px; height: 40px; }
  .hm-cat-body { padding: 0 16px 18px; }
  .hm-cat-acts > * { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .hm-cat-chev, .hm-more > summary::after { transition: none; } }

/* the demonstration: replay + key numbers first; the full read-out (phases, Coach Austin, drill) on request */
.hm-dx-compact .scpp-side, .hm-dx-compact .scpp-grid2, .hm-dx-compact .scpp-int, .hm-dx-compact .hm-dx-tracked,
.hm-dx-compact .hm-dx-grid, .hm-dx-compact .hm-an-table { display: none !important; }
.hm-dx-compact .scpp-main { grid-template-columns: 1fr !important; }
.hm-dx-more { display: flex; justify-content: center; margin-top: 18px; }

/* demonstration size (owner 2026-12-01): the whole video AND its controls fit the screen. At most ~960px wide and 60% of
   the viewport tall (less when the header, controls and Coach Austin's bar need the room), centred, in the footage's own
   shape — the overlays are drawn into the same letterboxed frame, so they stay aligned at every size. */
#hmDxPanel .scpp-stage {
  --dx-h: max(200px, min(60vh, calc(100vh - 290px)));
  --dx-h: max(200px, min(60svh, calc(100svh - 290px)));
  aspect-ratio: var(--scpp-ar, 1.7778) !important;
  width: 100%;
  max-width: min(100%, 960px, calc(var(--dx-h) * var(--scpp-ar, 1.7778)));
  margin-inline: auto;
}
#hmDxPanel .scpp-ctrl, #hmDxPanel .scpp-tl { max-width: 960px; margin-inline: auto; }
/* phones: the controls wrap to more rows and Coach Austin's bar is taller, so the video leaves them more room */
@media (max-width: 760px) {
  #hmDxPanel .scpp-stage { --dx-h: max(180px, min(60vh, calc(100vh - 375px))); --dx-h: max(180px, min(60svh, calc(100svh - 375px))); }
}

/* "For Parents" photograph (owner 2026-12-01): the picture is a 2:3 portrait — show it whole, in its own shape, instead of
   cropping it into a 3:2 frame (which cut off the athletes' heads). Same rounded corners and shadow; sized to the column. */
.hm-parents-photo { aspect-ratio: 682 / 1024; width: 100%; max-width: min(420px, calc(78vh * 682 / 1024)); margin-inline: auto; }
.hm-parents-photo img { object-fit: contain; }
@media (max-width: 760px) { .hm-parents-photo { max-width: min(340px, calc(70vh * 682 / 1024)); } }
