/* ══════════════════════════════════════════════════════════════════════
   The hub at /: the pitch with the real overlay as its picture, and the
   overlays on offer. Everything it shares with the start pages - the top
   bar, buttons, chips, the player card, the footer - is shared/page.css;
   this file is only what the hub alone has.
   ══════════════════════════════════════════════════════════════════════ */

/* ── the pitch: on a wide screen it fills the first screen under the top bar (63px), title and picture in its middle ── */
.hero { display: flex; align-items: center; padding: 48px 0; }
.hero > .wrap { width: 100%; }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 48px; align-items: center;
}
@media (min-width: 1001px) { .hero { min-height: min(calc(100vh - 63px), 960px); min-height: min(calc(100svh - 63px), 960px); } }
@media (max-width: 1000px) { .hero { padding: 44px 0 48px; } .hero-in { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
/* The headline shrinks with its column to stay on two lines. */
.hero h1 { max-width: 15ch; font-size: min(clamp(34px, 5vw, 56px), 10.4cqi); }
.hero .intro { padding: 0; max-width: none; container-type: inline-size; }
/* The picture, tilted a little, with one sticker: the three platforms in
   one window. The sticker sits over the card's corner, so the card keeps
   room around itself. */
.herocard { position: relative; transform: rotate(-2deg); margin: 20px 16px 28px 20px; }
.herocard .player { box-shadow: 0 34px 70px rgba(0, 0, 0, 0.5); }
.herocard .scene::after { background: radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.45) 100%); }
/* A 4:3 stage here, for the taller chat in hub.js. */
.herocard .scene { aspect-ratio: 4 / 3; }
/* The overlay in the middle of the scene. */
.herocard .scene-ov { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%) scale(var(--k, 1)); transform-origin: center; }
/* The badge in the bar's right corner. */
.custom {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px 0 8px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}
.custom svg { width: 12px; height: 12px; flex-shrink: 0; }
.custom path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.custom circle { fill: currentColor; }
@media (max-width: 519px) { .bar-note .more { display: none; } }
.stk {
  position: absolute; left: 22px; bottom: -22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 12px;
  background: var(--bg2); border: 2.5px solid var(--fg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  transform: rotate(-5deg);
}
.stk img { width: 18px; height: 18px; }
/* The logo as a second sticker, over the card's top left corner. */
.stk-logo {
  position: absolute; left: -16px; top: -22px; z-index: 3;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 14px;
  background: var(--bg2); border: 2.5px solid var(--fg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  transform: rotate(5deg);
}
.stk-logo svg { width: 42px; height: 42px; color: var(--accent); fill: currentColor; }
.herocard .bar { padding-left: 62px; }
@media (max-width: 600px) {
  .herocard { margin: 16px 8px 30px 10px; } .stk { font-size: 12px; }
  .stk-logo { left: -8px; top: -18px; width: 54px; height: 54px; } .stk-logo svg { width: 36px; height: 36px; }
  .herocard .bar { padding-left: 58px; }
}
/* From 1500px up the column widens towards 1440px and the pitch grows with it. */
@media (min-width: 1500px) {
  .wrap { max-width: max(1180px, min(1440px, 74vw)); }
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(560px, 34vw, 700px)); }
  .hero h1 { font-size: min(clamp(56px, 3.4vw, 68px), 10.4cqi); }
  .hero .lead { font-size: 19px; }
  .hero .btn { height: 50px; padding: 0 24px; font-size: 16px; }
}

/* ── the overlays: a band of their own across the whole width ── */
.band { padding: 72px 0 80px; background: var(--bg0); border-block: 1px solid var(--line); }
.band h2 { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 8px; }
.band .sub { color: var(--mute); margin-bottom: 28px; max-width: 60ch; }
#obs, .below { margin-top: 56px; }
@media (max-width: 600px) { .band { padding: 48px 0 56px; } #obs, .below { margin-top: 40px; } }
/* The OBS steps on a card of their own: the words beside the picture. */
#obs { scroll-margin-top: 16px; }
#obs .note { font-size: 14px; }
.how { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 36px; }
.how .ways { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .how { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .how .shot { margin-top: 0; }
}
/* Two cards of one width; each spans two rows (subgrid), so pictures and titles line up. */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.ocard {
  min-width: 0;
  display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden;
  transition: transform 0.18s, border-color 0.18s;
}
.ocard:hover { transform: translateY(-3px); border-color: var(--line2); }
/* The overlay across the card, with room above it for the tag. */
.thumb { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 58px 24px 24px; background: var(--scene); overflow: hidden; }
.thumb img { display: block; width: 100%; height: auto; }
.thumb .tag { position: absolute; left: 14px; top: 14px; z-index: 2; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--bg2); border: 1px solid var(--line);
  font-size: 13px; color: var(--mute);
}
.chip b { color: var(--fg); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--second); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ocard .body { padding: 18px 20px 20px; display: grid; gap: 10px; align-content: start; }
.ocard h3 { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.15; }
.ocard .desc { color: var(--mute); font-size: 14.5px; }
.ocard .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.ocard .btn { height: 40px; padding: 0 18px; font-size: 14px; }
