/* Match-day broadcast: reference component restored, WhatsApp delivery below. */
.match-preview {
  min-width: 0;
  width: 100%;
  max-width: 510px;
  margin-inline: auto;
  align-self: center;
}
.broadcast-card {
  background: #0b1c46;
  border: 1px solid #ffffff26;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  box-shadow: 0 20px 50px #0002;
}
.broadcast-card > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  padding: 15px 13px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}
.broadcast-card > header > span {
  border: 1px solid #ffffff50;
  padding: 5px;
  font-size: 0.6875rem;
}
.broadcast-body {
  padding: 20px 14px 30px;
}
.broadcast-league {
  text-align: center;
  letter-spacing: 0.14em;
  color: #d8e2ff;
  font-size: 0.75rem;
  margin: 0 0 22px;
}
.broadcast-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(85px, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.broadcast-team {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  min-width: 0;
}
.broadcast-team img {
  width: 58px;
  height: 65px;
  object-fit: contain;
}
.broadcast-team strong {
  text-transform: uppercase;
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}
.broadcast-kickoff {
  text-align: center;
  display: grid;
  gap: 3px;
}
.broadcast-kickoff > small {
  color: var(--yellow);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.broadcast-kickoff > strong {
  font-family: var(--heading);
  font-size: clamp(2.6rem, 10vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}
.broadcast-kickoff > span {
  font-size: 0.625rem;
  color: #a7b8da;
}
.broadcast-venue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  margin: 22px 0 5px;
  text-align: center;
}
.broadcast-venue .icon {
  width: 17px;
  flex-shrink: 0;
}
.broadcast-watch {
  text-align: center;
  color: #aebfdd;
  font-size: 0.75rem;
  margin: 0;
}
.match-banner {
  position: relative;
  transform: skewY(-3deg);
  margin-top: -7px;
  background: var(--yellow);
  padding: 14px 18px;
  box-shadow: 0 8px 20px #0001;
}
.match-banner strong {
  display: block;
  font-family: var(--heading);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.1rem, 8.8vw, 3.6rem);
  line-height: 1.05;
  color: #071c55;
  overflow-wrap: anywhere;
}
.match-notification {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  background: white;
  color: #0b1c46;
  margin: 25px 0 0 18px;
  padding: 17px;
  border-radius: 9px;
  box-shadow: 0 12px 30px #0002;
  font-size: 0.875rem;
}
.notification-icon {
  display: grid;
  place-items: center;
  background: #16bc68;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.notification-icon .icon {
  width: 21px;
  height: 21px;
}
.notification-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.notification-meta small {
  color: #758198;
  font-size: 0.75rem;
}
.match-notification p {
  margin: 3px 0 0;
  line-height: 1.55;
}
.broadcast-caption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  font-size: 0.625rem;
  color: #b5c5e3;
}
.broadcast-disclaimer {
  font-size: 0.6875rem;
  color: #93a9d0;
  margin: 10px 0 0;
}
.conversation-section {
  display: grid;
  gap: 26px;
}
.conversation-copy > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}
.conversation-section .conversation-demo {
  width: 100%;
  max-width: 510px;
  margin: auto;
}
.conversation-section .demo-caption {
  color: #52638a;
}
.conversation-section .demo-tag {
  background: #e9efff;
  color: #3457a4;
}
.conversation-section .demo-disclaimer {
  color: #657393;
}
.conversation-section .chat-app {
  box-shadow:
    0 0 0 1px #10215416,
    0 14px 35px #1235720c;
}
@media (min-width: 600px) {
  .broadcast-card > header {
    padding: 16px 14px;
    font-size: 0.8125rem;
  }
  .broadcast-card > header > span {
    font-size: 0.75rem;
  }
  .broadcast-body {
    padding: 26px 22px 32px;
  }
  .broadcast-team img {
    width: 65px;
    height: 73px;
  }
  .broadcast-team strong {
    font-size: 0.8125rem;
  }
  .broadcast-caption {
    font-size: 0.75rem;
  }
  .match-notification {
    margin-left: 40px;
  }
  .match-banner {
    padding: 16px 24px;
  }
}
@media (min-width: 960px) {
  .conversation-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
  }
  .match-preview {
    max-width: 510px;
  }
  .broadcast-kickoff > strong {
    font-size: 3.8rem;
  }
}

/* Compact hero: bounded columns and type that scales with its own column. */
.hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  padding-block: 30px 36px;
  align-items: center;
}
.hero-copy {
  min-width: 0;
  container-type: inline-size;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 10.8cqi, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: initial;
  margin-bottom: 16px;
}
.hero-copy h1 span {
  display: inline;
  overflow-wrap: normal;
}
.hero-copy .kicker {
  margin-bottom: 14px;
}
.hero-description {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 470px;
}
.hero-team {
  margin-bottom: 16px;
}
.hero-cta {
  display: block;
  max-width: 350px;
}
.hero-cta .button {
  justify-content: center;
  min-height: 54px;
}
.match-preview {
  max-width: 460px;
  min-width: 0;
}
.broadcast-card {
  border-top: 4px solid var(--blue);
  border-radius: 12px 12px 0 0;
}
.broadcast-body {
  padding: 22px 14px 28px;
}
.broadcast-league {
  margin-bottom: 18px;
}
.broadcast-teams {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
}
.broadcast-kickoff > strong {
  font-size: clamp(2.15rem, 8vw, 3.5rem);
}
.broadcast-kickoff > span {
  font-size: 0.6875rem;
}
.broadcast-team img {
  width: 52px;
  height: 59px;
}
.broadcast-team strong {
  font-size: 0.75rem;
}
.broadcast-venue {
  font-size: 0.8125rem;
  margin-top: 20px;
}
.match-banner {
  padding: 14px 16px;
}
.match-banner strong {
  font-size: clamp(1.85rem, 8vw, 3.2rem);
}
.broadcast-disclaimer {
  margin: 18px 0 0;
  text-align: center;
}
@media (min-width: 600px) and (max-width: 959px) {
  .hero {
    max-width: 620px;
    padding-block: 38px 44px;
  }
  .hero-copy h1 {
    font-size: clamp(3rem, 10cqi, 4.5rem);
  }
  .match-preview {
    max-width: 460px;
  }
}
@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    padding-block: 52px 60px;
  }
  .hero-copy h1 {
    font-size: clamp(2.8rem, 10.8cqi, 4.4rem);
  }
  .match-preview {
    justify-self: end;
    margin: 0;
  }
  .broadcast-body {
    padding: 26px 20px 32px;
  }
  .broadcast-kickoff > strong {
    font-size: 3.4rem;
  }
  .broadcast-team img {
    width: 60px;
    height: 68px;
  }
  .match-banner strong {
    font-size: clamp(2.2rem, 3.7vw, 3.2rem);
  }
}

/* Header shares the hero background, gaining color only after scrolling. */
:root {
  --header-height: 72px;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
}
.site-header:before {
  opacity: 0;
  transition: opacity 180ms ease;
}
.site-header.is-scrolled {
  background: rgba(0, 77, 255, 0.62);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 #ffffff1c;
}
.site-header.is-scrolled:before {
  opacity: 0.9;
}
.hero-stage {
  padding-top: var(--header-height);
}
@media (min-width: 960px) {
  :root {
    --header-height: 86px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header:before {
    transition: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled {
    background: #004dff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Conversation framed by Apito's football identity. */
.conversation-section .chat-app {
  border-radius: 14px;
  border: 1px solid #12285a22;
  border-top: 4px solid var(--blue);
  background: #f3f5fb;
  overflow: hidden;
}
.conversation-section .chat-header {
  background: #0b1c46;
  border-bottom: 3px solid var(--yellow);
  padding: 18px 16px;
}
.conversation-section .chat-header strong {
  color: #fff;
}
.conversation-section .chat-header small {
  color: #bdcceb;
}
.conversation-section .chat-separator {
  color: var(--yellow);
}
.conversation-section .chat-avatar {
  border-radius: 10px;
}
.conversation-section .wa-mini {
  border-color: #0b1c46;
}
.conversation-section .chat-header .team-trigger > .icon {
  color: #d5e1ff;
}
.conversation-section .chat-topics {
  background: #fff;
  border-color: #dfe5f1;
  padding: 8px;
  gap: 4px;
}
.conversation-section .chat-topics button {
  color: #66738d;
  border-radius: 6px;
}
.conversation-section .chat-topics button[aria-selected='true'] {
  background: var(--blue);
  color: #fff;
}
.conversation-section .chat-scroll {
  background: #eef2f9;
  scrollbar-color: #bbc8df transparent;
}
.conversation-section .example-label {
  color: #7383a1;
}
.conversation-section .message {
  color: #172950;
  border: 1px solid #dde4ef;
  border-radius: 10px;
  box-shadow: none;
}
.conversation-section .message.incoming {
  background: #fff;
}
.conversation-section .message.outgoing {
  background: #e2eaff;
  border-color: #cbd8fa;
  color: #172950;
}
.conversation-section .message-time {
  color: #7484a0;
}
.conversation-section .message-time > span {
  color: var(--blue);
}
.conversation-section .prompt-suggestions {
  background: #f8faff;
  border-color: #dfe5f1;
}
.conversation-section .prompt-suggestions button {
  background: #fff;
  border-color: #d7e0ef;
  color: #36528b;
  border-radius: 7px;
}
.conversation-section .chat-composer {
  background: #f8faff;
  border-color: #dfe5f1;
}
.conversation-section .chat-composer input {
  background: white;
  border-color: #d7e0ef;
  color: #172950;
  border-radius: 9px;
}
.conversation-section .chat-composer input::placeholder {
  color: #7e8ba4;
}
.conversation-section .question-category {
  color: var(--blue);
}
.conversation-section .answer-source {
  color: #77849d;
}
.conversation-section .lineup-card,
.conversation-section .ranking-card {
  background: #f2f5fc;
  border-color: #dce4f3;
}
.conversation-section .lineup-top,
.conversation-section .lineup-row b,
.conversation-section .ranking-row strong {
  color: #214994;
}
.conversation-section .lineup-row span,
.conversation-section .lineup-top > span,
.conversation-section .ranking-row .rank {
  color: #7988a5;
}
.conversation-section .ranking-row {
  border-color: #dce4f3;
}
.conversation-section .lineup-top {
  border-color: #dce4f3;
}
.conversation-section .match-card {
  border-top: 0;
}
.conversation-section .match-card-top {
  border-bottom: 2px solid var(--yellow);
}

.brand {
  font-size: 1.7rem;
  letter-spacing: -0.045em;
}
.brand-dot {
  margin-left: -4px;
}
@media (max-width: 359px) {
  .brand {
    font-size: 1.35rem;
  }
  .header-inner {
    gap: 10px;
  }
  .site-header .button-compact {
    font-size: 0.75rem;
    padding-inline: 10px;
  }
}

@media (max-width: 599px) {
  .match-preview > .hero-cta {
    display: block;
    margin: 22px 0 0;
  }
  .match-preview > .hero-cta .button {
    width: 100%;
    max-width: none;
  }
}
