/* Legacy: Peewee to the Hall! website. Bright on purpose: a green field, gold, white and bold team colors, with dark
   only in the footer. It stays bright when the phone is in dark mode. No web fonts and nothing loaded from anyone
   else, so the site tracks nobody, like the game. */

:root {
  color-scheme: light;
  --ink: #111a36;
  --muted: #4b5671;
  --line: #e3e7f0;
  --paper: #ffffff;
  --sky: #eef4ff;
  --navy: #0d1a4a;
  --gold: #ffc733;
  --gold-deep: #f2a900;
  --green: #1d8a3b;
  --green-dark: #187833;
  --blue: #1f5bd8;
  --red: #e2361f;
  --purple: #6a2ec4;
  --orange: #f57110;
  --teal: #0a9a9e;
  --radius: 20px;
  --wide: 1120px;
  --head: "Avenir Next Condensed", "Avenir Next", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --lift: 0 1px 2px rgba(17, 26, 54, 0.06), 0 12px 32px rgba(17, 26, 54, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

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

.wrap { width: min(var(--wide), 100% - 32px); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0 0 0.4em;
  color: var(--navy);
}
h1 { font-size: clamp(2.8rem, 7.5vw, 5rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.8vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.4rem; }

/* A small label above a heading: a gold tag, like a team's patch. */
.kicker {
  display: inline-block;
  font-family: var(--head);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 5px 12px 4px;
  border-radius: 999px;
  margin: 0 0 14px;
}

.muted { color: var(--muted); }

/* The bar at the top. */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-family: var(--head); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.04em; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 9px; box-shadow: 0 2px 6px rgba(17, 26, 54, 0.25); }
.brand .name { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand .name small { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; color: var(--green); }
.top nav { display: flex; gap: 24px; font-size: 0.98rem; }
.top nav a { color: var(--ink); }
.top nav a:hover { color: var(--blue); text-decoration: none; }

/* Buttons: gold for the main one, as in the game. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 0;
}
.button.gold { background: linear-gradient(180deg, #ffd45c, var(--gold) 45%, var(--gold-deep)); color: var(--navy); box-shadow: 0 6px 0 #c98a00, 0 14px 30px rgba(0, 0, 0, 0.22); }
.button.white { background: #fff; color: var(--navy); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18), 0 14px 30px rgba(0, 0, 0, 0.18); }
.button:hover { text-decoration: none; filter: brightness(1.05); }
.button[aria-disabled="true"] { cursor: default; }

/* The opening: a mowed field with its yard lines. */
.hero {
  position: relative;
  padding: 64px 0 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.14)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0 4px, transparent 4px 240px),
    repeating-linear-gradient(90deg, var(--green) 0 120px, var(--green-dark) 120px 240px);
  background-position: 0 0, 118px 0, 0 0;
}
.hero-words { text-align: center; max-width: 880px; }
.hero h1 { color: #fff; font-size: clamp(3rem, 9vw, 6.4rem); line-height: 0.95; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.2); margin-bottom: 0.25em; }
.hero h1 .pre { display: block; font-size: 0.42em; letter-spacing: 0.32em; color: var(--gold); margin-bottom: 0.1em; padding-left: 0.32em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.24rem; margin: 0 auto 28px; max-width: 640px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.hero .kicker { background: #fff; color: var(--green-dark); }
.hero .buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }

/* A phone on its side, the way the game is played. */
.phone {
  position: relative;
  border-radius: 34px;
  padding: 11px;
  background: linear-gradient(145deg, #3a4052, #12151e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 30px 70px rgba(0, 0, 0, 0.35), 0 8px 20px rgba(0, 0, 0, 0.25);
}
.phone img { border-radius: 24px; width: 100%; height: auto; aspect-ratio: 1400 / 644; object-fit: cover; }

/* Seven helmets lined up on the field, facing the Hall's gold one in the middle. */
.lineup {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: min(1200px, 100% - 8px);
  margin: 34px auto -80px;
}
.lineup img { height: auto; margin: 0 -1.8%; filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.34)); }
.lineup img:nth-child(1), .lineup img:nth-child(7) { width: 13%; z-index: 1; }
.lineup img:nth-child(2), .lineup img:nth-child(6) { width: 15.5%; z-index: 2; }
.lineup img:nth-child(3), .lineup img:nth-child(5) { width: 18.5%; z-index: 3; }
.lineup img:nth-child(4) { width: 26%; z-index: 4; filter: drop-shadow(0 0 30px rgba(255, 210, 80, 0.55)) drop-shadow(0 20px 18px rgba(0, 0, 0, 0.35)); }

/* The helmet wall: every one a team of the game, painted the way the game paints it. */
.wall-band { background: radial-gradient(900px 420px at 50% 0%, #ffffff, var(--sky) 70%); }
.section-head.center { margin-inline: auto; text-align: center; }
.wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px 10px; }
.wall img { width: 100%; height: auto; filter: drop-shadow(0 10px 10px rgba(17, 26, 54, 0.22)); transition: transform 0.18s ease; }
.wall img:hover { transform: scale(1.08) rotate(-2deg); }

section { padding: 72px 0; }
.hero + section { padding-top: 120px; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head p:not(.kicker) { color: var(--muted); margin: 0; font-size: 1.08rem; }

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--lift);
}
.card p { margin: 0; color: var(--muted); }
.card .tag { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }

/* The three ways to play: each its own team color. */
.mode { padding: 0; overflow: hidden; border: 0; }
.mode .band { background: var(--c); color: #fff; padding: 16px 24px 14px; font-family: var(--head); font-weight: 800; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; }
.mode .body { padding: 20px 24px 26px; }
.c-blue { --c: var(--blue); }
.c-red { --c: var(--red); }
.c-purple { --c: var(--purple); }
.c-green { --c: var(--green); }
.c-orange { --c: var(--orange); }
.c-teal { --c: var(--teal); }

/* The levels, as steps up. */
.climb { background: var(--sky); }
.ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; }
.rung {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 14px;
  border-radius: 16px 16px 6px 6px;
  background: var(--c);
  color: #fff;
  box-shadow: var(--lift);
}
.rung b { display: block; font-family: var(--head); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.05; }
.rung span { font-size: 0.9rem; opacity: 0.95; margin-top: 4px; }
.rung:nth-child(1) { height: 110px; }
.rung:nth-child(2) { height: 140px; }
.rung:nth-child(3) { height: 170px; }
.rung:nth-child(4) { height: 200px; }
.rung:nth-child(5) { height: 230px; }
.rung:nth-child(6) { height: 270px; }
/* The top step: the Hall, in gold. */
.rung.hall { background: linear-gradient(180deg, #ffd45c, var(--gold) 45%, var(--gold-deep)); color: var(--navy); box-shadow: 0 6px 0 #c98a00, var(--lift); }
.ladder { margin-top: 96px; }
/* Each step has a helmet standing on it. */
.rung img { position: absolute; left: 50%; top: 0; width: 76%; height: auto; transform: translate(-50%, -66%); filter: drop-shadow(0 10px 8px rgba(17, 26, 54, 0.3)); }
.rung.hall img { width: 92%; transform: translate(-50%, -70%); filter: drop-shadow(0 0 18px rgba(255, 210, 80, 0.6)) drop-shadow(0 10px 8px rgba(17, 26, 54, 0.3)); }

/* What is in it: white cards, each with a strip of color. */
.feature { border-top: 6px solid var(--c); }
.feature h3 { margin-bottom: 0.3em; }

/* One career in six pictures: each card a team color, with yard lines, a headline and the screen. */
.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.poster {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px 20px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.28), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 56px),
    linear-gradient(165deg, var(--c), color-mix(in srgb, var(--c) 62%, #000));
  box-shadow: var(--lift);
  overflow: hidden;
}
.poster h3 { color: #fff; font-size: 2rem; text-transform: uppercase; margin: 0; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15); }
.poster p { margin: 0 0 16px; color: rgba(255, 255, 255, 0.94); font-size: 1rem; line-height: 1.4; }
.poster .phone { margin-top: auto; padding: 7px; border-radius: 20px; transform: rotate(-1.5deg); }
.poster:nth-child(even) .phone { transform: rotate(1.5deg); }
.poster .phone img { border-radius: 14px; }
.poster.hall { background:
    radial-gradient(circle at 15% 0%, rgba(255, 199, 51, 0.35), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 56px),
    linear-gradient(165deg, #22337e, var(--navy)); }
.poster.hall h3 { color: var(--gold); }

/* Screens, on a bright blue band, in rows by what they show. */
.band-blue {
  background:
    radial-gradient(1200px 400px at 50% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
    var(--blue);
  color: #fff;
}
.band-blue h2 { color: #fff; }
.row + .row { margin-top: 48px; }
.row h3 { display: inline-block; color: #fff; font-size: 1.6rem; text-transform: uppercase; margin: 0 0 4px; padding-bottom: 4px; border-bottom: 5px solid var(--c); }
.row > p { margin: 6px 0 20px; color: rgba(255, 255, 255, 0.9); max-width: 640px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.strip figure { margin: 0; }
.strip figcaption { margin-top: 10px; color: #fff; font-size: 0.95rem; font-weight: 600; line-height: 1.35; }
.strip .phone { padding: 6px; border-radius: 18px; }
.strip .phone img { border-radius: 13px; }
.c-yellow { --c: var(--gold); }

/* Price, on gold. */
.band-gold { background: linear-gradient(180deg, #ffd04d, var(--gold) 50%, #ffbb1f); }
.band-gold .kicker { background: var(--navy); color: var(--gold); }
.band-gold .section-head p:not(.kicker) { color: var(--navy); }
.price { display: flex; flex-direction: column; gap: 10px; position: relative; }
.price .amount { font-family: var(--head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--navy); }
.price .amount small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
.price ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--muted); }
.price li { margin: 4px 0; }
.price.best { border: 3px solid var(--blue); }
.price .ribbon { position: absolute; top: -14px; right: 20px; background: var(--red); color: #fff; font-family: var(--head); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px 4px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); }

/* The promise. */
.promise { text-align: center; }
.promise .wrap { max-width: 760px; }
.promise p:not(.kicker) { color: var(--muted); font-size: 1.12rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.chip { padding: 9px 18px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 700; font-size: 0.98rem; }

/* Pages of words: privacy and support. */
.page { padding: 0 0 72px; }
.page-head {
  color: #fff;
  padding: 48px 0 40px;
  margin-bottom: 36px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 4px, transparent 4px 240px),
    repeating-linear-gradient(90deg, var(--green) 0 120px, var(--green-dark) 120px 240px);
  background-position: 118px 0, 0 0;
}
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 3.6rem); text-shadow: 0 3px 0 rgba(0, 0, 0, 0.18); margin: 0; }
.page-head .kicker { background: #fff; color: var(--green-dark); }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 1.6rem; margin-top: 1.8em; text-transform: none; }
.page p, .page li { color: #2c3550; }
.page .updated { color: var(--muted); }
.faq details { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--blue); border-radius: 14px; padding: 16px 20px; margin: 12px 0; box-shadow: var(--lift); }
.faq details:nth-child(3n+2) { border-left-color: var(--red); }
.faq details:nth-child(3n) { border-left-color: var(--gold-deep); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq details p { margin: 10px 0 0; }

/* The only dark part of the site. */
footer { background: var(--navy); color: #c9d0e3; padding: 34px 0 48px; font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: #fff; }
footer a:hover { color: var(--gold); }

@media (max-width: 899px) {
  .wall { grid-template-columns: repeat(4, 1fr); }
  .posters { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: repeat(3, 1fr); row-gap: 90px; }
  .rung:nth-child(n) { height: auto; min-height: 120px; padding-top: 44px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav { gap: 16px; font-size: 0.92rem; }
  .top nav .hide-small { display: none; }
  .hero { padding-top: 40px; }
  .lineup { margin-bottom: -44px; }
  .lineup img:nth-child(1), .lineup img:nth-child(7), .lineup img:nth-child(2), .lineup img:nth-child(6) { display: none; }
  .lineup img:nth-child(3), .lineup img:nth-child(5) { width: 32%; }
  .lineup img:nth-child(4) { width: 44%; }
  .wall { grid-template-columns: repeat(3, 1fr); }
  .wall img:nth-child(n+13) { display: none; }
  .hero + section { padding-top: 84px; }
  .ladder { grid-template-columns: 1fr; gap: 8px; margin-top: 0; }
  .rung, .rung:nth-child(n) { height: auto; border-radius: 14px; padding: 12px 16px; }
  .rung:nth-child(n) { min-height: 0; }
  .rung:nth-child(1) { margin-right: 50%; }
  .rung:nth-child(2) { margin-right: 42%; }
  .rung:nth-child(3) { margin-right: 34%; }
  .rung:nth-child(4) { margin-right: 26%; }
  .rung:nth-child(5) { margin-right: 18%; }
  .rung:nth-child(6) { margin-right: 10%; }
  .rung span { margin-top: 2px; }
  .rung:nth-child(n) { padding: 12px 50px 12px 16px; }
  .rung img, .rung.hall img { left: auto; right: -40px; top: 50%; width: 82px; transform: translateY(-50%); }
  /* On a phone the pictures slide sideways, one at a time. */
  .posters, .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -16px; padding: 6px 16px 18px; scrollbar-width: none; }
  .posters::-webkit-scrollbar, .strip::-webkit-scrollbar { display: none; }
  .poster { flex: 0 0 84%; scroll-snap-align: center; }
  .strip figure { flex: 0 0 80%; scroll-snap-align: center; }
  .poster h3 { font-size: 1.7rem; }
  section { padding: 52px 0; }
}

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