/* ==========================================================================
   iottag — Atlas Platform pages (integrations + returns & warranty policy)
   Loaded after main.css on:
     /api-connect/  /autodesk-integration/  /procore-integration/
     /servicenow-integration/  /sap-integration/  /returns-warranty-policy/
   Reuses main.css tokens, .section, .faq accordion, .cta-band, .btn.
   ========================================================================== */

/* ---- Feature cards (What It Does / How It Helps) ----------------------- */
.intg-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.intg-feat {
  background: var(--c-white);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--c-line);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.intg-feat .icon { font-size: 36px; color: var(--c-blue); }
.intg-feat h3 { margin: 0; font-family: var(--f-alt); font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; color: #4b5059; }
.intg-feat__label { margin: 0; font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-blue); }
.intg-feat p { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 1.5; color: var(--c-ink); }
.intg-feat ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.intg-feat li { font-family: var(--f-body); font-size: 15px; line-height: 1.45; color: var(--c-ink); }

/* ---- Benefits band ------------------------------------------------------ */
.intg-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; width: 100%; }
.intg-benefit {
  background: var(--c-white); border-radius: var(--r-md); padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.intg-benefit .icon { font-size: 32px; color: var(--c-blue); }
.intg-benefit h3 { margin: 0; font-family: var(--f-alt); font-weight: 700; font-size: 18px; line-height: 1.3; color: #4b5059; }
.intg-benefit p { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 1.5; color: var(--c-ink); }

/* ---- Numbered "How to get started" steps -------------------------------- */
.intg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; width: 100%; counter-reset: intg-step; }
.intg-step {
  position: relative;
  background: var(--c-white); border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--c-line);
  padding: 24px 24px 24px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.intg-step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-blue-pale); color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-alt); font-weight: 700; font-size: 18px;
}
.intg-step h3 { margin: 0; font-family: var(--f-alt); font-weight: 700; font-size: 18px; line-height: 1.3; color: #4b5059; }
.intg-step ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.intg-step li, .intg-step p { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 1.5; color: var(--c-ink); }

/* ---- Pricing ------------------------------------------------------------ */
.intg-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; width: 100%; align-items: stretch; }
.intg-plan {
  background: var(--c-white); border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--c-line);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.intg-plan:hover { box-shadow: 0 14px 28px -10px rgba(6,3,9,.16), inset 0 0 0 1px var(--c-blue); transform: translateY(-3px); }
.intg-plan--hi { box-shadow: inset 0 0 0 2px var(--c-blue); }
.intg-plan__name { margin: 0; font-family: var(--f-alt); font-weight: 700; font-size: 20px; color: #4b5059; }
.intg-plan__scope { margin: 0; font-family: var(--f-body); font-size: 14px; color: var(--c-grey-2); }
.intg-plan__price { margin: 8px 0 0; font-family: var(--f-alt); font-weight: 700; font-size: 32px; line-height: 1.1; color: var(--c-blue); }
.intg-plan__price small { font-size: 15px; font-weight: 400; color: var(--c-grey-2); }
.intg-plan ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.intg-plan li { display: flex; gap: 8px; align-items: flex-start; font-family: var(--f-body); font-size: 15px; line-height: 1.45; color: var(--c-ink); }
.intg-plan li .icon { font-size: 18px; color: var(--c-blue); margin-top: 2px; }
.intg-plan .btn { margin-top: auto; }
.intg-plan > .btn { margin-top: 20px; }
.intg-pricing-note { margin: 0; font-family: var(--f-body); font-size: 14px; line-height: 1.5; color: var(--c-grey-2); }

/* ---- User guide (accordion reuses .faq) --------------------------------- */
.intg-guide__shot {
  width: 100%; height: auto;
  border: 1px solid var(--c-line); border-radius: var(--r-md);
  box-shadow: 0 12px 24px -12px rgba(0,0,0,.18);
  margin-top: 8px;
}
.intg-guide__cap { margin: 0; font-family: var(--f-body); font-size: 13px; color: var(--c-grey-2); }

/* ---- Support strip ------------------------------------------------------ */
.intg-support { display: flex; gap: 20px; flex-wrap: wrap; width: 100%; }
.intg-support__item {
  flex: 1 1 260px;
  background: var(--c-blue-pale); border-radius: var(--r-md);
  padding: 24px; display: flex; align-items: center; gap: 16px;
}
.intg-support__item .icon { font-size: 32px; color: var(--c-blue); flex-shrink: 0; }
.intg-support__item h3 { margin: 0; font-family: var(--f-alt); font-weight: 700; font-size: 16px; color: #4b5059; }
.intg-support__item p, .intg-support__item a { margin: 0; font-family: var(--f-body); font-size: 15px; color: var(--c-ink); }
.intg-support__item a:hover { color: var(--c-blue); }

/* ---- "Other integrations" cards ----------------------------------------- */
.intg-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; width: 100%; }
.intg-other {
  background: var(--c-white); border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--c-line);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.intg-other:hover { box-shadow: 0 14px 28px -10px rgba(6,3,9,.16), inset 0 0 0 1px var(--c-blue); transform: translateY(-3px); }
.intg-other h3 { margin: 0; font-family: var(--f-alt); font-weight: 700; font-size: 18px; color: #4b5059; }
.intg-other p { margin: 0; font-family: var(--f-body); font-size: 14px; line-height: 1.45; color: var(--c-ink); }
.intg-other span.more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-family: var(--f-body); font-weight: 600; font-size: 14px; color: var(--c-blue); }
.intg-other span.more .icon { font-size: 18px; }

/* ---- Returns & Warranty Policy prose ------------------------------------ */
.policy { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; }
.policy h2 { margin: 32px 0 0; font-family: var(--f-alt); font-weight: 700; font-size: 24px; line-height: 1.3; letter-spacing: -.01em; color: #4b5059; }
.policy h2:first-child { margin-top: 0; }
.policy p { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--c-ink); }
.policy ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.policy li { font-family: var(--f-body); font-size: 16px; line-height: 1.5; color: var(--c-ink); }
.policy .policy__date { font-family: var(--f-body); font-weight: 600; font-size: 14px; color: var(--c-grey-2); }
.policy .policy__legal { font-size: 14px; line-height: 1.6; color: var(--c-grey-2); }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
  .intg-feats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .intg-feats { grid-template-columns: 1fr; }
  .intg-plan__price { font-size: 26px; }
}
