/* Ask Scribe AI — v2 content layout
   Same structural system as rally-uxr-observation-rooms.css and
   enterprise-settings.css. Header nav and footer stay site-wide
   (.site-navbar/.nav-pill and .footer from style.css).
   Source: Figma node 2310:32562 */

:root {
  --as-gray-200: #e5e7eb;
  --as-gray-600: #4b5563;
  --as-gray-700: #374151;
  --as-gray-800: #1f2937;
  --as-gray-900: #111827;
  --as-max-width: 1224px;
}

body.as-page {
  background-color: #fcfcfe;
}

.as-shell {
  padding: 0 24px;
}

.as-content {
  max-width: var(--as-max-width);
  margin: 0 auto;
  padding: 120px 0 80px;
}

/* Header */

.as-title-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}

.as-kicker {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin: 0;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  color: var(--as-gray-600);
}

.as-h1 {
  margin: 4px 0 0;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.8px;
  color: var(--as-gray-900);
}

.as-badge {
  align-self: flex-start;
  padding: 4px 12px;
  border: 1px solid var(--as-gray-200);
  border-radius: 999px;
  background: #ffffff;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.26px;
  text-transform: uppercase;
  color: var(--as-gray-700);
}

.as-overview {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.48;
  color: var(--as-gray-600);
}

/* Two-column section (Project Goals + Role/Team/Tools) */

.as-section {
  display: flex;
  gap: 126px;
  margin-top: 56px;
}

.as-section-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 600px;
  max-width: 100%;
}

.as-label {
  margin: 0;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  color: var(--as-gray-800);
}

.as-text-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.as-text {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.48;
  color: var(--as-gray-600);
}

/* Role / Team on the first row, Tools underneath Role — matches the
   two-column arrangement in the design. */

.as-info {
  display: grid;
  grid-template-columns: 272px auto;
  align-content: start;
  row-gap: 20px;
  width: 496px;
  max-width: 100%;
}

.as-info-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Images */

.as-image {
  margin-top: 56px;
  width: 100%;
  border-radius: 12px;
}

/* Panel sets export with transparent gutters between the four screens, so
   they sit on the page background rather than in a rounded container. */

.as-image--panels {
  border-radius: 0;
}

.as-image-row {
  display: flex;
  gap: 24px;
  margin-top: 56px;
}

.as-image-row img {
  width: 600px;
  max-width: 100%;
  border-radius: 12px;
}

/* Responsive fallback (the design is a fixed 1512px desktop frame) */

@media (max-width: 960px) {
  .as-content {
    padding-top: 64px;
  }

  .as-section {
    flex-direction: column;
    gap: 32px;
  }

  .as-section-main,
  .as-info {
    width: 100%;
  }

  .as-image-row {
    flex-direction: column;
  }

  .as-image-row img {
    width: 100%;
  }

  .as-h1 {
    font-size: 32px;
    line-height: 36px;
  }
}

@media (max-width: 600px) {
  .as-info {
    grid-template-columns: 1fr;
  }
}
