/* ==========================================================================
   /unified_reporting/ — page-specific layout (Analytics cluster)
   Loaded after site.css + inner.css. Shared pieces reused from those:
   .wrap / .section / .section--tint / .pill-btn (site.css) and
   .ihero (dark-art hero shell + veil), .grad-head, .body-copy, .ipanel
   (inner.css). Only page-unique layout lives here: the split hero, the
   "How does it work" funnel panel, the 4 benefit cards, and the CTA panel.

   Geometry below is measured from the live Tilda page at a 1440px viewport
   (artboard content column = 1160px, which our .wrap ≈ 1152px matches):
     hero      block 940 tall; title 62/74; frame 933×655 at x=415
     how-works panel 1160×291, funnel 290 wide rising 181px above the panel
     cards     4 × 270×271, 27px gaps
     cta       panel 1160×260, chart 215 wide, copy column starts at x=473
   ========================================================================== */

/* --- submenu active item fallback: bold "Unified Reporting" if t396_init
       clobbers the partial script's inline font-weight (same pattern as ad_formats) */
#menu-2nd #to-unified-reporting a { font-weight: 900; }

/* ============================================================= 01 HERO === */
/* Split hero: left-aligned coral/white title + copy, big dashboard on the
   right. Reuses .ihero (dark-art background + veil) from inner.css. */
.ur-hero { padding: 72px 0 88px; }
.ur-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 760px;
}
.ur-hero-copy { max-width: 340px; }
.ur-hero-title {
  margin: 0 0 20px;
  font-size: clamp(40px, 4.3vw, 62px);
  line-height: 1.19;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.ur-hero-title em   { display: block; font-style: normal; color: var(--coral); }
.ur-hero-title span { display: block; }
.ur-hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: #fff;
  margin: 0 0 34px;
  max-width: 330px;
}
.ur-hero-cta .pill-btn { min-width: 200px; height: 55px; padding: 0 34px; font-weight: 700; }
.ur-hero-visual { min-width: 0; }
/* the dark browser frame (PNG) with the looping dashboard video layered inside
   its content area — inset percentages measured from the live page */
.ur-hero-screen { position: relative; line-height: 0; }
.ur-hero-frame { display: block; width: 100%; height: auto; }
.ur-hero-video {
  position: absolute;
  left: 6.32%;
  top: 10.99%;
  width: 87.14%;
  height: 77.10%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background: #000;
}

/* ================================================ 02 How does it work === */
/* White section. Tinted rounded panel with the copy on the left; the funnel
   illustration sits on the right, rising above the panel's top edge with its
   bottom flush to the panel bottom (as on live). */
.ur-hiw { padding: 97px 0 99px; overflow: hidden; }
.ur-hiw-panel {
  position: relative;
  overflow: visible;
  margin-top: 181px;   /* room for the illustration to rise above the panel */
  /* right padding reserves the illustration's column (290 + 74 inset + 40 gap) */
  padding: 50px 404px 49px 50px;
}
.ur-hiw-copy .grad-head { margin-bottom: 14px; }
.ur-hiw-copy .body-copy {
  font-size: 20px;
  line-height: 1.55;
  max-width: 716px;
}
/* the illustration is taken out of flow so the panel height is set by the copy
   alone; the artwork's bottom sits on the panel edge and the source logos rise
   above it (exactly as on live) */
.ur-hiw-visual {
  position: absolute;
  right: 74px;
  bottom: 0;
  width: 290px;
}
.ur-hiw-visual img { display: block; width: 100%; height: auto; }

/* ==================================================== 03 Benefit cards === */
.ur-cards-section { padding: 95px 0 92px; }
.ur-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 27px;
  align-items: stretch;
}
.ur-card {
  background: #fff;
  border-radius: 40px;
  padding: 33px 33px 40px 25px;
  min-height: 271px;
}
.ur-card-icon {
  display: block;
  width: auto;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 36px;
}
.ur-card h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 13px;
}
.ur-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  margin: 0;
}

/* ================================================================ 04 CTA */
/* White section, tinted panel: chart on the left, heading + copy + button on
   the right. */
.ur-cta-section { padding: 95px 0 103px; }
.ur-cta {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  column-gap: 65px;
  align-items: center;
  padding: 41px 50px 41px 60px;
  min-height: 260px;
}
.ur-cta-visual img { display: block; width: 100%; height: auto; }
.ur-cta-head {
  font-size: clamp(32px, 3.2vw, 45px);
  line-height: 1.2;
  margin: 0 0 14px;
}
.ur-cta-copy .body-copy {
  font-size: 20px;
  line-height: 1.55;
  max-width: 820px;
}
.ur-cta-btn { margin-top: 24px; }
.ur-cta-btn .pill-btn { min-width: 200px; height: 55px; padding: 0 30px; }

/* ========================================================== responsive === */
@media screen and (max-width: 1100px) {
  .ur-hero-inner { min-height: 0; }
  .ur-hiw-panel { padding-right: 360px; }
  .ur-hiw-visual { right: 40px; width: 260px; }
}

@media screen and (max-width: 960px) {
  .ur-hero { padding: 52px 0 60px; }
  /* hero stacks: copy first, dashboard below — left-aligned as on live mobile */
  .ur-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ur-hero-copy { max-width: 520px; }
  .ur-hero-title { font-size: clamp(34px, 8vw, 52px); }
  .ur-hero-sub { max-width: 460px; }

  /* funnel illustration moves above the copy, no overhang */
  .ur-hiw { padding: 56px 0; }
  /* copy first, illustration underneath — same order as live mobile */
  .ur-hiw-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 0;
    padding: 36px 32px;
  }
  .ur-hiw-copy .body-copy { max-width: none; font-size: 18px; }
  .ur-hiw-visual {
    position: static;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .ur-cards-section { padding: 56px 0; }
  .ur-cards { grid-template-columns: 1fr 1fr; gap: 22px; }
  .ur-card { min-height: 0; padding: 30px 28px 32px 26px; }

  .ur-cta-section { padding: 56px 0; }
  .ur-cta {
    grid-template-columns: 1fr;
    row-gap: 24px;
    text-align: center;
    padding: 40px 32px;
    min-height: 0;
  }
  .ur-cta-visual { max-width: 230px; margin: 0 auto; }
  .ur-cta-copy .body-copy { max-width: none; font-size: 18px; }
  .ur-cta-btn { display: flex; justify-content: center; }
}

@media screen and (max-width: 640px) {
  .ur-cards { grid-template-columns: 1fr; gap: 18px; }
  .ur-card { text-align: left; }
  .ur-card-icon { height: 50px; margin-bottom: 22px; }
  .ur-hiw-panel { padding: 30px 24px; }
  .ur-cta { padding: 34px 22px; }
  .ur-hero-sub { font-size: 18px; }
}
