:root {
  color-scheme: light;
  --paper: #f6f1e7;
  --paper-bright: #fffaf0;
  --ink: #22231f;
  --ink-soft: #5f6058;
  --line: #d5ccbc;
  --blue: #315f73;
  --blue-dark: #214655;
  --brass: #87682f;
  --green: #315f46;
  --rust: #9a493a;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  background: var(--paper);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 8px;
  left: 8px;
  padding: 9px 12px;
  color: var(--paper-bright);
  background: var(--ink);
  font-size: 12px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-bright);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font: 700 12px/1 var(--mono);
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark i {
  width: 1px;
  height: 18px;
  background: var(--brass);
  transform: rotate(22deg);
}

.availability {
  color: var(--ink-soft);
  font: 700 9px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.programmes {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 88px);
}

.programmes__header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.kicker {
  margin: 0 0 12px;
  color: var(--brass);
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.programmes h1 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.programmes__header > p {
  max-width: 440px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}

.programme-table {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(430px, 1.28fr);
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.programme-list {
  border-right: 1px solid var(--line);
}

.programme-option,
.loading-row {
  width: 100%;
  min-height: 94px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.programme-option:last-child {
  border-bottom: 0;
}

.programme-option {
  cursor: pointer;
  transition:
    background-color 160ms cubic-bezier(0.23, 1, 0.32, 1),
    color 160ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}

.programme-option:hover {
  background: #ece5d8;
}

.programme-option:active {
  transform: scale(0.99);
}

.programme-option[aria-checked="true"] {
  color: var(--paper-bright);
  background: var(--ink);
}

.programme-option__mark {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.54;
}

.programme-option[aria-checked="true"] .programme-option__mark::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--paper-bright);
}

.programme-option strong,
.programme-option small {
  display: block;
}

.programme-option strong {
  font-size: 14px;
  letter-spacing: -0.02em;
}

.programme-option small {
  margin-top: 4px;
  color: currentColor;
  font-size: 10px;
  opacity: 0.56;
}

.programme-option__price {
  display: grid;
  justify-items: end;
  gap: 3px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.programme-option__price span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.56;
}

.programme-option__price b {
  font-size: 15px;
  font-weight: 600;
}

.loading-row {
  display: flex;
  color: var(--ink-soft);
  font: 11px/1.4 var(--mono);
}

.selection {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper-bright);
}

.selection__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.selection h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.cadence {
  padding: 5px 7px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.selection__description {
  max-width: 620px;
  margin: 12px 0 16px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.selection__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding: 16px 18px;
  color: var(--paper-bright);
  background: var(--ink);
}

.selection__total > div {
  display: grid;
  gap: 5px;
}

.selection__total span {
  font: 700 9px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.selection__total small {
  color: rgb(255 250 240 / 62%);
  font-size: 10px;
}

.selection__total > strong {
  flex: 0 0 auto;
  font: 600 clamp(30px, 3.4vw, 42px)/1 var(--mono);
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.package-breakdown {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.manifest-group {
  border-top: 2px solid var(--green);
  background: var(--paper-bright);
}

.manifest-group--optional {
  border-top-color: var(--brass);
  background: var(--paper);
}

.manifest-group > header {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.manifest-group > header strong {
  font-size: 11px;
}

.manifest-group > header span {
  color: var(--ink-soft);
  font: 600 8px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.manifest__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.manifest__row:last-child {
  border-bottom: 0;
}

.manifest__marker {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font: 700 10px/1 var(--mono);
}

.manifest__row--optional .manifest__marker {
  border-color: var(--brass);
  color: var(--brass);
}

.manifest__copy strong,
.manifest__copy small,
.manifest__price strong,
.manifest__price small {
  display: block;
}

.manifest__copy strong {
  font-size: 12px;
}

.manifest__copy small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.4;
}

.manifest__status {
  display: inline-block;
  margin-top: 4px;
  color: var(--green);
  font: 700 8px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifest__row--optional .manifest__status {
  color: var(--brass);
}

.manifest__price {
  min-width: 76px;
  text-align: right;
}

.manifest__price strong {
  font: 700 11px/1.4 var(--mono);
  font-variant-numeric: tabular-nums;
}

.manifest__price small {
  margin-top: 3px;
  color: var(--ink-soft);
  font: 400 8px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.selection__actions {
  display: grid;
}

.action,
.return-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms cubic-bezier(0.23, 1, 0.32, 1),
    color 160ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}

.action:active {
  transform: scale(0.97);
}

.action:disabled {
  cursor: wait;
  opacity: 0.48;
}

.action--primary,
.return-link {
  color: var(--paper-bright);
  background: var(--blue);
  border: 1px solid var(--blue);
}

.action--primary:hover:not(:disabled),
.return-link:hover {
  background: var(--blue-dark);
}

.widget-status {
  margin: 10px 0 0;
  padding: 9px 10px;
  color: #752f24;
  background: #f8e6df;
  border: 1px solid #ddb9ae;
  font-size: 10px;
  line-height: 1.45;
}

.selection__promise {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper-bright);
  font: 700 9px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.return-page {
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.return-card {
  width: min(660px, 100%);
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid var(--ink);
  border-top: 5px solid var(--green);
  background: var(--paper-bright);
  box-shadow: 11px 11px 0 rgb(49 95 70 / 16%);
}

.return-card-failure {
  border-top-color: var(--rust);
  box-shadow: 11px 11px 0 rgb(154 73 58 / 14%);
}

.return-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font: 700 17px/1 var(--mono);
}

.return-card-failure .return-mark {
  border-color: var(--rust);
  color: var(--rust);
}

.return-card h1 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.return-card > p:not(.kicker) {
  max-width: 520px;
  margin: 24px 0 30px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.terms-card ul {
  display: grid;
  gap: 10px;
  margin: -8px 0 30px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.return-link {
  width: min(320px, 100%);
}

@media (max-width: 920px) {
  .programmes__header,
  .programme-table {
    grid-template-columns: 1fr;
  }

  .programmes__header {
    gap: 16px;
  }

  .programme-list {
    grid-row: 2;
    border-top: 1px solid var(--line);
    border-right: 0;
    border-bottom: 0;
  }

  .selection {
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 56px;
  }

  .availability {
    display: none;
  }

  .programmes {
    padding-top: 28px;
  }

  .programmes h1 {
    font-size: 40px;
  }

  .programme-option,
  .loading-row {
    min-height: 72px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .programme-option small {
    display: none;
  }

  .programme-option__price {
    gap: 2px;
  }

  .programme-option__price span {
    font-size: 7px;
  }

  .programme-option__price b {
    font-size: 12px;
  }

  .selection {
    padding: 20px 16px;
  }

  .selection__header {
    display: block;
  }

  .cadence {
    display: inline-block;
    margin-top: 10px;
  }

  .selection__total {
    align-items: flex-end;
    padding: 14px;
  }

  .selection__total small {
    max-width: 180px;
  }

  .manifest-group > header {
    display: grid;
    gap: 3px;
  }

  .manifest__row {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 10px;
  }

  .manifest__copy small {
    display: none;
  }

  .site-footer {
    display: grid;
  }

  .return-card {
    box-shadow: 7px 7px 0 rgb(49 95 70 / 16%);
  }

  .return-card-failure {
    box-shadow: 7px 7px 0 rgb(154 73 58 / 14%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .programme-option,
  .action,
  .return-link {
    transition: none;
  }
}
