/*
 * Pocket Passer landing page
 * Author: Malin Sundberg
 *
 * Everything here is taken from the game itself: the field greens, the gold the HUD uses, the
 * open / tight / covered ring colors, the team kits, and SF Rounded at its heaviest.
 */

:root {
    --pitch-top: #124526;
    --pitch-deep: #08170F;
    --pitch-ink: #07130C;
    --grass: #60984F;
    --grass-dark: #568746;

    --gold: #FFCC38;
    --gold-dim: rgba(255, 204, 56, 0.18);
    --open: #4DFF73;
    --tight: #FFD933;
    --covered: #FF4D40;
    --overall: #5FD07A;

    --sheet: #1C1C1E;
    --card: #2C2C2E;
    --card-raised: #3A3A3C;
    --hud: rgba(20, 22, 21, 0.86);

    --text: #FFFFFF;
    --text-soft: rgba(255, 255, 255, 0.86);
    --text-muted: rgba(255, 255, 255, 0.62);
    --text-faint: rgba(255, 255, 255, 0.4);
    --hairline: rgba(255, 255, 255, 0.12);

    --rounded: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --mono: ui-monospace, "SF Mono", Menlo, monospace;

    --gutter: 16px;
    --shell: min(1180px, calc(100% - var(--gutter) * 2));
    /* The header's room at the top of the page: its gap above plus its height. */
    --topbar-gap: 8px;
    --topbar-space: 62px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 720px) {
    :root { --gutter: 32px; }
}

@media (min-width: 801px) {
    :root {
        --topbar-gap: 18px;
        --topbar-space: 82px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* No background of its own: the body's carries to the canvas, so the field (`.yard-field`, at
   z-index -1) can be painted over it and under everything else. */
html {
    color-scheme: dark;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--topbar-space) + 10px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: clip;
    color: var(--text);
    font-family: var(--rounded);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    /* The App Store backdrop: deep field green. The yard lines are painted by `.yard-field`. */
    background: linear-gradient(180deg, var(--pitch-top) 0, #0F3A20 900px, #0B2615 2400px, var(--pitch-deep) 100%);
    background-color: var(--pitch-deep);
}

img,
svg,
canvas {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--gold);
    color: #000;
    font-weight: 900;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

/* ---------- Shared pieces ---------- */

.label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pill-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 14px 32px;
    border: 0;
    border-radius: 999px;
    background: var(--gold);
    color: #000;
    font: 900 17px/1 var(--rounded);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 204, 56, 0.22);
    transition: transform 0.25s var(--ease-pop), box-shadow 0.25s ease, background-color 0.2s ease;
}

.pill-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 36px rgba(255, 204, 56, 0.3);
}

.pill-button:active {
    transform: scale(0.97);
}

/* Not out yet: a badge in the button's shape, not something to press. */
.pill-button-soon {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
    cursor: default;
}

@media (max-width: 420px) {
    .pill-button.pill-button-soon {
        padding-inline: 18px;
        font-size: 15.5px;
        letter-spacing: 0.01em;
    }
}

.pill-button-soon:hover,
.pill-button-soon:active {
    transform: none;
    box-shadow: 0 10px 30px rgba(255, 204, 56, 0.22);
}

.pill-button-ghost {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text);
    box-shadow: none;
}

.pill-button-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.pill-button-small {
    min-height: 38px;
    padding: 10px 18px;
    font-size: 13px;
    box-shadow: none;
}

.pill-button-large {
    min-height: 62px;
    max-width: 100%;
    padding: 18px clamp(24px, 6vw, 44px);
    font-size: clamp(17px, 4.6vw, 20px);
    white-space: normal;
    text-align: center;
}

.pill-button-block {
    width: 100%;
    min-height: 48px;
    padding-inline: 12px;
    font-size: 16px;
    cursor: default;
    box-shadow: none;
}

.pill-button-block:hover {
    transform: none;
    box-shadow: none;
}

.tag {
    padding: 5px 11px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.down-distance {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* The first-down line. */
.down-distance::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--gold);
}

.headline {
    font-size: clamp(2.6rem, 6.4vw, 4.75rem);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--gold);
    text-wrap: balance;
}

.headline span {
    display: block;
}

.headline-white {
    color: var(--text);
}

.headline-center {
    text-align: center;
}

.section-lede {
    max-width: 34em;
    margin-top: 20px;
    color: var(--text-soft);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.45;
    text-wrap: pretty;
}

.section {
    position: relative;
    padding-block: clamp(72px, 9vw, 120px);
    overflow: clip;
}

/* Content sits above the painted yard numbers. */
.section > .shell,
.section > .film-strip {
    position: relative;
    z-index: 1;
}

.section-heading {
    margin-bottom: clamp(36px, 5vw, 56px);
}

/* ---------- The field ----------
 * From the goal line under the ticker to the one at the end zone is 100 yards, however tall the
 * page is: a line every five yards and a number every ten (10, 20, 30, 40, 50, 40, 30, 20, 10) on
 * both sidelines. Each number is split by its line, its top toward the middle of the field. The
 * lines carry on, five yards apart, up past the ticker and through the title screen.
 * 1cqh is one yard. */

.gridiron {
    position: relative;
}

.yard-field {
    position: absolute;
    inset: 0;
    z-index: -1;
    container-type: size;
    pointer-events: none;
    user-select: none;
}

/* Above the goal line, pocket-passer.js sets the room up to the line under the header
   (--above-height) and spaces the lines evenly across it (--above-step), as near five yards apart
   as fits, so the header sits centered between the top of the page and that first line. */
.yard-lines-above {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: var(--above-height, 30cqh);
    background: repeating-linear-gradient(to top, transparent 0 calc(var(--above-step, 5cqh) - 3px), rgba(255, 255, 255, 0.04) calc(var(--above-step, 5cqh) - 3px) var(--above-step, 5cqh));
}

.yard-line {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--at) * 1%);
    height: 3px;
    margin-top: -1.5px;
    background: rgba(255, 255, 255, 0.04);
}

.yard-line-goal {
    height: 10px;
    margin-top: -5px;
    background: rgba(255, 255, 255, 0.07);
}

/* Two yards tall, as painted, or what fits beside the content on a phone. */
.yard-number {
    --size: min(2.7cqh, 22cqw, 220px);
    position: absolute;
    top: calc(var(--at) * 1%);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    color: rgba(255, 255, 255, 0.05);
    font-size: var(--size);
    font-weight: 900;
    line-height: 0.74;
    white-space: nowrap;
}

.yard-number > span {
    display: flex;
    align-items: flex-start;
}

.yard-number > span:first-child {
    justify-content: flex-end;
}

/* Where the yard line runs between the two digits. */
.yard-number > .yard-gap {
    width: 0.34em;
}

.yard-number-left {
    left: calc(var(--size) * 0.5);
    transform: translate(-50%, -50%) rotate(90deg);
}

.yard-number-right {
    right: calc(var(--size) * 0.5);
    transform: translate(50%, -50%) rotate(-90deg);
}

/* An iPhone, built like the ones in the homepage banner: a metal rim, a black bezel, the screen
   rounded at an eighth of its width, and the Dynamic Island. Everything scales with the phone's
   width (cqw), so it holds its shape at any size. */
.phone {
    position: relative;
    padding: 4px;
    border-radius: 15.8% / 7.6%;
    background: linear-gradient(150deg, #56605A 0%, #3B423E 22%, #2F3532 60%, #4A524D 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.28),
        0 0 0 1px rgba(0, 0, 0, 0.55),
        0 40px 90px rgba(0, 0, 0, 0.55);
    container-type: inline-size;
}

.phone-bezel {
    padding: 3.1cqw;
    border-radius: 14.8cqw;
    background: #050606;
    container-type: inline-size;
}

.phone-display {
    position: relative;
    aspect-ratio: 720 / 1571;
    border-radius: 12.5cqw;
    overflow: hidden;
    background: #050606;
}

.phone-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-island {
    position: absolute;
    top: 2.65cqw;
    left: 50%;
    width: 29cqw;
    height: 8.4cqw;
    border-radius: 999px;
    background: #000;
    transform: translateX(-50%);
}

.moment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 16px 28px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(28, 30, 29, 0.84);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.moment-card strong {
    color: var(--gold);
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    white-space: nowrap;
}

.moment-card span {
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
}

.moment-card small {
    color: var(--text-faint);
    font-size: 14px;
    font-weight: 700;
}

.sheet {
    border-radius: 30px;
    background: var(--sheet);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 80px rgba(0, 0, 0, 0.4);
}

.sheet-title {
    margin-bottom: 20px;
    font-size: clamp(30px, 3.4vw, 36px);
    font-weight: 800;
    line-height: 1.1;
}

.round-button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: var(--text);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s var(--ease-pop);
}

.round-button:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.06);
}

.round-button:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

.bar {
    position: relative;
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.bar span {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill);
    border-radius: inherit;
    background: var(--gold);
    transform-origin: left;
    transition: transform 1.3s var(--ease-out) 0.2s;
}

.js [data-reveal]:not(.is-visible) .bar span {
    transform: scaleX(0);
}

/* ---------- Top bar ---------- */

/* The main site's floating header (redesign.css, .site-header), a little shorter: it sits a gap below
   the top of the page and, once scrolled, holds 10px from the top (8px on phones) as glass. */
.topbar {
    position: sticky;
    top: calc(env(safe-area-inset-top) + 8px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: calc(100vw - 16px);
    min-height: 54px;
    margin: calc(env(safe-area-inset-top) + var(--topbar-gap)) auto 0;
    padding: 7px 7px 7px 9px;
    border: 1px solid transparent;
    border-radius: 17px;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 801px) {
    .topbar {
        top: calc(env(safe-area-inset-top) + 10px);
        width: min(1380px, calc(100vw - 36px));
        min-height: 64px;
        padding: 8px 14px;
        border-radius: 19px;
    }
}

.topbar.is-scrolled {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(8, 23, 15, 0.78);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), 0 24px 60px rgba(0, 0, 0, 0.2);
}

.studio-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.studio-link img {
    width: auto;
    height: 24px;
}

.studio-link:hover {
    color: var(--text);
}

.topnav {
    display: none;
    gap: 26px;
}

.topnav a {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.topnav a:hover {
    color: var(--gold);
}

@media (min-width: 1000px) {
    .topnav { display: flex; }
}

/* Just wide enough for the landing page's six links, so they close up a little. */
@media (min-width: 1000px) and (max-width: 1099px) {
    .topnav:not(.topnav-legal) { gap: 18px; }
}

@media (max-width: 420px) {
    .studio-link span { display: none; }
}

/* ---------- Hero / title screen ---------- */

.hero {
    position: relative;
    margin-top: calc(-1 * (env(safe-area-inset-top) + var(--topbar-space)));
    padding: 120px 0 clamp(70px, 9vw, 120px);
    overflow: clip;
}

.stadium-lights span {
    position: absolute;
    top: -260px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 249, 220, 0.22), rgba(255, 249, 220, 0.06) 55%, transparent);
    pointer-events: none;
}

.stadium-lights span:first-child {
    left: -260px;
}

.stadium-lights span:last-child {
    right: -260px;
}

.hero-inner {
    position: relative;
    display: grid;
    gap: 64px;
    width: var(--shell);
    margin-inline: auto;
    text-align: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.app-icon {
    width: 112px;
    height: 112px;
    border-radius: 22.5%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.45);
    transform: rotate(-4deg);
    transition: transform 0.4s var(--ease-pop);
}

.app-icon:hover {
    transform: rotate(3deg) scale(1.06);
}

.wordmark {
    display: flex;
    flex-direction: column;
    font-size: clamp(4.1rem, 17vw, 9.6rem);
    font-style: italic;
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.wordmark-gold {
    color: var(--gold);
}

.hero-subtitle {
    margin-top: 26px;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    line-height: 1.15;
}

.hero-lede {
    max-width: 31em;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

/* The release date, centered under a Coming soon button. */
.soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.soon-date {
    margin-top: 12px;
}

.hero-visual {
    position: relative;
    justify-self: center;
    width: min(330px, 72vw);
}

.phone-hero {
    transform: rotate(3deg);
}

.hero-moment {
    position: absolute;
    left: -16%;
    bottom: 18%;
    animation: moment-float 6s ease-in-out 1.6s infinite;
}

.xp-toast {
    position: absolute;
    top: 14%;
    right: -12%;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--gold);
    color: #000;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    animation: moment-float 5s ease-in-out 0.8s infinite reverse;
}

@keyframes moment-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

@media (min-width: 960px) {
    .hero {
        min-height: min(100svh, 980px);
        display: flex;
        align-items: center;
        padding-top: 110px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        align-items: center;
        text-align: left;
    }

    .wordmark {
        font-size: min(9.6rem, 11.5vw);
    }

    .hero-copy {
        align-items: flex-start;
        container-type: inline-size;
    }

    .hero-badge {
        flex-direction: row;
        gap: 18px;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-visual {
        width: 340px;
    }
}

/* When the hero's column is too narrow for both buttons side by side (they need about 580px),
   they stack, centered on each other like the date under the first, instead of wrapping to the left. */
@container (width < 600px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ---------- Ticker ---------- */

.ticker {
    position: relative;
    overflow: hidden;
    border-block: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(9, 12, 10, 0.78);
}

.ticker-track {
    display: flex;
    width: max-content;
}

.ticker-list {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 16px 17px;
    white-space: nowrap;
}

.ticker-list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 800;
}

.ticker-label {
    color: var(--gold) !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ticker-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.team-chip {
    padding: 5px 9px 4px;
    border-radius: 9px;
    background: var(--team);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.js .ticker-track.is-running {
    animation: ticker 48s linear infinite;
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes ticker {
    to { transform: translateX(-50%); }
}

/* ---------- Throw section ---------- */

.throw-layout {
    display: grid;
    gap: 48px;
    align-items: center;
}

.ring-legend {
    display: grid;
    gap: 14px;
    margin-top: 32px;
}

.ring-legend li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 17px;
}

.ring-legend strong {
    min-width: 5.6em;
    color: var(--text);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ring {
    flex: none;
    width: 28px;
    height: 28px;
    border: 4px solid var(--ring);
    border-radius: 50%;
    box-shadow: 0 0 14px color-mix(in srgb, var(--ring) 55%, transparent), inset 0 0 8px color-mix(in srgb, var(--ring) 35%, transparent);
}

.ring-open { --ring: var(--open); }
.ring-tight { --ring: var(--tight); }
.ring-covered { --ring: var(--covered); }

.throw-note {
    max-width: 30em;
    margin-top: 28px;
    color: var(--text-muted);
}

.field-wrap {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 520px;
}

.field {
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: 80vh;
    margin-inline: auto;
    border-radius: 30px;
    overflow: hidden;
    background: var(--grass);
    box-shadow:
        0 0 0 1.5px rgba(255, 255, 255, 0.2),
        0 40px 90px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-select: none;
}

/* On a phone the field lets the page scroll until it's tapped. */
.field canvas {
    width: 100%;
    height: 100%;
    touch-action: pan-y;
    cursor: pointer;
}

.field.is-armed canvas {
    touch-action: none;
    cursor: grab;
}

.field.is-armed canvas:active {
    cursor: grabbing;
}

.field canvas:focus-visible {
    outline: none;
}

.field:has(canvas:focus-visible) {
    box-shadow: 0 0 0 4px var(--gold), 0 40px 90px rgba(0, 0, 0, 0.5);
}

.scoreboard {
    position: absolute;
    top: 14px;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 17px;
    background: var(--hud);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
}

.score-team {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 7px 12px 6px;
    border-radius: 12px;
    background: var(--team);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.score-team b {
    font-size: 21px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* Three timeouts, as the HUD draws them. */
.score-team::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    width: 40px;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 15px);
    transform: translateX(-50%);
}

.score-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 108px;
    padding-inline: 4px;
    line-height: 1.2;
}

.score-clock {
    font-size: 14px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.score-down {
    color: var(--gold);
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.score-team.is-scoring b {
    animation: score-pop 0.6s var(--ease-pop);
}

@keyframes score-pop {
    40% { transform: scale(1.5); color: var(--gold); }
}

.wind-chip {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(20, 22, 21, 0.72);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    pointer-events: none;
}

.wind-chip svg {
    transition: transform 0.4s var(--ease-out);
}

.field-tip {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    max-width: 52%;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(12, 30, 18, 0.74);
    color: var(--text);
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 0.3s ease;
    animation: tip-pulse 2.2s ease-in-out infinite;
}

.field-tip.is-hidden {
    opacity: 0;
}

@keyframes tip-pulse {
    50% { background: rgba(12, 30, 18, 0.5); }
}

.field-moment {
    position: absolute;
    top: 40%;
    left: 50%;
    z-index: 4;
    min-width: 72%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: moment-in 0.5s var(--ease-pop);
}

.field-moment[hidden] {
    display: none;
}

/* On the first touchdown's card, under the score. */
.moment-card .moment-pitch {
    max-width: 22em;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    text-wrap: balance;
}

.moment-card .moment-pitch[hidden] {
    display: none;
}

.moment-card .moment-pitch span {
    color: var(--gold);
    font-size: inherit;
    font-weight: inherit;
}

.field-moment.is-bad strong {
    color: var(--covered);
}

.field-moment.is-plain strong {
    color: var(--text);
}

@keyframes moment-in {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}

.throw-types {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.throw-types button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 104px;
    min-height: 38px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(16, 38, 22, 0.86);
    color: var(--text);
    font: 900 13px/1 var(--rounded);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-pop);
}

.throw-types button:hover {
    transform: scale(1.04);
}

.throw-types button[aria-pressed="true"] {
    background: var(--gold);
    color: #000;
}

@media (max-width: 460px) {
    .scoreboard { gap: 5px; padding: 5px; }
    .score-team { padding: 6px 9px 5px; font-size: 11px; gap: 6px; }
    .score-team b { font-size: 18px; }
    .score-mid { min-width: 92px; }
    .score-down { font-size: 10px; }
    .wind-chip { font-size: 12px; }
    .throw-types button { min-width: 0; flex: 1; padding: 8px 10px; }
    .field-tip { font-size: 10.5px; letter-spacing: 0.08em; }
}

@media (min-width: 960px) {
    .throw-layout {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 72px;
    }
}

/* ---------- Playbook ---------- */

.call-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.auto-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--gold);
    color: #000;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.play-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 620px) {
    .play-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
    .play-grid { grid-template-columns: repeat(3, 1fr); }
}

.play-card {
    padding: 14px 14px 22px;
    border-radius: 24px;
    background: rgba(32, 34, 33, 0.92);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 50px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s var(--ease-pop), box-shadow 0.35s ease;
}

.play-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1.5px rgba(255, 204, 56, 0.55), 0 26px 60px rgba(0, 0, 0, 0.35);
}

.play-card h3 {
    margin: 18px 8px 0;
    font-size: 21px;
    font-weight: 900;
}

.play-card > p {
    margin-inline: 8px;
}

.play-card > p:last-child {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 16px;
}

.play-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--text-faint);
    font-size: 14px;
    font-weight: 700;
}

.play-tag {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--gold-dim);
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.play-diagram {
    width: 100%;
    height: auto;
    border-radius: 16px;
    background:
        repeating-linear-gradient(180deg, transparent 0 26px, rgba(255, 255, 255, 0.05) 26px 27px),
        #2F5A35;
}

.pd-first {
    stroke: #E2BE38;
    stroke-width: 2;
}

.pd-los {
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 2.5;
    stroke-dasharray: 0.5 9;
    stroke-linecap: round;
}

.pd-line rect {
    fill: rgba(255, 255, 255, 0.45);
}

.pd-man {
    fill: #F4F4F0;
}

.pd-def {
    fill: #F2731A;
}

.pd-route {
    fill: none;
    stroke: var(--route);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pd-ring {
    fill: none;
    stroke: var(--ring);
    stroke-width: 3;
}

.pd-dots {
    fill: none;
    stroke: var(--gold);
    stroke-width: 4;
    stroke-dasharray: 0 9;
    stroke-linecap: round;
}

.pd-wind {
    fill: none;
    stroke: rgba(255, 255, 255, 0.65);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pd-clock {
    fill: var(--gold);
    font-family: var(--rounded);
    font-size: 38px;
    font-weight: 900;
}

/* Routes run when the card comes into view. */
.js .play-card .pd-route {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.1s var(--ease-out) 0.25s;
}

.js .play-card.is-visible .pd-route {
    stroke-dashoffset: 0;
}

.call-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.call-buttons li {
    padding: 11px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 800;
}

/* ---------- Career ---------- */

.career-layout {
    display: grid;
    gap: 56px;
}

.career-path {
    position: relative;
    display: grid;
    gap: 30px;
    margin-top: 44px;
    padding-left: 34px;
}

/* The bracket line running down the path. */
.career-path::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(var(--gold), rgba(255, 204, 56, 0.15));
}

.career-path li {
    position: relative;
}

.career-path li::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 1px;
    width: 20px;
    height: 20px;
    border: 4px solid var(--gold);
    border-radius: 50%;
    background: var(--pitch-top);
}

.career-path li:last-child::before {
    background: var(--gold);
    box-shadow: 0 0 16px rgba(255, 204, 56, 0.6);
}

.career-path h3 {
    margin-top: 4px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.career-path li > p:last-child {
    margin-top: 6px;
    color: var(--text-muted);
}

.career-visual {
    position: relative;
    display: grid;
    justify-items: center;
}

.phone-career {
    width: min(300px, 70vw);
}

.qb-card {
    position: relative;
    z-index: 2;
    width: min(380px, 100%);
    margin-top: -90px;
    padding: 22px;
}

.qb-top {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.qb-overall {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qb-overall strong {
    color: var(--overall);
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.qb-overall span {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.level-badge {
    display: grid;
    place-items: center;
    align-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    line-height: 1;
}

.level-badge span {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.level-badge strong {
    font-size: 24px;
    font-weight: 900;
}

.xp p {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.points-callout {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--gold);
    color: #000;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
}

.points-callout span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #000;
    color: var(--gold);
    font-size: 17px;
}

.attributes {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.attributes li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
}

.attributes .bar {
    grid-column: 1 / -1;
}

.attr-name {
    font-size: 17px;
    font-weight: 900;
}

.attr-value {
    color: var(--text-muted);
    font-size: 19px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.attr-gold { color: var(--gold); }
.attr-red { color: #FF7A6E; }

.attr-maxed {
    background: linear-gradient(90deg, #D9C8FF, #A8ECFF, #FFF4B0, #FFC6EA, #D9C8FF);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 3s linear infinite;
}

.bar-grey span { background: rgba(255, 255, 255, 0.5); }
.bar-red span { background: #FF6B5E; }

.bar-maxed {
    overflow: visible;
}

.bar-maxed span {
    background: linear-gradient(90deg, #D9C8FF, #A8ECFF, #FFF4B0, #FFC6EA, #D9C8FF);
    background-size: 200% 100%;
    box-shadow: 0 0 14px rgba(200, 220, 255, 0.6);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: -200% 0; }
}

.qb-footnote {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 14px;
}

@media (min-width: 960px) {
    .career-layout {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 72px;
    }

    .career-visual {
        justify-items: end;
        padding-bottom: 40px;
    }

    .phone-career {
        width: 320px;
        margin-right: 10px;
        transform: rotate(-2deg);
    }

    .qb-card {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 340px;
        margin: 0;
    }
}

/* ---------- Head to Head & Daily Drive ---------- */

.duo {
    display: grid;
    gap: 22px;
    align-items: start;
}

@media (min-width: 960px) {
    .duo { grid-template-columns: 1fr 1fr; }
}

.duo .sheet {
    padding: clamp(20px, 3vw, 30px);
}

.sheet-buttons {
    display: grid;
    margin-bottom: 26px;
}

.match-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.match {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px 16px 12px 12px;
    border: 1.5px solid rgba(255, 204, 56, 0.55);
    border-radius: 20px;
    background: var(--card);
}

.avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    font-size: 20px;
    font-weight: 900;
}

.match-who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.match-who strong {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.match-who em {
    color: var(--gold);
    font-size: 15px;
    font-style: normal;
    font-weight: 800;
}

.match-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.match-tags i {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 10.5px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.match-tags .hard {
    border: 1.5px solid var(--gold);
    background: none;
    color: var(--gold);
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-score strong {
    font-size: 23px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.match-score .dim {
    color: var(--text-faint);
}

.match-score small {
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
}

.sheet-note {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 15px;
}

.daily-today {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    margin: 12px 0 18px;
    padding: 16px;
    border-radius: 20px;
    background: var(--card);
}

.daily-flag {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
}

.daily-situation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 900;
}

.mini-tag {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--gold-dim);
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.daily-copy {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.4;
}

.daily-rule {
    margin-top: 10px;
    color: var(--text-faint);
    font-size: 13px;
    text-align: center;
}

.streaks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.streaks div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 6px;
    border-radius: 18px;
    background: var(--card);
    text-align: center;
}

.streaks strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.streaks strong span {
    color: var(--gold);
    font-size: 20px;
}

.streaks div > span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-transform: uppercase;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
    margin-top: 22px;
    padding: 16px;
    border-radius: 20px;
    background: var(--card);
}

.calendar .weekday {
    color: var(--text-faint);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.calendar .day {
    display: grid;
    place-items: center;
    aspect-ratio: 1.35;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-faint);
    font-size: 15px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.calendar .day-made {
    background: var(--gold);
    color: #000;
}

.calendar .day-missed {
    background: #5A5A5E;
    color: var(--text);
}

.calendar .day-today {
    border: 2px dashed var(--gold);
    background: none;
    color: var(--text-muted);
}

.js .calendar .day-made {
    transition: transform 0.4s var(--ease-pop), opacity 0.3s ease;
    transition-delay: calc(var(--i, 0) * 18ms);
}

.js [data-reveal]:not(.is-visible) .calendar .day-made {
    opacity: 0;
    transform: scale(0.4);
}

.calendar-key {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.calendar-key li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.calendar-key span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.key-made { background: var(--gold); }
.key-missed { background: #8E8E93; }
.key-none { border: 2px solid #8E8E93; }

.daily-blurb {
    max-width: 44em;
    margin: 36px auto 0;
    color: var(--text-muted);
    font-size: 17px;
    text-align: center;
}

/* ---------- Film room ---------- */

.film-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}

.film-controls {
    display: none;
    gap: 10px;
}

@media (min-width: 720px) {
    .film-controls { display: flex; }
}

.film-strip {
    display: flex;
    gap: 18px;
    padding: 6px max(var(--gutter), calc((100% - 1180px) / 2)) 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(var(--gutter), calc((100% - 1180px) / 2));
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    overscroll-behavior-x: contain;
}

.film-strip:focus-visible {
    outline-offset: -3px;
}

.film-strip li {
    flex: 0 0 clamp(210px, 24vw, 290px);
    scroll-snap-align: start;
}

.film-strip img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 50px rgba(0, 0, 0, 0.4);
}

/* ---------- Checklist (privacy summary) ---------- */

.spec-list {
    display: grid;
    gap: 14px 40px;
    margin-top: 30px;
}

@media (min-width: 720px) {
    .spec-list { grid-template-columns: 1fr 1fr; }
}

.spec-list li {
    position: relative;
    padding-left: 34px;
    color: var(--text-soft);
}

.spec-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------- End zone ---------- */

.endzone {
    position: relative;
    padding: clamp(100px, 13vw, 170px) 0;
    overflow: clip;
    background: linear-gradient(180deg, var(--pitch-deep) 0%, #0B1026 18%, #191A45 48%, #4B2D5B 76%, #B25C5C 100%);
    text-align: center;
}

.fireworks {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.endzone-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bowl-shield {
    width: 132px;
    height: auto;
    margin-bottom: 26px;
    filter: drop-shadow(0 0 30px rgba(255, 204, 56, 0.35));
}

.shield-text {
    fill: #fff;
    font-family: var(--rounded);
    font-size: 36px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.down-distance-td::before {
    display: none;
}

.endzone .section-lede {
    margin-bottom: 36px;
}

.endzone-fine {
    max-width: 30em;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ---------- Footer ---------- */

.footer {
    padding: 44px 0 calc(44px + env(safe-area-inset-bottom));
    background: var(--pitch-ink);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px 36px;
}

.footer-studio {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-soft);
    font-weight: 800;
    text-decoration: none;
}

.footer-studio img {
    width: auto;
    height: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-links a[aria-current="page"] {
    color: var(--gold);
}

.footer-legal {
    flex-basis: 100%;
    color: var(--text-faint);
    font-size: 13px;
}

/* ---------- Privacy & terms ---------- */

.topnav-legal {
    display: flex;
}

.topnav-legal a[aria-current="page"] {
    color: var(--gold);
}

@media (max-width: 720px) {
    .topnav-legal { display: none; }
}

.legal {
    width: min(760px, calc(100% - var(--gutter) * 2));
    margin-inline: auto;
    padding: clamp(36px, 7vw, 80px) 0 clamp(80px, 10vw, 120px);
}

.legal-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.legal-app {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 20px;
    font-style: italic;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.legal-app img {
    width: 52px;
    height: 52px;
    border-radius: 22.5%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 26px rgba(0, 0, 0, 0.4);
}

.legal-app b {
    color: var(--gold);
    font-weight: inherit;
}

.legal .headline {
    font-size: clamp(2.6rem, 9vw, 4.4rem);
}

.legal-lede {
    color: var(--text);
    font-size: clamp(19px, 2.2vw, 22px);
    line-height: 1.5;
    text-wrap: pretty;
}

.legal-summary {
    margin: 32px 0 12px;
    padding: clamp(22px, 4vw, 30px);
}

.legal-summary .spec-list {
    margin-top: 16px;
}

.legal h2 {
    margin: 46px 0 12px;
    font-size: clamp(22px, 3vw, 26px);
    font-weight: 900;
    line-height: 1.2;
}

.legal > p,
.legal-list li {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.65;
}

.legal > p + p {
    margin-top: 14px;
}

.legal-list {
    display: grid;
    gap: 10px;
    margin-block: 12px 14px;
}

.legal-list li {
    position: relative;
    padding-left: 24px;
}

.legal-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.68em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.legal strong {
    color: var(--text);
    font-weight: 900;
}

.legal > p a,
.legal-list a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.legal > p a:hover,
.legal-list a:hover {
    text-decoration-thickness: 3px;
}

.legal-switch {
    margin-top: 56px;
}

/* ---------- Press kit ---------- */

.press-section {
    margin-top: 64px;
}

.press-section-first {
    margin-top: 8px;
}

.legal .press-section-first h2 {
    margin-top: 0;
}

.press-section > .press-release-date {
    margin-bottom: 14px;
    color: var(--gold);
    font-weight: 900;
}

.press-features {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.press-features li {
    position: relative;
    padding-left: 24px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.6;
}

.press-features li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.66em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.press-features strong {
    color: var(--text);
    font-weight: 900;
}

/* Download all images, under the factsheet. */
.press-download {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 22px;
}

.press-download p {
    color: var(--text-faint);
    font-size: 14px;
    line-height: 1.5;
}

.press-section > p {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.65;
}

.press-section > p + p {
    margin-top: 14px;
}

.press-section > p a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

/* The fact sheet: a label column and a value column, a hairline between rows. */
.press-facts {
    padding: 8px clamp(20px, 3vw, 30px);
}

.press-facts dl {
    margin: 0;
}

.press-facts dl > div {
    display: grid;
    grid-template-columns: minmax(130px, 0.36fr) 1fr;
    gap: 4px 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
}

.press-facts dl > div:last-child {
    border-bottom: 0;
}

.press-facts dt {
    padding-top: 3px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.press-facts dd {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
}

.press-facts dd a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.press-aside {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 560px) {
    .press-facts dl > div {
        grid-template-columns: 1fr;
    }
}

/* Screenshots, each a download. */
.press-shots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 16px;
    margin-top: 22px;
}

@media (min-width: 720px) {
    .press-shots { grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
}

.press-shots a {
    display: block;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.press-shots img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 44px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s var(--ease-pop), box-shadow 0.3s ease;
}

/* The icon and key art cards' gold ring, half a pixel wider: against a bright screenshot instead
   of a dark card, the 1.5px one reads thinner. */
.press-shots a:hover img {
    transform: translateY(-4px);
    box-shadow: 0 0 0 2px rgba(255, 204, 56, 0.55), 0 30px 80px rgba(0, 0, 0, 0.4);
}

.press-shots a:hover span {
    color: var(--gold);
}

/* The in-game screens: rounded the same as the corners cut into the images, at any width. */
.press-shots-screens img {
    border-radius: 8.55% / 3.91%;
}

.press-shots-screens-ipad img {
    border-radius: 4.01% / 3%;
}

.press-shots-screens-duo img {
    border-radius: 3.67% / 5.24%;
}

.press-subhead {
    margin-top: 26px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.press-subhead span {
    margin-left: 8px;
    color: var(--text-faint);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.press-shots + .press-subhead {
    margin-top: 44px;
}

.press-subhead + .press-shots {
    margin-top: 14px;
}

/* The icon and the key art. */
.press-art {
    display: grid;
    gap: 18px;
    margin-top: 6px;
}

@media (min-width: 720px) {
    .press-art { grid-template-columns: 1fr 2fr; align-items: stretch; }
}

.press-art-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s var(--ease-pop), box-shadow 0.3s ease;
}

.press-art-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1.5px rgba(255, 204, 56, 0.55), 0 30px 80px rgba(0, 0, 0, 0.4);
}

.press-art-card strong {
    display: block;
    color: var(--text);
    font-size: 17px;
    font-weight: 900;
}

.press-art-icon img {
    width: min(180px, 60%);
    height: auto;
    margin: 10px auto 0;
    border-radius: 22.5%;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.press-art-wide img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.js [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal-delay="3"] { transition-delay: 0.24s; }
.js [data-reveal-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .js [data-reveal] {
        transform: none;
        transition: opacity 0.4s ease;
    }

    .hero-moment,
    .xp-toast,
    .field-tip,
    .attr-maxed,
    .bar-maxed span,
    .js .ticker-track.is-running {
        animation: none;
    }

    .ticker {
        overflow-x: auto;
    }

    .js .play-card .pd-route {
        transition: none;
    }
}
