/* Utopia marketing / demo enhancements 2026-07 */
.utopia-demo-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0f172a;
  color: #e2e8f0;
  padding: 10px 16px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.utopia-demo-bar a { color: #93c5fd; text-decoration: none; font-weight: 600; }
.utopia-demo-bar a:hover { color: #fff; }

.utopia-demo-hero {
  display: grid;
  gap: 1.5rem;
  margin: 0 0 2.5rem;
}
.utopia-demo-hero__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .utopia-demo-hero__grid { grid-template-columns: 1fr; }
}
.utopia-demo-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.utopia-demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
}
.utopia-demo-card img { width: 100%; height: auto; display: block; }
.utopia-demo-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.utopia-demo-card__body h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.utopia-demo-card__body p { margin: 0 0 1rem; color: #64748b; line-height: 1.6; }
.utopia-demo-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #2563eb;
  color: #fff !important;
  padding: .65rem 1rem;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: .95rem;
}

/* Compare 2026 */
.utopia-compare-wrap {
  max-width: 1080px;
  margin: 0 auto;
}
.utopia-compare-hero {
  text-align: center;
  padding: 1rem 0 2rem;
}
.utopia-compare-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .75rem; }
.utopia-compare-hero p { color: #64748b; font-size: 1.05rem; max-width: 40rem; margin: 0 auto; }
.utopia-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (max-width: 800px) {
  .utopia-compare-grid { grid-template-columns: 1fr; }
}
.utopia-plan {
  position: relative;
  border-radius: 24px;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.utopia-plan--featured {
  background: linear-gradient(165deg, #0f172a 0%, #1e3a8a 100%);
  color: #f8fafc;
  border: none;
  transform: scale(1.02);
}
.utopia-plan--featured .utopia-plan__price,
.utopia-plan--featured li { color: #e2e8f0; }
.utopia-plan__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f59e0b;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 999px;
}
.utopia-plan h2 { margin: 0 0 .35rem; font-size: 1.5rem; }
.utopia-plan__tag { opacity: .8; margin-bottom: 1rem; font-size: .95rem; }
.utopia-plan__price { font-size: 2rem; font-weight: 800; margin: .5rem 0; letter-spacing: -0.02em; }
.utopia-plan__price small { font-size: .95rem; font-weight: 500; opacity: .8; }
.utopia-plan ul { list-style: none; padding: 0; margin: 1.25rem 0; }
.utopia-plan li {
  padding: .55rem 0 .55rem 1.6rem;
  position: relative;
  border-top: 1px solid rgba(148, 163, 184, .25);
}
.utopia-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}
.utopia-plan--featured li::before { color: #4ade80; }
.utopia-plan__btn {
  display: block;
  text-align: center;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
}
.utopia-plan--featured .utopia-plan__btn {
  background: #f8fafc;
  color: #0f172a !important;
}
.utopia-billing {
  margin: 2.5rem 0 1rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.utopia-billing table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.utopia-billing th,
.utopia-billing td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.utopia-billing th { background: #f8fafc; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: #64748b; }
.utopia-billing tr:last-child td { border-bottom: none; }

/* Cases */
.utopia-case {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2.5rem 0;
  padding: 1.25rem;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
@media (max-width: 800px) {
  .utopia-case { grid-template-columns: 1fr; }
}
.utopia-case img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 12px 30px rgba(15,23,42,.12);
}

/* Video tour — large screenshot cards (readable) */
.utopia-tour {
  display: grid;
  gap: 2rem;
  margin: 2rem 0 2.5rem;
}
.utopia-tour-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}
.utopia-tour-step__media {
  background: #0f172a;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.utopia-tour-step__media img,
.utopia-tour-step > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 0;
}
.utopia-tour-step__body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.utopia-tour-step__body p {
  margin: .5rem 0 0;
  color: #64748b;
  line-height: 1.7;
}
.utopia-tour-step__num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-right: .4rem;
}
.utopia-tour-hero {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.utopia-tour-hero p {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.8;
}
.utopia-tour-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

/* Wider marketing / demo pages (match features-grid comfort width) */
body.utopia-marketing-wide .page-content,
body.utopia-demo-preview .page-content,
body.utopia-marketing-wide .page-content .entry-content,
body.utopia-demo-preview .page-content .entry-content,
.page-content.page-content--custom-width {
  max-width: min(100% - 32px, 1200px) !important;
  width: 100%;
  box-sizing: border-box;
}
body.utopia-marketing-wide main.utopia-container,
body.utopia-demo-preview main.utopia-container {
  max-width: min(100% - 32px, 1200px);
}
/* Demo preview: keep blog/LP chrome readable at full marketing width */
body.utopia-demo-preview.utopia-site-blog .page-content,
body.utopia-demo-preview.utopia-site-lp .page-content,
body.utopia-demo-preview.utopia-site-lp-pro .page-content {
  max-width: min(100% - 32px, 1200px) !important;
}
body.utopia-demo-preview .utopia-demo-hero img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
/* Ensure demo/tour titles stay visible even if hide-heading CSS is cached */
body.utopia-marketing-wide .entry-content h1,
body.utopia-demo-preview .entry-content h1,
body.utopia-marketing-wide .utopia-demo-mini h1,
body.utopia-demo-preview .utopia-demo-mini h1 {
  display: block !important;
}
.utopia-demo-mini {
  display: grid;
  gap: 2.75rem;
}
.utopia-demo-mini h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 1rem;
}
.utopia-demo-mini__lead {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 48rem;
  margin: 0 0 1.25rem;
}
.utopia-demo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.utopia-demo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.utopia-demo-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .utopia-demo-grid-2,
  .utopia-demo-grid-3,
  .utopia-demo-grid-4 { grid-template-columns: 1fr; }
}
.utopia-demo-pill {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.utopia-demo-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: .85rem 1.1rem;
  margin: 0 0 .65rem;
  background: #fff;
}
.utopia-demo-faq summary {
  cursor: pointer;
  font-weight: 650;
}
.utopia-demo-faq p {
  margin: .65rem 0 0;
  color: #64748b;
  line-height: 1.7;
}
.utopia-demo-cta-band {
  margin: 1rem 0 0;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #f8fafc;
  text-align: center;
}
.utopia-demo-cta-band p { color: #cbd5e1; margin: .5rem auto 1.1rem; max-width: 36rem; }
.utopia-demo-price {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem;
  background: #fff;
  text-align: center;
}
.utopia-demo-price strong { display: block; font-size: 1.75rem; margin: .35rem 0; color: #0f172a; }
.utopia-demo-post {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.utopia-demo-post__meta {
  font-size: .8rem;
  color: #94a3b8;
  margin-bottom: .35rem;
}
.utopia-demo-team {
  text-align: center;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
}
.utopia-demo-team__avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin: 0 auto .75rem;
  background: linear-gradient(135deg, #67e8f9, #2563eb);
}
.utopia-demo-section {
  margin: 2.5rem 0;
  padding: 1.75rem;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.utopia-demo-section h2 {
  margin-top: 0;
}
.utopia-demo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  text-align: center;
}
@media (max-width: 768px) {
  .utopia-demo-stats { grid-template-columns: repeat(2, 1fr); }
}
.utopia-demo-stats strong {
  display: block;
  font-size: 1.75rem;
  color: #2563eb;
}
.utopia-demo-quote {
  border-left: 4px solid #2563eb;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: #fff;
  border-radius: 0 12px 12px 0;
  color: #334155;
}

/* ============================================================
   Marketing 2026 — modern product UI (teal / navy, not purple-AI)
   ============================================================ */
body.utopia-marketing-wide .page-content article {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
body.utopia-marketing-wide .entry-content > .utopia-mkt,
body.utopia-marketing-wide .entry-content > .utopia-demo-mini {
  max-width: 100%;
}

.utopia-mkt {
  display: grid;
  gap: 2.5rem;
}
.utopia-mkt-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.25rem);
  color: #f8fafc;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(34, 211, 238, .35), transparent 55%),
    radial-gradient(700px 380px at 90% 10%, rgba(14, 165, 233, .28), transparent 50%),
    linear-gradient(145deg, #0b1220 0%, #0f2744 48%, #083344 100%);
}
.utopia-mkt-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(56, 189, 248, .18), transparent 65%);
  pointer-events: none;
}
.utopia-mkt-hero > * { position: relative; z-index: 1; }
.utopia-mkt-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.utopia-mkt-hero h1 {
  margin: 0 0 .85rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.utopia-mkt-hero p {
  margin: 0;
  max-width: 40rem;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
}
.utopia-mkt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.utopia-mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.utopia-mkt-btn:hover { transform: translateY(-2px); }
.utopia-mkt-btn--primary {
  background: #22d3ee;
  color: #082f49 !important;
  box-shadow: 0 10px 30px rgba(34, 211, 238, .35);
}
.utopia-mkt-btn--ghost {
  background: rgba(255,255,255,.08);
  color: #f8fafc !important;
  border: 1px solid rgba(255,255,255,.2);
}

.utopia-mkt-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.utopia-mkt-tile {
  grid-column: span 4;
  border-radius: 22px;
  padding: 1.35rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .05);
  overflow: hidden;
}
.utopia-mkt-tile--wide { grid-column: span 8; }
.utopia-mkt-tile--full { grid-column: span 12; }
.utopia-mkt-tile--dark {
  background: linear-gradient(160deg, #0f172a, #164e63);
  color: #f8fafc;
  border: none;
}
.utopia-mkt-tile--dark p { color: #cbd5e1; }
.utopia-mkt-tile h2,
.utopia-mkt-tile h3 {
  margin: 0 0 .55rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.utopia-mkt-tile p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}
.utopia-mkt-tile__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: .9rem;
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  color: #0e7490;
  font-size: 1.15rem;
  font-weight: 800;
}
.utopia-mkt-tile img {
  width: 100%;
  border-radius: 14px;
  display: block;
  margin-top: 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
}
@media (max-width: 900px) {
  .utopia-mkt-tile,
  .utopia-mkt-tile--wide,
  .utopia-mkt-tile--full { grid-column: span 12; }
}

.utopia-mkt-browser {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}
.utopia-mkt-browser__bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 12px;
  background: #1e293b;
}
.utopia-mkt-browser__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #64748b;
  display: block;
}
.utopia-mkt-browser__bar i:nth-child(1) { background: #fb7185; }
.utopia-mkt-browser__bar i:nth-child(2) { background: #fbbf24; }
.utopia-mkt-browser__bar i:nth-child(3) { background: #34d399; }
.utopia-mkt-browser img {
  width: 100%;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #0f172a;
}

.utopia-mkt-steps {
  display: grid;
  gap: 1.25rem;
}
.utopia-mkt-step {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.utopia-mkt-step:nth-child(even) {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}
.utopia-mkt-step:nth-child(even) .utopia-mkt-step__body { order: 2; }
.utopia-mkt-step:nth-child(even) .utopia-mkt-browser { order: 1; }
@media (max-width: 800px) {
  .utopia-mkt-step,
  .utopia-mkt-step:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .utopia-mkt-step:nth-child(even) .utopia-mkt-step__body,
  .utopia-mkt-step:nth-child(even) .utopia-mkt-browser { order: initial; }
}
.utopia-mkt-step__num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0891b2;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  margin-right: .45rem;
}

.utopia-mkt-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.utopia-mkt-table th,
.utopia-mkt-table td {
  padding: .95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.utopia-mkt-table th {
  background: #0f172a;
  color: #f8fafc;
  font-weight: 700;
}
.utopia-mkt-table tr:last-child td { border-bottom: none; }

/* Demo preview: never use broken blog header chrome on sales site */
body.utopia-demo-preview.utopia-site-blog .site-header__inner {
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding-bottom: inherit;
}
body.utopia-demo-preview.utopia-site-blog .site-branding {
  text-align: left !important;
  width: auto !important;
  padding: 0 !important;
}
body.utopia-demo-preview.utopia-site-blog .site-header__cta {
  position: static !important;
  transform: none !important;
}
body.utopia-demo-preview.utopia-site-blog .site-header__nav {
  border: none !important;
  width: auto !important;
}
