/* hero */
.hero { padding-top: 88px; display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 56px; align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; }
.hero h1 { font-size: 72px; line-height: 1.08; font-weight: 900; letter-spacing: 0.01em; }
.hero .lead { margin: 0; font-size: 18px; line-height: 1.75; color: var(--text-2); max-width: 460px; }
.cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; letter-spacing: 0.04em; color: var(--muted); }
.meta a { color: var(--text-3); }
.meta a:hover { color: var(--text-hi); }

/* screenshot in a bracket frame, true colours with an ambient glow */
.shot { position: relative; padding: 22px; }
.shot .corner { position: absolute; width: 44px; height: 44px; border: 0 solid var(--cyan); pointer-events: none; z-index: 2; }
.shot .c-tl { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.shot .c-tr { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.shot .c-bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.shot .c-br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.shot .glow {
    position: absolute;
    left: 22px;
    top: 22px;
    width: calc(100% - 44px);
    filter: blur(56px) saturate(1.3);
    opacity: 0.5;
    transform: scale(1.08);
    pointer-events: none;
    transition: opacity .6s ease;
}
.screen { position: relative; overflow: hidden; border: 1px solid rgba(95, 214, 234, 0.3); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); background: #05080d; }
.screen::after {
    /* faint cool grade, edge vignette, scanlines and a top light edge; the centre stays untouched */
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(155, 232, 244, 0.55), rgba(155, 232, 244, 0.55)) top / 100% 1px no-repeat,
        repeating-linear-gradient(0deg, rgba(3, 10, 14, 0.04) 0px, rgba(3, 10, 14, 0.04) 1px, transparent 1px, transparent 3px),
        radial-gradient(ellipse at 50% 50%, rgba(5, 8, 13, 0) 68%, rgba(5, 8, 13, 0.45) 100%);
}
.screen .grade { position: absolute; inset: 0; background: #3fb8d0; mix-blend-mode: soft-light; opacity: 0.14; pointer-events: none; z-index: 1; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 1908 / 1209; background: #0b1119; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: contrast(1.04); }
.shot-bar { position: absolute; left: 22px; right: 22px; bottom: -40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; letter-spacing: 0.1em; color: var(--muted); }
.shot-bar .fig { font-family: var(--num); }
.shot-bar .fig b { font-weight: 500; color: var(--text-3); font-family: var(--sans); letter-spacing: 0.04em; }
.pager { display: flex; align-items: center; gap: 4px; }
.pager button.dash { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pager button.dash::before { content: ""; width: 10px; height: 3px; background: #2a3a46; transition: width .25s ease, background .25s ease; }
.pager button.dash[aria-selected="true"]::before { width: 22px; background: var(--cyan); }
.pager button.step { width: 28px; height: 28px; padding: 0; border: 1px solid rgba(95, 214, 234, 0.25); background: transparent; color: var(--text-3); cursor: pointer; font-family: var(--num); }
.pager button.step:hover { color: var(--text-hi); border-color: var(--cyan); }

/* readout strip */
.readouts { margin-top: 110px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(95, 214, 234, 0.2); border-bottom: 1px solid rgba(95, 214, 234, 0.2); }
.readout { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line-soft); }
.readout:last-child { border-right: 0; }
.readout .r-label { font-size: 15px; letter-spacing: 0.04em; color: var(--text-3); }
.readout .r-value { font-family: var(--num); font-size: 52px; font-weight: 600; color: var(--text-hi); line-height: 1; font-variant-numeric: tabular-nums; }
.readout.hl .r-label, .readout.hl .r-value { color: var(--amber); }

/* modules */
.modules { margin-top: 110px; display: flex; flex-direction: column; gap: 36px; }
.mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(95, 214, 234, 0.14); border: 1px solid rgba(95, 214, 234, 0.14); }
.mod { background: var(--panel-solid); padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: background .2s ease; }
.mod:hover { background: #0a1119; }
.mod .m-no { font-family: var(--num); color: var(--cyan); font-size: 14px; }
.mod h3 { font-size: 21px; }
.mod p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-3); }

/* stats */
.stats { margin-top: 110px; display: flex; flex-direction: column; gap: 28px; }
.stats-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.stats-title { display: flex; flex-direction: column; gap: 10px; }
.stats-title .updated { font-size: 14px; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stats-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.rate-list { display: flex; flex-direction: column; gap: 16px; }
.rate { display: flex; flex-direction: column; gap: 8px; }
.rate .r-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.rate .r-top b { font-family: var(--num); font-weight: 600; color: var(--text-hi); }
.rate .r-sub { font-size: 12px; color: var(--muted); }
.rank { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.rank li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; counter-increment: rank; font-size: 15px; }
.rank li::before { content: counter(rank, decimal-leading-zero); font-family: var(--num); color: var(--muted); font-size: 13px; }
.rank li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank li b { font-family: var(--num); font-weight: 600; color: var(--text-hi); }

@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; gap: 40px; }
    .hero-copy { padding-top: 0; }
    .stats-grid { grid-template-columns: 1fr; }
    .readouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .readout:nth-child(2) { border-right: 0; }
    .readout:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 720px) {
    .hero { padding-top: 48px; }
    .hero h1 { font-size: 46px; }
    .hero .lead { font-size: 16px; }
    .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .cta .btn-primary { grid-column: 1 / -1; }
    .cta .btn { width: 100%; }
    .shot { padding: 14px; }
    .shot .corner { width: 28px; height: 28px; }
    .shot .glow { left: 14px; top: 14px; width: calc(100% - 28px); }
    .shot-bar { left: 14px; right: 14px; bottom: -44px; }
    .shot-bar .fig b { display: none; }
    .pager button.dash { width: 18px; }
    .readouts { margin-top: 90px; }
    .readout { padding: 20px 16px; }
    .readout .r-value { font-size: 32px; }
    .readout .r-label { font-size: 13px; }
    .modules, .stats { margin-top: 80px; }
    .mod-grid { grid-template-columns: 1fr; }
    .mod { padding: 22px 20px; }
}
