/**
 * Platform Custom Agents — iframe bundle styles.
 * Loaded into platform-custom.html via plt-standalone-page.php only.
 * (Not imported in main.css — unscoped rules would leak site-wide.)
 *
 * Accent: --lavender / --lavender-ink
 * Shared section rhythm matches platform-purpose-built.css.
 */

/* ============ 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-cstm,
section.section,
section.section-alt,
section.capabilities,
section.connect-band,
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 {
  padding-top: 60px;
  padding-bottom: 60px;
}

section.section-alt {
  padding-top: 120px;
  padding-bottom: 120px;
}

section.capabilities {
  padding-top: 120px;
  padding-bottom: 0;
}

section.connect-band {
  padding-top: 60px;
}

section.cta {
  padding-top: 60px;
  padding-bottom: 120px;
  margin: 0;
}

/* ============ HERO ============ */

header.hero-cstm {
  padding-top: 0;
  padding-bottom: 60px;
  margin-top: 0;
}

header.hero-cstm h1 .acc {
  display: inline-flex;
  align-items: center;
  font-style: normal !important;
  border-radius: 0.12em;
  padding: 0.02em 0.14em 0.06em;
  background: var(--lavender);
  color: var(--lavender-ink);
  box-shadow: var(--shadow-sm);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

header.hero-cstm > .container > .crumb,
header.hero-cstm > .crumb {
  display: none !important;
}

.hero-cstm .hero-grid,
.hero-cstm .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero-cstm .preview,
.hero-cstm .cb-preview {
  height: 490px;
  min-height: 0;
  max-height: none;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .hero-cstm .preview,
  .hero-cstm .cb-preview {
    height: 440px;
  }
}

/* ============ HERO CTAs ============ */

.hero-cstm .cta-row,
.amy-ev-hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 28px;
}

.hero-cstm .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-cstm .cta-row .btn:hover,
.amy-ev-hero-ctas .btn:hover {
  transform: translateY(-1px);
}

.hero-cstm .cta-row .btn.primary,
.amy-ev-hero-ctas .btn.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.hero-cstm .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-cstm .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-cstm .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-cstm .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-cstm .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-cstm .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-cstm .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-cstm .cta-row .btn:not(.primary):hover {
  background: #f5ede4 !important;
}

/* ============ OPPORTUNITY ============ */

.opp {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 60px;
}

/* ============ HOW IT WORKS ============ */

.hiw {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.hiw-list {
  gap: 15px;
}

.hiw-block h3 .sub {
  margin-bottom: 10px;
}

.hiw-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  padding: 10px 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: fit-content;
}

.hiw-list li::before {
  content: "";
  display: none;
}

/* ============ CAPABILITIES GRID ============ */

.cap-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ============ CAPABILITY / CONNECT BAND CARDS ============ */

.cap {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px 40px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 179px;
  transition: border-color 0.25s, transform 0.25s;
}

.cb-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px 40px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  transition: transform 0.3s, border-color 0.3s;
}

.cb-card:hover {
  transform: translateY(-3px);
  border-color: rgb(201 184 255);
}

/* Connected band — serif headline (matches purpose-built connect override) */
.connect-band .cb-title {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: none;
  margin: 0 0 28px;
  padding-bottom: 0.06em;
  display: block;
}

.connect-band .cb-title::after {
  display: none;
}

.connect-band .cb-title em {
  font-style: normal;
  color: var(--ink);
}

.cb-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ============ RESPONSIVE ============ */



/* Tablet — 991px */


/* Mobile — 25px / 50px */

/* ============ DEEP GRID ============ */

article.deep.s-12 {
  min-height: auto;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1100px) {
.hero-cstm .hero-grid,
  .hero-cstm .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-cstm .preview,
  .hero-cstm .cb-preview {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

@media (max-width: 991px) {
section.section {
    padding-top: 30px;
    padding-bottom: 60px;
  }

  section.section-alt {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  section.capabilities {
    padding-top: 60px;
    padding-bottom: 30px;
  }

  section.connect-band {
    padding-top: 30px;
    padding-bottom: 60px;
  }

  section.cta {
    padding-top: 0px !important;
    padding-bottom: 60px;
    margin: 0;
  }

  header.hero-cstm {
    padding-top: 0;
    padding-bottom: 30px;
  }

  .hero-cstm h1 {
    margin: 0 0 30px;
    padding-bottom: 0;
  }

  .hero-cstm .hero-grid,
  .hero-cstm .grid {
    gap: 0;
    margin-top: 0;
  }

  .hero-cstm .cta-row,
  .amy-ev-hero-ctas {
    margin: 0 0 35px;
  }

  .opp {
    grid-template-columns: 1fr 2.1fr;
    padding-bottom: 30px;
  }

  .cap,
  .cb-card {
    min-height: auto;
  }

  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 767px) {
.container {
    padding-left: 25px;
    padding-right: 25px;
  }

  section.section,
  section.section-alt,
  section.capabilities,
  section.connect-band {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  section.cta {
    padding-top: 0px !important;
    padding-bottom: 25px;
  }
  section.section-alt {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  section.capabilities {
    padding-top: 50px;
    padding-bottom: 0;
  }

  section.connect-band {
    padding-top: 50px;
  }

  section.cta {
    padding-top: 25px;
    padding-bottom: 50px;
    margin: 0;
  }

  header.hero-cstm {
    padding-bottom: 25px;
  }

  .hero-cstm .grid {
    gap: 0;
  }

  .hero-cstm .cta-row,
  .amy-ev-hero-ctas {
    margin: 0 0 25px;
  }

  .hero .preview,
  .hero-em .preview,
  .hero-cstm .preview,
  .hero-cstm .cb-preview,
  .hero-wf .preview,
  .hero-pb .preview {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .hero-cstm .lede {
    color: var(--ink-2);
    max-width: 100%;
    line-height: 1.5;
    margin: 0 0 25px;
  }

  .hero-cstm .cta-row .btn {
    padding: 12px 20px;
  }

  .opp {
    padding-bottom: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hiw-list {
    grid-template-columns: 1fr;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .cb-grid {
    grid-template-columns: 1fr;
  }

  .cap {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    background: var(--bg-2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
    transition: border-color 0.25s, transform 0.25s;
  }

  .cb-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    background: var(--bg-2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
    transition: transform 0.3s, border-color 0.3s;
  }

  /* Mobile type scale: 16|15|14.5|14 → 14px; 13.5 → 13px; 12.5 → 12px */
  .hero-cstm .lede,
  .hero .lede,
  .hero p.lede,
  .opp p,
  .panel p,
  .panel .copy,
  .panel p.copy,
  .section > .lede,
  .section > p.lede,
  .section .lede,
  .hiw-row .hiw-body p,
  .cnx-row .ds,
  .hero-cstm .cta-row .btn,
  .amy-ev-hero-ctas .btn,
  .btn {
    font-size: 14px !important;
  }

  .cap p,
  .feat p,
  .feat ul li,
  .hiw-list li,
  .hiw-row .hiw-bullets li,
  .cb-card p {
    font-size: 13px !important;
  }

  .conn-tile,
  .subnav a,
  .nav .links a {
    font-size: 12px !important;
  }

  .hiw {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .section h2,
  .hero h2,
  .hero-cstm h2,
  .hero-wf h2,
  .hero-pb h2,
  h2 {
    font-size: clamp(32px, 4.5vw, 60px) !important;
    line-height: 1.08 !important;
    text-wrap: balance;
    margin-bottom: 25px !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 640px) {
.opp {
    display: block;
    padding-bottom: 0;
  }

  .hero-cstm h1 {
    font-family: "Instrument Serif", serif !important;
    font-weight: 400 !important;
    font-size: clamp(52px, 7.8vw, 112px) !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 25px !important;
    padding-bottom: 0.05em !important;
    max-width: none !important;
  }
}
