
/* ==== Preview common homepage overrides ==== */
body[class^="preview-"] {
  background: #f6f2eb;
}

body[class^="preview-"] .topbar {
  background: rgba(248, 244, 238, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

body[class^="preview-"] .brand {
  letter-spacing: 0.18em;
}

body[class^="preview-"] .download-btn,
body[class^="preview-"] .orange-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

body[class^="preview-"] .hero {
  padding: 42px 0 40px;
  border-bottom: none;
}

body[class^="preview-"] .hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6d665f;
}

body[class^="preview-"] .hero h1 {
  margin: 18px 0 0;
  letter-spacing: -0.05em;
}

body[class^="preview-"] .hero p {
  margin: 18px 0 0;
  max-width: 760px;
  color: #544d45;
  font-size: 17px;
  line-height: 1.78;
}

body[class^="preview-"] .hero .subtle {
  color: #72685d;
}

body[class^="preview-"] .section-label {
  margin-top: 0;
  color: #111;
  letter-spacing: 0.2em;
}

body[class^="preview-"] .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

body[class^="preview-"] .badge-item {
  flex: 0 0 auto;
  min-height: auto;
}

body[class^="preview-"] .badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: auto;
  border: none;
  background: transparent;
  box-shadow: none;
}

body[class^="preview-"] .badge-link:hover {
  transform: translateY(-1px);
  box-shadow: none;
  border-color: transparent;
}

body[class^="preview-"] .badge-img {
  width: auto;
  height: 50px;
  max-width: 100%;
  object-fit: contain;
}

body[class^="preview-"] .content-section {
  padding-top: 78px;
}

body[class^="preview-"] .home-intro-title {
  margin-bottom: 42px;
}

body[class^="preview-"] .home-page .card,
body[class^="preview-"] .support-box {
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.05);
}

body[class^="preview-"] .home-page .icon-pill {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

body[class^="preview-"] .home-page .quick-link {
  min-height: 78px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
}

body[class^="preview-"] .home-page .mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

body[class^="preview-"] .home-lower {
  padding-bottom: 88px;
}

@media (max-width: 900px) {
  body[class^="preview-"] .hero {
    padding-top: 28px;
  }
  body[class^="preview-"] .badge-row {
    gap: 12px;
  }
  body[class^="preview-"] .badge-item {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }
  body[class^="preview-"] .badge-link {
    width: 100%;
    justify-content: flex-start;
  }
  body[class^="preview-"] .badge-img {
    height: 46px;
  }
}

@media (max-width: 640px) {
  body[class^="preview-"] .badge-item {
    flex: 1 1 100%;
  }
  body[class^="preview-"] .badge-link {
    justify-content: center;
  }
}

/* ==== Version A: Editorial minimal ==== */
.preview-a .hero-a-shell {
  padding: 76px 56px 54px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top center, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 36%, rgba(243,236,226,0.96) 100%);
  border: 1px solid rgba(17,17,17,0.06);
  box-shadow: 0 26px 60px rgba(17,17,17,0.07);
  text-align: center;
}

.preview-a .hero-a-copy {
  max-width: 860px;
  margin: 0 auto;
}

.preview-a .hero-a-copy h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
}

.preview-a .hero-a-copy p {
  margin-left: auto;
  margin-right: auto;
}

.preview-a .hero-a-download {
  margin: 34px auto 0;
  max-width: 920px;
  padding-top: 28px;
  border-top: 1px solid rgba(17,17,17,0.08);
}

.preview-a .hero-a-download .badge-row {
  justify-content: center;
}

.preview-a .content-section .section-title .eyebrow {
  color: #8d7a67;
}

.preview-a .home-page .card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f1 100%);
}

.preview-a .bottom-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

@media (max-width: 1024px) {
  .preview-a .hero-a-shell {
    padding: 56px 28px 40px;
  }
}
