/* ============================================================
   Creator service detail page styles.
   Source: /docs/mockups/creator.html.

   Second of seven service detail pages. As later pages landed,
   shared patterns lifted out of this file:
     - components/svc-hero.css        (Portals — hero + what-card)
     - components/capabilities.css    (Portals — .cap-section / .cap-row)
     - components/related-callout.css (Strategy — single full-width
                                       sibling-service callout)
   Plus the four shared patterns lifted on this page when Creator
   landed (cred-strip, use-cases, svc-process, case-study).

   What stays page-specific:
   - .ai-section               AI pillars + practical examples.
                               Page-specific by design.
   - .cap-topo                 Inline-SVG topo-line accent behind
                               the capabilities grid. Decoration
                               is Creator-only; the .cap-section
                               container is shared.
   - .faq-section / .faq-item  Borderless-row + circle-chevron
                               toggle (matches Portals). Diverges
                               from Implementation/Integrations/
                               Data Migration bordered accordion.
                               Held until reconciliation.
   ============================================================ */

/* === AI SECTION (page-specific) ===
   Two-col split on tinted-light: pillars on the left, practical
   examples list on the right. */

.ai-section {
  background: var(--bg-light-2);
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.ai-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
}
.ai-content h2 {
  font-size: 36px;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 18px;
}
.ai-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark-2);
  margin-bottom: 28px;
}

.ai-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ai-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ai-item-bullet {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-sm);
  background: rgba(220, 115, 76, 0.14);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-item-bullet svg { width: 12px; height: 12px; }
.ai-item h3 {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: var(--tracking-h3);
}
.ai-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dark-2);
}

/* "More on AI" pointer rendered at the bottom of the .ai-content
   column under the pillars list. Small inline link, not a banner. */
.ai-hub-link {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.4;
}
.ai-hub-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  text-decoration: none;
  font-weight: var(--weight-medium);
  border-bottom: 1px solid rgba(220, 115, 76, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ai-hub-link a:hover {
  color: var(--orange-bright);
  border-bottom-color: var(--orange-bright);
}
.ai-hub-link .arrow {
  transition: transform 0.2s var(--ease-out);
}
.ai-hub-link a:hover .arrow {
  transform: translateX(3px);
}

.ai-examples {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-card-lg);
  padding: 32px;
}
.ai-examples-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-weight: var(--weight-medium);
  margin-bottom: 18px;
}
.ai-examples h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 22px;
  letter-spacing: var(--tracking-h3);
}
.ai-example {
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.ai-example:first-of-type { border-top: none; padding-top: 0; }
.ai-example:last-of-type { padding-bottom: 0; }
.ai-example-title {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.ai-example-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dark-2);
}

/* === CAPABILITIES TOPO (page-specific decoration) ===
   The .cap-section grid + rows are shared (components/capabilities.css).
   What stays here is the inline-SVG topo-line accent layered behind
   the grid — Creator-only decoration. */

.cap-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

/* === FAQ (page-specific) ===
   Borderless rows with a circle-chevron toggle. Different
   from Implementation's bordered-card + (+/−) treatment. */

.faq-section { padding-top: var(--section-pad-y); padding-bottom: var(--section-pad-y); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.faq-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
}
.faq-intro h2 {
  font-size: 36px;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 18px;
}
.faq-intro p {
  font-size: 16px;
  color: var(--text-dark-2);
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }

.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: var(--weight-medium);
  color: var(--text-dark);
  line-height: 1.35;
  transition: color 0.2s ease;
}
.faq-item:hover .faq-q { color: var(--orange); }

.faq-toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-2);
  transition: transform 0.3s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.faq-toggle svg { width: 12px; height: 12px; }
.faq-item:hover .faq-toggle {
  background: var(--orange);
  border-color: var(--orange);
  color: #0c0c0c;
}
.faq-item[open] .faq-toggle {
  transform: rotate(180deg);
}

.faq-a {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--text-dark-2);
  line-height: 1.65;
}
.faq-a p + p { margin-top: 12px; }

/* === RESPONSIVE === */

@media (max-width: 980px) {
  .ai-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .ai-content h2 { font-size: 28px; }
  .ai-examples { padding: 24px; }
  .faq-intro h2 { font-size: 28px; }
}
