.match-preview > .hero-team {
  margin: 0 0 16px;
}
.match-frame {
  border: 1px solid var(--blue);
  border-bottom: 4px solid var(--blue);
  border-radius: 13px;
  overflow: hidden;
  background: #0b1c46;
}
.match-frame .broadcast-card {
  border-inline: 0;
  border-bottom: 0;
  box-shadow: none;
}
.match-frame .match-banner {
  transform: none;
  clip-path: polygon(0 18px, 100% 0, 100% 100%, 0 100%);
  margin-top: -12px;
  padding-top: 30px;
  padding-bottom: 20px;
}
.match-frame .match-banner strong {
  transform: rotate(-3deg);
  transform-origin: center;
}

/* Coverflow: central crest with receding, tilted neighbouring club cards. */
.teams-band-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 34px;
  overflow: hidden;
}
.teams-band-inner > div:first-child {
  text-align: center;
}
.team-coverflow {
  --cf-card: clamp(130px, 22vw, 190px);
  width: 100%;
  min-width: 0;
}
.team-coverflow .quick-teams {
  display: block;
  position: relative;
  perspective: calc(var(--cf-card) * 3);
  height: calc(var(--cf-card) + 60px);
  padding: 0;
  margin: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  scroll-snap-type: none;
  user-select: none;
}
.team-coverflow .quick-teams:active {
  cursor: grabbing;
}
.team-coverflow .quick-team {
  position: absolute;
  left: 50%;
  top: 24px;
  width: var(--cf-card);
  min-width: 0;
  height: var(--cf-card);
  margin: 0;
  border: 1px solid #dbe3f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 20px #071c5514;
  display: grid;
  place-items: center;
  transition:
    background-color 160ms,
    border-color 160ms;
  will-change: transform;
  touch-action: pan-y;
}
.team-coverflow .quick-team img {
  width: 55%;
  height: 60%;
  object-fit: contain;
  pointer-events: none;
}
.team-coverflow .quick-team[aria-pressed='true'] {
  background: #edf2ff;
  border: 2px solid var(--blue);
  border-bottom: 5px solid var(--yellow);
}
.team-coverflow .quick-team[aria-pressed='true']:after {
  display: none;
}
.coverflow-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 0;
}
.coverflow-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #dbe3f3;
  background: white;
  color: var(--blue);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.coverflow-controls > div {
  text-align: center;
  min-width: 170px;
}
.coverflow-controls strong {
  display: block;
  color: #211954;
  font-size: 1rem;
}
.coverflow-controls span {
  display: block;
  color: #73809b;
  font-size: 0.75rem;
  margin-top: 2px;
}
.teams-band-inner > .all-teams {
  margin: 0;
  align-self: center;
}
.team-coverflow .quick-team:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
@media (min-width: 960px) {
  .teams-band-inner {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
    gap: 20px 40px;
  }
  .teams-band-inner > div:first-child {
    text-align: left;
  }
  .teams-band-inner > .all-teams {
    grid-column: 2;
    justify-self: center;
  }
  .teams-band h2 {
    font-size: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-coverflow .quick-team {
    transition: none;
  }
}

/* Stable match geometry for every club; a larger desktop opening. */
.broadcast-team strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8em;
  line-height: 1.3;
}
.match-frame .match-banner {
  height: 132px;
  display: flex;
  align-items: center;
  padding: 25px 18px 18px;
}
.match-frame .match-banner strong {
  width: 100%;
  font-size: clamp(1.65rem, 7vw, 2.65rem);
  line-height: 1.05;
  overflow-wrap: normal;
  text-wrap: balance;
}
.match-frame .broadcast-body {
  min-height: 248px;
}
.match-preview {
  container-type: inline-size;
}
.match-frame .match-banner strong {
  font-size: clamp(1.55rem, 8cqi, 2.65rem);
}
@media (min-width: 960px) {
  .hero.wrap {
    width: min(1480px, calc(100% - 96px));
    min-height: max(690px, calc(92svh - var(--header-height)));
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 90px);
    padding-block: 72px;
  }
  .hero-copy h1 {
    font-size: clamp(3.2rem, 10.5cqi, 5.2rem);
  }
  .hero-description {
    max-width: 590px;
    font-size: 1.125rem;
    line-height: 1.7;
  }
  .hero-cta {
    max-width: 380px;
    margin-top: 26px;
  }
  .hero-cta .button {
    min-height: 60px;
    font-size: 1rem;
  }
  .hero .match-preview {
    max-width: 590px;
    width: 100%;
  }
  .match-frame .broadcast-body {
    min-height: 320px;
    padding: 32px 24px;
  }
  .broadcast-league {
    margin-bottom: 26px;
  }
  .broadcast-team img {
    width: 76px;
    height: 84px;
  }
  .broadcast-team strong {
    font-size: 0.875rem;
  }
  .broadcast-kickoff > strong {
    font-size: 4.3rem;
  }
  .broadcast-venue {
    font-size: 1rem;
    margin-top: 26px;
  }
  .match-frame .match-banner {
    height: 148px;
    padding-inline: 25px;
  }
  .match-frame .match-banner strong {
    font-size: clamp(2rem, 8cqi, 3rem);
  }
}

/* Full-width club gallery with the introduction above the crests. */
.teams-band .teams-band-inner {
  display: flex;
  flex-direction: column;
  width: min(1480px, calc(100% - 24px));
  gap: 20px;
  padding-block: 38px;
}
.teams-band .teams-band-inner > div:first-child {
  text-align: center;
  width: 100%;
}
.teams-band .team-coverflow {
  --cf-card: clamp(96px, 25vw, 128px);
  width: 100%;
}
.teams-band .teams-band-inner > .all-teams {
  align-self: center;
}
.teams-band .quick-teams {
  height: calc(var(--cf-card) + 52px);
}
.teams-band h2 {
  margin-bottom: 0;
}
.teams-band .team-coverflow .quick-team {
  border-radius: 13px;
}
.teams-band .team-coverflow .quick-team img {
  width: 62%;
  height: 65%;
}
@media (min-width: 600px) {
  .teams-band .team-coverflow {
    --cf-card: 140px;
  }
}
@media (min-width: 960px) {
  .teams-band .teams-band-inner {
    gap: 24px;
    padding-block: 44px;
  }
  .teams-band .team-coverflow {
    --cf-card: 160px;
  }
  .teams-band h2 {
    font-size: 1.8rem;
  }
}

.teams-band .team-coverflow .quick-team[aria-pressed='true'] {
  background: #fff;
  border: 1px solid #dbe3f3;
}
.teams-band .team-coverflow .quick-team[data-centered='true'] {
  background: #edf2ff;
  border: 2px solid var(--blue);
  border-bottom: 5px solid var(--yellow);
}
.coverflow-controls > div {
  min-width: 0;
  max-width: 290px;
}

/* Give the centered club a larger silhouette and crest. */
.teams-band .quick-teams {
  height: calc(var(--cf-card) * 1.3 + 64px);
}
.teams-band .team-coverflow .quick-team {
  top: 38px;
}
.teams-band .team-coverflow .quick-team[data-centered='true'] {
  box-shadow: 0 14px 28px #004dff24;
  border-bottom-width: 5px;
}
.teams-band .team-coverflow .quick-team[data-centered='true'] img {
  width: 72%;
  height: 75%;
}
.coverflow-controls strong {
  font-size: 1.125rem;
}

.match-frame .match-banner strong {
  font-size: var(--banner-size, 13.5cqi);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.025em;
}
.match-frame .match-banner {
  padding-inline: 24px;
}
@media (max-width: 599px) {
  .match-frame .match-banner {
    padding-inline: 16px;
  }
}

.teams-band .quick-teams {
  height: calc(var(--cf-card) * 1.45 + 64px);
}

/* Continuous crest sway; the carousel card remains still. */
@keyframes crest-breeze {
  0%,
  100% {
    transform: perspective(500px) rotateY(-9deg) rotateZ(-2deg) translateY(0);
  }
  50% {
    transform: perspective(500px) rotateY(9deg) rotateZ(2deg) translateY(-4px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .teams-band .team-coverflow .quick-team[data-centered='true'][aria-pressed='true'] img {
    animation: crest-breeze 5s var(--ease-in-out) infinite;
    transform-origin: 50% 25%;
    backface-visibility: hidden;
  }
  .teams-band .team-coverflow .quick-team:focus-visible img {
    animation-play-state: paused;
  }
}
@media (hover: hover) and (pointer: fine) {
  .teams-band .team-coverflow .quick-team:hover img {
    animation-play-state: paused;
  }
}

.conversation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  max-width: 480px;
}
.conversation-actions button {
  border: 1px solid #d6e0f6;
  border-radius: 10px;
  background: white;
  color: #211954;
  min-height: 60px;
  padding: 15px;
  text-align: left;
  font-weight: 750;
  cursor: pointer;
}
.conversation-actions button[aria-selected='true'] {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: inset 0 -3px var(--yellow);
}
.conversation-actions button span {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.8;
  font-weight: 500;
}
.reply-pending {
  color: #7484a0;
  font-size: 0.75rem;
  padding: 12px;
}
.goal-label {
  font-size: 0.6875rem;
  color: var(--blue);
  font-weight: 800;
  display: block;
  margin-bottom: 10px;
}
.goal-title {
  font-family: var(--heading);
  font-size: 1.8rem;
  line-height: 1.05;
  display: block;
  color: #071c55;
}
.goal-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  padding: 16px 8px;
  background: #edf2ff;
  border-bottom: 3px solid var(--yellow);
  border-radius: 8px;
}
.goal-score > strong {
  font-size: 1.7rem;
  white-space: nowrap;
}
.recent-result {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #dce4f3;
  padding: 14px 8px;
}
.conversation-copy h2 {
  font-size: clamp(2.5rem, 4vw, 3.7rem);
}

/* Messages use the formatting available in a WhatsApp text bubble. */
.conversation-section .message p {
  white-space: pre-line;
  margin: 8px 0;
  line-height: 1.55;
}
.conversation-section .message > strong {
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.5;
  letter-spacing: normal;
  display: block;
}
.conversation-section .message {
  border-radius: 3px 12px 12px 12px;
  padding: 14px 16px;
}
.conversation-section .message.outgoing {
  border-radius: 12px 3px 12px 12px;
}
.conversation-section .goal-message {
  border-left: 3px solid var(--yellow);
}
.conversation-section .goal-message > strong:first-child {
  color: #174eb7;
}
.conversation-section .message .answer-source {
  font-size: 0.6875rem;
  color: #7b87a0;
  margin-top: 12px;
}

.expert-section .expert-preview {
  padding: 0;
  background: #eef2f9;
  border: 1px solid #ffffff26;
  border-top: 4px solid var(--blue);
  border-radius: 14px;
  overflow: hidden;
}
.expert-section .expert-preview-top {
  padding: 18px 20px;
  margin: 0;
  background: #0b1c46;
  border-bottom: 3px solid var(--yellow);
}
.expert-section .expert-avatar {
  background: white;
  color: var(--blue);
  border-radius: 10px;
}
.expert-chat-body {
  padding: 24px 18px;
}
.expert-section .expert-question {
  background: #e2eaff;
  border: 1px solid #cbd8fa;
  color: #172950;
  border-radius: 12px 3px 12px 12px;
  margin-left: 35px;
  line-height: 1.55;
}
.expert-section .expert-question span {
  color: #7484a0;
}
.expert-section .expert-answer {
  background: white;
  border: 1px solid #dde4ef;
  color: #172950;
  border-radius: 3px 12px 12px 12px;
  box-shadow: none;
  margin-right: 20px;
  line-height: 1.55;
}
.expert-section .expert-answer p {
  margin: 0 0 12px;
}
.expert-section .answer-foot {
  color: #7b87a0;
}
.expert-section .expert-points .icon {
  color: var(--yellow);
}
.expert-copy > .button {
  margin-top: 12px;
}

.preferences-card .mode-option {
  align-items: flex-start;
  padding-block: 23px;
}
.preferences-card .mode-option small {
  line-height: 1.65;
  margin-top: 7px;
  color: #66738d;
  font-size: 0.875rem;
}
.preferences-card .custom-radio {
  margin-top: 5px;
  flex-shrink: 0;
}
.preferences-card .mode-badge {
  align-self: flex-start;
  margin-top: 2px;
}
.preferences-card .mode-option:has(input:checked) {
  background: #f5f8ff;
}
.preferences-grid > div > p:not(.section-label) {
  line-height: 1.8;
}

.plan-section .plan-card {
  border: 2px solid var(--blue);
  border-top: 7px solid var(--blue);
  border-bottom: 7px solid var(--blue);
  border-radius: 22px;
  box-shadow: 0 16px 40px #004dff12;
}
.plan-section .plan-header {
  border-bottom: 2px solid #dbe5ff;
}
.plan-section .trial-pill {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  font-weight: 800;
  padding: 8px 12px;
  white-space: nowrap;
}
.plan-section .plan-price .free-trial-price {
  display: block;
  font-family: var(--heading);
  font-size: 3.4rem;
  line-height: 1;
  color: #004dff;
  letter-spacing: -0.02em;
  margin: 15px 0;
}
.plan-section .free-trial-price strong {
  display: block;
  font-size: 1.25em;
}
.plan-section .plan-price .price-prefix {
  color: #36538b;
  font-weight: 800;
}
.plan-section .plan-price .after-trial {
  font-size: 1rem;
  color: #211954;
  margin: 18px 0 12px;
}
.plan-section .plan-price .plan-freedom {
  font-size: 0.9375rem;
  color: #211954;
  line-height: 1.55;
}
.plan-section .plan-card li {
  color: #526384;
}
.plan-section .plan-card li .icon {
  color: var(--blue);
}
.plan-section .plan-card > .button {
  min-height: 60px;
  font-size: 1rem;
}
.plan-section .plan-price > p:last-child {
  font-size: 0.75rem;
  color: #72809a;
}
@media (max-width: 399px) {
  .plan-section .plan-header {
    flex-wrap: wrap;
  }
  .plan-section .trial-pill {
    margin-left: 0;
  }
  .plan-section .plan-card > .button {
    font-size: 0.875rem;
    padding-inline: 12px;
  }
}

.season-copy > .launch-button {
  margin: 8px 0 18px;
}

.preferences-grid > div > .launch-button {
  margin-top: 12px;
  max-width: 100%;
}
