/**
 * Platform Integrations — iframe bundle layout (container, breadcrumb, sections, hero CTAs).
 * Loaded via plt-standalone-page.php only — not imported in main.css.
 */

/* --- plt iframe layout (plt-standalone-page.php) --- */

/* ============ CONTAINER ============ */

.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* ============ BREADCRUMB (separate from hero) ============ */

#_plt_breadcrumb,
.amy-platform-breadcrumb {
  width: 100%;
  box-sizing: border-box;
}

.amy-platform-breadcrumb .container {
  padding-top: 50px;
  padding-bottom: 50px;
}

.amy-platform-breadcrumb .crumb,
#_plt_breadcrumb .crumb {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.amy-platform-breadcrumb .crumb > .dot,
.amy-platform-breadcrumb .crumb .dot,
#_plt_breadcrumb .crumb > .dot,
#_plt_breadcrumb .crumb .dot {
  display: none !important;
}

.amy-platform-breadcrumb .crumb a,
#_plt_breadcrumb .crumb a {
  color: var(--ink-3);
  text-decoration: none;
}

.amy-platform-breadcrumb .crumb a:hover,
#_plt_breadcrumb .crumb a:hover {
  color: var(--ink);
}

.amy-platform-breadcrumb .crumb span[style*="color:var(--ink)"],
#_plt_breadcrumb .crumb span[style*="color:var(--ink)"] {
  color: var(--ink) !important;
  font-weight: 500;
}

html[data-theme="light"] .amy-platform-breadcrumb .crumb,
html[data-theme="light"] #_plt_breadcrumb .crumb {
  color: rgba(26, 20, 19, 0.48);
}

html[data-theme="light"] .amy-platform-breadcrumb .crumb a,
html[data-theme="light"] #_plt_breadcrumb .crumb a {
  color: rgba(26, 20, 19, 0.48);
}

html[data-theme="light"] .amy-platform-breadcrumb .crumb a:hover,
html[data-theme="light"] #_plt_breadcrumb .crumb a:hover,
html[data-theme="light"] .amy-platform-breadcrumb .crumb span[style*="color:var(--ink)"],
html[data-theme="light"] #_plt_breadcrumb .crumb span[style*="color:var(--ink)"] {
  color: #1a1413 !important;
}

/* ============ SECTION SHELL ============ */

header.hero,
section.section,
section.section-alt,
section.connect-band,
section.agents-section,
section.cta {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

section.section,
section.agents-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

section.section-alt {
  padding-top: 120px;
  padding-bottom: 120px;
}

section.connect-band {
  padding-top: 60px;
}

section.cta {
  padding-top: 0;
  padding-bottom: 60px;
}

/* ============ HERO ============ */

header.hero {
  padding-top: 0;
  padding-bottom: 60px;
  margin-top: 0;
}

header.hero > .container > .crumb,
header.hero > .crumb {
  display: none !important;
}

.hero-grid,
.hero .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero .preview {
  height: 490px;
  min-height: 0;
  max-height: none;
}

header.hero h1 .acc {
  display: inline-flex;
  align-items: center;
}

/* ============ HERO CTAs ============ */

.hero .cta-row,
.amy-ev-hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 28px;
}

.hero .cta-row .btn,
.amy-ev-hero-ctas .btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2, var(--line));
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  letter-spacing: -0.01em;
}

.hero .cta-row .btn:hover,
.amy-ev-hero-ctas .btn:hover {
  transform: translateY(-1px);
}

.hero .cta-row .btn.primary,
.amy-ev-hero-ctas .btn.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.hero .cta-row .btn .arr,
.amy-ev-hero-ctas .btn .arr {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}

.hero .cta-row .btn.primary .arr,
.amy-ev-hero-ctas .btn.primary .arr {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

html[data-theme="dark"] .amy-ev-hero-ctas .btn.primary,
html[data-theme="dark"] .hero .cta-row .btn.primary {
  background: #f5f5f7 !important;
  color: #0a0a0b !important;
  border-color: #f5f5f7 !important;
}

html[data-theme="dark"] .amy-ev-hero-ctas .btn.primary .arr,
html[data-theme="dark"] .hero .cta-row .btn.primary .arr {
  color: #0a0a0b !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

html[data-theme="dark"] .amy-ev-hero-ctas .btn:not(.primary),
html[data-theme="dark"] .hero .cta-row .btn:not(.primary) {
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .amy-ev-hero-ctas .btn:not(.primary):hover,
html[data-theme="dark"] .hero .cta-row .btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .amy-ev-hero-ctas .btn.primary,
html[data-theme="light"] .hero .cta-row .btn.primary {
  background: #1a1413 !important;
  color: #fbf6f1 !important;
  border-color: #1a1413 !important;
}

html[data-theme="light"] .amy-ev-hero-ctas .btn:not(.primary):hover,
html[data-theme="light"] .hero .cta-row .btn:not(.primary):hover {
  background: #f5ede4 !important;
}

/* ============ RESPONSIVE ============ */







/**
 * Platform Integrations — page-specific styles.
 * Scoped under #int-page (page-platform-integrations.php).
 * CSS prefix: ip-
 * Shared layout lives in platform-pages.css (scoped to .plt-page).
 * Accent: lime (--ds-lime / --ds-lime-ink)
 */

/* ===== HOW IT WORKS ROWS ===== */
#int-page .ip-hiw-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--ds-line);
  border-radius: 16px;
  overflow: hidden;
}
section#cats {
  padding-top: 120px;
  padding-bottom: 120px;
}
#int-page .ip-hiw-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--ds-line);
}

#int-page .ip-hiw-row:last-child {
  border-bottom: none;
}

#int-page .ip-hiw-side {
  padding: 36px 32px;
  border-right: 1px solid var(--ds-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#int-page .ip-hiw-body {
  padding: 36px 40px;
}

#int-page .ip-tag {
  display: inline-block;
  font-family: var(--ds-font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  width: fit-content;
}

#int-page .ip-hiw-side h3 {
  font-family: var(--ds-font-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ds-ink);
}

#int-page .ip-hiw-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ds-ink-2);
  margin: 0 0 18px;
}

#int-page .ip-hiw-bullets {
  margin: 0;
  padding: 0 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#int-page .ip-hiw-bullets li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ds-ink-2);
}



/* ===== CONNECTOR LIBRARY ===== */
#int-page .ip-cat-wide {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--ds-line);
  border-radius: 16px;
  overflow: hidden;
}

#int-page .ip-cat-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--ds-line);
  padding: 28px 32px;
  align-items: start;
}

#int-page .ip-cat-row:last-child {
  border-bottom: none;
}

#int-page .ip-cat-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 24px;
}

#int-page .ip-cat-hdr h4 {
  font-family: var(--ds-font-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  color: var(--ds-ink);
}

#int-page .ip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

#int-page .ip-cat-row > div:last-child p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ds-ink-2);
  margin: 0 0 12px;
}

#int-page .ip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#int-page .ip-chips span {
  display: inline-block;
  font-family: var(--ds-font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--ds-line);
  border-radius: 4px;
  color: var(--ds-ink-2);
}



/* ===== CONNECTED LIST ===== */
#int-page .ip-cnx-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 36px;
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  overflow: hidden;
}

#int-page .ip-cnx-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--ds-line);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

#int-page .ip-cnx-row:last-child {
  border-bottom: none;
}

#int-page .ip-cnx-row:hover {
  background: var(--ds-fill);
}

#int-page .ip-cnx-nm {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ds-ink);
}

#int-page .ip-cnx-ds {
  font-size: 14px;
  color: var(--ds-ink-2);
  line-height: 1.5;
}

#int-page .ip-cnx-arr {
  font-size: 13px;
  color: var(--ds-ink-3);
  white-space: nowrap;
}



/* ===== CAPABILITIES GRID ===== */
#int-page .plt-cap-grid {
  grid-template-columns: repeat(4, 1fr);
}





/* ===== CONNECTED BAND: 4 cols ===== */
#int-page .plt-cb-grid {
  grid-template-columns: repeat(4, 1fr);
}





/* ===== LIGHT THEME OVERRIDES ===== */
html[data-theme='light'] #int-page {
  --p-bg: #ffffff;
  --p-bg-alt: #f8f8fa;
}

/* ============ PAGE-SPECIFIC (Integrations) ============ */

.cap:hover {
  transform: translateY(-3px);
  border-color: #b8e986 !important;
}

.hiw-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 32px;
  margin-bottom: 30px;
}

.opp p {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 16px;
}

.opp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 60px !important;
}

.hiw-row {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 32px;
  background: var(--bg-1);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(17, 17, 20, 0.05), 0 1px 4px rgba(17, 17, 20, 0.03);
  color: var(--ink);
}

html[data-theme="dark"] .hiw-row {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.14);
}

/* ============ DEEP GRID ============ */

article.deep.s-12 {
  min-height: auto;
}
.cnx-row:hover .arr {
  color: var(--ink);
  border-bottom: 1px solid var(--lime);
}
section.connected {
  padding-top: 120px !important;
  padding-bottom: 120px !important;
}
/* ============ RESPONSIVE ============ */

@media (max-width: 1100px) {
.hero-grid,
  .hero .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero .preview {
    height: 440px;
  }

  .hiw-row .hiw-bullets {
    padding: 0 !important;
    margin-bottom: 0 !important;
  }

  .hiw-row .hiw-side {
    gap: 20px !important;
  }

  .cat-row {
    padding: 20px !important;
    gap: 15px !important;
    align-items: center !important;
    transition: border-color 0.3s !important;
  }

  section.connected {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .hiw-row:last-child {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 991px) {
section.section,
  section.section-alt,
  section.connect-band,
  section.agents-section,
  header.hero,section.connected {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  section.section-alt ,  section#cats{
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .opp {
    padding-bottom: 30px !important;
}
  section.cta {
    padding-top: 0 !important;
    padding-bottom: 60px;
  }

  header.hero {
    padding-top: 0;
    padding-bottom: 60px;
  }

}

@media (max-width: 767px) {
.container {
    padding-left: 25px;
    padding-right: 25px;
  }
  .opp {

    padding-bottom: 0px !important;
}
  section.section,
  section.connect-band,
  section.agents-section,
  section.section-alt,
  section#cats,
  section.connected {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  section.cta {
    padding-top: 0 !important;
    padding-bottom: 50px;
  }

  header.hero {
    padding-bottom: 0px;
  }

  .hero .cta-row .btn,
  .amy-ev-hero-ctas .btn {
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
  .hero-grid {
    margin-top: 0 !important;
}
header.hero h1 {
  margin-top: 0 !important;
}
  /* Mobile type scale: 16|15|14.5|14 → 14px; 13.5 → 13px; 12.5 → 12px */
  .btn,
  .hero .lede,
  .hero > .lede,
  .hero p.lede,
  .hero .body,
  .section .lede,
  .flow-row .val,
  .hiw-row .hiw-body p,
  .panel p,
  .panel .copy,
  .panel p.copy,
  .cnx-row .ds,
  .cta .btn,
  .opp p,
  .section > .lede,
  .section > p.lede,
  #int-page .ip-hiw-body p,
  #int-page .ip-cat-row > div:last-child p,
  #int-page .ip-cnx-nm,
  #int-page .ip-cnx-ds,
  #int-page .ip-hiw-bullets li {
    font-size: 14px !important;
  }

  .feat p,
  .feat ul li,
  .cap p,
  .hiw-row .hiw-bullets li,
  .cat-row p,
  .nav .links a,
  #int-page .feat p,
  #int-page .feat ul li,
  #int-page .ip-cnx-arr {
    font-size: 13px !important;
  }

  .conn-tile,
  .subnav a {
    font-size: 12px !important;
  }

  .hiw-row {
    padding: 20px !important;
    display: block !important;
    margin-bottom: 20px !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  .hiw-row .hiw-bullets {
    padding: 0 !important;
    margin-bottom: 0 !important;
  }

  .hiw-row h3 {
    padding-bottom: 12px !important;
  }
}

@media (max-width: 640px) {
  .hiw-head {
    display: block !important;
    margin-bottom: 25px !important;
    grid-template-columns: none !important;
  }
}

@media (max-width: 768px) {
#int-page .ip-hiw-row {
    grid-template-columns: 1fr;
  }
  #int-page .ip-hiw-side {
    border-right: none;
    border-bottom: 1px solid var(--ds-line);
    padding: 24px 24px 20px;
  }
  #int-page .ip-hiw-body {
    padding: 20px 24px 28px;
  }

#int-page .ip-cat-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 20px;
  }
  #int-page .ip-cat-hdr {
    padding-right: 0;
  }

#int-page .ip-cnx-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 20px;
  }
  #int-page .ip-cnx-arr {
    display: none;
  }
}

@media (max-width: 1024px) {
#int-page .plt-cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
#int-page .plt-cap-grid {
    grid-template-columns: 1fr;
  }

#int-page .plt-cb-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
#int-page .plt-cb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
