@font-face {
  font-family: "Chivo";
  src: url("assets/fonts/chivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Chivo Mono";
  src: url("assets/fonts/chivo-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bone: #f2f0e9;
  --ink: #121416;
  --cobalt: #234fe8;
  --coral: #ff604d;
  --line-dark: rgba(18, 20, 22, 0.24);
  --line-light: rgba(255, 255, 255, 0.34);
  --page-pad: 38px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bone);
  font-family: "Chivo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--ink);
  background: var(--bone);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: 24px;
  height: 24px;
}

.age-mark {
  font-family: "Chivo Mono", monospace;
  font-size: 13px;
  font-weight: 600;
}

.hero__copy {
  min-height: 306px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto;
  align-content: center;
  column-gap: 24px;
  padding: 44px var(--page-pad) 46px;
}

.hero__copy h1 {
  grid-column: 1 / 9;
  grid-row: 1 / 3;
  align-self: center;
  max-width: 890px;
  margin: 0;
  font-size: 76px;
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__copy p {
  grid-column: 9 / 13;
  grid-row: 1;
  align-self: end;
  max-width: 390px;
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
}

.primary-action {
  position: relative;
  grid-column: 9 / 13;
  grid-row: 2;
  justify-self: start;
  min-width: 250px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 16px 24px;
  border: 0;
  border-radius: 2px;
  color: var(--bone);
  background: var(--ink);
  font-family: "Chivo", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-action::before,
.primary-action::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 4px;
  transition: width 180ms ease;
}

.primary-action::before {
  left: 0;
  background: var(--cobalt);
}

.primary-action::after {
  right: 0;
  background: var(--coral);
}

.primary-action:hover::before {
  width: 64%;
}

.primary-action:hover::after {
  width: 36%;
}

.primary-action:focus-visible,
.wordmark:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.ticket-scene {
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ticket {
  min-height: 280px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding: 24px var(--page-pad) 26px;
}

.ticket--a {
  color: #fff;
  background: var(--cobalt);
}

.ticket--b {
  color: var(--ink);
  background: var(--coral);
}

.ticket__meta,
.ticket__event,
.ticket__selection {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.ticket__meta {
  padding-bottom: 17px;
  border-bottom: 1px solid currentColor;
  font-family: "Chivo Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.ticket__event {
  padding: 17px 0;
  border-bottom: 1px solid currentColor;
  font-family: "Chivo Mono", monospace;
  font-size: 13px;
  line-height: 1.2;
}

.ticket__selection {
  align-items: flex-end;
  padding-top: 24px;
}

.ticket__selection div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket__selection span {
  font-family: "Chivo Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.ticket__selection strong {
  font-size: 42px;
  font-weight: 500;
  line-height: 0.95;
}

.ticket__selection data {
  font-family: "Chivo Mono", monospace;
  font-size: 76px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 0.8;
}

.coverage-strip {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--page-pad);
  color: #fff;
  background: var(--ink);
  font-family: "Chivo Mono", monospace;
  line-height: 1.2;
}

.coverage-strip::before,
.coverage-strip::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 1px;
  height: 14px;
  background: var(--ink);
}

.coverage-strip::before {
  left: 25%;
}

.coverage-strip::after {
  right: 25%;
}

.coverage-strip strong {
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.comparison {
  padding: 130px var(--page-pad) 116px;
  color: #fff;
  background: var(--cobalt);
}

.comparison__intro {
  max-width: 1180px;
  margin: 0 auto 76px;
}

.comparison__intro h2 {
  max-width: 920px;
  margin: 0;
  font-size: 68px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.comparison__intro p {
  margin: 22px 0 0;
  font-size: 22px;
  line-height: 1.4;
}

.market {
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.market__heading {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 30px;
  border-bottom: 1px solid var(--line-light);
  font-family: "Chivo Mono", monospace;
}

.market__heading div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.market__heading span {
  font-size: 12px;
  font-weight: 500;
}

.market__heading strong {
  font-family: "Chivo", sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.odds-table-wrap {
  overflow-x: auto;
}

.odds-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: "Chivo Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.odds-table th,
.odds-table td {
  height: 78px;
  padding: 18px 30px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  text-align: left;
}

.odds-table th:last-child,
.odds-table td:last-child {
  border-right: 0;
}

.odds-table thead th {
  height: 58px;
  font-size: 11px;
  font-weight: 500;
}

.odds-table tbody th {
  font-size: 12px;
  font-weight: 500;
}

.odds-table tbody td {
  font-size: 25px;
  font-weight: 500;
}

.odds-table .is-selected {
  position: relative;
  color: var(--ink);
  background: var(--bone);
}

.odds-table .is-selected::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 17px;
  left: 28px;
  height: 4px;
  background: var(--coral);
}

.market__result {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 22px 30px;
  color: #fff;
  background: var(--ink);
  font-family: "Chivo Mono", monospace;
  line-height: 1.2;
}

.market__result span {
  font-size: 11px;
  font-weight: 500;
}

.market__result span:last-child {
  text-align: right;
}

.market__result strong {
  font-size: 16px;
  font-weight: 600;
}

.site-footer {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px) auto;
  align-items: center;
  gap: 52px;
  padding: 48px var(--page-pad);
  border-top: 1px solid var(--ink);
  background: var(--bone);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 600;
}

.site-footer__brand img {
  display: block;
  width: 24px;
  height: 24px;
}

.site-footer p {
  margin: 0;
  font-family: "Chivo Mono", monospace;
  font-size: 11px;
  line-height: 1.55;
}

.site-footer p:last-child {
  text-align: right;
}

@media (max-width: 900px) {
  :root {
    --page-pad: 24px;
  }

  .hero__copy {
    min-height: 350px;
  }

  .hero__copy h1 {
    font-size: 59px;
  }

  .hero__copy p {
    font-size: 17px;
  }

  .primary-action {
    width: 100%;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 12px;
  }

  .ticket {
    min-height: 318px;
  }

  .ticket__selection {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 36px;
  }

  .ticket__selection data {
    align-self: flex-end;
    font-size: 72px;
  }

  .odds-table {
    min-width: 0;
  }

  .comparison {
    padding-top: 96px;
    padding-bottom: 92px;
  }

  .comparison__intro h2 {
    font-size: 56px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 28px;
  }

  .site-footer p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 18px;
  }

  .site-header {
    min-height: 64px;
  }

  .wordmark {
    font-size: 19px;
  }

  .wordmark img {
    width: 22px;
    height: 22px;
  }

  .hero__copy {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 42px;
    padding-bottom: 42px;
    text-align: left;
  }

  .hero__copy h1 {
    font-size: 46px;
    line-height: 0.98;
    text-wrap: initial;
  }

  .hero__copy p {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.45;
    text-wrap: initial;
  }

  .primary-action {
    width: 100%;
    min-height: 56px;
    justify-self: auto;
    margin-top: 26px;
  }

  .ticket-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticket {
    min-height: 242px;
    grid-template-rows: auto 1fr;
    padding: 18px 14px 20px;
  }

  .ticket--a {
    border-right: 1px solid var(--ink);
  }

  .ticket__meta {
    padding-bottom: 14px;
  }

  .ticket__meta span:last-child,
  .ticket__event {
    display: none;
  }

  .ticket__selection {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 18px;
    padding-top: 16px;
  }

  .ticket__selection div {
    gap: 6px;
  }

  .ticket__selection strong {
    font-size: 24px;
    white-space: nowrap;
  }

  .ticket__selection data {
    align-self: flex-start;
    font-size: 52px;
  }

  .coverage-strip {
    min-height: 80px;
  }

  .coverage-strip strong {
    max-width: 310px;
    font-size: 13px;
    text-align: center;
  }

  .coverage-strip::before,
  .coverage-strip::after {
    display: none;
  }

  .comparison {
    padding-top: 82px;
    padding-bottom: 70px;
  }

  .comparison__intro {
    margin-bottom: 52px;
  }

  .comparison__intro h2 {
    font-size: 45px;
    line-height: 1.02;
  }

  .comparison__intro p {
    font-size: 19px;
  }

  .market__heading {
    min-height: 112px;
    align-items: flex-end;
    padding: 22px 20px;
  }

  .market__heading strong {
    font-size: 20px;
  }

  .market__heading > span {
    font-size: 11px;
    text-align: right;
  }

  .odds-table {
    min-width: 0;
  }

  .odds-table th,
  .odds-table td {
    height: 68px;
    padding: 14px 10px;
  }

  .odds-table th:first-child,
  .odds-table td:first-child {
    padding-left: 18px;
  }

  .odds-table thead th {
    height: 62px;
    font-size: 11px;
    line-height: 1.25;
  }

  .odds-table tbody th {
    font-size: 11px;
  }

  .odds-table tbody td {
    font-size: 20px;
  }

  .odds-table .is-selected::after {
    right: 10px;
    bottom: 12px;
    left: 10px;
    height: 3px;
  }

  .market__result {
    min-height: 124px;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 22px 18px;
  }

  .market__result strong {
    font-size: 14px;
    text-align: right;
  }

  .market__result span:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }

  .site-footer {
    min-height: 230px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
  }

  .site-footer p:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
