/* Infirise AI: inner-page components (breadcrumbs, page hero, content blocks, tables, forms). */

/* ---------- Breadcrumbs (on the dark page hero) ---------- */

.crumbs ol {
  display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; list-style: none;
  font: 500 14px/1.4 var(--body); color: var(--mist);
}
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--mist); }
.crumbs a { display: inline-block; padding-block: 12px; color: var(--haze); text-decoration: none; }
.crumbs a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { display: inline-block; padding-block: 12px; }
.crumbs [aria-current] { color: #ffffff; font-weight: 600; }

/* ---------- Page hero: the homepage hero, shorter; an industry page sets --accent ---------- */

.page-hero { border-top: 4px solid var(--accent, transparent); }
.page-hero .hero-in { padding-top: 8px; gap: 40px; }
.page-hero .hero-copy { gap: 20px; }
.page-hero .crumbs { margin-bottom: -6px; }

/* Demo teaser card on the right of an industry hero */
.demo-mini {
  flex: 1 1 360px; min-width: 0; max-width: 460px; display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border-top: 4px solid var(--accent, var(--azure)); border-radius: 18px;
  background: #ffffff; color: var(--navy); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.demo-mini .orb { padding: 10px 0 8px; }
.demo-mini .orb-svg { width: 180px; }
.demo-mini p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Answer-first paragraph ---------- */

.answer {
  display: flex; flex-direction: column; gap: 12px; padding: 28px 30px;
  border: 1px solid var(--line); border-left: 4px solid var(--accent, var(--azure)); border-radius: 16px;
  background: #ffffff; box-shadow: 0 10px 28px rgba(17, 20, 58, 0.06);
}
.answer p { font-size: 18px; line-height: 1.65; }
.h3 { font: 600 22px/1.3 var(--head); color: var(--indigo); }
.wrap-narrow { max-width: 900px; }
.btn-start { align-self: flex-start; }
.btn-ghost-dark { border: 2px solid var(--indigo); background: transparent; color: var(--indigo); }
.btn-ghost-dark:hover { background: #ECEEF7; color: var(--indigo); }

/* ---------- Pain points ---------- */

.grid-pain { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.pain { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #ffffff; }
.pain .icon-tile { background: #FFF4E5; color: #B45309; }

/* ---------- Use cases grouped by channel ---------- */

.grid-uses { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; align-items: start; }
.uses { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #ffffff; }
.uses-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.uses-list li { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--pale); }
.uses-list b { font: 600 16px/1.35 var(--head); color: var(--navy); }
.uses-list span { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Demo transcript section (reuses the homepage call panel) ---------- */

.summary-card {
  padding: 16px 18px;
  border: 1px solid rgba(108, 184, 240, 0.3); border-radius: 14px; background: rgba(108, 184, 240, 0.08);
  font-size: 14px; line-height: 1.6; color: var(--pale);
}
.summary-card b { display: block; margin-bottom: 6px; color: var(--sky); font: 600 12px/1.4 var(--body); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Integrations by category ---------- */

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; margin: 0; }
.cat { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff; }
.cat dt { font: 600 13px/1.4 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--azure-hover); }
.cat dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--navy); }

/* ---------- Compliance notice and illustrative example ---------- */

.notice {
  display: flex; flex-direction: column; gap: 12px; padding: 26px 28px;
  border: 1px solid #F3D19C; border-left: 4px solid #D97706; border-radius: 16px; background: #FFFAF0;
}
.notice .h3 { color: #7C2D12; }
.notice ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding-left: 20px; }
.notice li { font-size: 16px; line-height: 1.6; }

.example { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px; border-radius: 16px; background: var(--navy); color: #ffffff; }
.example .h3 { color: #ffffff; }
.example p { color: var(--pale); }
.example .fine { color: var(--mist); }
.example a { color: var(--sky); }
.label {
  width: fit-content; padding: 4px 10px; border-radius: 999px; background: rgba(108, 184, 240, 0.16);
  color: var(--sky); font: 600 12px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Pills on light backgrounds (pilot metrics, filters) ---------- */

.chips-light { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips-light li, .chips-light a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #ffffff;
  color: var(--navy); font: 500 14px/1.3 var(--body); text-decoration: none;
}
.chips-light a:hover { border-color: var(--azure); color: var(--azure); }

/* ---------- Closing call to action and lead magnet ---------- */

.magnet {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
  padding: 12px 18px; border: 1px solid rgba(108, 184, 240, 0.3); border-radius: 12px;
  color: var(--haze); font-size: 15px;
}
.magnet b { color: #ffffff; }
.related { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 14px; color: var(--mist); }
.related a { color: var(--sky); }

/* ---------- Text pages, checklists and plain tables ---------- */

.prose { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.prose h2 { margin-top: 16px; font: 700 clamp(24px, 2.2vw, 30px)/1.25 var(--head); color: var(--indigo); }
.prose h3 { margin-top: 8px; font: 600 19px/1.35 var(--head); color: var(--indigo); }
.prose ul:not(.checklist), .prose ol { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-left: 22px; }

.checklist { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #E8F1FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B72AF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4l10-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #ffffff; }
.tbl { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; vertical-align: top; }
.tbl thead th { background: var(--soft); color: var(--muted); font-weight: 600; }
.tbl tbody tr { border-top: 1px solid var(--line); }
.tbl tbody th { color: var(--navy); font-weight: 600; }
.tbl tbody td { color: var(--muted); }

/* "Coming soon" label on hub cards for pages not written yet */
.tag { width: fit-content; padding: 4px 10px; border-radius: 999px; background: #ECEEF7; color: var(--indigo); font: 600 12px/1.3 var(--body); }

/* ---------- Forms (preview only: motion.js shows a message instead of sending) ---------- */

.form-card {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: 18px; background: #ffffff; box-shadow: 0 18px 40px rgba(17, 20, 58, 0.08);
}
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; font: 600 14px/1.35 var(--body); color: var(--navy); }
.fld-wide { grid-column: 1 / -1; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #ffffff; color: var(--navy); font: 400 16px/1.4 var(--body);
}
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--azure); box-shadow: 0 0 0 3px rgba(43, 114, 175, 0.15); }

@media (max-width: 600px) {
  .answer, .notice, .example { padding: 22px 20px; }
  .demo-mini { padding: 20px; }
  .form-card .btn { width: 100%; }
}
