/* Public marketing home page presentation. */

html[data-theme="dark"] body {
    background-color: #000;
    color: #fff;
  }
  .hero-bg-placeholder {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.48) 28%, rgba(0, 0, 0, 0.36) 46%, #000 96%), linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), var(--homepage-hero-image, url("/static/img/marketing/analytics-gallery.webp"));
    background-size: cover;
    background-position: center;
  }

  .marketing-section {
    width: min(1160px, calc(100% - 3rem));
    margin-inline: auto;
  }
  .section-space {
    padding-block: clamp(4rem, 7vw, 6rem);
  }
  .section-space-tight {
    padding-block: clamp(3.25rem, 5.5vw, 4.75rem);
  }
  .section-heading {
    max-width: 46rem;
  }
  .section-heading-center {
    max-width: 48rem;
    margin-inline: auto;
    text-align: center;
  }
  .section-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #71717a;
  }
  .section-title {
    margin-top: 1rem;
    font-size: clamp(2rem, 4.3vw, 3.65rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 700;
  }
  .section-copy {
    margin-top: 1.15rem;
    max-width: 43rem;
    color: #a1a1aa;
    font-size: 1rem;
    line-height: 1.75;
  }

  .marketing-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1.15rem;
    background: #09090b;
  }
  .marketing-card-soft {
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 1.15rem;
    background: #060607;
  }
  .marketing-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .feature-number {
    font-variant-numeric: tabular-nums;
  }
  .product-grid {
    background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 28px 28px;
  }
  .media-frame {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: #09090b;
  }
  .media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .portrait-card {
    position: relative;
    overflow: hidden;
    min-height: 27rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    background: #09090b;
  }
  .portrait-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
  }
  .portrait-card:hover img {
    transform: scale(1.025);
  }
  .portrait-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), transparent 50%);
    pointer-events: none;
  }
  .portrait-label {
    position: absolute;
    z-index: 1;
    inset-inline: 1.1rem;
    bottom: 1rem;
  }
  .capability-row {
    padding-block: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.085);
  }
  .workflow-step {
    position: relative;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .workflow-step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 2.5rem;
    height: 1px;
    background: #fff;
  }
  .comparison-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.012);
  }

  .comparison-matrix {
    border-collapse: separate;
    border-spacing: 0;
  }

  .comparison-matrix th,
  .comparison-matrix td {
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
  }

  .comparison-feature-cell {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 12rem;
    min-width: 12rem;
    background: #09090b;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.08);
    text-align: left !important;
  }

  thead .comparison-feature-cell {
    z-index: 4;
    background: #0b0b0d;
  }

  .comparison-cloudbooth-cell {
    background: rgba(124, 58, 237, 0.07);
    box-shadow: inset 1px 0 0 rgba(167, 139, 250, 0.14), inset -1px 0 0 rgba(167, 139, 250, 0.14);
  }

  .comparison-status {
    display: inline-flex;
    min-width: 2rem;
    align-items: center;
    justify-content: center;
    font-weight: 700;
  }

  .comparison-yes {
    color: #86efac;
    font-size: 1.05rem;
  }

  .comparison-partial {
    color: #fcd34d;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }

  .comparison-no {
    color: #52525b;
  }
  .studio-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
  }
  .editor-grid {
    display: grid;
    min-height: 480px;
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }
  .editor-sidebar {
    display: none;
  }
  .showcase-grid {
    display: grid;
    gap: 1.25rem;
  }
  .advantage-grid {
    display: grid;
    gap: 2.5rem;
  }
  .faq-grid {
    display: grid;
    gap: 2rem;
  }
  .portrait-card-short {
    min-height: 20rem;
  }
  .analytics-frame {
    aspect-ratio: 16 / 10;
  }
  .photo-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a1a1aa;
  }
  .faq-plus {
    transition: transform 0.18s ease;
  }
  details[open] .faq-plus {
    transform: rotate(45deg);
  }
  .final-cta {
    background: radial-gradient(circle at 50% 100%, rgba(124, 58, 237, 0.22), transparent 48%);
  }
  @media (min-width: 768px) {
    .editor-grid {
      grid-template-columns: 3.25rem minmax(0, 1fr) 11rem;
    }
    .editor-sidebar {
      display: block;
    }
  }
  @media (min-width: 1024px) {
    .studio-grid {
      grid-template-columns: 0.82fr 1.18fr;
    }
    .showcase-grid {
      grid-template-columns: 1.05fr 0.95fr;
    }
    .advantage-grid {
      grid-template-columns: 0.8fr 1.2fr;
    }
    .faq-grid {
      grid-template-columns: 0.7fr 1.3fr;
    }
  }
  .site-footer {
    margin-top: 0 !important;
  }

  @media (max-width: 760px) {
    .marketing-section {
      width: min(100% - 1.25rem, 1160px);
    }
    .portrait-card {
      min-height: 22rem;
    }
  }


/* Light mode keeps the same layout and photography while replacing the black marketing surfaces. */
html[data-theme="light"] .hero-bg-placeholder {
  color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.34) 28%, rgba(0, 0, 0, 0.22) 46%, rgba(250, 250, 250, .98) 96%), linear-gradient(rgba(0, 0, 0, .50), rgba(0, 0, 0, .50)), var(--homepage-hero-image, url("/static/img/marketing/analytics-gallery.webp"));
  background-size: cover;
  background-position: center;
}
html[data-theme="light"] .hero-bg-placeholder .text-gray-300,
html[data-theme="light"] .hero-bg-placeholder .text-gray-400,
html[data-theme="light"] .hero-bg-placeholder .hover\:text-white:hover { color: #f4f4f5 !important; }
html[data-theme="light"] .marketing-card,
html[data-theme="light"] .media-frame,
html[data-theme="light"] .portrait-card,
html[data-theme="light"] .comparison-feature-cell,
html[data-theme="light"] thead .comparison-feature-cell { background: #fff; border-color: rgba(24,24,27,.12); }
html[data-theme="light"] .marketing-card-soft { background: #fafafa; border-color: rgba(24,24,27,.10); }
html[data-theme="light"] .marketing-divider,
html[data-theme="light"] .capability-row,
html[data-theme="light"] .workflow-step { border-color: rgba(24,24,27,.12); }
html[data-theme="light"] .workflow-step::before { background: #18181b; }
html[data-theme="light"] .comparison-row:nth-child(even) { background: rgba(24,24,27,.018); }
html[data-theme="light"] .comparison-feature-cell { box-shadow: 1px 0 0 rgba(24,24,27,.08); }
html[data-theme="light"] .comparison-cloudbooth-cell { background: rgba(124,58,237,.055); }
html[data-theme="light"] .comparison-yes { color: #15803d; }
html[data-theme="light"] .comparison-partial { color: #a16207; }
html[data-theme="light"] .product-grid { background-image: linear-gradient(rgba(24,24,27,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(24,24,27,.04) 1px, transparent 1px); }
