/* ZenHST Warm Cream Editorial + Bento Studio Stylesheet (Zero-Black Bright Theme) */

body:has(.zh-editorial-root) {
  background-color: #FAF7F2;
  color: #1E293B;
}

body:has(.zh-editorial-root) > .bg-brand-purple {
  background-color: #065F46 !important;
}

.zh-editorial-root {
  background-color: #FAF7F2;
  color: #1E293B;
  overflow-x: clip;
  font-size: 14px;
  line-height: 1.5;
}

.zh-editorial-root *,
.zh-editorial-root *::before,
.zh-editorial-root *::after {
  box-sizing: border-box;
}

.zh-wrap {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .zh-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Hero Section */
.zh-hero {
  padding-top: 36px;
  padding-bottom: 48px;
  background: linear-gradient(180deg, #FAF7F2 0%, #F5F1E8 100%);
}

@media (min-width: 640px) {
  .zh-hero {
    padding-top: 48px;
    padding-bottom: 56px;
  }
}

.zh-hero-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 32px auto;
}

.zh-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 12px;
  font-weight: 700;
}

.zh-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #10B981;
  display: inline-block;
}

.zh-h1 {
  margin: 16px 0 14px 0;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #1E293B;
}

@media (min-width: 640px) {
  .zh-h1 {
    font-size: 46px;
  }
}

.zh-h1-accent {
  color: #065F46;
}

.zh-hero-sub {
  margin: 0 auto;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

@media (min-width: 640px) {
  .zh-hero-sub {
    font-size: 17px;
  }
}

.zh-hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.zh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}

.zh-btn:hover {
  opacity: 0.93;
}

.zh-btn-emerald {
  background-color: #065F46;
  color: #FFFFFF;
}

.zh-btn-coral {
  background-color: #EA580C;
  color: #FFFFFF;
}

.zh-btn-cobalt {
  background-color: #2563EB;
  color: #FFFFFF;
}

.zh-btn-wa {
  background-color: #ECFDF5;
  color: #065F46;
  border-color: #6EE7B7;
}

.zh-btn-outline {
  background-color: #FFFFFF;
  color: #1E293B;
  border-color: #D6D3D1;
}

/* 4-Tile Bento Mosaic */
.zh-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 1024px) {
  .zh-bento-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .zh-col-7 {
    grid-column: span 7 / span 7;
  }
  .zh-col-5 {
    grid-column: span 5 / span 5;
  }
}

.zh-tile {
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.zh-tile-peach {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 55%, #FFF1F2 100%);
  border: 1px solid #FED7AA;
}

.zh-tile-mint {
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDFA 55%, #FFFFFF 100%);
  border: 1px solid #A7F3D0;
}

.zh-tile-lavender {
  background: linear-gradient(135deg, #FAF5FF 0%, #FDF4FF 55%, #FFF1F2 100%);
  border: 1px solid #E9D5FF;
}

.zh-tile-sky {
  background: linear-gradient(135deg, #F0F9FF 0%, #EFF6FF 55%, #EEF2FF 100%);
  border: 1px solid #BFDBFE;
}

.zh-tile-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.zh-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.zh-app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zh-tab-pill {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #FED7AA;
  background-color: #FFFFFF;
  color: #334155;
  cursor: pointer;
}

.zh-tab-pill.is-active {
  background-color: #EA580C;
  border-color: #EA580C;
  color: #FFFFFF;
}

.zh-app-stage {
  background-color: #FFFFFF;
  border: 1px solid #FED7AA;
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

@media (min-width: 640px) {
  .zh-app-stage {
    grid-template-columns: 5fr 7fr;
  }
}

.zh-phone-mock {
  border-radius: 18px;
  border: 2px solid #FDBA74;
  background: linear-gradient(180deg, #FFF7ED 0%, #FFFFFF 100%);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zh-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
}

.zh-phone-card {
  background-color: #FFFFFF;
  border: 1px solid #FFEDD5;
  border-radius: 12px;
  padding: 10px;
}

.zh-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.zh-stat-chip {
  border-radius: 14px;
  padding: 10px 12px;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.zh-speed-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.zh-reel-box {
  background-color: #FFFFFF;
  border: 1px solid #E9D5FF;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.zh-reel-frame {
  width: 78px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid #D8B4FE;
  background: linear-gradient(180deg, #E9D5FF 0%, #FAE8FF 55%, #FFE4E6 100%);
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.zh-reel-play {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background-color: #7E22CE;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zh-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zh-chip {
  padding: 6px 12px;
  border-radius: 10px;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  font-size: 12px;
  font-weight: 700;
}

/* Section Containers */
.zh-section-white {
  background-color: #FFFFFF;
  border-top: 1px solid #E7E5E4;
  border-bottom: 1px solid #E7E5E4;
  padding: 52px 0;
}

.zh-section-cream {
  background-color: #FAF7F2;
  padding: 52px 0;
}

.zh-sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .zh-sec-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.zh-h2 {
  margin: 4px 0 6px 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: #1E293B;
}

@media (min-width: 640px) {
  .zh-h2 {
    font-size: 32px;
  }
}

.zh-filter-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
}

.zh-filter-btn {
  padding: 8px 14px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #E7E5E4;
  background-color: #FFFFFF;
  color: #44403C;
  cursor: pointer;
  flex-shrink: 0;
}

.zh-filter-btn.is-active {
  background-color: #065F46;
  border-color: #065F46;
  color: #FFFFFF;
}

/* Before / After Board */
.zh-ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .zh-ba-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.zh-ba-card {
  border-radius: 22px;
  padding: 24px;
}

.zh-ba-before {
  background-color: #FFF1F2;
  border: 1px solid #FECDD3;
}

.zh-ba-after {
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.zh-ba-list {
  list-style: none;
  margin: 14px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #334155;
}

.zh-ba-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Magazine Split Case Studies */
.zh-mag-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.zh-mag-card {
  border-radius: 24px;
  border: 1px solid #E7E5E4;
  background-color: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.zh-mag-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .zh-mag-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .zh-mag-visual {
    grid-column: span 5 / span 5;
  }
  .zh-mag-body {
    grid-column: span 7 / span 7;
  }
  .zh-mag-grid.is-reverse .zh-mag-visual {
    order: 2;
    border-left: 1px solid #E7E5E4;
    border-right: none;
  }
  .zh-mag-grid.is-reverse .zh-mag-body {
    order: 1;
  }
}

.zh-mag-visual {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #E7E5E4;
}

@media (min-width: 1024px) {
  .zh-mag-visual {
    border-bottom: none;
    border-right: 1px solid #E7E5E4;
  }
}

.zh-mag-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

/* 6 Unique Project Color Worlds */
.zh-world-rose { background: linear-gradient(135deg, #FFE4E6 0%, #FDF2F8 55%, #FEF3C7 100%); }
.zh-world-sky { background: linear-gradient(135deg, #E0F2FE 0%, #ECFEFF 55%, #D1FAE5 100%); }
.zh-world-sage { background: linear-gradient(135deg, #D1FAE5 0%, #F0FDFA 55%, #F5F5F4 100%); }
.zh-world-apricot { background: linear-gradient(135deg, #FFEDD5 0%, #FEF3C7 55%, #FEF9C3 100%); }
.zh-world-orchid { background: linear-gradient(135deg, #F3E8FF 0%, #FAE8FF 55%, #FCE7F3 100%); }
.zh-world-teal { background: linear-gradient(135deg, #CCFBF1 0%, #ECFEFF 55%, #FEF3C7 100%); }

.zh-view-toggle {
  display: inline-flex;
  background-color: #F5F5F4;
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
}

.zh-view-btn {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #57534E;
  cursor: pointer;
}

.zh-view-btn.is-active {
  background-color: #FFFFFF;
  color: #1E293B;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.zh-kpi-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.zh-kpi-box {
  border-radius: 14px;
  background-color: #FAF7F2;
  border: 1px solid #E7E5E4;
  padding: 10px;
  text-align: center;
}

.zh-deliv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 640px) {
  .zh-deliv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.zh-deliv-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 12px;
  background-color: #FAF7F2;
  border: 1px solid #E7E5E4;
  font-size: 12px;
}

/* Custom Bundle Builder */
.zh-bundle-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1024px) {
  .zh-bundle-layout {
    grid-template-columns: 7fr 5fr;
  }
}

.zh-modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .zh-modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.zh-mod-card {
  text-align: left;
  padding: 16px;
  border-radius: 16px;
  border: 2px solid #E7E5E4;
  background-color: #FAF7F2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.zh-mod-card.is-selected {
  border-color: #065F46;
  background-color: #ECFDF5;
}

.zh-summary-box {
  border-radius: 24px;
  border: 1px solid #A7F3D0;
  background-color: #FAF7F2;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(6, 95, 70, 0.08);
}

.zh-summary-hdr {
  background-color: #065F46;
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.zh-input {
  width: 100%;
  padding: 10px 13px;
  border-radius: 11px;
  border: 1px solid #D6D3D1;
  background-color: #FFFFFF;
  color: #1E293B;
  font-size: 13px;
}

.zh-input:focus {
  outline: none;
  border-color: #065F46;
}

/* Modal */
.zh-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(30, 41, 59, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.zh-modal-backdrop.is-open {
  display: flex;
}

.zh-modal-dialog {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  background-color: #FFFFFF;
  border: 1px solid #E7E5E4;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.zh-hidden {
  display: none !important;
}
