/* Home page. The look: a scoreboard over a field. Condensed display type for headlines and
   figures, a yard-line backdrop behind the hero, and one signal green for what is live. */
.hub-home { --hm-display: 'Barlow Condensed', var(--font-display); --hm-signal: var(--os-positive); }
.hub-home .os-num { font-family: var(--hm-display); font-stretch: normal; }

/* ------------------------------------------------------------------ hero */
.hm-hero { position: relative; overflow: hidden; padding: 88px 0 72px; border-bottom: 1px solid var(--os-border); }
.hm-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(60% 70% at 78% 40%, rgba(94, 227, 154, .13), transparent 70%),
        repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(255, 255, 255, .045) calc(10% - 1px) 10%);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hm-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.hm-live { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(94, 227, 154, .3); border-radius: 999px; background: rgba(94, 227, 154, .07); color: var(--os-text-muted); font-size: 13px; }
.hm-live .os-num { color: var(--os-text); font-size: 16px; font-weight: 700; }
.hm-live-sep { color: var(--os-text-faint); }
.hm-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hm-signal); box-shadow: 0 0 0 0 rgba(94, 227, 154, .6); animation: hm-pulse 2s infinite; }
@keyframes hm-pulse { 70% { box-shadow: 0 0 0 9px rgba(94, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 227, 154, 0); } }
.hm-hero h1 { font-family: var(--hm-display); font-weight: 800; text-transform: uppercase; font-size: clamp(56px, 7.4vw, 108px); line-height: .9; letter-spacing: -.01em; margin: 28px 0 26px; }
.hm-hero h1 span { display: block; color: var(--hm-signal); }
.hm-lede { max-width: 540px; font-size: 19px; line-height: 1.6; color: var(--os-text-muted); }
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.hm-btn { height: 54px; padding: 0 26px; font-size: 16px; font-weight: 600; border-radius: var(--os-r-md); }
.hm-cta .os-btn-primary { background: var(--hm-signal); color: #06200f; }
.hm-cta .os-btn-primary:hover { background: #7cf0b0; }
.hm-platforms { color: var(--os-text-faint); font-size: 14px; }
.hm-platforms span { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 4px; background: var(--os-surface-raised); color: var(--os-text); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* The worked example: lines in, points out. */
.hm-proof { margin: 0; padding: 26px; border: 1px solid var(--os-border-strong); border-radius: 14px; background: linear-gradient(180deg, rgba(35, 43, 48, .92), rgba(23, 29, 33, .96)); box-shadow: var(--os-shadow); }
.hm-proof-cap { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--os-text-faint); margin-bottom: 18px; }
.hm-proof-player { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--os-border); }
.hm-proof-player img { width: 84px; height: 62px; object-fit: cover; object-position: top; border-radius: 8px; background: var(--os-surface-raised); }
.hm-proof-player strong { display: block; font-family: var(--hm-display); font-size: 30px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.hm-proof-player small { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--os-text-muted); font-size: 13px; }
.hm-proof-step { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--os-text-faint); }
.hm-proof-step .os-num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--os-surface-raised); color: var(--os-text); font-size: 13px; }
.hm-proof-lines { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hm-proof-lines li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--os-border-soft); }
.hm-proof-lines span { font-size: 12px; color: var(--os-text-faint); }
.hm-proof-lines b { font-size: 26px; font-weight: 700; line-height: 1.1; }
.hm-proof-result { display: flex; align-items: flex-end; gap: 12px; }
.hm-proof-pts { font-size: 96px; font-weight: 800; line-height: .85; color: var(--hm-signal); letter-spacing: -.01em; }
.hm-proof-unit { padding-bottom: 6px; font-family: var(--hm-display); font-size: 22px; font-weight: 700; color: var(--os-text); }
.hm-proof-unit small { font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--os-text-faint); }
.hm-proof .hm-range { margin-top: 16px; height: 8px; width: 100%; }

/* Range bar: implied floor to ceiling, projection marked. Shared by the proof card and board. */
.hm-range { position: relative; display: block; height: 6px; width: 100%; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.hm-range-band { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: rgba(94, 227, 154, .35); }
.hm-range-mark { position: absolute; top: -3px; bottom: -3px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--hm-signal); }

/* ------------------------------------------------------------------ tape */
.hm-tape { display: flex; align-items: stretch; border-bottom: 1px solid var(--os-border); background: var(--os-bg-deep); }
.hm-tape-label { flex: none; padding: 14px 22px; border-right: 1px solid var(--os-border); font-family: var(--hm-display); font-size: 17px; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.hm-tape-label span { font-family: var(--font-body); font-size: 11px; font-weight: 400; text-transform: none; color: var(--os-text-faint); }
.hm-tape-track { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.hm-tape-run { list-style: none; display: flex; flex: none; animation: hm-tape 70s linear infinite; }
.hm-tape:hover .hm-tape-run { animation-play-state: paused; }
.hm-tape-run li { display: flex; align-items: center; gap: 9px; padding: 0 26px; border-right: 1px solid var(--os-border-soft); white-space: nowrap; font-size: 14px; }
.hm-tape-name { font-weight: 600; }
.hm-tape-team { color: var(--os-text-faint); font-size: 12px; }
.hm-tape-run b { font-size: 22px; font-weight: 700; color: var(--hm-signal); }
@keyframes hm-tape { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .hm-tape-run { animation: none; }
    .hm-tape-run[aria-hidden] { display: none; }
    .hm-tape-track { overflow-x: auto; }
    .hm-live-dot { animation: none; }
}

/* ------------------------------------------------------------------ board */
.hm-board-section { padding-top: 80px; padding-bottom: 40px; }
.hm-board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.hm-board-head h2, .hm-h2 { font-family: var(--hm-display); font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 4.4vw, 58px); line-height: .95; }
.hm-board-sub { margin-top: 10px; color: var(--os-text-faint); font-size: 14px; }
.hm-board-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-seg button { padding: 9px 14px; font-size: 13px; }

/* #1 is the spotlight; 2-5 stack beside it. */
.hm-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-auto-rows: minmax(84px, auto); gap: 10px; }
.hm-list li { display: grid; grid-template-columns: 30px 64px minmax(0, 1fr) 120px 92px; align-items: center; gap: 16px; padding: 12px 20px; border: 1px solid var(--os-border); border-radius: 12px; background: var(--os-surface); transition: border-color .15s; }
.hm-list li:hover { border-color: var(--os-border-strong); }
.hm-list li:not(:first-child) { grid-column: 2; }
.hm-list .rank { font-size: 24px; font-weight: 700; color: var(--os-text-faint); }
.hm-list .shot { width: 64px; height: 48px; border-radius: 6px; }
.hm-list .who strong { font-size: 16px; font-weight: 600; }
.hm-list .who small { font-size: 12px; }
.hm-list .trend { display: flex; flex-direction: column; gap: 8px; }
.hm-list .pts { display: flex; flex-direction: column; align-items: flex-end; }
.hm-list .pts b { font-size: 36px; font-weight: 700; line-height: 1; }
.hm-list .pts small { margin-top: 3px; font-size: 11px; color: var(--os-text-faint); letter-spacing: .04em; text-transform: uppercase; }
.hm-list li:first-child {
    grid-column: 1; grid-row: 1 / span 4; position: relative; overflow: hidden;
    grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; align-items: start; gap: 14px 16px; padding: 28px;
    border-color: rgba(94, 227, 154, .35);
    background: radial-gradient(90% 70% at 100% 0%, rgba(94, 227, 154, .14), transparent 65%), var(--os-surface);
}
.hm-list li:first-child .rank { grid-column: 1; grid-row: 1; font-size: 15px; color: var(--hm-signal); }
.hm-list li:first-child .rank::before { content: 'No. '; }
.hm-list li:first-child .shot { grid-column: 2; grid-row: 1 / span 2; width: 150px; height: 110px; border-radius: 10px; background: transparent; }
.hm-list li:first-child .who { grid-column: 1; grid-row: 2; align-self: end; }
.hm-list li:first-child .who strong { font-family: var(--hm-display); font-size: 40px; font-weight: 800; line-height: .95; text-transform: uppercase; white-space: normal; }
.hm-list li:first-child .who small { font-size: 14px; margin-top: 6px; }
.hm-list li:first-child .pts { grid-column: 1 / -1; grid-row: 3; flex-direction: row; align-items: baseline; gap: 10px; }
.hm-list li:first-child .pts b { font-size: 104px; font-weight: 800; line-height: .85; color: var(--hm-signal); }
.hm-list li:first-child .pts small { font-size: 13px; }
.hm-list li:first-child .trend { grid-column: 1 / -1; grid-row: 4; flex-direction: row; align-items: flex-end; gap: 22px; }
.hm-list li:first-child .hm-spark { height: 36px; width: 120px; }
.hm-list li:first-child .hm-range { align-self: center; }
.hm-list .hm-empty { grid-column: 1 / -1 !important; grid-row: auto !important; display: block; padding: 32px; color: var(--os-text-muted); }
.hm-board > .hm-empty { padding: 32px 0; color: var(--os-text-muted); }

.hm-spark { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; width: 84px; }
.hm-spark i { flex: 1; min-height: 3px; border-radius: 2px 2px 0 0; background: var(--os-border-strong); }
.hm-spark i:last-child { background: var(--os-accent); }
.hm-board-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; }
.hm-board-foot a { color: var(--hm-signal); font-weight: 600; text-decoration: none; }
.hm-board-foot a:hover { text-decoration: underline; }
.hm-legend { display: inline-flex; align-items: center; gap: 10px; color: var(--os-text-faint); font-size: 12px; }
.hm-legend .hm-spark { width: 24px; height: 14px; }

/* ------------------------------------------------------------------ tools */
.hm-tools-section { padding-top: 64px; padding-bottom: 72px; }
.hm-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.hm-tool { position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 26px; border: 1px solid var(--os-border); border-radius: 14px; background: var(--os-surface); text-decoration: none; overflow: hidden; transition: border-color .15s, transform .15s, background .15s; }
.hm-tool::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--hm-signal); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.hm-tool:hover { border-color: var(--os-border-strong); background: var(--os-surface-2); transform: translateY(-3px); }
.hm-tool:hover::after { transform: scaleX(1); }
.hm-tool-n { font-size: 64px; font-weight: 800; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--os-border-strong); }
.hm-tool:hover .hm-tool-n { -webkit-text-stroke-color: var(--hm-signal); }
.hm-tool h3 { margin: auto 0 8px; padding-top: 28px; font-family: var(--hm-display); font-size: 30px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.hm-tool p { color: var(--os-text-muted); font-size: 15px; line-height: 1.5; }
.hm-tool-go { position: absolute; top: 24px; right: 24px; font-size: 22px; color: var(--os-text-faint); transition: transform .15s, color .15s; }
.hm-tool:hover .hm-tool-go { color: var(--hm-signal); transform: translateX(4px); }

/* ------------------------------------------------------------------ plus */
.hm-plus { padding-bottom: 64px; }
.hm-plus-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px 48px; border: 1px solid rgba(94, 227, 154, .3); border-radius: 18px; background: radial-gradient(70% 140% at 0% 0%, rgba(94, 227, 154, .16), transparent 60%), linear-gradient(135deg, var(--os-surface-2), var(--os-bg-deep)); }
.hm-plus-tag { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--hm-signal); color: #06200f; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hm-plus-card h2 { margin: 16px 0 12px; font-family: var(--hm-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 3.8vw, 50px); line-height: .95; }
.hm-plus-card p { max-width: 560px; color: var(--os-text-muted); font-size: 16px; line-height: 1.6; }
.hm-plus-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex: none; }
.hm-plus-price { color: var(--os-text-faint); font-size: 14px; white-space: nowrap; }
.hm-plus-price .os-num { margin-right: 4px; font-size: 56px; font-weight: 800; line-height: 1; color: var(--os-text); }
.hm-plus .os-btn-primary { background: var(--hm-signal); color: #06200f; }
.hm-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; font-size: 14px; color: var(--os-text-muted); }
.hm-more > span { margin-right: auto; color: var(--os-text-faint); }
.hm-more a { text-decoration: none; }
.hm-more a:hover { color: var(--os-text); text-decoration: underline; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
    .hm-hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hm-proof { max-width: 560px; }
    .hm-list { grid-template-columns: 1fr; }
    .hm-list li:not(:first-child), .hm-list li:first-child { grid-column: 1; grid-row: auto; }
    .hm-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .hm-hero { padding: 40px 0 44px; }
    .hm-hero::before { background: radial-gradient(90% 50% at 80% 30%, rgba(94, 227, 154, .12), transparent 70%), repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(255, 255, 255, .04) calc(20% - 1px) 20%); }
    .hm-live { font-size: 12px; }
    .hm-hero h1 { font-size: clamp(48px, 14vw, 64px); margin: 22px 0 18px; }
    .hm-lede { font-size: 16px; }
    .hm-cta { flex-direction: column; margin: 26px 0 18px; }
    .hm-btn { width: 100%; justify-content: center; }
    .hm-proof { padding: 20px; }
    .hm-proof-pts { font-size: 76px; }
    .hm-tape-label { padding: 12px 14px; font-size: 14px; }
    .hm-tape-run li { padding: 0 18px; }
    .hm-board-section { padding-top: 52px; }
    .hm-board-controls, .hm-board-controls .hm-seg { width: 100%; }
    .hm-seg button { flex: 1; padding: 9px 6px; }
    .hm-list li { grid-template-columns: 24px 52px minmax(0, 1fr) 64px; gap: 12px; padding: 12px 14px; }
    .hm-list li .trend { display: none; }
    .hm-list .shot { width: 52px; height: 40px; }
    .hm-list .pts b { font-size: 30px; }
    .hm-list li:first-child { grid-template-columns: 1fr auto; padding: 22px; }
    .hm-list li:first-child .trend { display: flex; }
    .hm-list li:first-child .shot { width: 110px; height: 80px; }
    .hm-list li:first-child .who strong { font-size: 34px; }
    .hm-list li:first-child .pts b { font-size: 84px; }
    .hm-tools { grid-template-columns: 1fr; }
    .hm-tool { min-height: 0; padding: 22px; }
    .hm-tool h3 { padding-top: 18px; font-size: 26px; }
    .hm-tool-n { font-size: 48px; }
    .hm-plus-card { flex-direction: column; align-items: stretch; gap: 24px; padding: 28px 22px; }
    .hm-plus-cta { flex-direction: row; justify-content: space-between; align-items: center; }
    .hm-plus-cta { flex-wrap: wrap; }
    .hm-plus-cta .hm-btn { width: auto; padding: 0 18px; }
    .hm-plus-price .os-num { font-size: 44px; }
    .hm-more > span { flex-basis: 100%; }
}
