@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap");

:root {
  --divider-color: #eff5f1;
  --divider-thickness: 4px;
  --faq-border-thickness: 2px;
  --timer-border-color: #dfe8e2;
  --soft-panel-background: #f5f9f7;
  --surface-background: #fcfdfc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f9fbf9;
  color: #111;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.mural {
  width: min(100% - 24px, 1040px);
  margin: 0 auto;
  padding: 40px 0 48px;
}

h1,
h2,
h3,
h4,
h5 {
  color: #e1001e;
  font-weight: 800;
  line-height: 1.2;
}

h1,
h2,
h3,
h5 {
  text-align: center;
}

h1 {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 22px 54px;
  border-radius: 999px;
  background: #e1001e;
  color: #fff;
  box-shadow: 0 12px 28px rgb(225 0 30 / 22%);
  font-size: clamp(1.75rem, 4.8vw, 3.5rem);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

h1:hover {
  background: #b90019;
  box-shadow: 0 18px 34px rgb(225 0 30 / 32%);
  transform: translateY(-3px) scale(1.01);
}

h2 {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 12px 24px;
  border-radius: 18px;
  background: var(--soft-panel-background);
  font-size: clamp(1.25rem, 2.5vw, 2.1rem);
}

h3 {
  margin: 28px 0 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

h4 {
  margin: 36px 0 16px;
  text-align: left;
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
}

h5 {
  margin: 28px 0 0;
  font-size: 1rem;
}

p {
  margin: 0 0 20px;
  text-align: left;
  font-size: 1.12rem;
}

a {
  color: #e1001e;
  font-weight: 700;
}

ul {
  margin: 0 0 24px;
  padding-left: 24px;
  text-align: left;
}

li + li {
  margin-top: 8px;
}

.divider {
  width: min(100%, 1000px);
  height: var(--divider-thickness);
  margin: 18px auto;
  background: var(--divider-color);
}

.mural__header {
  text-align: center;
}

.mural__header + .divider {
  margin-top: 60px;
}

.mural__header > h3 {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 30px;
  border: var(--divider-thickness) solid var(--divider-color);
  border-radius: 999px;
  background: var(--surface-background);
}

.mural__content {
  width: min(100%, 960px);
  margin: 0 auto;
}

.countdown {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 18px;
  background: transparent;
  text-align: center;
}

.countdown__timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  justify-content: center;
}

.countdown__item {
  display: grid;
  gap: 4px;
  aspect-ratio: 1;
  place-content: center;
  min-width: 0;
  border: var(--divider-thickness) solid var(--timer-border-color);
  border-radius: 12px;
  background: var(--surface-background);
  color: #e1001e;
  font-weight: 800;
}

.countdown__item span {
  font-size: clamp(1.8rem, 4.6vw, 3.25rem);
  line-height: 1;
}

.countdown__item small {
  color: #111;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.access-card {
  width: 100%;
  margin: 0 auto 34px;
  padding: 14px 14px 0;
  border: var(--divider-thickness) solid var(--divider-color);
  border-radius: 14px;
  background: var(--surface-background);
  text-align: center;
}

.access-card__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.access-card__action {
  display: flex;
  justify-content: center;
  padding: 28px 16px;
}

.access-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid #e1001e;
  border-radius: 18px;
  background: #e1001e;
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 120ms ease;
}

.access-card__button:hover,
.access-card__button:focus-visible {
  border-color: #b90019;
  background: #b90019;
  color: #fff;
  box-shadow: 0 8px 18px rgb(225 0 30 / 24%);
  transform: translateY(-1px);
}

.access-card__button:active {
  border-color: #8f0013;
  background: #8f0013;
  box-shadow: none;
  transform: translateY(1px);
}

.credentials-list {
  width: 100%;
  margin: 0;
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.credentials-list li + li {
  margin-top: 10px;
}

.credentials-panel,
.instructions-panel {
  margin: 0 0 28px;
  padding: 26px 28px 24px;
  border: var(--divider-thickness) solid var(--divider-color);
  border-radius: 18px;
  background: transparent;
}

.instructions-panel .instructions-list {
  margin-bottom: 0;
}

.instructions-panel p {
  margin: 28px 0 14px;
}

.instructions-list,
.faq-list {
  width: 100%;
  margin-left: 0;
  text-align: left;
}

.faq-list {
  padding-left: 0;
  list-style: none;
}

.faq-list li + li {
  margin-top: 16px;
}

.faq-list details {
  border: var(--faq-border-thickness) solid var(--divider-color);
  border-radius: 14px;
  text-align: left;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.faq-list summary {
  cursor: pointer;
  color: #111;
  font-weight: 800;
  padding: 14px 16px;
  border: var(--faq-border-thickness) solid var(--divider-color);
  border-radius: 14px;
  background: var(--soft-panel-background);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.faq-list details[open] summary {
  border-color: var(--divider-color);
  background: var(--soft-panel-background);
  color: #e1001e;
}

.faq-list p {
  margin: 12px 0 0;
  padding: 16px 18px;
  border-left: var(--faq-border-thickness) solid var(--divider-color);
  border-radius: 10px;
  background: var(--soft-panel-background);
}

.faq-list details[open] {
  border-color: var(--divider-color);
  background: var(--soft-panel-background);
  box-shadow: 0 10px 24px rgb(17 17 17 / 8%);
}

.faq-list + .divider {
  margin-top: 104px;
}

.mural__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.mural__footer h5 {
  margin: 0;
}

.mural__footer-logo {
  display: block;
  width: min(180px, 34vw);
  height: auto;
}

.mural__content > p:first-of-type + h4 {
  margin-top: 74px;
}

.credentials-list + p + h4 {
  margin-top: 88px;
}

.credentials-panel + p + h4 {
  margin-top: 88px;
}

.instructions-list + h4,
.instructions-panel + h4 {
  margin-top: 88px;
}

@media (max-width: 560px) {
  .mural {
    width: min(100% - 20px, 1040px);
    padding-top: 28px;
  }

  .countdown {
    width: min(100%, 420px);
  }

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

  .access-card__button {
    width: 100%;
  }

  h2 {
    padding: 10px 16px;
  }

  .instructions-panel {
    padding: 20px 16px 18px;
  }

  .credentials-panel {
    padding: 20px 16px 18px;
  }

  .mural__footer {
    flex-direction: column;
  }
}
