/* Page 3 desktop layout, frame 4381:54 (16 October 2026).
 * Load after responsive.css and figma-desktop.css.
 */
.benefit-desktop-break { display: none; }

@media (min-width: 1101px) {
  .benefit-desktop-break { display: inline; }
  /* Balance the gray lead-in with the white space below the hero CTA. */
  .why-coat { padding-top: 176px; }

  /* 4381:721–760: center the complete icon/text group, not each paragraph. */
  .benefits-copy {
    min-width: 0;
    padding: 64px 24px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 37px;
  }

  .benefit {
    width: min(100%, 548px);
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 21px;
  }

  .benefit > .icon { width: 48px; height: 48px; }
  .benefit > div { min-width: 0; }
  .benefit h3 { margin: 0 0 10px; }

  /* 4403:189: 20px lead-in + 32px gap puts the first card beside the h2.
   * The diagram spans the full left column so it cannot stretch two card rows.
   */
  .layers-grid {
    grid-template-rows: 20px repeat(4, minmax(140px, 1fr));
    row-gap: 32px;
  }
  .layers-heading { grid-row: 1 / 6; align-self: start; }
  .layer-diagram { grid-row: 1 / 6; align-self: end; }
  .layer-card { min-height: 140px; padding: 30px 32px; }
  .layer-card .layer-title { margin-bottom: 8px; }
  #layer-0 { grid-row: 2; }
  #layer-1 { grid-row: 3; }
  #layer-2 { grid-row: 4; }
  #layer-3 { grid-row: 5; }

  /* 4381:652–676: three 398px panels; icon groups sit 48px inside them. */
  .ai-features {
    width: min(100%, 1194px);
    margin-inline: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ai-features > div {
    min-width: 0;
    min-height: 120px;
    padding: 28px 24px 28px 48px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .ai-features .icon { width: 64px; height: 64px; }
  .ai-features p { min-width: 0; }

  /* 4381:362–400: 24px list boxes plus the native list's 24px text indent. */
  .warranty-card {
    min-width: 0;
    padding: 50px 24px 40px;
  }

  .warranty-card h3 { margin: 0 0 28px 24px; }
  .warranty-card ul { padding-left: 24px; gap: 12px; }
  .warranty-card li { padding-left: 0; }
  .warranty-card li::before { left: -12px; }

  /* Reset the older right-anchored tablet/desktop rules. */
  .review-progress {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 78px;
    transform: translateX(-50%);
  }

  /* 4403:403: a 242px fade makes the white gallery controls legible. */
  .review-stage::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 242px;
    background: linear-gradient(transparent, rgb(15 17 24 / 60%));
    pointer-events: none;
    z-index: 1;
  }
  .review-card, .review-controls { z-index: 2; }

  /* Keep all 16 service cities readable in the 604px text box. */
  .service-cities {
    width: 604px;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
  }

  /* 4381:63–64: the brush/export floor is #13151d, not the global ink.
   * One-pixel overlaps keep adjoining backgrounds joined at fractional scale.
   * The existing Ellipse 8733 glow remains in its own untouched layer.
   */
  .closing-section {
    --closing-floor-color: #13151d;
    background: linear-gradient(
      var(--orange) 0 var(--closing-floor-top),
      var(--closing-floor-color) var(--closing-floor-top) 100%
    );
  }

  .closing-section::before { top: -1px; height: 126px; }
  .closing-section::after {
    top: calc(var(--closing-floor-top) - 1px);
    height: 129px;
  }

  .site-footer { background-color: #13151d; }
}

@media (max-width: 700px) {
  /* 4403:3300–3332: keep the long benefit heading on two balanced lines. */
  .benefits-copy { gap: 36px; }
  .benefit:nth-child(2) h3 { max-width: 224px; line-height: 1.1; }
  .benefit p { line-height: 1.6; }
}
