/* "Orcha and X" / "Orcha vs X" pages (scripts/hero-lab/build_partner_pages.py), on top of sections.css,
   homepage.css and integration-page.css (breadcrumb, lockup, split) */

/* hero: the pair of products over the wave */
.pp-art { display: grid; place-items: center; align-content: center; gap: 36px; }
.pp-pair { position: relative; display: flex; align-items: center; gap: 22px; }
.pp-tile { width: 172px; height: 152px; border-radius: 14px; display: grid; place-items: center; align-content: center; gap: 14px;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(20, 20, 30, .28); }
.pp-tile b { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.pp-tile img { display: block; width: 40px; height: 40px; }
.pp-orcha { background: var(--accent); border-color: var(--accent); }
.pp-orcha b { color: #fff; }
.pp-sep { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pp-chips { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pp-chips li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: color-mix(in oklab, var(--bg), transparent 8%); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }

/* yes / partly / no marks */
.pp-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; }
.pp-mark .om-ic, .pp-mark svg { width: 13px; height: 13px; }
.pp-yes { background: var(--accent-soft); color: var(--accent); }
.pp-part { background: color-mix(in oklab, #d9a400, transparent 84%); color: #8a6a00; }
.pp-no { background: color-mix(in oklab, var(--ink-3), transparent 88%); color: var(--ink-3); }
.pp-na { width: auto; height: auto; border-radius: 0; font-size: 13px; color: var(--muted); }
.pp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* comparison table */
.pp-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.pp-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.pp-table th, .pp-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.pp-table tbody tr:last-child > * { border-bottom: 0; }
.pp-table thead th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pp-table .pp-group th { padding: 22px 20px 10px; width: auto; font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pp-table thead th:nth-child(2) { color: var(--accent); }
.pp-table tbody th { width: 26%; font-weight: 500; color: var(--ink); }
.pp-table td { width: 37%; color: var(--ink-2); line-height: 1.45; }
.pp-cell { display: flex; align-items: flex-start; gap: 10px; }
.pp-cell > span:last-child:not(.pp-mark) { padding-top: 1px; }
.pp-note { margin: 18px 0 0; max-width: 820px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.pp-step { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.pp-cta { display: grid; gap: 14px; justify-items: start; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.pp-cta > b { font-size: 19px; font-weight: 500; }
.pp-cta > b em { font-style: normal; color: var(--muted); }

/* comparison hub */
.pp-hub-hero .ex-copy { max-width: 820px; }
.pp-hub { margin-top: 64px; }
.pp-hub-group + .pp-hub-group { margin-top: 56px; }
.pp-hub-card { min-height: 220px; padding: 28px; }
.pp-hub-card .top .sx-tag { margin-left: 0; }
.pp-hub-card .top .sx-tag + .go { margin-left: auto; }
.pp-hub-card h3 { display: block; font-size: 21px; line-height: 1.3; }
.pp-hub-card h3 em { font-style: normal; color: var(--muted); }

@media (max-width: 700px) {
  .pp-tile { width: 128px; height: 116px; gap: 10px; }
  .pp-tile b { font-size: 16px; }
  .pp-pair { gap: 12px; }
  .pp-table th, .pp-table td { padding: 14px 14px; }
}

/* comparison pages: status line, repeated CTAs, scenario table, sources */
.pp-asof { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.pp-ctas { margin-top: 28px; }
.pp-scenario tbody th { width: 72%; font-weight: 400; color: var(--ink-2); }
.pp-scenario td { width: 28%; }
.pp-scenario td b { font-weight: 500; color: var(--ink); }
.pp-sources ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; max-width: 900px; font-size: 14px; color: var(--ink-3); }
.pp-sources li a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.pp-sources li a:hover { color: var(--accent); }
.pp-sources li span { margin-left: 8px; color: var(--muted); font-size: 13px; }
.pp-sources li a, .pp-sources li span { overflow-wrap: anywhere; }

/* on phones the comparison table stacks into one card per row */
@media (max-width: 700px) {
  .pp-table-wrap { overflow-x: visible; border: 0; background: none; }
  .pp-table { min-width: 0; }
  .pp-table thead { display: none; }
  .pp-table, .pp-table tbody, .pp-table tr, .pp-table th, .pp-table td { display: block; width: auto !important; }
  .pp-table tbody tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: var(--bg); }
  .pp-table tbody tr.pp-group { border: 0; background: none; margin: 18px 0 4px; }
  .pp-table tbody th, .pp-table td { border-bottom: 0; padding: 12px 14px 4px; }
  .pp-table td { padding-top: 6px; padding-bottom: 12px; }
  .pp-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
}

/* SEO pass: real headings, contents list, related links */
.pp-h3 { display: block; margin: 0; font-family: inherit; font-size: 17px; font-weight: 500; line-height: inherit; letter-spacing: inherit; color: inherit; }
.pp-h3-step { font-size: 18px; }
.pp-toc { margin: 22px 0 0; font-size: 13px; color: var(--muted); }
.pp-toc b { display: block; margin-bottom: 6px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.pp-toc ul { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.pp-toc a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pp-links { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.pp-links li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.pp-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pp-links span { color: var(--muted); font-size: 14px; }
.pp-sib { grid-template-columns: repeat(auto-fit, minmax(180px, max-content)); gap: 8px 22px; }

/* Long German compounds in 32px section headings must wrap on phones, not widen the page */
html[lang="de"] .sx-head .h-section, html[lang="de"] .sx-lede { hyphens: auto; overflow-wrap: break-word; }
