/* Wordmark and section-divider red on the composer homepage. */
:root { --fragile-offer-red: #d72b27; }

[data-fragile-offer][hidden],
[data-fragile-regular][hidden] {
  display: none !important;
}

/* Move the space below the wordmark into the banner's symmetric surround. */
body:has(.fragile-offer-space:not([hidden])) .instrument-identity {
  padding-bottom: 0;
}
body:has(.fragile-offer-space:not([hidden])) .instrument-brand {
  display: block;
  width: fit-content;
  margin-inline: auto;
}
.fragile-offer-space {
  padding: 48px 20px;
  background: #292a2c;
}
/* The paid page adds a texture to its sections; this band is a separate solid surface. */
#main > .fragile-offer-space::before { content: none; }
.fragile-offer-banner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  text-align: left;
  color: #f6f2f3;
  background: #141416;
  border: 1px solid var(--fragile-offer-red);
  border-left: 4px solid var(--fragile-offer-red);
  border-radius: 10px;
}
.fragile-offer-banner p { margin: 0; line-height: 1.45; }
.fragile-offer-label {
  color: var(--fragile-offer-red);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fragile-offer-banner h2 {
  margin: 5px 0 8px;
  color: #faf7f8;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.fragile-offer-details { font-size: 1rem; }
/* Bold 19px or larger keeps the exact brand red readable on charcoal. */
.fragile-offer-details strong, .fragile-card-price strong {
  color: var(--fragile-offer-red);
  font-size: max(1.1875rem, 1em);
  font-weight: 700;
}
.fragile-offer-end, .fragile-offer-details span, .fragile-card-price del {
  color: #c7c1c3;
  font-size: .9rem;
}
.fragile-offer-banner .fragile-offer-end { margin-top: 4px; }
.fragile-offer-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 9px 19px;
  border-radius: 5px;
  color: #fff8f9;
  background: var(--fragile-offer-red);
  border: 1px solid var(--fragile-offer-red);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
}
.fragile-offer-button:hover {
  color: #fff8f9;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.fragile-offer-button:focus-visible { outline: 2px solid var(--fragile-offer-red); outline-offset: 4px; }
/* Keep the red type legible over the card's changing paper texture. */
.fragile-card-label, .fragile-card-price strong {
  background: #141416;
  box-shadow: 0 0 0 2px #141416;
}
.fragile-card-label { display: block; width: fit-content; margin: 0 0 .55rem; }
.fragile-card-price del { margin-left: .25em; }
.shop-card-bottom:has(.fragile-card-price:not([hidden])) { flex-wrap: wrap; }

@media (max-width: 760px) {
  .fragile-offer-space { padding: 36px 14px; }
}
@media (max-width: 610px) {
  .fragile-offer-banner { display: grid; gap: 14px; padding: 17px 16px; }
  .fragile-offer-button { justify-self: start; }
}
