:root {
  --primary: #0b0a0f;
  --muted: rgba(255, 255, 255, 0.72);
  --quiet: rgba(255, 255, 255, 0.54);
  --image-line: #0b0a0f;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: white;
  background: var(--primary);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.screen {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: 34px 42px 24px;
  background: var(--image-line);
  overflow: hidden;
}

.stage,
.footer {
  width: min(100%, 1160px);
  margin-inline: auto;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
  align-items: center;
  gap: 72px;
  min-height: 0;
}

.copy {
  max-width: 560px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 54px;
  text-decoration: none;
}

.brand-mark {
  width: 88px;
  height: 88px;
  filter: invert(1);
}

.brand-word {
  width: 172px;
  filter: invert(1);
}

.eyebrow {
  margin: 0 0 20px;
  color: #ffc978;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: white;
  font-size: 3.65rem;
  line-height: 1;
  letter-spacing: 0;
}

.lead,
.support {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.62;
}

.lead {
  margin-bottom: 14px;
}

.support {
  margin-bottom: 0;
}

.calendar-scene {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  isolation: isolate;
}

.calendar-scene::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--image-line) 0%, rgba(11, 10, 15, 0.28) 20%, rgba(11, 10, 15, 0) 45%),
    linear-gradient(180deg, var(--image-line) 0%, rgba(11, 10, 15, 0) 18%, rgba(11, 10, 15, 0) 78%, var(--image-line) 100%);
}

.calendar-image {
  position: absolute;
  display: block;
  top: 50%;
  right: -26px;
  width: min(520px, 86%);
  max-width: none;
  transform: translateY(-50%);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  color: var(--quiet);
  font-size: 0.9rem;
}

.footer img {
  height: 24px;
  filter: invert(1);
  opacity: 0.92;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  color: white;
  background: var(--primary);
}

.not-found-panel {
  max-width: 440px;
  text-align: center;
}

.not-found-panel img {
  width: 64px;
  margin-bottom: 22px;
  filter: invert(1);
}

.not-found-panel h1 {
  font-size: 2.4rem;
}

.not-found-panel p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: var(--primary);
  background: white;
}

@media (max-width: 920px) {
  .screen {
    overflow: auto;
    padding: 28px 24px 18px;
  }

  .stage {
    grid-template-columns: 1fr;
    gap: 32px;
    align-content: center;
    padding-top: 10px;
  }

  .copy {
    max-width: 620px;
    text-align: center;
    margin-inline: auto;
  }

  .brand {
    align-items: center;
    margin-bottom: 36px;
  }

  .calendar-scene {
    width: min(100%, 560px);
    min-height: 330px;
    margin-inline: auto;
  }

  .calendar-image {
    right: 50%;
    width: 390px;
    transform: translate(50%, -50%);
  }
}

@media (max-width: 560px) {
  .screen {
    padding: 24px 20px 16px;
  }

  .stage {
    gap: 24px;
  }

  .brand {
    gap: 10px;
    margin-bottom: 30px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
  }

  .brand-word {
    width: 150px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 0.7rem;
  }

  h1 {
    margin-bottom: 16px;
    font-size: 2.48rem;
  }

  .lead,
  .support {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .calendar-scene {
    min-height: 260px;
  }

  .calendar-image {
    width: 330px;
  }

  .footer {
    min-height: 34px;
    font-size: 0.82rem;
  }

  .footer img {
    height: 21px;
  }
}

@media (max-height: 720px) and (min-width: 921px) {
  .brand {
    margin-bottom: 34px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
  }

  .brand-word {
    width: 148px;
  }

  h1 {
    font-size: 3.05rem;
  }

  .lead,
  .support {
    font-size: 1.02rem;
  }

  .calendar-scene {
    min-height: 420px;
  }

  .calendar-image {
    width: 400px;
  }
}
