/* Infirise Technologies (infirise.com): inner-page components (breadcrumbs, page hero, content blocks, forms). */

/* ---------- Breadcrumbs ---------- */

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

/* ---------- Page hero (light, with the homepage grid; an industry page sets --accent) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent, transparent);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #F8FBFD 0%, #EDF4F9 100%);
}
.page-hero-in {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 48px;
  padding-block: 8px clamp(44px, 6vw, 80px);
}
.page-hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page-hero-copy .crumbs { margin-bottom: -6px; }
.page-title { font: 800 clamp(32px, 3.8vw, 48px)/1.12 var(--font-display); color: var(--navy); text-wrap: balance; }
.page-lede { max-width: 680px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.page-hero-media { position: relative; flex: 1 1 360px; min-width: 0; max-width: 520px; margin: 0; }
.page-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
}
.trust-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.trust-row b { color: var(--navy); font-weight: 600; }

/* ---------- Answer-first intro and sourced context ---------- */

.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: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}
.answer p { font-size: 18px; line-height: 1.65; }
.btn-start { align-self: flex-start; }

/* ---------- Feature cards: what we handle ---------- */

.feat { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.feat-title { font: 700 18px/1.3 var(--font-display); color: var(--navy); }
.feat-text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.feat-mark { width: 32px; height: 4px; border-radius: 2px; background: var(--accent, var(--azure)); }

/* ---------- Scenarios: when this happens, this is what we do ---------- */

.scenarios { display: flex; flex-direction: column; gap: 14px; padding: 0; list-style: none; }
.scenario {
  display: grid;
  gap: 8px 32px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}
.scenario-when { font: 700 17px/1.4 var(--font-display); color: var(--navy); }
.scenario-do { font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (min-width: 760px) {
  .scenario { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

/* ---------- Plans by size ---------- */

.tier { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.tier-stage { font: 700 19px/1.3 var(--font-display); color: var(--navy); }
.tier-profile { font-size: 15px; line-height: 1.6; color: var(--muted); }
.tier-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.tier-plan { font: 600 13px/1.3 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--azure); }
.tier-price { font: 700 16px/1.3 var(--font-display); color: var(--navy); }

/* ---------- First 30 days ---------- */

.timeline { display: flex; flex-direction: column; gap: 14px; padding: 0; list-style: none; }
.timeline li { display: flex; align-items: flex-start; gap: 18px; }
.timeline-days {
  flex: none;
  min-width: 96px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--navy);
  color: #ffffff;
  font: 700 15px/1.3 var(--font-display);
  text-align: center;
}
.timeline p { padding-top: 6px; font-size: 16px; line-height: 1.6; }

/* ---------- Steps in rows of three (the homepage "Getting started" strip in it-charts.css holds four) ---------- */

@media (min-width: 960px) {
  .steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  /* Every third step ends its row, so it draws no line towards a next dot. */
  .steps-3 .step:nth-child(3n)::before,
  .steps-3 .step:nth-child(3n)::after { content: none; }
}

/* ---------- Logo tiles without motion (proof sections) ---------- */

.logo-grid { display: flex; flex-wrap: wrap; gap: 14px; padding: 0; list-style: none; }

/* ---------- Lead magnet inside the closing call to action ---------- */

.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: #DCEAF7;
  font-size: 15px;
}
.magnet b { color: #ffffff; }

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

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

.checklist { display: flex; flex-direction: column; gap: 10px; 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;
}

.tbl-plain thead th { background: var(--soft); color: var(--muted); font-weight: 600; }
.tbl-plain tbody th { color: var(--navy); font-weight: 600; }
.tbl-plain tbody td { color: var(--muted); }
@media (max-width: 719px) {
  .tbl-plain tbody tr { display: flex; flex-direction: column; gap: 8px; }
  .tbl-plain tbody th { font: 700 17px/1.3 var(--font-display); }
}

/* "Coming soon" label on hub cards for pages not written yet */
.tag {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ECEEF8;
  color: var(--indigo);
  font: 600 12px/1.3 var(--font-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); box-shadow: var(--shadow-card); }
.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(--font-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-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font: 400 16px/1.4 var(--font-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); }
.form-consent { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.form-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; }

@media (max-width: 639px) {
  .page-hero .hero-ctas .btn, .form-card .btn { flex: 1 1 100%; width: 100%; }
  .timeline li { flex-direction: column; gap: 6px; }
  .timeline p { padding-top: 0; }
}
