/*
 * getstatjoe.com, StatJoe's own website. The home page is one cinematic
 * sequence (main.js plays it as you scroll):
 *
 *   1. Title: the logo's football opening, then the line, on black.
 *   2. The story (pinned while you scroll): the StatJoe window rises and
 *      settles, the camera pushes into the play form as a play types itself
 *      in, cuts to the scoreboard and play-by-play as Enter goes in, then
 *      pulls back as the stadium board and a phone show the same play live.
 *   3. The details: six small working pieces of the app.
 *   4. The sports, the price, the download.
 *
 * Near-black and quiet, StatJoe blue the one accent, Barlow and Barlow
 * Condensed, square corners, solid colours only. Motion follows the scroll
 * and eases with one curve throughout; with reduced motion it all simply
 * appears. Example data on the page: Anderson County against a made-up
 * Ridgeview, with made-up players.
 *
 * The other pages (download, privacy, thanks, 404) use the same file.
 */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); }
:root {
  --black: #060708; --night: #0c0e10; --panel: #111417; --panel-2: #171a1e; --rule: #22272c; --rule-2: #2f353b;
  --white: #f3f5f7; --mute: #8d969f; --mute-2: #5e666e;
  --blue: #1b67d4; --blue-hi: #3a83ec; --gold: #f2b705; --live: #e5372b; --good: #2fbf6b;
  --ease: cubic-bezier(.16, .84, .2, 1);
  --font: "Barlow", "Segoe UI", Arial, sans-serif; --cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--black); }
body { margin: 0; background: var(--black); color: var(--white); font: 400 18px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 600 13px var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.eyebrow b { color: var(--blue-hi); font-weight: 600; margin-right: 10px; }
.display { font: 700 clamp(46px, 7.2vw, 112px)/.9 var(--cond); letter-spacing: -.01em; text-transform: uppercase; margin: 0; }
.h2 { font: 700 clamp(40px, 5.4vw, 80px)/.92 var(--cond); letter-spacing: -.005em; text-transform: uppercase; margin: 0; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); max-width: 58ch; margin: 22px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; font: 600 17px var(--font); border: 1px solid transparent; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn.solid { background: var(--white); color: var(--black); }
.btn.solid:hover { background: var(--blue); color: #fff; }
.btn.ghost { border-color: var(--rule-2); color: var(--white); }
.btn.ghost:hover { border-color: var(--white); }
.btn .sub { font-weight: 500; color: var(--mute-2); transition: color .3s var(--ease); }
.btn.solid:hover .sub { color: #cfe0fa; }
.btn .arrow { width: 14px; height: 14px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(45deg); }

/* ---- The bar along the top: almost nothing until you need it ---- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .5s var(--ease), border-color .5s var(--ease); border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(6, 7, 8, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--rule); }
.nav .wrap { display: flex; align-items: center; gap: 34px; height: 72px; }
.nav .logo img { display: block; height: 22px; width: auto; }
.nav .links { display: flex; gap: 30px; margin-left: auto; font: 500 15px var(--font); color: var(--mute); }
.nav .links a { transition: color .25s; }
.nav .links a:hover { color: var(--white); }
.nav .btn { height: 42px; padding: 0 20px; font-size: 15px; }

/* ================================================================
 * The story: one pinned stage the scroll plays through.
 * ================================================================ */
.story { position: relative; height: 760vh; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; perspective: 1600px; }
/* The title card, over the stage at the start. */
.title { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 24px; will-change: opacity, transform; }
.title .mark { width: min(58vw, 760px); margin-bottom: 4.5vh; }
.title .mark svg, .title .mark img { display: block; width: 100%; height: auto; overflow: visible; }
.title .line { overflow: hidden; }
.title .line span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.title.shown .line span { transform: none; }
.title.shown .line:nth-child(3) span { transition-delay: .09s; }
.title .after { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .35s, transform 1s var(--ease) .35s; }
.title.shown .after { opacity: 1; transform: none; }
.title .lede { margin-left: auto; margin-right: auto; text-align: center; }
.title .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.cue { position: absolute; left: 50%; bottom: 34px; width: 1px; height: 54px; background: var(--rule-2); overflow: hidden; transform: translateX(-50%); }
.cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* The camera, and the StatJoe window it films. */
.cam { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.device { width: 1366px; background: #000; box-shadow: 0 60px 140px rgba(0, 0, 0, .7), 0 0 0 1px #2a3036; transform-origin: 50% 0; }
.device .bar { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; background: #0b0d0f; color: #6d757d; font: 500 13px var(--font); }
.device .bar i { width: 11px; height: 11px; border: 1px solid #3a4148; }
.app { position: relative; width: 1366px; height: 705px; overflow: hidden; background: #f3f4f5; color: #171b1f; font-size: 13px; }

/* The words that go with each part of the story. */
.cap { position: absolute; left: max(24px, 5vw); bottom: 9vh; width: min(470px, 86vw); opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.cap.on { opacity: 1; transform: none; }
.cap .h2 { font-size: clamp(38px, 4.4vw, 64px); margin-top: 14px; }
.cap p { color: var(--mute); margin: 16px 0 0; font-size: 18px; }
.cap.right { left: auto; right: max(24px, 5vw); }
/* A backing so words read over the window when the camera is close. */
.cap .card { background: rgba(6, 7, 8, .9); padding: 26px 28px 28px; border-left: 2px solid var(--blue); }

/* The stadium board and the phone, for the last part. */
.tv { position: absolute; width: min(500px, 40vw); right: 4vw; top: 15vh; background: #000; border: 10px solid #1b1f23; box-shadow: 0 40px 100px rgba(0, 0, 0, .7); opacity: 0; transform: translateX(80px); will-change: transform, opacity; }
.tv .inner { padding: 6% 7% 5%; }
.tv .row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6%; }
.tv .team { display: grid; justify-items: center; gap: 6px; }
.tv .team span { font: 700 clamp(12px, 1.3vw, 17px) var(--cond); letter-spacing: .1em; color: #c9ced3; }
.tv .team b { font: 700 clamp(46px, 6.4vw, 92px)/1 var(--cond); color: var(--gold); font-variant-numeric: tabular-nums; }
.tv .mid { display: grid; justify-items: center; gap: 2px; }
.tv .mid b { font: 700 clamp(26px, 3.4vw, 46px)/1 var(--cond); color: #fff; }
.tv .mid span { font: 600 clamp(10px, 1vw, 13px) var(--font); color: var(--mute); letter-spacing: .14em; }
.tv .play { margin-top: 6%; padding: 10px 14px; background: var(--blue); color: #fff; font: 700 clamp(13px, 1.5vw, 19px)/1.2 var(--cond); letter-spacing: .02em; }
.tv .stand { position: absolute; left: 50%; bottom: -46px; width: 14px; height: 36px; margin-left: -7px; background: #1b1f23; }
.phone { position: absolute; width: min(250px, 21vw); right: 7vw; bottom: -6vh; background: #000; border-radius: 38px; padding: 9px; box-shadow: 0 0 0 1px #2c3238, 0 40px 100px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(120px); will-change: transform, opacity; }
.phone .glass { position: relative; border-radius: 30px; overflow: hidden; background: #f3f4f5; color: #171b1f; aspect-ratio: 9 / 19.5; }
.pl-top { display: flex; align-items: center; justify-content: space-between; padding: 16% 8% 4%; background: #171b1f; color: #fff; font: 600 12px var(--font); }
.pl-tag { padding: 2px 7px; background: var(--live); font: 700 10px var(--font); letter-spacing: .08em; }
.pl-score { background: #20262c; color: #fff; padding: 8%; display: grid; gap: 8px; }
.pl-row { display: flex; align-items: center; gap: 8px; font: 600 14px var(--font); }
.pl-row b { margin-left: auto; font: 700 30px/1 var(--cond); }
.pl-sq { width: 26px; height: 26px; display: grid; place-items: center; font: 700 11px var(--cond); color: #fff; }
.pl-sit { display: flex; justify-content: space-between; padding: 7px 8%; background: #171b1f; color: #fff; font: 700 15px var(--cond); }
.pl-last { padding: 8%; background: #fff; font-size: 13px; line-height: 1.35; border-bottom: 1px solid #e3e6e9; }
.pl-last em { display: block; font: 700 10px var(--font); font-style: normal; color: var(--blue); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.pl-stat { display: flex; justify-content: space-between; padding: 8px 8%; font-size: 12px; border-bottom: 1px solid #e3e6e9; }
.pl-stat b { font: 700 14px var(--cond); }

/* ---- The app inside the window: the real app's look ---- */
.a-band { display: flex; align-items: center; height: 36px; padding: 0 12px; background: #171b1f; color: #e8ecef; }
.a-band .lg svg { height: 15px; width: auto; display: block; margin-right: 14px; }
.a-band .m, .a-band .tb { padding: 0 9px; font: 600 13px var(--font); }
.a-band kbd { font: 600 10px var(--font); border: 1px solid #4b545c; padding: 1px 4px; margin-left: 5px; color: #a3adb7; }
.a-band .push { margin-left: auto; }
.a-band .live { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; font: 700 13px var(--font); }
.a-band .live i { width: 9px; height: 9px; background: var(--good); }
.board { display: flex; height: 80px; background: #20262c; color: #fff; border-bottom: 3px solid var(--blue); }
.board b { font-family: var(--cond); font-weight: 700; line-height: 1; }
.board small { font-size: 12px; color: #a3adb7; }
.bteam { display: flex; align-items: center; gap: 12px; padding: 0 16px; width: 290px; }
.bteam.rev { flex-direction: row-reverse; }
.bteam .nm { display: grid; gap: 4px; flex: 1; }
.bteam.rev .nm { justify-items: end; }
.bteam .nm b { font-size: 26px; display: flex; align-items: center; gap: 8px; }
.bteam .sc { font-size: 52px; min-width: 40px; text-align: center; }
.sq { display: grid; place-items: center; width: 36px; height: 36px; flex: none; font: 700 13px var(--cond); color: #fff; }
.c-and { background: #003971; }
.c-alc { background: #7a1f2b; }
.tos { display: flex; gap: 3px; }
.tos i { width: 14px; height: 3px; background: var(--gold); }
.tos i.x { background: #4a525a; }
.fb { display: inline-block; width: 20px; height: 12px; background: #b5651d; border-radius: 50%; }
.bclock { display: grid; place-content: center; justify-items: center; gap: 4px; width: 124px; background: #171b1f; }
.bclock b { font-size: 34px; }
.bsit { flex: 1; display: grid; align-content: center; gap: 5px; padding: 0 20px; border-left: 1px solid #39424a; }
.bsit b { font-size: 29px; transition: color .4s; }
.bsit b.changed { color: var(--gold); }
.bline { align-self: center; margin-right: 14px; border-collapse: collapse; font-size: 13px; }
.bline th { color: #a3adb7; font-weight: 600; font-size: 12px; padding: 2px 9px; border-bottom: 1px solid #39424a; text-align: right; }
.bline td { padding: 2px 9px; text-align: right; }
.bline td.t { text-align: left; font-weight: 600; }
.bline td.f { font-weight: 700; }
.a-main { display: grid; grid-template-columns: 790px 1fr; height: calc(705px - 36px - 83px - 22px); }
.a-left { display: flex; flex-direction: column; border-right: 1px solid #cdd2d7; }
.ptabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid #cdd2d7; }
.ptabs span { padding: 9px 12px 7px; border-bottom: 3px solid transparent; color: #5b6570; font-weight: 500; }
.ptabs span.on { border-bottom-color: #171b1f; color: #171b1f; font-weight: 700; }
.form { flex: 1; padding: 16px; display: grid; gap: 14px; align-content: start; }
.frow { display: flex; align-items: center; gap: 14px; }
.flbl { width: 104px; color: #5b6570; font-weight: 600; font-size: 13px; }
.nb { display: inline-grid; place-items: center; width: 50px; height: 34px; border: 1px solid #9aa3ab; background: #fff; font: 700 21px var(--cond); transition: outline-color .2s; outline: 2px solid transparent; outline-offset: -1px; }
.nb.wide { width: 72px; }
.nb.focus { outline-color: var(--blue); border-color: var(--blue); }
.fname { font-weight: 600; min-width: 150px; }
.opts { display: flex; flex-wrap: wrap; gap: 4px; }
.opts span { padding: 7px 12px; border: 1px solid #cdd2d7; background: #fff; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.opts span.on { background: #171b1f; color: #fff; border-color: #171b1f; }
.fres { padding: 10px 12px; background: #e6eefb; border: 1px solid #c4d6f1; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.fres.on { opacity: 1; transform: none; }
.ffoot { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 16px; border-top: 1px solid #cdd2d7; }
.ffoot span { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border: 1px solid #cdd2d7; background: #fff; font-weight: 600; }
.ffoot .enter { background: var(--blue); border-color: var(--blue); color: #fff; padding: 0 26px; transition: transform .15s, background .15s; }
.ffoot .enter.press { transform: scale(.94); background: #1553ae; }
.a-right { display: flex; flex-direction: column; background: #fff; min-height: 0; }
.pbp { flex: 1; overflow: hidden; }
.pbp .drive { background: #f3f4f5; font-size: 12px; font-weight: 600; padding: 5px 12px; border-bottom: 1px solid #e3e6e9; }
.pbp .p { display: grid; grid-template-columns: 40px 86px minmax(0, 1fr) 28px; gap: 8px; padding: 7px 12px; border-bottom: 1px solid #e3e6e9; }
.pbp .p .c, .pbp .p .d { color: #5b6570; }
.pbp .p .d { font-size: 12px; }
.pbp .p .y { text-align: right; font-weight: 700; }
.pbp .newrow { overflow: hidden; max-height: 0; transition: max-height .6s var(--ease); }
.pbp .newrow.on { max-height: 70px; }
.pbp .newrow .p { background: #fff7d6; transition: background 1.6s; }
.pbp .newrow.settled .p { background: #fff; }
.a-status { display: flex; gap: 16px; align-items: center; height: 22px; padding: 0 12px; background: #fff; border-top: 1px solid #cdd2d7; font-size: 11px; color: #5b6570; }
.a-status .saved { color: #1a7a3f; font-weight: 700; }

/* The opening on the title card (the app's own). */
.op-stat { fill: #808080; transform-box: fill-box; }
.op-blue { fill: #1b67d4; }
.op-joe { transform-box: fill-box; }
.op-hole { fill: var(--black); opacity: 0; }
.op-edge { fill: #1b67d4; stroke: #1b67d4; stroke-width: 142; stroke-linejoin: round; }
.op-piece { fill: var(--black); }
.op-tumble { transform-box: fill-box; transform-origin: center; }
@keyframes op-in-left { from { transform: translateX(-140%); opacity: 0; } 60% { opacity: 1; } }
@keyframes op-in-right { 0% { transform: translateX(140%); opacity: 0; } 40% { opacity: 1; } 75% { transform: translateX(-3%); } 100% { transform: none; } }
@keyframes op-kick-x { from { transform: translateX(-12200px); } }
@keyframes op-kick-y { 0% { transform: translateY(5200px); animation-timing-function: cubic-bezier(.2, .65, .45, 1); } 52% { transform: translateY(-3400px); animation-timing-function: cubic-bezier(.55, 0, .8, .45); } 100% { transform: none; } }
@keyframes op-tumble { from { transform: rotate(-1080deg) scale(1.7); } 85% { transform: rotate(-25deg) scale(1.03); } to { transform: none; } }
@keyframes op-hole-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes op-catch { 0%, 100% { transform: none; } 30% { transform: translate(.6%, 2%); } }
.run .op-stat { animation: op-in-left .5s .15s var(--ease) both; }
.run .op-joe { animation: op-in-right .55s .35s cubic-bezier(.2, .8, .3, 1) both; }
.run .op-kick-x { animation: op-kick-x .95s .95s cubic-bezier(.3, .3, .5, 1) both; }
.run .op-kick-y { animation: op-kick-y .95s .95s both; }
.run .op-tumble { animation: op-tumble .95s .95s cubic-bezier(.25, .5, .4, 1) both; }
.run .op-hole { animation: op-hole-out .1s 1.85s both; }
.run .mark svg { animation: op-catch .3s 1.9s linear both; }

/* ================================================================
 * The details: six working pieces, in a grid of different sizes.
 * ================================================================ */
.section { padding: 18vh 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 64px; }
.head .lede { margin: 0; justify-self: end; }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; background: var(--panel); border: 1px solid var(--rule); overflow: hidden; display: flex; flex-direction: column; min-height: 400px; transition: border-color .4s var(--ease), transform .6s var(--ease); }
.tile:hover { border-color: var(--rule-2); }
.tile.w3 { grid-column: span 3; }
.tile.w2 { grid-column: span 2; }
.tile.w4 { grid-column: span 4; }
.tile .vis { flex: 1; position: relative; display: grid; place-items: center; padding: 30px; }
.tile .txt { padding: 0 30px 30px; }
.tile h3 { margin: 0; font: 700 26px/1.05 var(--cond); text-transform: uppercase; letter-spacing: .01em; }
.tile p { margin: 10px 0 0; color: var(--mute); font-size: 16px; max-width: 44ch; }

/* Reveal on the way in. */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

/* 1. No signal. */
.sig { display: grid; gap: 22px; width: 100%; max-width: 420px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.bars i { width: 12px; background: var(--white); transition: background .3s; }
.bars i:nth-child(1) { height: 25%; } .bars i:nth-child(2) { height: 50%; } .bars i:nth-child(3) { height: 75%; } .bars i:nth-child(4) { height: 100%; }
.sig-head { display: flex; align-items: center; gap: 16px; }
.sig-head b { font: 700 22px var(--cond); text-transform: uppercase; letter-spacing: .04em; }
.qlist { display: grid; gap: 6px; }
.qlist div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--rule); font-size: 15px; }
.qlist div span:last-child { margin-left: auto; font: 600 12px var(--font); letter-spacing: .1em; text-transform: uppercase; }
.qlist i { width: 8px; height: 8px; }
/* The loop: signal drops, plays wait, signal back, plays send. */
.in .sig .bars i:nth-child(n+2) { animation: drop 7s infinite; }
@keyframes drop { 0%, 18% { background: var(--white); } 22%, 66% { background: var(--rule-2); } 70%, 100% { background: var(--white); } }
.in .sig .q { animation: qwait 7s infinite; }
.in .sig .q:nth-child(2) { animation-delay: .25s; } .in .sig .q:nth-child(3) { animation-delay: .5s; }
@keyframes qwait { 0%, 28% { opacity: .25; } 32%, 100% { opacity: 1; } }
.st-wait, .st-sent { display: none; }
.in .sig .q .st { animation: none; }
.sig .q .w { color: var(--gold); }
.sig .q .s { color: var(--good); }
.sig .q i { background: var(--gold); }
.in .sig .q i { animation: qdot 7s infinite; }
@keyframes qdot { 0%, 70% { background: var(--gold); } 74%, 100% { background: var(--good); } }
.in .sig .q .lab::after { content: "Waiting"; animation: qlab 7s infinite; }
@keyframes qlab { 0%, 70% { content: "Waiting"; color: var(--gold); } 74%, 100% { content: "Sent"; color: var(--good); } }
.in .sig .status::after { content: "Signal lost. Plays saved here."; animation: slab 7s infinite; }
@keyframes slab { 0%, 18% { content: "Online"; } 22%, 66% { content: "Signal lost. Plays saved here."; } 70%, 100% { content: "Back online. All sent."; } }

/* 2. The rulebook: a flag result writing itself. */
.flag { width: 100%; max-width: 520px; }
.flag .chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--panel-2); border: 1px solid var(--rule); font: 600 15px var(--font); }
.flag .chip i { width: 18px; height: 13px; background: #f5c400; }
.flag .says { margin-top: 18px; font: 600 clamp(20px, 2vw, 26px)/1.3 var(--font); min-height: 4.2em; }
.flag .says .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--blue-hi); margin-left: 3px; vertical-align: -.15em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* 3. A roster from a photo. */
.scan { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: center; width: 100%; }
.paper { position: relative; background: #e9e4d8; color: #2d2a24; padding: 18px 16px; font: 13px/1.75 "Courier New", monospace; transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .45); overflow: hidden; white-space: nowrap; }
.paper .beam { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--blue-hi); box-shadow: 0 0 0 1px rgba(58, 131, 236, .35); opacity: 0; }
.in .paper .beam { animation: beam 4.5s var(--ease) infinite; }
@keyframes beam { 0% { top: 0; opacity: 1; } 55% { top: 100%; opacity: 1; } 60%, 100% { top: 100%; opacity: 0; } }
.names { display: grid; gap: 4px; }
.names div { display: flex; gap: 12px; padding: 9px 12px; background: var(--panel-2); border: 1px solid var(--rule); font-size: 14px; opacity: 0; }
.names div b { width: 24px; text-align: right; font: 700 17px var(--cond); }
.in .names div { animation: nm 4.5s var(--ease) infinite; }
.names div:nth-child(2) { animation-delay: .25s !important; } .names div:nth-child(3) { animation-delay: .5s !important; } .names div:nth-child(4) { animation-delay: .75s !important; } .names div:nth-child(5) { animation-delay: 1s !important; }
@keyframes nm { 0%, 12% { opacity: 0; transform: translateX(-10px); } 22%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 4. The keyboard. */
.keys { display: flex; gap: 10px; align-items: flex-end; }
.key { display: grid; place-items: center; min-width: 74px; height: 74px; padding: 0 16px; background: var(--panel-2); border: 1px solid var(--rule-2); border-bottom-width: 5px; font: 700 30px var(--cond); color: var(--white); }
.key.wide { min-width: 140px; font-size: 22px; }
.in .key { animation: press 3.2s infinite; }
.in .key:nth-child(2) { animation-delay: .35s; } .in .key:nth-child(3) { animation-delay: .9s; }
@keyframes press { 0%, 8% { transform: none; border-bottom-width: 5px; background: var(--panel-2); } 12% { transform: translateY(4px); border-bottom-width: 1px; background: var(--blue); border-color: var(--blue); } 20%, 100% { transform: none; border-bottom-width: 5px; background: var(--panel-2); } }
.keyline { margin-top: 18px; color: var(--mute); font-size: 14px; letter-spacing: .04em; }

/* 5. Every export. */
.docs { position: relative; width: 260px; height: 190px; }
.doc { position: absolute; left: 50%; top: 50%; width: 140px; height: 176px; margin: -88px 0 0 -70px; background: #f3f5f7; color: #171b1f; padding: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); transition: transform .9s var(--ease); }
.doc b { display: block; font: 700 15px var(--cond); text-transform: uppercase; letter-spacing: .04em; }
.doc i { display: block; height: 5px; background: #d5dade; margin-top: 9px; }
.doc i:nth-of-type(2n) { width: 70%; }
.doc .tag { position: absolute; left: 14px; bottom: 12px; font: 600 11px var(--font); color: var(--blue); letter-spacing: .08em; text-transform: uppercase; }
.in .doc:nth-child(1) { transform: rotate(-14deg) translate(-78px, 10px); }
.in .doc:nth-child(2) { transform: rotate(-5deg) translate(-26px, -4px); }
.in .doc:nth-child(3) { transform: rotate(5deg) translate(26px, -4px); }
.in .doc:nth-child(4) { transform: rotate(14deg) translate(78px, 10px); }
.tile:hover .doc:nth-child(1) { transform: rotate(-18deg) translate(-100px, 14px); }
.tile:hover .doc:nth-child(4) { transform: rotate(18deg) translate(100px, 14px); }

/* 6. It checks before it saves. */
.ask { width: 100%; max-width: 420px; background: var(--panel-2); border: 1px solid var(--rule-2); transform: scale(.94); opacity: 0; transition: transform .8s var(--ease) .2s, opacity .8s var(--ease) .2s; }
.in .ask { transform: none; opacity: 1; }
.ask .t { padding: 12px 16px; border-bottom: 1px solid var(--rule); font: 600 14px var(--font); color: var(--mute); }
.ask p { margin: 0; padding: 16px; font-size: 17px; color: var(--white); }
.ask .b { display: flex; justify-content: flex-end; gap: 8px; padding: 0 16px 16px; }
.ask .b span { padding: 9px 14px; border: 1px solid var(--rule-2); font: 600 14px var(--font); }
.ask .b span.go { background: var(--white); color: var(--black); border-color: var(--white); }

/* ================================================================
 * The sports: huge words sliding as you scroll.
 * ================================================================ */
.sports { padding: 16vh 0; overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sports .wrap { margin-bottom: 7vh; }
.rail { display: flex; gap: 6vw; white-space: nowrap; will-change: transform; padding-left: 6vw; }
.rail span { font: 700 clamp(80px, 13vw, 210px)/1 var(--cond); text-transform: uppercase; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 2px #4f5861; }
.rail span.now { color: var(--white); -webkit-text-stroke: 0; }
.rail span sup { font: 600 14px var(--font); letter-spacing: .16em; color: var(--mute); -webkit-text-stroke: 0; vertical-align: top; margin-left: 12px; position: relative; top: 2.6vw; }
.rail span.now sup { color: var(--blue-hi); }

/* The list to hear when a sport is ready. */
.notify { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin-top: 9vh; }
.nf { display: grid; gap: 8px; font: 600 12px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.nf input, .nf select { height: 56px; min-width: 0; width: min(340px, 100%); padding: 0 16px; background: var(--panel); border: 1px solid var(--rule-2); color: var(--white); font: 500 17px var(--font); letter-spacing: 0; text-transform: none; transition: border-color .3s var(--ease); }
.nf select { width: 210px; }
.nf input:focus, .nf select:focus { border-color: var(--blue-hi); outline: none; }
.hp { position: absolute; left: -9999px; }

/* ================================================================
 * The price, and the last word.
 * ================================================================ */
.price { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.big { font: 700 clamp(150px, 22vw, 320px)/.8 var(--cond); letter-spacing: -.03em; }
.big small { display: block; font: 600 16px var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: 48px; }
.terms { display: grid; gap: 0; border-top: 1px solid var(--rule); margin-top: 36px; }
.terms div { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.terms span { color: var(--mute); }
.terms b { font-weight: 600; text-align: right; }
.finale { position: relative; min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 18vh 24px; border-top: 1px solid var(--rule); overflow: hidden; }
.finale .display { font-size: clamp(56px, 10vw, 168px); }
.finale .display span { display: block; }
.finale .display .blue { color: var(--blue-hi); }
.finale .ctas { margin-top: 44px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.finale small { display: block; margin-top: 22px; color: var(--mute-2); font-size: 14px; }
.foot { border-top: 1px solid var(--rule); padding: 34px 0 44px; color: var(--mute-2); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; }
.foot img { height: 18px; width: auto; display: block; }
.foot nav { display: flex; gap: 24px; }
.foot nav a:hover { color: var(--white); }
.foot .r { margin-left: auto; }

/* ---- Narrower screens ---- */
@media (max-width: 980px) {
  .nav .links { display: none; }
  .nav .btn { margin-left: auto; }
  .head, .price { grid-template-columns: minmax(0, 1fr); }
  .head .lede { justify-self: start; }
  .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile.w3, .tile.w2, .tile.w4 { grid-column: span 2; }
  .tv { width: 58vw; right: 4vw; top: 12vh; }
  .phone { width: 34vw; right: 6vw; bottom: 6vh; }
  .cap { bottom: 5vh; }
  .story { height: 680vh; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav .wrap { height: 60px; }
  .nav .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  .title .mark { width: 82vw; }
  .tile { min-height: 340px; }
  .scan { grid-template-columns: minmax(0, 1fr); }
  .docs { transform: scale(.8); }
  .key { min-width: 58px; height: 58px; font-size: 24px; }
  .key.wide { min-width: 100px; font-size: 18px; }
  .tv { width: 84vw; right: 8vw; top: 11vh; }
  .phone { width: 48vw; left: 26vw; right: auto; bottom: auto; top: 36vh; }
  .phone .glass { aspect-ratio: 9 / 13.5; }
  .cap { bottom: 3vh; }
  .cap .card { padding: 18px 18px 20px; }
  .cap p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .title .line span, .title .after, .ask { opacity: 1 !important; transform: none !important; transition: none !important; }
  .in .key, .in .names div, .in .paper .beam, .in .sig .bars i, .in .sig .q, .in .sig .q i, .cue::after, .flag .says .caret { animation: none !important; }
  .names div { opacity: 1; }
}

/* ================================================================
 * The other pages: download, privacy, thanks, 404.
 * ================================================================ */
.page main { padding-top: 160px; padding-bottom: 14vh; min-height: 80vh; }
.nav .logo + .btn { margin-left: auto; }
.display .blue { color: var(--blue-hi); }
.h3 { margin: 0 0 14px; font: 700 24px/1.1 var(--cond); text-transform: uppercase; letter-spacing: .02em; }
.page .display { margin-top: 18px; }
.center-page { display: grid; justify-items: start; align-content: center; }
.center-page .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* The download box: loading, ready, or "coming soon" until a download link is out. */
.dl-box { margin-top: 48px; padding: 34px; background: var(--panel); border: 1px solid var(--rule); }
.dl-main { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.big-btn { height: 64px; padding: 0 34px; font-size: 19px; }
.dl-meta { color: var(--mute); }
.dl-soon { display: none; margin: 0; color: var(--mute); font-size: 18px; }
.dl-soon a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.dl-box[data-state="soon"] .dl-main { display: none; }
.dl-box[data-state="soon"] .dl-soon { display: block; }
.dl-box[data-state="loading"] .btn { opacity: .5; pointer-events: none; }
.dl-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 72px; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 12px; color: var(--mute); }
.steps b, .needs b { color: var(--white); font-weight: 600; }
.steps b { white-space: nowrap; }
.needs, .notes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.needs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--mute); }
.needs li b { text-align: right; }
.notes li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--mute); }
.check { margin-top: 16px; font-size: 13px; color: var(--mute-2); overflow-wrap: anywhere; }
.check code { color: var(--mute); }

/* Privacy: comfortable reading. */
.prose { max-width: 760px; }
.prose .h2 { margin-top: 16px; }
.prose .h3 { margin-top: 48px; }
.prose p { color: var(--mute); max-width: 64ch; }

@media (max-width: 980px) {
  .dl-cols { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .page main { padding-top: 120px; }
}
