/* ==========================================================================
   AI Pro-Branding page
   Only page-specific pieces live here; everything else comes from styles.css
   ========================================================================== */

/* Hero
   ========================================================================== */

.hero--ai {  background: #0d0405 url(/assets/img/2027/ai-probranding/header-bg.jpg) center / cover no-repeat; }

.hero--ai .hero__content { max-width: 980px; }
.hero--ai .hero__content > p:not([class]) { max-width: 890px; margin-top: 26px; }

.hero .hero__kicker {
  margin: 0 0 18px;
  font-size: clamp(18px, 1.3vw, 24px);
  color: var(--red);
}

.hero--ai .highlights--inline { margin-top: 24px; }
.hero--ai .divider { margin-top: 26px; }

/* Comparison table
   ========================================================================== */

.compare {
  background: linear-gradient(#000, #121212);
  color: var(--white);
}

.compare h2 { color: var(--white); }
.compare .section-head > p:last-child { color: rgba(255, 255, 255, .9); }

.compare-table {
  width: 100%;
  max-width: 1100px;
  margin: clamp(40px, 4vw, 70px) auto clamp(0px, 3vw, 50px);
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

.compare-table thead { border-bottom: 2px solid var(--red); }

.compare-table thead th {
  padding: 0 20px 30px;
  font-weight: 600;
  text-transform: uppercase;
}

.compare-table thead th:last-child { color: var(--red); }

.compare-table thead td { width: 35%; }

.compare-table tbody tr { border-bottom: 1px solid rgba(255, 255, 255, .04); }
.compare-table tbody tr:last-child { border-bottom-color: #727272; }

.compare-table tbody th,
.compare-table td {
  padding: 26px 20px;
  font-weight: 400;
}

.compare-table__yes {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

/* Red ticked box */
.compare-table__yes::before {
  content: "";
  flex: none;
  width: 25px;
  height: 25px;
  border-radius: 2px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.poses--4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-block: 40px;
}

.steps--4 {  grid-template-columns: repeat(4, 1fr); }

/* Responsive
   ========================================================================== */

@media (max-width: 768px) {
  /* Table rows become stacked cards; data-label replaces the column headings */
  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td { display: block; }

  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .compare-table { border-top: 2px solid var(--red); }

  .compare-table tbody tr {
    padding: 22px 0;
    border-bottom-color: rgba(255, 255, 255, .12);
  }

  .compare-table tbody th {
    padding: 0 0 12px;
    font-size: 17px;
    font-weight: 600;
  }

  .compare-table td { padding: 6px 0; }

  .compare-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
  }

	.compare-table td:last-child::before { color: #ff5a62; }

	.poses--4 { grid-template-columns: 1fr; }
}