:root {
  --blue-deep: #0047B2;
  --blue-mid: #5C91C1;
  --blue-pale: #C7D8E9;
  --blue-bg: #EEF4FA;
  --ink: #1B222B;
  --gray: #5B6570;
  --white: #FFFFFF;
  --radius: 16px;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--blue-bg);
  overflow: hidden;
}

.deck {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 7vw 12vh;
  background: var(--blue-bg);
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
  overflow: hidden;
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.slide.is-prev {
  transform: translateX(-40px);
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: opacity .2s linear; transform: none !important; }
}

.slide__inner {
  width: 100%;
  max-width: 980px;
  position: relative;
  z-index: 1;
}

.slide--title .slide__inner {
  max-width: 760px;
}

.slide--wide .slide__inner {
  max-width: 1080px;
}

/* Decorative arcs */
.arcs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.arcs svg {
  position: absolute;
  top: 0; right: 0;
  width: min(70vw, 620px);
  height: auto;
}
.arc {
  fill: none;
  stroke-width: 3;
}
.arc--dashed {
  stroke: var(--blue-mid);
  stroke-dasharray: 10 10;
  opacity: .55;
}
.arc--solid {
  stroke: var(--blue-mid);
  opacity: .8;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue-deep);
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  margin: 0 0 .6em;
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  line-height: .95;
  color: var(--ink);
  margin: 0 0 .3em;
  letter-spacing: -.01em;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 .8em;
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--gray);
  margin: 0;
}

.callout {
  margin-top: 2em;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--blue-deep);
  font-weight: 500;
  max-width: 46em;
  line-height: 1.5;
}

/* Coach chips */
.coach-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6em;
  margin-bottom: 2em;
}
.coach-chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  padding: .5em 1.1em;
  background: var(--white);
  border: 2px solid var(--blue-pale);
  border-radius: 999px;
  color: var(--blue-deep);
}
.coach-chip--extra {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.2em;
}
.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6em 1.7em;
  box-shadow: 0 2px 14px rgba(0, 30, 80, .06);
}
.card--accent {
  border-top: 5px solid var(--blue-deep);
}
.card__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--blue-mid);
  font-size: .85rem;
  margin: 0 0 .3em;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin: 0 0 .35em;
  color: var(--ink);
}
.card__text {
  margin: 0;
  color: var(--gray);
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  line-height: 1.5;
}

/* Check list */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .8em;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.4;
}
.check-icon {
  flex: 0 0 auto;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--blue-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8em;
  margin-top: .1em;
}

/* Dash list */
.dash-list {
  list-style: none;
  margin: 1.6em 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7em;
}
.dash-list li {
  padding-left: 1.3em;
  position: relative;
  color: var(--gray);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.5;
}
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: .7em;
  height: 2px;
  background: var(--blue-mid);
}

/* Zones */
.zones {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 1em;
  align-items: stretch;
}
.zone {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4em 1.2em;
  text-align: center;
  border: 2px solid var(--blue-pale);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.zone--highlight {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 71, 178, .25);
}
.zone--highlight .zone__name,
.zone--highlight .zone__text {
  color: var(--white);
}
.zone__tag {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--blue-pale);
  margin: 0 0 .4em;
}
.zone__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  margin: 0 0 .1em;
  color: var(--ink);
}
.zone__label {
  margin: 0 0 .5em;
  font-size: .78rem;
  font-style: italic;
  color: var(--blue-mid);
}
.zone--highlight .zone__label {
  color: var(--blue-pale);
}
.zone__text {
  margin: 0;
  color: var(--gray);
  font-size: clamp(.85rem, 1.2vw, 1rem);
  line-height: 1.4;
}

/* Stats */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2em;
  margin-bottom: 1.6em;
}
.stat {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4em 1em;
  box-shadow: 0 2px 14px rgba(0, 30, 80, .06);
}
.stat__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--blue-deep);
  margin: 0;
  line-height: 1;
}
.stat__text {
  margin: .4em 0 0;
  color: var(--gray);
  font-size: clamp(.85rem, 1.2vw, 1rem);
  line-height: 1.35;
}

/* Match table */
.table-wrap {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 30, 80, .06);
}
.match-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(.85rem, 1.3vw, 1rem);
}
.match-table th {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .78rem;
  text-align: left;
  padding: .8em 1em;
  background: var(--blue-deep);
  color: var(--white);
}
.match-table td {
  padding: .7em 1em;
  border-bottom: 1px solid var(--blue-bg);
  color: var(--ink);
}
.match-table tr:last-child td {
  border-bottom: none;
}
.match-table td.is-empty {
  color: #b7c2cc;
}
.match-table tr.is-both td {
  background: var(--blue-bg);
}
.match-table tr.is-both td:first-child {
  border-left: 4px solid var(--blue-deep);
}
.legend {
  display: flex;
  align-items: center;
  gap: .6em;
  margin-top: 1em;
  color: var(--gray);
  font-size: .9rem;
}
.legend__dot {
  width: .8em;
  height: .8em;
  border-radius: 3px;
  background: var(--blue-bg);
  border-left: 4px solid var(--blue-deep);
}

/* Needs */
.need-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}
.need {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3em;
  box-shadow: 0 2px 14px rgba(0, 30, 80, .06);
}
.need__icon {
  flex: 0 0 auto;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: var(--blue-bg);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.need__icon svg {
  width: 1.3em;
  height: 1.3em;
}
.need__text {
  margin: 0;
  color: var(--gray);
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  line-height: 1.45;
}
.need__text strong {
  color: var(--ink);
}

/* Controls */
.controls {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 1em 1.4em;
  background: linear-gradient(to top, rgba(238,244,250,.97), rgba(238,244,250,0));
}
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .6em 1.1em;
  border-radius: 999px;
  border: none;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 30, 80, .08);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 30, 80, .14); }
.btn:disabled { opacity: .35; cursor: default; transform: none; box-shadow: none; }
.btn--icon {
  padding: .6em .8em;
  font-size: 1.1rem;
}
.progress {
  flex: 1;
  height: 6px;
  background: var(--blue-pale);
  border-radius: 999px;
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  width: 11.11%;
  background: var(--blue-deep);
  border-radius: 999px;
  transition: width .35s ease;
}
.counter {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gray);
  font-size: .95rem;
  min-width: 3.4em;
  text-align: center;
}

/* Fullscreen */
.deck:fullscreen,
body:fullscreen .deck {
  height: 100vh;
}

/* Responsive */
@media (max-width: 760px) {
  .slide { padding: 5vh 6vw 15vh; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr; }
  .zone--highlight { transform: none; order: -1; }
  .stat-row { grid-template-columns: 1fr; }
  .need-list { grid-template-columns: 1fr; }
  .controls { padding: .8em 1em; gap: .6em; }
  .btn { padding: .55em .9em; font-size: .85rem; }
  .counter { font-size: .8rem; min-width: 2.8em; }

  /* Match table -> stacked cards on phones */
  .match-table thead { display: none; }
  .match-table, .match-table tbody, .match-table tr, .match-table td {
    display: block;
    width: 100%;
  }
  .match-table tr {
    padding: .8em 1em;
    border-bottom: 1px solid var(--blue-bg);
  }
  .match-table tr.is-both td:first-child { border-left: none; }
  .match-table tr.is-both { border-left: 4px solid var(--blue-deep); }
  .match-table td {
    padding: .2em 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    gap: 1em;
  }
  .match-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--blue-mid);
    flex: 0 0 auto;
  }
  .match-table td:first-child {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    padding-bottom: .3em;
    display: block;
    text-align: left;
  }
  .match-table td:first-child::before { content: none; }
}

@media (max-width: 480px) {
  .display { font-size: clamp(2.4rem, 13vw, 3.5rem); }
  .h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}
