/* Runtime brand tokens load after the product stylesheet so the published
   palette controls the whole shell, not only buttons and outcome colours. */
:root {
  --muted: color-mix(in srgb, var(--ink) 64%, var(--paper));
  --soft: color-mix(in srgb, var(--paper) 92%, var(--ink));
  --line: color-mix(in srgb, var(--paper) 82%, var(--ink));
}

body {
  background:
    radial-gradient(
      circle at 8% 4%,
      color-mix(in srgb, var(--accent) 10%, transparent),
      transparent 23rem
    ),
    radial-gradient(
      circle at 90% 16%,
      color-mix(in srgb, var(--brand-secondary) 7%, transparent),
      transparent 27rem
    ),
    var(--paper);
}

.topbar {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
}

body[data-brand-density="comfortable"] .landing-market-body {
  padding: 29px;
}

body[data-brand-density="comfortable"] .landing-hero {
  padding-top: 92px;
  padding-bottom: 112px;
}

body[data-brand-font="editorial"] h1,
body[data-brand-font="editorial"] h2,
body[data-brand-font="editorial"] h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

body[data-brand-font="geometric"] h1,
body[data-brand-font="geometric"] h2,
body[data-brand-font="geometric"] h3 {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
}

body[data-hero-variant="market-first"] .landing-hero {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
  min-height: auto;
  padding-block: 70px 54px;
  text-align: center;
}

body[data-hero-variant="market-first"] .hero-copy-block,
body[data-hero-variant="market-first"] .hero-copy {
  margin-inline: auto;
}

body[data-hero-variant="market-first"] .hero-actions,
body[data-hero-variant="market-first"] .hero-footnote {
  justify-content: center;
}

body[data-hero-variant="market-first"] .hero-product {
  display: none;
}

body[data-hero-variant="editorial-story"] .landing-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: 650px;
  align-items: center;
  background:
    radial-gradient(
      circle at 84% 18%,
      color-mix(in srgb, var(--accent) 20%, transparent) 0 9%,
      transparent 30%
    ),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent) 8%, var(--paper)) 0%,
      var(--paper) 58%
    );
}

body[data-hero-variant="editorial-story"] .hero-copy-block {
  max-width: 1050px;
}

body[data-hero-variant="editorial-story"] .landing-hero h1 {
  max-width: 1000px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 9vw, 126px);
  font-weight: 500;
  line-height: 0.92;
}

body[data-hero-variant="editorial-story"] .hero-product {
  display: none;
}

@media (max-width: 600px) {
  body[data-brand-density="comfortable"] .landing-hero {
    padding-top: 68px;
    padding-bottom: 78px;
  }

  body[data-hero-variant="market-first"] .landing-hero {
    padding-block: 46px 38px;
  }

  body[data-hero-variant="editorial-story"] .landing-hero {
    min-height: 520px;
  }

  body[data-hero-variant="editorial-story"] .landing-hero h1 {
    font-size: clamp(50px, 15vw, 72px);
  }
}

#tenant-maintenance-notice {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: #fff3cd;
  color: #513c00;
  border-bottom: 1px solid #e6cc7a;
  text-align: center;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#tenant-maintenance-notice[hidden] {
  display: none;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
}
.footer-social-icons a:hover,
.footer-social-icons a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.footer-social-icons svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
