:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #40282d;
  background: #f7f1ec;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  background: #f7f1ec;
}

.brand-header {
  display: grid;
  min-height: 132px;
  place-items: center;
  padding: 24px;
  background: #76071f;
}

.brand-header img {
  display: block;
  width: min(360px, 78vw);
  height: auto;
}

.download-view,
.empty-state {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 36px 24px 56px;
  text-align: center;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(30px, 7vw, 48px);
  font-weight: 600;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 26px;
  letter-spacing: 0;
}

p,
.status {
  margin: 0;
  color: #765f63;
  font-size: 18px;
  line-height: 1.5;
}

.card-content {
  width: min(560px, 100%);
  margin: 0 auto;
}

.card-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(64, 40, 45, 0.16);
}

.download-button {
  display: grid;
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  place-items: center;
  color: #ffffff;
  background: #226c4a;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, transform 120ms ease;
}

.download-button:hover {
  background: #18583b;
}

.download-button:active {
  transform: scale(0.98);
}

.download-button:focus-visible {
  outline: 3px solid #d6a726;
  outline-offset: 3px;
}

.error-state {
  padding: 28px 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .brand-header {
    min-height: 104px;
    padding: 18px;
  }

  .download-view,
  .empty-state {
    padding: 28px 16px 40px;
  }

  h1 {
    margin-bottom: 22px;
  }
}

