:root{color-scheme:light;--ink:#17273a;--dark:#14263e;--green:#96372e;--lime:#f4e8d2;--muted:#505c6c;--line:#d7dde5;--paper:#f7f5f0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.5}
*{box-sizing:border-box}body{margin:0}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #b86640;outline-offset:4px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:progress;opacity:.65}[hidden]{display:none!important}.container{width:min(1120px,calc(100% - 48px));margin-inline:auto}
.site-header{background:var(--dark);color:#fff;border-bottom:1px solid #3b4b61}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;white-space:nowrap;font-size:1.25rem;font-weight:800}.brand img{border-radius:9px}.brand b{color:var(--lime)}nav,.actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}nav a{text-decoration:none;font-weight:650}.button,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:1px solid transparent;border-radius:9px;text-decoration:none;font-weight:750;line-height:1.25}.button{background:var(--lime);color:#14263e}.button:hover{background:#fef3df}.compact{min-height:42px;font-size:.9rem;padding-inline:12px}.secondary{color:inherit;border-color:currentColor;background:transparent}
.hero{background:radial-gradient(ellipse at 82% 34%,#314e70 0%,transparent 53%),var(--dark);color:white;padding:clamp(52px,8vw,108px) 0}.hero-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(32px,7vw,88px);align-items:center}h1,h2,h3,p{margin-top:0}.hero h1{font-size:clamp(2.72rem,5.7vw,5.25rem);letter-spacing:-.058em;line-height:1.02;margin-bottom:23px}.hero p,.league-section p{font-size:1.12rem;max-width:33rem}.hero p{color:#e1e7ee}.hero small{display:block;margin-top:20px;color:#d9e0ea;font-size:.9rem}.preview{color:var(--ink);background:white;border-radius:18px;box-shadow:0 15px 50px #0a172977;border:1px solid #8b98a9;overflow:hidden;font-size:.9rem}.preview-top{background:#eef1f5;padding:19px 20px;display:flex;align-items:center;justify-content:space-between}.preview-top div{display:grid}.preview-top div span,.preview-bottom{color:var(--muted)}.preview-top strong{font-size:1.38rem}.mini-brand,.preview-row i{background:#f4e8d2;border-radius:8px;padding:6px 8px;color:#243a57;font-weight:750;font-style:normal;text-align:center}.preview-nav{display:flex;gap:15px;padding:10px 20px;border-bottom:1px solid var(--line)}.preview-nav strong{color:var(--green)}.preview-columns,.preview-row{display:grid;grid-template-columns:2rem minmax(56px,1fr) .62fr .75fr;gap:8px;align-items:center;padding:9px 20px;border-bottom:1px solid var(--line)}.preview-columns{font-size:.78rem;color:var(--muted)}.preview-columns span:first-child{grid-column:span 2}.preview-row span{font-variant-numeric:tabular-nums}.preview-bottom{padding:12px 20px;display:flex;gap:8px;justify-content:space-between;font-size:.78rem}
.feature-section{padding-block:clamp(44px,7vw,82px)}h2{font-size:clamp(1.8rem,3.3vw,2.7rem);letter-spacing:-.035em;line-height:1.12;margin-bottom:21px}.features,.league-inner{display:grid;gap:24px}.features{grid-template-columns:repeat(3,1fr)}.features article{border-top:3px solid var(--green);padding-top:17px}.features p,.league-section p{color:var(--muted);margin-bottom:18px}.features h3,.league-inner h3{margin-bottom:8px}.league-section{background:#eee8df;padding-block:48px}.league-inner{grid-template-columns:1.4fr 1fr;gap:clamp(24px,6vw,74px)}.league-inner .button,.signup-card .button{background:var(--green);color:white}.league-inner .button:hover,.signup-card .button:hover{background:#762b24}.footer{display:flex;flex-wrap:wrap;align-items:center;gap:15px 30px;padding-block:25px;color:var(--muted);font-size:.9rem}.footer span{font-weight:750;margin-right:auto}
.signup-wrap{width:min(570px,calc(100% - 32px));margin:44px auto 55px}.signup-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(20px,5vw,38px)}.signup-card h1{font-size:clamp(1.8rem,5vw,2.6rem);line-height:1.1;letter-spacing:-.04em}.signup-card label:not(.check){display:grid;gap:5px;margin:13px 0;font-weight:700}.signup-card input:not([type=checkbox]){width:100%;min-height:46px;border:1px solid #a0acbb;border-radius:8px;padding:8px 10px;color:inherit}.signup-card .check{display:flex;gap:10px;align-items:center;min-height:44px;margin:14px 0}.check input{width:20px;height:20px;flex:none}.signup-card [role=status]{color:var(--muted);margin:12px 0 0}.signup-card .signup-help{font-size:.88rem;color:var(--muted);margin-bottom:0}
@media(max-width:740px){.hero-grid,.league-inner{grid-template-columns:1fr}.hero-grid{gap:34px}.hero-copy{max-width:36rem}.preview{max-width:510px}.features{grid-template-columns:1fr;gap:15px}.feature-link{display:none}.container{width:calc(100% - 36px)}}
@media(max-width:390px){.brand{font-size:1.05rem}.brand img{width:38px;height:38px}nav{gap:8px}.header-inner{gap:7px}.compact{font-size:.82rem;padding-inline:8px}.preview-row,.preview-columns{padding-inline:12px}.preview-bottom{padding-inline:12px}}

/* Hero photography and feature previews */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--dark);
}
.hero-photos, .hero-photo, .hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-photos { z-index: -2; }
.hero-photo {
  opacity: 0;
  transition: opacity .75s ease;
}
.hero-photo.active { opacity: 1; }
.baseball-photo { --hero-image: url('/photos/baseball.webp'); }
.softball-photo { --hero-image: url('/photos/softball.webp'); }
.hero-photo::before, .hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
}
.hero-photo::before {
  background-size: cover;
  background-position: center 46%;
  filter: blur(18px) brightness(.65);
  transform: scale(1.05);
}
.hero-photo::after {
  inset: -17% auto auto calc(50% - min(32vw, 470px));
  height: 132%;
  aspect-ratio: 3 / 4;
  background-size: 100% 100%;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 72%, transparent);
}
.hero::after {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg, #112137fa 3%, #112137d9 28%, #11213750 50%, #11213741 65%, #11213768 100%),
    linear-gradient(0deg, #11213791, transparent 44%);
}
.hero h1 { font-size: clamp(2.65rem, 5.35vw, 4.3rem); }
.hero-copy { text-shadow: 0 2px 13px #1121379e; }
.hero-copy .button { text-shadow: none; }
.hero-copy .secondary { background-color: #112137fc; }
.showcase { min-width: 0; }
.preview-stack { display: grid; }
.preview-stack > .preview {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.preview-stack > .preview.active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transition: opacity .35s ease;
}
.preview-stack .preview-bottom { margin-top: auto; min-height: 44px; }
.preview-drill { padding: 9px 20px 0; }
.preview-drill h3 { margin: 0; font-size: 1rem; }
.preview-drill > div:first-child { margin-bottom: 3px; }
.preview-drill > div:first-child span { color: var(--muted); }
.preview-score { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); }
.showcase-controls {
  margin-top: 10px;
  display: flex;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
}
.showcase-options { display: flex; gap: 4px; flex-wrap: wrap; }
.showcase-controls button {
  min-height: 44px;
  padding: 6px 10px;
  color: #fff;
  border: 1px solid #c7d1de;
  border-radius: 7px;
  background: #152741ed;
  font-size: .86rem;
  font-weight: 650;
}
.showcase-controls button[aria-pressed=true] { background: var(--lime); color: var(--dark); border-color: var(--lime); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 740px) {
  .showcase { max-width: 510px; }
  .hero-photo::before { display: none; }
  .hero-photo::after { inset: 0; height: auto; aspect-ratio: auto; background-size: cover; background-position: 58% 27%; mask-image: none; }
  .hero::after {
    background: linear-gradient(90deg, #112137d9, #11213776),
      linear-gradient(0deg, #112137d9 3%, transparent 85%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .preview-stack > .preview, .preview-stack > .preview.active { transition: none; }
}

.site-header .training-link{text-decoration:none;font-weight:700;color:#e8edf4}
.site-header .training-link:hover{text-decoration:underline}
.feature-section .features{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.feature-section .features article{border-radius:15px;height:100%}
@media(max-width:940px){.feature-section .features{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.site-header .training-link{display:none}.feature-section .features{grid-template-columns:1fr}}

.tryout-tools h1 {max-width:20ch;font-size:clamp(2.3rem,6vw,4.2rem);line-height:1.04;margin:0 0 1rem}
.tools-intro {max-width:66ch;font-size:1.125rem;margin:0 0 2rem}
.tools-downloads {grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr))}
.tools-downloads article {display:flex;flex-direction:column;align-items:flex-start}
.tools-downloads article h2 {font-size:1.45rem;margin:0}
.tools-downloads article .button {margin-top:auto}
.tryout-tools ol,.tools-watch {padding-inline-start:1.35rem}
.tryout-tools li+li {margin-top:.65rem}
.tools-watch a {text-decoration:underline;text-underline-offset:.18em}

@font-face {
  font-family: "College";
  src: url("/fonts/college-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
.homepage-masthead {
  background: linear-gradient(115deg, #233d5a, var(--dark) 57%);
  border-bottom: 3px solid #a33731;
}
.homepage-masthead .header-inner {
  min-height: 105px;
  padding-block: 8px;
}
.homepage-masthead .brand {
  gap: clamp(10px, 1.6vw, 19px);
  color: #fff6e6;
  font-family: "College", "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.08;
  text-transform: uppercase;
}
.homepage-masthead .brand img {
  width: clamp(64px, 8.5vw, 106px);
  height: auto;
  flex: none;
}
.homepage-masthead .brand b {
  color: #f4e8d2;
  font-weight: inherit;
  -webkit-text-stroke: 2px #96372e;
  paint-order: stroke fill;
}
@media (max-width: 650px) {
  .homepage-masthead .header-inner {
    flex-direction: column;
    gap: 3px;
    padding-block: 8px;
  }
  .homepage-masthead .brand {
    gap: clamp(8px, 2vw, 14px);
    font-size: clamp(1.75rem, 8vw, 2.55rem);
    white-space: normal;
  }
  .homepage-masthead .brand img { width: clamp(54px, 15vw, 78px); }
  .homepage-masthead nav { justify-content: center; }
  .homepage-masthead .training-link { display: inline-flex; align-items: center; min-height: 42px; }
}
