/* Checkdown by Towers One: site styles
   Stadium navy, scoreboard gold, turf green. Saira Condensed for headings and numbers, Barlow for reading,
   Graduate (varsity) only for the wordmark. */
:root {
  --navy: #121b2c; --deep: #0c1422; --panel: #1a2539; --line: #2c3a55;
  --gold: #ffd200; --turf: #3c7426; --chalk: #eef2f6; --dim: #9aa8bf; --red: #d0312d; --ok: #4ade80;
  --head: "Saira Condensed", "Arial Narrow", sans-serif; --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --mark: "Graduate", "Arial Black", Impact, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--navy); color: var(--chalk); font: 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.02; margin: 0; font-weight: 800; letter-spacing: .2px; }
h2 { font-size: clamp(36px, 5vw, 56px); }
h3 { font-size: 26px; }
p { margin: 0 0 14px; max-width: 64ch; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(12, 20, 34, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 26px; height: 64px; }
.mark { font: 26px/1 var(--mark); color: var(--chalk); text-decoration: none; letter-spacing: 1px; }
.mark small { font: 600 13px var(--body); color: var(--dim); letter-spacing: 0; margin-left: 8px; }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { color: var(--chalk); text-decoration: none; font: 600 17px var(--body); }
.top nav a:hover { color: var(--gold); }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } .mark small { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 800 20px var(--head); letter-spacing: .3px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .12s, background .12s; }
.btn:active { transform: translateY(1px); }
.btn.gold { background: var(--gold); color: #1a1500; }
.btn.gold:hover { background: #ffe14d; }
.btn.line { border-color: var(--chalk); color: var(--chalk); background: transparent; }
.btn.line:hover { background: rgba(255,255,255,.08); }
.btn.small { min-height: 40px; font-size: 17px; padding: 0 16px; }
.btn[disabled] { opacity: .5; cursor: default; }

/* hero: the product, live on a field */
.hero { position: relative; overflow: hidden; min-height: min(760px, 92vh); display: flex; flex-direction: column;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(11.25% - 6px), rgba(255,255,255,.78) calc(11.25% - 6px) 11.25%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.07) 0 5.625%, rgba(255,255,255,.04) 5.625% 11.25%),
    linear-gradient(180deg, #4b8530, #2f6420); }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,20,34,.72) 0%, rgba(12,20,34,.45) 45%, rgba(12,20,34,.12) 75%), linear-gradient(180deg, rgba(12,20,34,0) 60%, rgba(12,20,34,.55)); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 8px; opacity: .45;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 6px, transparent 6px 46px); }
.hero .wrap { position: relative; z-index: 1; padding: 90px 0 40px; flex: 1; }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); max-width: 13ch; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.hero p.lead { font-size: clamp(19px, 2vw, 22px); margin: 22px 0 30px; max-width: 46ch; color: #e6ecf3; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .fine { margin-top: 14px; font-size: 15px; color: var(--dim); }

/* the live scorebug in the hero (a smaller copy of Checkdown's Split look) */
.bugzone { position: relative; z-index: 1; padding: 0 20px 44px; }
.bug { width: min(980px, 100%); margin: 0 auto; filter: drop-shadow(0 14px 26px rgba(0,0,0,.5)); font-family: var(--head); }
.bug .row { display: grid; grid-template-columns: 1fr 1fr; height: 84px; border-radius: 8px 8px 0 0; overflow: hidden; }
.bug .side { display: flex; align-items: center; gap: 14px; padding: 0 18px; color: #fff; position: relative; }
.bug .side.a { background: linear-gradient(180deg, #d8b871, #b08f45); color: #1d1608; }
.bug .side.h { background: linear-gradient(180deg, #3a3fa0, #27297a); flex-direction: row-reverse; text-align: right; }
.bug .logo { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 800 28px var(--head); flex: none; }
.bug .a .logo { background: #3b2a12; color: #e6c97e; } .bug .h .logo { background: #ffd23f; color: #1e2380; }
.bug .nm { font-size: clamp(22px, 3.4vw, 38px); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.bug .rec { font: 600 15px var(--body); opacity: .85; }
.bug .pts { font-size: clamp(42px, 6vw, 64px); font-weight: 800; min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; }
.bug .pts.pop { animation: pop .6s ease; }
@keyframes pop { 40% { transform: scale(1.35); color: var(--gold); } }
.bug .strip { display: flex; justify-content: center; }
.bug .strip div { display: flex; gap: 28px; padding: 6px 26px; background: #121826; color: #fff; font: 800 24px var(--head); border-radius: 0 0 8px 8px; font-variant-numeric: tabular-nums; }
.bug .strip .dd { color: var(--gold); }
.bug .td { position: absolute; inset: 0; display: grid; place-items: center; font: 800 46px var(--head); letter-spacing: 6px; color: #1a1500;
  background: var(--gold); clip-path: inset(0 100% 0 0); }
.bug .td.go { animation: td 2.4s cubic-bezier(.6,0,.3,1) forwards; }
/* wipe in from the left, hold, wipe off to the right: never see-through */
@keyframes td { 0% { clip-path: inset(0 100% 0 0); } 18% { clip-path: inset(0 0 0 0); } 78% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }
@media (max-width: 600px) { .bug .rec { display: none; } .bug .logo { width: 40px; height: 40px; font-size: 20px; } .bug .strip div { gap: 14px; font-size: 18px; } }

/* sections */
section { padding: 96px 0; }
section.alt { background: var(--deep); }
.intro { max-width: 760px; margin-bottom: 44px; }
.intro p { color: var(--dim); font-size: 20px; margin-top: 16px; }

/* game night: a real sequence, so it's numbered by when it happens */
.night { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 4px solid var(--gold); }
.night > div { padding: 22px 22px 0 0; }
.night .when { font: 800 22px var(--head); color: var(--gold); display: block; margin-bottom: 10px; }
.night h3 { margin-bottom: 10px; }
.night p { color: #cfd8e4; font-size: 17px; }
@media (max-width: 900px) { .night { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .night { grid-template-columns: 1fr; } }

.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.crew h3 { font-size: 23px; margin-bottom: 6px; }
.crew p { color: #cfd8e4; font-size: 17px; }
@media (max-width: 900px) { .crew { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .crew { grid-template-columns: 1fr; } }

/* pricing: three scoreboard panels */
.prices { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 18px; align-items: stretch; }
.price { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; display: flex; flex-direction: column; }
.price.pick { border: 2px solid var(--gold); }
.price h3 { font-size: 30px; }
.price .amt { font: 800 64px/1 var(--head); margin: 18px 0 4px; font-variant-numeric: tabular-nums; }
.price .amt small { font-size: 22px; color: var(--dim); font-weight: 600; margin-left: 4px; }
.price .who { color: var(--dim); font-size: 16px; margin-bottom: 18px; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 17px; }
.price li { padding: 8px 0; border-top: 1px solid var(--line); }
.price .btn { margin-top: auto; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }

/* updates: the timeline that explains the renewal */
.timeline { margin: 36px 0 10px; position: relative; padding-top: 70px; }
.tl-bar { position: relative; height: 14px; border-radius: 7px; background: #2a3650; display: flex; overflow: hidden; }
.tl-bar span { height: 100%; }
.tl-bar .covered { background: var(--turf); } .tl-bar .gap { background: repeating-linear-gradient(45deg, #2a3650 0 10px, #33405c 10px 20px); }
.tl-bar .renewed { background: var(--gold); }
.tl-pin { position: absolute; top: 0; transform: translateX(-50%); text-align: center; font-size: 15px; width: 150px; }
.tl-pin b { display: block; font: 800 19px var(--head); color: var(--chalk); }
.tl-pin::after { content: ""; display: block; width: 2px; height: 22px; background: var(--dim); margin: 6px auto 0; }
.tl-key { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 16px; font-size: 15px; color: var(--dim); }
.tl-key i { display: inline-block; width: 22px; height: 10px; border-radius: 5px; margin-right: 8px; vertical-align: middle; }

details.faq { border-top: 1px solid var(--line); padding: 18px 0; max-width: 820px; }
details.faq summary { cursor: pointer; font: 800 23px var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; color: var(--gold); font-size: 28px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 12px 0 0; color: #cfd8e4; }

footer { background: var(--deep); border-top: 1px solid var(--line); padding: 34px 0; color: var(--dim); font-size: 15px; }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { margin-left: auto; display: flex; gap: 18px; }
footer a { color: var(--chalk); text-decoration: none; }

/* forms and the flow pages */
.page { padding: 64px 0 90px; }
.page h1 { font-size: clamp(42px, 6vw, 64px); margin-bottom: 14px; }
.page .sub { color: var(--dim); font-size: 20px; margin-bottom: 32px; }
.flow { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card + .card { margin-top: 18px; }
label.f { display: block; margin-bottom: 18px; }
label.f span { display: block; font: 700 16px var(--body); margin-bottom: 6px; }
label.f small { display: block; color: var(--dim); font-size: 14px; margin-top: 6px; }
input.in, textarea.in { width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 10px; border: 1px solid #3b4a68; background: var(--deep);
  color: var(--chalk); font: 18px var(--body); }
textarea.in { font: 14px/1.45 ui-monospace, Consolas, monospace; min-height: 110px; }
input.in:focus, textarea.in:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,210,0,.25); }
input.code { letter-spacing: 10px; font: 800 30px var(--head); text-align: center; max-width: 240px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.tiers button { padding: 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--deep); color: var(--chalk); text-align: left; cursor: pointer; font: inherit; }
.tiers button b { display: block; font: 800 24px var(--head); }
.tiers button[aria-pressed="true"] { border-color: var(--gold); background: #22304a; }
.msg { padding: 12px 14px; border-radius: 10px; margin: 0 0 16px; font-size: 16px; }
.msg.err { background: #4c1717; border: 1px solid #8b2c2c; } .msg.ok { background: #153b24; border: 1px solid #2b7a46; } .msg.info { background: #1f2f4d; border: 1px solid #34507f; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 6px; font-size: 17px; }
.summary dt { color: var(--dim); } .summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; display: flex; justify-content: space-between; font: 800 30px var(--head); }
.keybox { font: 14px/1.5 ui-monospace, Consolas, monospace; background: var(--deep); border: 1px dashed var(--gold); border-radius: 10px; padding: 14px; word-break: break-all; }
.steps { padding-left: 22px; } .steps li { margin: 10px 0; }
.hidden { display: none !important; }
.spin { display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.25); border-top-color: var(--gold); border-radius: 50%; animation: sp 1s linear infinite; vertical-align: -3px; }
@keyframes sp { to { transform: rotate(360deg); } }

/* terms and privacy: readable long-form text */
.legal { max-width: 760px; }
.legal h2 { font-size: 30px; margin: 40px 0 12px; }
.legal ul { padding-left: 22px; } .legal li { margin: 10px 0; max-width: 64ch; }
.legal p, .legal li { color: #d7dfea; }
