@charset "UTF-8";
/* LeagueClubManager - product site (leagueclubmanager.ca)
   Brand: League & Club Manager kit (2026): navy / teal, Outfit for headings, IBM Plex Sans for text.
   Same foundation as the ManagerSense company site so the family looks related. */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #133345;
  --navy-tint: #1c4a5f;
  --teal: #2a9d8f;
  --teal-deep: #1f7d72;      /* teal text on light */
  --teal-bright: #4fc7b1;    /* teal on navy */
  --off-white: #f4f3ef;
  --paper: #ffffff;

  --ink: var(--navy);
  --pencil: rgba(19, 51, 69, 0.72);
  --rule: rgba(19, 51, 69, 0.14);
  --on-navy: rgba(255, 255, 255, 0.78);
  --highlight: #d7f2ec;

  --heading: "Outfit", "Segoe UI", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 5vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3, p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p, li { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--heading); text-wrap: balance; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
section[id], article[id] { scroll-margin-top: 24px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 3px; }
.top :focus-visible, .foot :focus-visible, .band--navy :focus-visible { outline-color: var(--teal-bright); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--highlight); color: var(--ink); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 0; }

/* ---------- Top: bar + hero on navy ---------- */

.top { background: var(--navy); color: #fff; overflow: hidden; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }

.brand { display: inline-block; line-height: 0; }
.brand__lockup { display: block; width: auto; height: 52px; }

.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px clamp(14px, 2.5vw, 28px); }
.nav a { color: var(--on-navy); text-decoration: none; font-weight: 500; padding: 6px 0; white-space: nowrap; }
.nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--teal-bright); }
.nav__cta { color: var(--teal-bright) !important; font-family: var(--heading); font-weight: 600 !important; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding-top: clamp(32px, 6vw, 80px);
  padding-bottom: clamp(52px, 8vw, 112px);
}

/* Brand pattern: the mark's S curve, navy on navy, behind the schedule card only */
.hero::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 48%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='54' viewBox='0 0 72 54'%3E%3Cpath d='M0 27 A18 18 0 0 0 36 27 A18 18 0 0 1 72 27' fill='none' stroke='%231c4a5f' stroke-width='14'/%3E%3C/svg%3E");
  background-size: 72px 54px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
  mask-image: linear-gradient(to right, transparent, #000 35%);
  display: none;
}
.hero > * { position: relative; }

.hero .eyebrow { margin-bottom: 18px; }

.hero h1 {
  font-size: clamp(2.2rem, 1.1rem + 4vw, 3.9rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero__lede { margin-top: 22px; max-width: 34em; color: var(--on-navy); font-size: 1.1875rem; line-height: 1.55; }

.hero__actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }

.button {
  display: inline-block;
  background: var(--teal-bright);
  color: var(--navy);
  font-family: var(--heading);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 22px;
  border: 0;
  border-radius: 6px;
  line-height: 1.2;
  cursor: pointer;
}
.button:hover { background: #fff; }
.button--ink { background: var(--navy); color: #fff; }
.button--ink:hover { background: var(--navy-tint); }

.textlink { font-weight: 600; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--teal-bright); }
.textlink:hover { text-decoration-color: #fff; }
.textlink--light { color: #fff; }

/* ---------- The hero card: one Saturday, with the platform doing its job ---------- */

.day {
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 22px 24px 8px;
  box-shadow: 0 24px 48px -18px rgba(5, 20, 30, 0.75);
  transform: rotate(-1.2deg);
}

.day__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.day__title { font-family: var(--heading); font-size: 1.125rem; font-weight: 600; color: var(--teal-deep); }
.day__sub { font-size: 0.8125rem; color: var(--pencil); white-space: nowrap; }

.game { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.game:last-child { border-bottom: 0; }
.game__div { grid-column: 1; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); }
.game__teams { grid-column: 1; font-family: var(--heading); font-size: 1.125rem; font-weight: 600; line-height: 1.25; }
.game__teams i { font-style: normal; font-weight: 400; color: var(--pencil); padding: 0 2px; }
.game__when { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.game__when s { display: block; color: var(--pencil); font-weight: 400; font-size: 0.8125rem; line-height: 1.3; }
.game__state { grid-column: 1 / -1; margin-top: 4px; font-size: 0.8125rem; color: var(--pencil); }
.game__state--done::before, .game__state--moved::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--teal); }
.game__state--moved { color: var(--teal-deep); font-weight: 500; }
.game__state--moved::before { background: var(--teal-bright); }
.game--moved .game__when { color: var(--teal-deep); }

/* script.js replays the moved game: first at its old time, then moved */
.day.is-replaying .game--moved .game__when s { display: inline; font-size: inherit; line-height: inherit; text-decoration: none; color: inherit; font-weight: 500; }
.day.is-replaying .game--moved .game__when s::after { content: " · Field 1"; }
.day.is-replaying .game--moved .game__new { display: none; }
.day.is-replaying .game--moved .game__when { color: inherit; }
.day.is-replaying .game--moved .game__state--moved { opacity: 0; }
.game__state--moved { transition: opacity 0.35s; }

/* ---------- Bands ---------- */

.band { padding: clamp(56px, 8vw, 104px) 0; background: var(--paper); }
.band--plain { background: var(--off-white); }
.band--navy { background: var(--navy); color: #fff; }

.eyebrow { font-family: var(--heading); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
.eyebrow--light { color: var(--teal-bright); }

h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 20em;
}

h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

.band__lede { margin-top: 20px; max-width: 38em; font-size: 1.125rem; color: var(--on-navy); }

/* Who it's for */
.shapes { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.shape { padding: 26px 26px 28px; border-radius: 8px; background: var(--off-white); border-top: 4px solid var(--teal); }
.shape h3 { margin-bottom: 10px; }
.shape p { color: var(--pencil); }

/* Features */
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 64px; align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--rule); }
.feature:first-of-type { margin-top: 40px; }
.feature h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }

.checks { margin-top: 22px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--pencil); }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 0.42em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--highlight) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%231f7d72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.soon { display: inline-block; vertical-align: 1px; margin: 0 2px; padding: 1px 7px; border-radius: 3px; background: var(--highlight); color: var(--teal-deep); font-family: var(--heading); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

.feature__art { display: grid; gap: 12px; justify-items: center; }
.art__caption { font-size: 0.875rem; color: var(--pencil); }

/* Art: real screenshots */
.shot { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(5, 20, 30, 0.55); }
.shot--panel { max-width: 520px; border: 1px solid var(--rule); }

.stack { position: relative; display: grid; gap: 14px; width: 100%; max-width: 480px; padding-right: 72px; }
.stack .shot:nth-child(2) { transform: translateX(16px); }
.stack .shot:nth-child(3) { transform: translateX(32px); }
.stack--plain { padding-right: 0; max-width: 520px; }
.stack--plain .shot { transform: none; border: 1px solid var(--rule); }
.shot--phone { position: absolute; right: 0; bottom: 0; width: 132px; border-radius: 14px; border: 4px solid var(--navy); box-shadow: 0 24px 48px -18px rgba(5, 20, 30, 0.75); transform: none !important; }

/* Art: registration panel */
.panel { width: 100%; max-width: 440px; background: var(--paper); border-radius: 8px; padding: 18px 20px 14px; box-shadow: 0 18px 40px -20px rgba(5, 20, 30, 0.55); }
.panel__title { font-family: var(--heading); font-weight: 600; color: var(--teal-deep); padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.panel__foot { margin-top: 12px; font-size: 0.8125rem; color: var(--pencil); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 0.9375rem; }
.row:last-child { border-bottom: 0; }
.row__who { font-weight: 500; }
.row__fee { color: var(--pencil); font-size: 0.875rem; white-space: nowrap; }
.row__fee small { font-size: 0.75rem; }
.chip { font-family: var(--heading); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.chip--ok { background: var(--highlight); color: var(--teal-deep); }
.chip--wait { background: #ece9e1; color: #5f6e78; }
.chip--flag { background: #fbe9d9; color: #9a4e13; }

/* Art: the phone */
.phone { width: 250px; padding: 18px 14px 20px; border-radius: 28px; background: var(--navy); box-shadow: 0 24px 48px -18px rgba(5, 20, 30, 0.75); display: grid; gap: 12px; }
.phone__push { background: rgba(255, 255, 255, 0.12); color: #fff; border-radius: 12px; padding: 10px 12px; font-size: 0.8125rem; line-height: 1.4; }
.phone__push b { display: block; font-family: var(--heading); font-weight: 600; margin-bottom: 2px; color: var(--teal-bright); }
.phone__card { background: var(--paper); color: var(--ink); border-radius: 12px; padding: 14px 14px 12px; }
.phone__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }
.phone__big { font-family: var(--heading); font-size: 1.5rem; font-weight: 700; line-height: 1.1; margin-top: 4px; }
.phone__small { font-size: 0.8125rem; color: var(--pencil); margin-top: 4px; }
.phone__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone__list span { background: rgba(255, 255, 255, 0.12); color: #fff; border-radius: 8px; padding: 8px 10px; font-family: var(--heading); font-size: 0.8125rem; font-weight: 600; }

/* Works with SoccerRefManager */
.links { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 40px; }
.links h3 { color: var(--teal-bright); font-size: 1.1875rem; margin-bottom: 8px; }
.links p { color: var(--on-navy); }
.band__go { margin-top: 40px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 64px; align-items: start; }
.contact__lede { margin-top: 18px; max-width: 30em; color: var(--pencil); }
.contact__mail { margin-top: 22px; }
.contact__mail a {
  font-family: var(--heading);
  font-size: clamp(1.2rem, 0.8rem + 1.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  color: var(--teal-deep);
  text-decoration-color: var(--teal-bright);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}
.contact__mail a:hover { color: var(--navy); background: var(--highlight); }

.form { display: grid; gap: 16px; background: var(--off-white); border-radius: 8px; padding: 26px; }
.form__field { display: grid; gap: 6px; }
.form__field span { font-family: var(--heading); font-weight: 600; font-size: 0.9375rem; }
.form input, .form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid rgba(19, 51, 69, 0.28); border-radius: 6px; padding: 11px 12px; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.form textarea { resize: vertical; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form__go { margin-top: 4px; }

/* Footer */
.foot { background: var(--navy); color: var(--on-navy); padding: 40px 0 32px; font-size: 0.9375rem; }
.foot__grid { display: grid; gap: 14px; }
.foot__lockup { width: auto; height: 44px; margin-bottom: 10px; }
.foot__company a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--heading); font-weight: 600; }
.foot__company img { display: block; width: 28px; height: 28px; }
.foot__company a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--teal-bright); }
.foot__also a { color: var(--teal-bright); font-weight: 500; }
.foot__copy { margin-top: 10px; font-size: 0.875rem; }
.foot__copy a { color: var(--teal-bright); }

/* ---------- Wider screens ---------- */

@media (min-width: 720px) {
  .shapes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; }
  .hero::before { display: block; }
  .feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .feature--flip .feature__words { order: 2; }
  .feature--flip .feature__art { order: 1; }
  .links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 599px) {
  .bar { justify-content: center; }
  .nav { justify-content: center; font-size: 0.9375rem; }
  .brand__lockup { height: 44px; }
  .day { padding: 18px 18px 4px; transform: none; }
  .game { grid-template-columns: minmax(0, 1fr); }
  .game__when { grid-column: 1; grid-row: auto; text-align: left; margin-top: 2px; }
  .game__state { white-space: normal; }
  .day__sub { display: none; }
  .form { padding: 20px 16px; }
  .foot__lockup { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .game__state--moved { transition: none; }
}
