/* Compact layout shared only by public-facing pages. */
.public-page .container.py-5 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.marketplace-search { max-width: 760px; }
.marketplace-logo { width: 52px; height: 52px; object-fit: contain; border: 1px solid #dee2e6; border-radius: .65rem; background: #fff; padding: .3rem; }
.marketplace-logo-lg { width: 68px; height: 68px; }
.marketplace-logo-fallback { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; background: #e9f2ff; color: #0d6efd; font-size: 1.25rem; font-weight: 700; }
.marketplace-schema { border: 1px solid #dee2e6; border-radius: .5rem; background: #f8f9fa; padding: 1rem; }
.marketplace-card { transition: border-color .15s ease; }
.marketplace-card:hover { border-color: #8bb9ff; }
.marketplace-agent-link { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem .5rem; color: #343a40; text-decoration: none; border-radius: .35rem; }
.marketplace-agent-link:hover, .marketplace-agent-link.active { color: #0d6efd; background: #eef5ff; }
.marketplace-agent-link small { text-transform: capitalize; color: #6c757d; }
.marketplace-layout .agent-catalog { max-height: calc(100vh - 8rem); }
.marketplace-layout .agent-workspace { overflow: hidden; }
.marketplace-summary:hover { transform: none; }
.marketplace-list-logo { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; margin-left: auto; }

.public-page section.my-5 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.public-page .row.mb-5,
.public-page header.mb-5 {
  margin-bottom: 2rem !important;
}

.public-page .full-width-hero {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* The global card style already supplies padding. Public cards frequently
   include a card-body as well, so remove the duplicated outer padding. */
.public-page .card {
  padding: 0 !important;
  border-radius: 10px;
}

.public-page .card.p-4,
.public-page article.card.p-4 {
  padding: 1.25rem !important;
}

.public-page .card-body {
  padding: 1.25rem;
}

.public-page .card:hover {
  transform: none;
}

.public-page .card .mb-3 {
  margin-bottom: 0.75rem !important;
}

.public-page .card-text + br {
  display: none;
}

.public-page .card-text + br + .card-title {
  margin-top: 1rem !important;
}

.public-page .contact-section {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.public-page footer {
  margin-top: 2rem;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

@media (max-width: 767.98px) {
  .public-page .container.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .public-page .full-width-hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .public-page .row.mb-5,
  .public-page header.mb-5 {
    margin-bottom: 1.5rem !important;
  }
}

.legal-document {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 3rem;
  color: #263238;
}

.legal-header {
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #129aaa;
}

.legal-eyebrow {
  margin: 0 0 .25rem;
  color: #087789;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-document h1 { margin: 0; color: #075d69; font-size: 2rem; }
.legal-document h2 { margin: 1.6rem 0 .55rem; color: #075d69; font-size: 1.2rem; }
.legal-document p, .legal-document li { line-height: 1.65; }
.legal-document ul { padding-left: 1.25rem; }
.legal-date { margin: .35rem 0 0; color: #607d82; font-size: .92rem; }
.legal-document a { overflow-wrap: anywhere; }

@media (max-width: 767.98px) {
  .legal-document { width: min(calc(100% - 1.25rem), 760px); padding-top: 1.25rem; }
  .legal-document h1 { font-size: 1.65rem; }
}
.startupsac-landing {
  color: #263238;
  background: #fff;
}

.startupsac-hero {
  width: min(1024px, 100%);
  margin: 0 auto;
  background: #071a4b;
}

.startupsac-feature-graphic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.startupsac-intro,
.startupsac-details,
.startupsac-section-inner,
.startupsac-legal-links {
  width: min(820px, calc(100% - 2rem));
  margin-inline: auto;
}

.startupsac-intro { padding: 2rem 0; }
.startupsac-title-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.startupsac-icon { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 18px; }
.startupsac-title-row h1 { margin: 0; color: #075d69; font-size: 2rem; }
.startupsac-short-description { margin: .35rem 0 0; color: #52676d; font-size: 1.05rem; }
.startupsac-intro > p, .startupsac-details > p { line-height: 1.65; }

.startupsac-band { padding: 2rem 0; background: #edf8f8; border-block: 1px solid #cde7e9; }
.startupsac-band h2, .startupsac-details h2 { margin: 0 0 1rem; color: #075d69; font-size: 1.35rem; }
.startupsac-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.startupsac-feature-grid div { padding-left: .85rem; border-left: 4px solid #18a7b8; }
.startupsac-feature-grid strong, .startupsac-feature-grid span { display: block; }
.startupsac-feature-grid strong { margin-bottom: .2rem; color: #123f49; }
.startupsac-feature-grid span { line-height: 1.5; color: #52676d; }

.startupsac-details { padding: 2rem 0 1.5rem; }
.startupsac-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.startupsac-testing { border-top: 1px solid #d8e3e5; }
.startupsac-testing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.startupsac-testing-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: 1rem; border: 1px solid #d8e3e5; border-radius: 10px; background: #f8fbfc; }
.startupsac-testing-grid h3 { margin: 0 0 .35rem; color: #123f49; font-size: 1.05rem; }
.startupsac-testing-grid p { margin-bottom: 1rem; color: #52676d; line-height: 1.5; }
.startupsac-testing-grid .btn { margin-top: auto; }
.startupsac-legal-links { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; padding: 1rem 0 2.5rem; border-top: 1px solid #d8e3e5; }
.startupsac-legal-links a { font-weight: 600; }

@media (max-width: 575.98px) {
  .startupsac-intro, .startupsac-details, .startupsac-section-inner, .startupsac-legal-links {
    width: min(calc(100% - 1.25rem), 820px);
  }
  .startupsac-intro { padding-top: 1.25rem; }
  .startupsac-title-row { align-items: flex-start; }
  .startupsac-icon { width: 68px; height: 68px; flex-basis: 68px; border-radius: 14px; }
  .startupsac-title-row h1 { font-size: 1.5rem; }
  .startupsac-short-description { font-size: .95rem; }
  .startupsac-feature-grid { grid-template-columns: 1fr; gap: 1rem; }
  .startupsac-testing-grid { grid-template-columns: 1fr; }
  .startupsac-testing-grid .btn { width: 100%; }
  .startupsac-actions .btn { width: 100%; }
}

/* Product marketing site */
.product-site { background: #f7f9fc; color: #132238; }
.product-site .site-scroll-region { background: #f7f9fc; }
.product-shell { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.product-kicker { margin: 0 0 .8rem; color: #246be8; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-hero { position: relative; overflow: hidden; padding: 3.5rem 0 3.25rem; background: radial-gradient(circle at 80% 5%, rgba(78, 132, 255, .19), transparent 32%), linear-gradient(145deg, #07162d 0%, #0a2450 58%, #123d78 100%); }
.product-hero::after { content: ''; position: absolute; inset: auto -10% -42% 42%; height: 75%; border: 1px solid rgba(117, 167, 255, .18); border-radius: 50%; transform: rotate(-8deg); }
.product-hero-grid { position: relative; z-index: 1; display: block; }
.product-hero-copy { max-width: 900px; }
.product-hero .product-kicker { color: #8eb8ff; }
.product-hero h1 { margin: 0; color: #fff; font-size: clamp(3rem, 5.4vw, 5.4rem); font-weight: 760; letter-spacing: -.055em; line-height: .98; }
.product-hero h1 span { color: #79aaff; }
.product-hero-lead { max-width: 630px; margin: 1.65rem 0 0; color: #c9d7ed; font-size: 1.13rem; line-height: 1.7; }
.product-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.product-actions .btn { padding: .72rem 1.15rem; border-radius: .55rem; font-weight: 700; }
.product-btn-primary { color: #fff !important; background: #1f70f2 !important; border-color: #1f70f2 !important; }
.product-btn-primary:hover { background: #0e5fda !important; border-color: #0e5fda !important; }
.product-btn-secondary { color: #e7efff !important; background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.28) !important; }
.product-btn-secondary:hover { background: rgba(255,255,255,.12) !important; }
.product-proof-row { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; color: #9eb4d5; font-size: .78rem; font-weight: 650; }
.product-proof-row span::before { content: '✓'; margin-right: .38rem; color: #71d6ae; }

.marketplace-spotlight { position: relative; z-index: 2; margin-top: -1px; padding: 1.4rem 0; border-bottom: 1px solid #dbe4f0; background: #fff; box-shadow: 0 .45rem 1.4rem rgba(26,48,78,.05); }
.marketplace-spotlight-grid { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 1.2rem; align-items: center; }
.marketplace-spotlight-mark { display: inline-grid; width: 3.25rem; height: 3.25rem; place-items: center; border-radius: .8rem; color: #fff; background: linear-gradient(145deg,#6c4ed2,#236fe5); font-size: 1.45rem; font-weight: 800; box-shadow: 0 .45rem 1rem rgba(64,78,189,.22); }
.marketplace-spotlight .product-kicker { margin-bottom: .22rem; font-size: .66rem; }
.marketplace-spotlight h2 { margin: 0; color: #18304e; font-size: 1.18rem; letter-spacing: -.015em; }
.marketplace-spotlight p:not(.product-kicker) { margin: .3rem 0 0; color: #6a798d; font-size: .84rem; line-height: 1.5; }
.marketplace-spotlight-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; min-width: 155px; }
.marketplace-spotlight-actions .btn { width: 100%; font-size: .82rem; font-weight: 700; }
.marketplace-spotlight-actions .product-text-link { margin-top: 0; font-size: .76rem; }

.product-preview { overflow: hidden; border: 1px solid rgba(157, 188, 242, .28); border-radius: 1rem; background: #fafdff; box-shadow: 0 2rem 5rem rgba(0,0,0,.34); transform: rotate(1deg); }
.product-preview-bar, .product-preview-footer { display: flex; align-items: center; justify-content: space-between; padding: .75rem .9rem; background: #fff; }
.product-preview-bar { border-bottom: 1px solid #e4eaf3; }
.preview-brand { display: flex; align-items: center; gap: .45rem; color: #263b59; font-size: .78rem; font-weight: 750; }
.preview-brand b { display: inline-grid; width: 1.5rem; height: 1.5rem; place-items: center; border-radius: .42rem; color: #fff; background: linear-gradient(135deg,#286ee9,#6f51d8); }
.preview-status { padding: .2rem .52rem; border-radius: 99px; color: #6743be; background: #f0eaff; font-size: .68rem; font-weight: 750; }
.product-preview-canvas { position: relative; min-height: 370px; padding: 2.6rem 2rem; background-color: #f7faff; background-image: radial-gradient(#c9d8ee 1px, transparent 1px); background-size: 18px 18px; }
.preview-node { position: absolute; display: flex; gap: .6rem; width: 182px; padding: .75rem; border: 1px solid #d2ddea; border-radius: .65rem; background: #fff; box-shadow: 0 .55rem 1.4rem rgba(54,76,111,.13); }
.preview-input { left: 7%; top: 15%; }
.preview-agent { left: 38%; top: 43%; border-color: #8daff3; }
.preview-output { right: 5%; top: 18%; }
.preview-node-number { display: inline-grid; flex: 0 0 1.55rem; width: 1.55rem; height: 1.55rem; place-items: center; border-radius: 50%; color: #fff; background: #216df0; font-size: .72rem; font-weight: 800; }
.preview-node div { display: flex; flex-direction: column; min-width: 0; }
.preview-node small { color: #7c8ba2; font-size: .57rem; font-weight: 800; letter-spacing: .12em; }
.preview-node strong { margin-top: .12rem; color: #1b2b44; font-size: .83rem; }
.preview-node em { color: #728097; font-size: .66rem; font-style: normal; white-space: nowrap; }
.preview-connector { position: absolute; color: #3979e7; font-size: 1.5rem; font-weight: 800; }
.connector-one { left: 33%; top: 33%; transform: rotate(31deg); }
.connector-two { right: 34%; top: 37%; transform: rotate(-28deg); }
.product-preview-footer { border-top: 1px solid #e4eaf3; color: #637187; font-size: .68rem; }
.product-preview-footer span { display: flex; align-items: center; gap: .35rem; }
.product-preview-footer i { width: .46rem; height: .46rem; border-radius: 50%; background: #29af79; }
.product-preview-footer button { padding: .35rem .65rem; border: 0; border-radius: .38rem; color: #fff; background: #216df0; font-size: .68rem; font-weight: 700; }

.product-section { padding: 5.5rem 0; }
.product-section-heading { max-width: 760px; margin: 0 auto 2.7rem; text-align: center; }
.product-section-heading-left { margin: 0; text-align: left; }
.product-section-heading h2, .product-final-cta h2 { margin: 0; color: #10233d; font-size: clamp(2rem, 3.4vw, 3.25rem); font-weight: 760; letter-spacing: -.035em; line-height: 1.08; }
.product-section-heading > p:last-child { margin: 1rem auto 0; color: #64748b; font-size: 1.03rem; line-height: 1.7; }
.product-section-heading-left > p:last-of-type { margin-left: 0; }
.product-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; }
.product-feature-card { position: relative; overflow: hidden; padding: 1.7rem; border: 1px solid #dfe6f0; border-radius: .9rem; background: #fff; box-shadow: 0 .7rem 2rem rgba(31,51,80,.06); }
.product-feature-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: #2f74ed; }
.feature-workflows::before { background: #6d4dd6; }
.feature-library::before { background: #0f9a79; }
.product-feature-icon { display: inline-grid; width: 2.4rem; height: 2.4rem; place-items: center; margin-bottom: 1.3rem; border-radius: .6rem; color: #236be7; background: #eaf2ff; font-size: 1.15rem; font-weight: 800; }
.feature-workflows .product-feature-icon { color: #6844c9; background: #f0ebff; }
.feature-library .product-feature-icon { color: #098263; background: #e5f8f2; }
.product-card-label { margin: 0 0 .25rem; color: #77869c; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.product-feature-card h3 { margin: 0; color: #142842; font-size: 1.35rem; }
.product-feature-card > p:not(.product-card-label) { margin: .8rem 0 1.2rem; color: #66758a; line-height: 1.62; }
.product-feature-card ul { display: grid; gap: .45rem; margin: 0; padding: 1rem 0 0; border-top: 1px solid #e7ebf2; list-style: none; }
.product-feature-card li { color: #3c4d64; font-size: .82rem; }
.product-feature-card li::before { content: '•'; margin-right: .45rem; color: #2b72ec; }

.product-flow-section { background: #edf3fb; }
.product-split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: 5rem; align-items: center; }
.product-text-link { display: inline-flex; gap: .4rem; margin-top: 1.3rem; color: #1765df; font-weight: 750; text-decoration: none; }
.product-flow-stack { display: grid; gap: .7rem; }
.product-flow-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid #d6e1ef; border-radius: .75rem; background: rgba(255,255,255,.82); }
.product-flow-row > span { color: #3478e9; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.product-flow-row div { display: flex; flex-direction: column; }
.product-flow-row strong { color: #1c304c; }
.product-flow-row small { margin-top: .13rem; color: #69798f; }

.product-browser-grid { display: grid; grid-template-columns: minmax(420px,1.05fr) minmax(0,.95fr); gap: 4.5rem; align-items: center; }
.browser-session-visual { overflow: hidden; border: 1px solid #cfdae8; border-radius: .9rem; background: #fff; box-shadow: 0 1.4rem 3rem rgba(29,50,79,.13); }
.browser-window-bar { display: flex; align-items: center; gap: .35rem; padding: .65rem .8rem; border-bottom: 1px solid #e2e8f0; background: #f4f7fb; }
.browser-window-bar i { width: .54rem; height: .54rem; border-radius: 50%; background: #ff7469; }
.browser-window-bar i:nth-child(2) { background: #ffbf48; }
.browser-window-bar i:nth-child(3) { background: #40c98b; }
.browser-window-bar span { margin-left: .45rem; color: #6d7c91; font-size: .7rem; }
.browser-window-body { position: relative; min-height: 280px; padding: 1.1rem; background: linear-gradient(145deg,#f8fbff,#eef4fb); }
.browser-address { padding: .45rem .7rem; border: 1px solid #dbe4ef; border-radius: .45rem; color: #77869a; background: #fff; font-size: .68rem; }
.browser-skeleton { display: grid; gap: .8rem; width: 62%; margin: 2.2rem auto; }
.browser-skeleton b, .browser-skeleton span { height: .62rem; border-radius: 1rem; background: #dbe5f2; }
.browser-skeleton b { width: 55%; height: 1.25rem; background: #c3d4eb; }
.browser-skeleton span:nth-child(3) { width: 82%; }
.browser-skeleton span:nth-child(4) { width: 67%; }
.browser-session-badge { position: absolute; right: 1.2rem; bottom: 1.2rem; padding: .55rem .7rem; border: 1px solid #a9dec9; border-radius: .5rem; color: #197a5c; background: #e9faf4; font-size: .72rem; font-weight: 700; }
.browser-session-badge strong { margin-left: .3rem; }
.product-inline-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.product-inline-tags span { padding: .35rem .55rem; border-radius: 99px; color: #36506f; background: #eaf1fa; font-size: .72rem; font-weight: 700; }

.deployment-architecture-section { color: #d8e5f7; background: radial-gradient(circle at 8% 5%, rgba(57,119,225,.22),transparent 27%), #081a33; }
.deployment-architecture-section .product-kicker { color: #80aeff; }
.deployment-architecture-section .product-section-heading h2 { color: #fff; }
.deployment-architecture-section .product-section-heading > p:last-child { color: #aebed5; }
.architecture-narrative-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.architecture-narrative-grid article { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid rgba(151,181,225,.2); border-radius: .75rem; background: rgba(255,255,255,.045); }
.architecture-narrative-grid article > span { display: inline-grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center; border-radius: .48rem; color: #9fc1ff; background: rgba(67,126,228,.18); font-size: .68rem; font-weight: 800; }
.architecture-narrative-grid article div { display: flex; flex-direction: column; }
.architecture-narrative-grid strong { color: #fff; font-size: 1rem; }
.architecture-narrative-grid p { margin: .38rem 0 0; color: #aebed5; font-size: .86rem; line-height: 1.6; }
.architecture-note { max-width: 930px; margin: 1.2rem auto 0; padding: .85rem 1rem; border-left: 3px solid #4b8df5; color: #b9c8dc; background: rgba(57,107,190,.1); font-size: .84rem; line-height: 1.6; }

.deployment-model-section { background: #f3f7fc; }
.deployment-model-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(500px,1.15fr); gap: 4.5rem; align-items: center; }
.deployment-principles { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.3rem; }
.deployment-principles span { padding: .36rem .58rem; border: 1px solid #cfdded; border-radius: 99px; color: #36516f; background: #fff; font-size: .7rem; font-weight: 700; }
.deployment-paths { display: grid; gap: .8rem; }
.deployment-paths article { padding: 1.35rem; border: 1px solid #d5e0ee; border-radius: .8rem; background: #fff; box-shadow: 0 .65rem 1.6rem rgba(31,55,88,.06); }
.deployment-paths h3 { margin: .18rem 0 .55rem; color: #1c3452; font-size: 1.15rem; }
.deployment-paths article > p:not(.product-card-label) { margin: 0; color: #6a7a8f; font-size: .86rem; line-height: 1.58; }
.deployment-path-line { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
.deployment-path-line span { flex: 1 1 0; padding: .42rem .45rem; border-radius: .38rem; color: #245ba9; background: #edf4ff; font-size: .68rem; font-weight: 750; text-align: center; }
.deployment-path-line i { color: #6b87ad; font-size: .78rem; font-style: normal; }

.product-roles-section { padding-top: 1rem; }
.product-role-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid #dae3ee; }
.product-role-grid article { padding: 1.5rem; }
.product-role-grid article + article { border-left: 1px solid #dae3ee; }
.product-role-grid strong { color: #1b3556; font-size: 1.05rem; }
.product-role-grid p { margin: .55rem 0 0; color: #69788c; font-size: .9rem; line-height: 1.58; }
.product-final-cta { margin-top: 4.5rem; padding: 3.5rem 0; background: linear-gradient(120deg,#0a2a5d,#1655a9); }
.product-final-cta .product-shell { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.product-final-cta .product-kicker { color: #97bbfa; }
.product-final-cta h2 { max-width: 740px; color: #fff; font-size: clamp(1.7rem,3vw,2.65rem); }
.product-final-cta .product-actions { flex: 0 0 auto; margin-top: 0; }
.product-btn-light { color: #0f438d !important; background: #fff !important; border-color: #fff !important; }
.product-btn-outline-light { color: #fff !important; background: transparent !important; border-color: rgba(255,255,255,.55) !important; }

@media (max-width: 991.98px) {
  .product-hero-grid, .product-split, .product-browser-grid { grid-template-columns: 1fr; gap: 3rem; }
  .product-hero { padding-top: 4rem; }
  .product-preview { max-width: 680px; transform: none; }
  .product-feature-grid { grid-template-columns: 1fr; }
  .product-feature-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; }
  .product-feature-icon { grid-row: 1 / span 4; }
  .product-feature-card ul { grid-column: 2; }
  .product-browser-grid .browser-session-visual { order: 2; }
  .deployment-model-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-final-cta .product-shell { align-items: flex-start; flex-direction: column; }
  .marketplace-spotlight-grid { grid-template-columns: auto 1fr; }
  .marketplace-spotlight-actions { grid-column: 2; flex-direction: row; align-items: center; }
  .marketplace-spotlight-actions .btn { width: auto; }
}

@media (max-width: 575.98px) {
  .product-shell { width: min(100% - 1.4rem,1180px); }
  .product-hero { padding: 3.2rem 0; }
  .product-hero h1 { font-size: 2.8rem; }
  .marketplace-spotlight { padding: 1.1rem 0; }
  .marketplace-spotlight-grid { grid-template-columns: 1fr; }
  .marketplace-spotlight-mark { width: 2.65rem; height: 2.65rem; }
  .marketplace-spotlight-actions { grid-column: auto; align-items: stretch; flex-direction: column; }
  .marketplace-spotlight-actions .btn { width: 100%; }
  .product-section { padding: 3.6rem 0; }
  .product-preview-canvas { min-height: 410px; }
  .preview-input { left: 6%; top: 9%; }
  .preview-agent { left: 26%; top: 40%; }
  .preview-output { right: 5%; top: 69%; }
  .connector-one { left: 43%; top: 30%; transform: rotate(75deg); }
  .connector-two { right: 30%; top: 62%; transform: rotate(65deg); }
  .product-feature-card { display: block; }
  .product-feature-card ul { grid-column: auto; }
  .product-role-grid { grid-template-columns: 1fr; }
  .architecture-narrative-grid { grid-template-columns: 1fr; }
  .deployment-path-line { align-items: stretch; flex-direction: column; }
  .deployment-path-line i { text-align: center; transform: rotate(90deg); }
  .product-role-grid article + article { border-top: 1px solid #dae3ee; border-left: 0; }
  .product-final-cta { margin-top: 2.5rem; }
}

.product-detail-hero { padding: 4.5rem 0; background: linear-gradient(150deg,#f3f7ff,#fff 60%); border-bottom: 1px solid #dfe7f2; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(480px,1.1fr); gap: 4.5rem; align-items: center; }
.product-detail-hero h1 { margin: 0; color: #10233d; font-size: clamp(2.7rem,4.7vw,4.6rem); font-weight: 760; letter-spacing: -.05em; line-height: 1; }
.product-detail-hero p:not(.product-kicker) { max-width: 650px; margin: 1.3rem 0 0; color: #617187; font-size: 1.08rem; line-height: 1.7; }
.contract-visual-stack { display: grid; gap: 1rem; }
.contract-visual { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .6rem; align-items: center; padding: 1.5rem; border: 1px solid #d7e1ef; border-radius: .9rem; background: #fff; box-shadow: 0 1rem 2.8rem rgba(31,55,88,.1); }
.agent-contract-visual { position: relative; }
.agent-contract-visual::before { content: 'AGENT CONTRACT'; position: absolute; top: .45rem; left: 1.5rem; color: #77869c; font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
.workflow-contract-visual { position: relative; grid-template-columns: minmax(0, 1.15fr) 2.6rem repeat(2, minmax(0, 1fr) auto) minmax(0, 1fr); gap: .4rem; padding-inline: 1.5rem; }
.workflow-contract-visual::before { content: 'WORKFLOW'; position: absolute; top: .45rem; left: 1.5rem; color: #77869c; font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
.contract-visual.workflow-contract-visual > div { min-height: 96px; padding: .65rem; }
.contract-visual.workflow-contract-visual strong { font-size: .7rem; }
.workflow-contract-visual .contract-widget { border-color: #7ac8af; background: #ebfaf5; }
.workflow-contract-visual .contract-widget small { color: #168667; }
.workflow-source-stack { display: grid; gap: .55rem; }
.workflow-source-stack > div { display: flex; min-height: 76px; flex-direction: column; justify-content: center; padding: .65rem; border: 1px solid #9ab9ed; border-radius: .65rem; background: #edf4ff; }
.workflow-merge { width: 100%; height: 180px; overflow: visible; }
.workflow-merge path { fill: none; stroke: #4581e5; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.workflow-merge marker path { fill: #4581e5; stroke: none; }
.contract-visual > div { display: flex; flex-direction: column; min-height: 105px; justify-content: center; padding: .85rem; border: 1px solid #dde5f0; border-radius: .65rem; background: #f8fbff; }
.contract-visual .contract-agent { border-color: #9ab9ed; background: #edf4ff; }
.contract-visual small { color: #3976da; font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.contract-visual strong { margin-top: .35rem; color: #243c5b; font-size: .78rem; line-height: 1.35; }
.contract-visual > span { color: #4581e5; font-weight: 800; }
.output-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; }
.output-choice-grid article { display: flex; flex-direction: column; padding: 1.35rem; border: 1px solid #d4dfed; border-radius: .8rem; background: #fff; }
.output-choice-grid article > span { color: #3476e4; font-weight: 800; }
.output-choice-grid strong { margin-top: .75rem; color: #1e3553; font-size: 1.05rem; }
.output-choice-grid p { margin: .45rem 0 1rem; color: #6b7a8f; font-size: .86rem; line-height: 1.55; }
.output-choice-grid small { margin-top: auto; color: #79899e; font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.product-lifecycle { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.product-lifecycle li { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border: 1px solid #dde5ef; border-radius: .6rem; background: #fff; }
.product-lifecycle b { color: #3375e3; font-size: .7rem; letter-spacing: .08em; }
.product-lifecycle span { display: flex; flex-direction: column; }
.product-lifecycle strong { color: #203754; }
.product-lifecycle small { color: #708096; }
.product-lifecycle .product-lifecycle-optional { border-style: dashed; border-color: #b8a7e8; background: #faf8ff; }
.product-lifecycle .product-lifecycle-optional b { color: #6d4dd6; }
.product-lifecycle strong em { margin-left: .35rem; color: #6d4dd6; font-size: .58rem; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.marketplace-publication-section { padding: 3.5rem 0 1rem; border-top: 1px solid #dfe7f2; }
.marketplace-publication-section .product-section-heading { margin-bottom: 2rem; }
.marketplace-lifecycle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.marketplace-lifecycle-card { position: relative; min-height: 220px; padding: 1.5rem; overflow: hidden; border: 1px solid #dfe6f0; border-radius: .9rem; background: #fff; box-shadow: 0 .7rem 2rem rgba(31,51,80,.06); }
.marketplace-lifecycle-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: #2f74ed; }
.marketplace-lifecycle-card > span { display: inline-grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: .6rem; color: #236be7; background: #eaf2ff; font-size: .78rem; font-weight: 800; }
.marketplace-lifecycle-card h3 { margin: 1.15rem 0 .65rem; color: #142842; font-size: 1.2rem; font-weight: 750; }
.marketplace-lifecycle-card p { margin: 0; color: #66758a; font-size: .9rem; line-height: 1.65; }
.marketplace-publication-actions { margin-top: 1.5rem; }

.about-product-hero { padding: 5rem 0; border-bottom: 1px solid #dfe7f2; background: linear-gradient(145deg, #f3f7ff, #fff 62%); }
.about-product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 5rem; align-items: end; }
.about-product-hero h1 { max-width: 780px; margin: 0; color: #10233d; font-size: clamp(2.7rem, 5vw, 4.8rem); font-weight: 760; letter-spacing: -.05em; line-height: 1; }
.about-product-lead { margin: 0; color: #617187; font-size: 1.1rem; line-height: 1.75; }
.about-principle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.about-principle-grid article { padding: 1.5rem; border-top: 3px solid #2f74ed; background: #f7faff; }
.about-principle-grid span { color: #3375e3; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.about-principle-grid h3 { margin: 1rem 0 .65rem; color: #142842; font-size: 1.15rem; }
.about-principle-grid p { margin: 0; color: #66758a; font-size: .88rem; line-height: 1.65; }
.about-statement-section { padding: 4.5rem 0; color: #fff; background: #0b2342; }
.about-statement-section .product-kicker { color: #80aeff; }
.about-statement-grid h2 { max-width: 980px; margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.14; letter-spacing: -.035em; }
.security-difference-section { background: #edf3fb; }
.security-difference-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr); gap: 4rem; align-items: center; }
.security-callout > span { display: grid; width: 3rem; height: 3rem; margin-bottom: 1.4rem; place-items: center; border-radius: .7rem; color: #fff; background: #236be7; font-size: 1.4rem; }
.security-callout h2 { margin: 0; color: #10233d; font-size: clamp(2rem, 3.5vw, 3.3rem); letter-spacing: -.04em; line-height: 1.08; }
.security-callout > p:last-child { margin: 1rem 0 0; color: #617187; line-height: 1.7; }
.security-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .55rem; align-items: center; padding: 1.4rem; border: 1px solid #d3deed; border-radius: .9rem; background: #fff; box-shadow: 0 1rem 2.8rem rgba(31,55,88,.09); }
.security-flow div { display: flex; min-height: 140px; flex-direction: column; justify-content: center; padding: .9rem; border: 1px solid #dce5f0; border-radius: .65rem; background: #f8fbff; }
.security-flow .security-boundary { border-color: #8cb0ef; background: #edf4ff; }
.security-flow small { color: #3976da; font-size: .58rem; font-weight: 800; letter-spacing: .09em; }
.security-flow strong { margin-top: .45rem; color: #243c5b; font-size: .76rem; line-height: 1.4; }
.security-flow > span { color: #4581e5; font-weight: 800; }
.difference-capabilities-section { background: #fff; }
.difference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.difference-grid article { padding: 1.5rem; border: 1px solid #dfe6f0; border-radius: .8rem; background: #fff; box-shadow: 0 .6rem 1.8rem rgba(31,51,80,.055); }
.difference-grid strong { color: #18324f; font-size: 1rem; }
.difference-grid p { margin: .65rem 0 0; color: #66758a; font-size: .88rem; line-height: 1.65; }
.architecture-overview-section { background: #f7f9fc; }
.architecture-capability-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr) auto) minmax(0, 1fr); gap: .65rem; align-items: center; }
.architecture-capability-flow article { min-height: 175px; padding: 1.35rem; border: 1px solid #d8e2ef; border-radius: .8rem; background: #fff; }
.architecture-capability-flow article span { color: #3375e3; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.architecture-capability-flow article strong { display: block; margin-top: 1rem; color: #18324f; font-size: 1rem; }
.architecture-capability-flow article p { margin: .5rem 0 0; color: #6b7a8f; font-size: .84rem; line-height: 1.55; }
.architecture-capability-flow > i { color: #4581e5; font-style: normal; font-weight: 800; }
.protocol-section { color: #d8e5f7; background: #081a33; }
.protocol-section .product-kicker { color: #80aeff; }
.protocol-section .product-section-heading h2 { color: #fff; }
.protocol-section .product-section-heading > p:last-child { color: #aebed5; }
.protocol-comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.protocol-comparison-grid article { display: flex; min-height: 280px; flex-direction: column; padding: 1.6rem; border: 1px solid rgba(151,181,225,.2); border-radius: .8rem; background: rgba(255,255,255,.045); }
.protocol-comparison-grid article > span { align-self: flex-start; padding: .35rem .55rem; border-radius: .4rem; color: #a9c8ff; background: rgba(67,126,228,.18); font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.protocol-comparison-grid h3 { margin: 1.15rem 0 .7rem; color: #fff; font-size: 1.2rem; }
.protocol-comparison-grid p { margin: 0; color: #b7c5d9; font-size: .9rem; line-height: 1.68; }
.protocol-comparison-grid small { margin-top: auto; padding-top: 1.2rem; color: #80aeff; font-size: .58rem; font-weight: 800; letter-spacing: .09em; }
.protocol-comparison-grid .protocol-governance-card { border-color: rgba(96,173,147,.38); background: rgba(42,146,112,.09); }
.protocol-note { max-width: 920px; margin: 1.25rem 0 0; color: #91a6c2; font-size: .83rem; line-height: 1.6; }
.architecture-ecosystem-section { background: #fff; }

@media (max-width: 991.98px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .marketplace-lifecycle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-product-hero-grid, .security-difference-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-principle-grid, .difference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .protocol-comparison-grid { grid-template-columns: 1fr; }
  .protocol-comparison-grid article { min-height: 0; }
  .architecture-capability-flow { grid-template-columns: 1fr; }
  .architecture-capability-flow > i { text-align: center; transform: rotate(90deg); }
}

@media (max-width: 575.98px) {
  .product-detail-hero { padding: 3rem 0; }
  .contract-visual { grid-template-columns: 1fr; }
  .contract-visual > span { text-align: center; transform: rotate(90deg); }
  .workflow-merge { display: none; }
  .workflow-source-stack::after { content: '↓'; justify-self: center; color: #4581e5; font-weight: 800; }
  .output-choice-grid { grid-template-columns: 1fr; }
  .marketplace-lifecycle-grid { grid-template-columns: 1fr; }
  .about-product-hero { padding: 3.5rem 0; }
  .about-principle-grid, .difference-grid { grid-template-columns: 1fr; }
  .security-flow { grid-template-columns: 1fr; }
  .security-flow > span { text-align: center; transform: rotate(90deg); }
}
