/* ui5.css — Cavmir UI v5 (2026-09-06). GENERATED by _ui5/build_css.py:
   part 1 = css/partners.css (the .pr-* component system), part 2 = the
   body.ui5 adapter for legacy components. Do not edit by hand. */

/* ============================================================
   partners.css — page-scoped styles for /partners/ and its two
   track pages (/partners/sales-partners/, /partners/white-label/).
   Loaded AFTER main.css. Generated pages: _build_partners.py.
   Visual system: the 2026-09 preferred-platform tiers (dusk scene,
   swaying branch cutouts, pricing-card tier heads) + copper accents.
   No italics, no gold text (gold only as a tier-band accent).
   ============================================================ */
.pr-body { background: #fff; }
.pr, .pr *, .pr *::before, .pr *::after { box-sizing: border-box; font-style: normal; }
.pr {
  --pr-ink: #1b1220;
  --pr-ink-soft: #4a3d45;
  --pr-cream: #F8F5F0;
  --pr-sand: #F1EAE1;
  --pr-line: rgba(27, 18, 32, 0.10);
  --pr-copper: #C26A3F;
  --pr-copper-l: #E7A981;
  --pr-burg: #6B214B;
  --pr-burg-d: #431029;
  --pr-navy: #0F3460;
  --pr-navy-l: #1A4D8C;
  --pr-gutter: clamp(20px, 3.2vw, 64px);
  --pr-measure: 720px;
  --pr-pad: clamp(64px, 8vw, 120px);
  --pr-branch-w: clamp(260px, 24vw, 480px);
  display: block;
  color: var(--pr-ink);
  overflow-x: clip;
}
/* zero-specificity resets so the component rules below always win */
.pr :where(h1, h2, h3) { font-family: var(--font-editorial); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; margin: 0; }
.pr :where(p) { margin: 0; }
.pr a { color: var(--pr-burg); }
.pr a:focus-visible { outline: 2px solid var(--pr-copper); outline-offset: 4px; }
.pr-eyebrow { display: flex; align-items: center; gap: 12px; line-height: 1.4; font-family: var(--font-primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pr-copper); margin: 0 0 18px; }
.pr-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.pr-h2 { font-size: clamp(2.1rem, 4.2vw, 4rem); max-width: 18ch; margin-bottom: 18px; color: var(--pr-ink); }
.pr-lede { font-size: clamp(1.02rem, 1.2vw, 1.18rem); line-height: 1.65; max-width: 62ch; color: var(--pr-ink-soft); }
.pr-note { font-size: 0.86rem; line-height: 1.6; color: var(--pr-ink-soft); max-width: 80ch; margin-top: 18px; }
.pr-sec { padding: var(--pr-pad) var(--pr-gutter); }
.pr-sec--dark { background: #1a1220; color: #fff; }
.pr-sec--burg { background: linear-gradient(120deg, #6B214B 0%, #431029 100%); color: #fff; }
.pr-sec--cream { background: var(--pr-cream); }
.pr-sec--sand { background: var(--pr-sand); }
.pr-sec--dark .pr-h2, .pr-sec--burg .pr-h2, .pr-tiers .pr-h2 { color: #fff; }
.pr-sec--dark .pr-lede, .pr-sec--burg .pr-lede, .pr-tiers .pr-lede { color: rgba(255, 255, 255, 0.84); }
.pr-sec--dark .pr-eyebrow, .pr-sec--burg .pr-eyebrow, .pr-tiers .pr-eyebrow { color: var(--pr-copper-l); }
.pr-sec--dark a, .pr-sec--burg a { color: #fff; }

/* ---------- buttons ---------- */
.pr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-family: var(--font-primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.pr-btn--solid { background: var(--pr-burg); color: #fff; }
.pr-btn--solid:hover, .pr-btn--solid:focus-visible { background: var(--pr-copper); color: #fff; transform: translateY(-2px); }
.pr-btn--light { background: #fff; color: var(--pr-burg); }
.pr-btn--light:hover, .pr-btn--light:focus-visible { background: var(--pr-copper); color: #fff; transform: translateY(-2px); }
.pr-btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.pr-btn--ghost:hover, .pr-btn--ghost:focus-visible { border-color: #fff; background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.pr-btn--ghost-dark { border-color: rgba(107, 33, 75, 0.4); color: var(--pr-burg); }
.pr-btn--ghost-dark:hover, .pr-btn--ghost-dark:focus-visible { background: var(--pr-burg); color: #fff; transform: translateY(-2px); }
.pr-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- hero (scene + branch cutouts, text behind the foliage) ---------- */
.pr-hero { position: relative; isolation: isolate; overflow: hidden; background: #1a1220; color: #fff; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) - 60px + var(--pr-branch-w) * 0.78 + 16px) var(--pr-gutter) clamp(44px, 5vw, 80px); }
.pr-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.pr-hero__scene { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: 50% 58%; transform-origin: 50% 60%; animation: prDrift 70s ease-in-out infinite alternate; will-change: transform; }
.pr-hero__shade { position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 110%, rgba(107, 33, 75, 0.62) 0%, rgba(107, 33, 75, 0) 60%), linear-gradient(180deg, rgba(18, 10, 22, 0.66) 0%, rgba(18, 10, 22, 0.28) 40%, rgba(18, 10, 22, 0.62) 75%, rgba(18, 10, 22, 0.90) 100%); }
.pr-hero__branch { position: absolute; z-index: 3; pointer-events: none; user-select: none; filter: brightness(0.72) saturate(0.86) sepia(0.14) drop-shadow(0 22px 26px rgba(0, 0, 0, 0.55)); will-change: transform; height: auto; }
.pr-hero__branch--left { top: calc(var(--nav-h) - 60px); left: calc(-1 * var(--pr-gutter) - 4vw); width: var(--pr-branch-w); transform-origin: 4% 0%; animation: prSwayL 9.5s ease-in-out infinite alternate; }
.pr-hero__branch--right { top: calc(var(--nav-h) + 1vw); right: calc(-1 * var(--pr-gutter) - 5vw); width: clamp(220px, 22vw, 440px); transform-origin: 98% 30%; animation: prSwayR 12s ease-in-out -4s infinite alternate; }
.pr-hero__inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr); gap: clamp(28px, 5vw, 96px); align-items: end; }
.pr-hero__eyebrow { color: var(--pr-copper-l); }
.pr-hero__title { font-size: clamp(2.5rem, 5.6vw, 5.4rem); max-width: 15ch; color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45); margin-bottom: 22px; }
.pr-hero__lede { font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.65; max-width: 60ch; color: rgba(255, 255, 255, 0.88); }
.pr-stats { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 18px; padding: clamp(20px, 2.2vw, 34px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.pr-stats__title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 6px; }
.pr-stat { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.pr-stat:first-of-type { border-top: 0; }
.pr-stat__num { font-family: var(--font-editorial); font-weight: 600; font-size: clamp(2.4rem, 3.4vw, 3.6rem); line-height: 0.9; color: #fff; min-width: 3.4ch; }
.pr-stat__lbl { font-size: 0.9rem; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.pr-stat__lbl b { display: block; color: #fff; font-weight: 700; }
@keyframes prDrift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.06) translate3d(-1.2%, 0.8%, 0); } }
@keyframes prSwayL { 0% { transform: rotate(-1.4deg) translate3d(0, 0, 0); } 45% { transform: rotate(0.9deg) translate3d(6px, 4px, 0); } 100% { transform: rotate(2.1deg) translate3d(10px, 8px, 0); } }
@keyframes prSwayR { 0% { transform: rotate(1.2deg) translate3d(0, 0, 0); } 55% { transform: rotate(-0.6deg) translate3d(-5px, 3px, 0); } 100% { transform: rotate(-1.8deg) translate3d(-9px, 6px, 0); } }

/* ---------- track tiers (the pricing-card system) ---------- */
.pr-tiers { position: relative; isolation: isolate; overflow: hidden; background: #1a1220; color: #fff; }
.pr-tiers::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(90% 70% at 85% 0%, rgba(107, 33, 75, 0.55), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(194, 106, 63, 0.22), transparent 60%); }
.pr-tiers__head { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: end; margin-bottom: clamp(30px, 3.6vw, 56px); }
.pr-tiers__head .pr-lede { margin-left: auto; }
.pr-tiers__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(20px, 1.8vw, 30px); }
.pr-card { position: relative; display: flex; flex-direction: column; background: var(--off-white); color: #000; border: 1px solid rgba(107, 33, 75, 0.12); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 46px rgba(0, 0, 0, 0.30); text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.pr-card:hover, .pr-card:focus-within { transform: translateY(-8px); box-shadow: 0 30px 64px rgba(0, 0, 0, 0.40); }
.pr-card--flag { grid-column: 1 / -1; border: 2px solid #1A4D8C; box-shadow: 0 18px 50px rgba(15, 52, 96, 0.28), 0 0 0 1px rgba(26, 77, 140, 0.35) inset; }
.pr-card--gold { grid-column: span 3; border: 2px solid #C9A227; box-shadow: 0 18px 50px rgba(139, 0, 0, 0.22), 0 0 0 1px rgba(201, 162, 39, 0.35) inset; }
.pr-card--bronze { grid-column: span 3; border: 2px solid #B5714A; box-shadow: 0 18px 50px rgba(74, 36, 18, 0.26), 0 0 0 1px rgba(181, 113, 74, 0.35) inset; }
.pr-card__head { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 22px; font-family: var(--font-editorial); font-weight: 600; font-size: 1.22rem; letter-spacing: 0.02em; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); }
.pr-card__head--flag { background: linear-gradient(90deg, #0F3460 0%, #1A4D8C 35%, #B8D4E8 50%, #1A4D8C 65%, #0F3460 100%); font-size: 1.32rem; padding: 18px 22px; }
.pr-card__head--gold { background: linear-gradient(90deg, #8B0000 0%, #C9A227 35%, #F4D169 50%, #C9A227 65%, #8B0000 100%); }
.pr-card__head--bronze { background: linear-gradient(90deg, #4A2412 0%, #A0522D 35%, #E0A37C 50%, #A0522D 65%, #4A2412 100%); }
.pr-gem { width: 17px; height: 17px; flex: 0 0 auto; }
.pr-gem path { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.pr-gem .f { fill: rgba(255, 255, 255, 0.35); }
.pr-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 22px 22px; }
.pr-card--flag .pr-card__body { padding: 38px 44px 34px; }
.pr-card__tier { font-family: var(--font-primary); font-weight: 500; font-size: 0.95rem; color: rgba(0, 0, 0, 0.6); margin-bottom: 6px; }
.pr-card__mark { font-family: var(--font-editorial); font-weight: 600; font-size: clamp(3rem, 4.4vw, 4.6rem); letter-spacing: -0.03em; line-height: 1; color: var(--pr-burg); }
.pr-card--flag .pr-card__mark { font-size: clamp(3.4rem, 6.4vw, 6rem); color: #0F3460; margin-top: 4px; }
.pr-card__unit { display: block; font-size: 0.82rem; font-weight: 500; color: rgba(0, 0, 0, 0.55); margin-top: 8px; letter-spacing: 0.02em; }
.pr-card__copy { max-width: 66ch; margin: 16px auto 0; font-size: clamp(0.98rem, 1.1vw, 1.08rem); line-height: 1.6; color: rgba(0, 0, 0, 0.78); }
.pr-card__rule { height: 1px; background: rgba(0, 0, 0, 0.08); margin: 18px 0 16px; }
.pr-card--flag .pr-card__rule { margin: 26px auto 24px; max-width: 880px; width: 100%; }
.pr-card__features { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; line-height: 1.5; color: rgba(0, 0, 0, 0.78); }
.pr-card__features li { position: relative; padding-left: 22px; }
.pr-card__features li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--pr-burg); border-bottom: 2px solid var(--pr-burg); transform: rotate(-45deg); }
.pr-card--gold .pr-card__features li::before { border-color: #C9A227; }
.pr-card--bronze .pr-card__features li::before { border-color: #B5714A; }
.pr-card--flag .pr-card__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 56px; max-width: 880px; width: 100%; margin: 0 auto 26px; font-size: 0.95rem; }
.pr-card--flag .pr-card__features li::before { border-color: #1A4D8C; }
.pr-card--flag .pr-card__features strong { color: #0F3460; font-weight: 700; }
.pr-card__cta { margin-top: auto; align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font-family: var(--font-primary); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 999px; background: var(--pr-burg); color: #fff; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.pr-card__cta:hover, .pr-card__cta:focus-visible { background: var(--pr-copper); color: #fff; transform: translateY(-2px); }
.pr-card__cta--flag { padding: 12px 26px; font-size: 0.78rem; letter-spacing: 0.18em; background: linear-gradient(90deg, #0F3460, #1A4D8C); }
.pr-card__cta--flag:hover, .pr-card__cta--flag:focus-visible { background: linear-gradient(90deg, #1A4D8C, #2F6BB3); }
.pr-card__more { display: block; margin-top: 12px; text-align: center; font-size: 0.82rem; color: rgba(10, 10, 10, 0.55); text-decoration: underline; text-underline-offset: 3px; }
.pr-card__more:hover, .pr-card__more:focus-visible { color: var(--pr-burg); }
.pr-tiers__note { position: relative; z-index: 1; margin: clamp(22px, 2.6vw, 36px) 0 0; font-size: 0.8rem; line-height: 1.65; color: rgba(255, 255, 255, 0.62); max-width: 96ch; }

/* ---------- big-number strip ---------- */
.pr-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: 8px; }
.pr-num { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 20px; }
.pr-num__v { font-family: var(--font-editorial); font-weight: 600; font-size: clamp(3rem, 5vw, 5.2rem); line-height: 0.95; color: #fff; }
.pr-num__v::after { content: ""; display: block; width: 40px; height: 3px; background: var(--pr-copper-l); border-radius: 2px; margin-top: 14px; }
.pr-num__l { margin-top: 12px; font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.82); max-width: 26ch; }

/* ---------- split bands (text + media) ---------- */
.pr-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 72px); align-items: stretch; }
.pr-split--flip { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.pr-split__body { min-width: 0; }
.pr-split__media { position: relative; min-height: 420px; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(27, 18, 32, 0.14); }
.pr-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pr-tablewrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 26px; }
.pr-table { width: 100%; border-collapse: collapse; margin-top: 0; font-size: 0.98rem; }
.pr-table th, .pr-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--pr-line); vertical-align: top; }
.pr-table th { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pr-burg); font-weight: 700; }
.pr-table td:not(:first-child), .pr-table th:not(:first-child) { text-align: right; white-space: nowrap; }
.pr-table td:first-child { font-weight: 500; }
.pr-table td.hi { color: var(--pr-burg); font-weight: 700; }
.pr-table tfoot td { border-bottom: 0; font-size: 0.8rem; color: var(--pr-ink-soft); line-height: 1.55; white-space: normal; text-align: left; font-weight: 400; padding-top: 16px; }

/* ---------- who it's for (full-bleed photo + list) ---------- */
.pr-who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 600px; }
.pr-who__media { position: relative; min-height: 380px; background: #d9cfc4; }
.pr-who__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pr-who__body { padding: var(--pr-pad) var(--pr-gutter); background: var(--pr-cream); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.pr-roles { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.pr-roles li { position: relative; padding: 13px 0 13px 26px; border-bottom: 1px solid var(--pr-line); font-size: 1.02rem; line-height: 1.4; }
.pr-roles li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 11px; height: 6px; border-left: 2px solid var(--pr-copper); border-bottom: 2px solid var(--pr-copper); transform: rotate(-45deg); }

/* ---------- numbered steps ---------- */
.pr-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 48px); margin-top: 12px; }
.pr-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pr-step { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 18px; }
.pr-step__n { font-family: var(--font-editorial); font-size: 2.6rem; font-weight: 600; color: var(--pr-copper-l); line-height: 1; }
.pr-step h3 { font-family: var(--font-primary); font-weight: 700; font-size: 1.12rem; margin: 14px 0 8px; color: #fff; line-height: 1.3; }
.pr-step p { font-size: 0.98rem; line-height: 1.55; color: rgba(255, 255, 255, 0.84); }

/* ---------- kit tiles (flex + grow: no empty cells) ---------- */
.pr-kit { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 8px; background: var(--pr-line); }
.pr-kit__item { flex: 1 1 clamp(240px, 30%, 460px); min-width: 0; background: var(--pr-cream); padding: clamp(22px, 2.4vw, 34px); }
.pr-kit__n { font-size: 0.74rem; letter-spacing: 0.2em; font-weight: 700; color: var(--pr-copper); }
.pr-kit__item h3 { font-size: 1.5rem; margin: 10px 0 8px; color: var(--pr-burg); }
.pr-kit__item p { font-size: 0.98rem; line-height: 1.55; color: var(--pr-ink-soft); }

/* ---------- two columns with a sticky aside ---------- */
.pr-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: clamp(28px, 4vw, 80px); align-items: start; margin-top: 10px; }
.pr-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.pr-panel { background: #fff; border: 1px solid var(--pr-line); border-radius: 16px; padding: clamp(22px, 2.4vw, 32px); box-shadow: 0 14px 40px rgba(27, 18, 32, 0.08); }
.pr-panel h3 { font-size: 1.6rem; color: var(--pr-burg); margin-bottom: 12px; }
.pr-panel ul { margin: 0 0 18px; padding-left: 18px; font-size: 0.95rem; line-height: 1.6; color: var(--pr-ink-soft); }
.pr-panel li { margin-bottom: 6px; }
.pr-panel__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-top: 18px; }
.pr-acc { border-top: 1px solid var(--pr-line); }
.pr-acc:last-of-type { border-bottom: 1px solid var(--pr-line); }
.pr-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--font-editorial); font-size: clamp(1.3rem, 1.8vw, 1.7rem); font-weight: 600; line-height: 1.2; color: var(--pr-ink); }
.pr-acc summary::-webkit-details-marker { display: none; }
.pr-acc summary::after { content: "+"; flex: 0 0 auto; font-family: var(--font-primary); font-weight: 300; font-size: 1.8rem; line-height: 1; color: var(--pr-copper); }
.pr-acc[open] summary::after { content: "\00d7"; }
.pr-acc summary:hover { color: var(--pr-burg); }
.pr-acc__body { padding: 0 0 24px; font-size: 1rem; line-height: 1.65; color: var(--pr-ink-soft); max-width: var(--pr-measure); }
.pr-acc__body ul { padding-left: 18px; margin: 0; }
.pr-acc__body li { margin: 0 0 10px; }
.pr-acc__body b { color: var(--pr-ink); font-weight: 700; }
.pr-acc__body p + p { margin-top: 10px; }

/* ---------- earnings calculator ---------- */
.pr-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); align-items: stretch; margin-top: 10px; }
.pr-calc__ctl { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.pr-field label { display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em; color: var(--pr-burg); margin-bottom: 8px; }
.pr-field output { font-weight: 700; color: var(--pr-ink); }
.pr-field input[type="range"] { width: 100%; accent-color: var(--pr-burg); }
.pr-field select { width: 100%; font-family: var(--font-primary); font-size: 1rem; padding: 12px 14px; border: 1px solid rgba(107, 33, 75, 0.25); border-radius: 8px; background: #fff; color: var(--pr-ink); }
.pr-result { background: linear-gradient(140deg, #6B214B, #431029); color: #fff; border-radius: 18px; padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 18px; box-shadow: 0 24px 60px rgba(67, 16, 41, 0.35); }
.pr-result__k { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 6px; }
.pr-result__v { font-family: var(--font-editorial); font-weight: 600; font-size: clamp(2.6rem, 4.4vw, 4.6rem); line-height: 1; color: #fff; }
.pr-result__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 16px; }
.pr-result__row .pr-result__v { font-size: clamp(1.8rem, 2.6vw, 2.6rem); }
.pr-result__note { font-size: 0.8rem; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }

/* ---------- white label: services + compare ---------- */
.pr-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: 10px; }
.pr-svc__g h3 { font-family: var(--font-primary); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--pr-copper); margin-bottom: 10px; }
.pr-svc__g a { display: block; padding: 12px 0; border-top: 1px solid var(--pr-line); color: var(--pr-ink); text-decoration: none; font-weight: 500; }
.pr-svc__g a:last-child { border-bottom: 1px solid var(--pr-line); }
.pr-svc__g a span { display: block; font-size: 0.88rem; font-weight: 400; color: var(--pr-ink-soft); margin-top: 2px; }
.pr-svc__g a:hover, .pr-svc__g a:focus-visible { color: var(--pr-burg); }
.pr-compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 40px); margin-top: 10px; }
.pr-compare__col { background: #fff; border: 1px solid var(--pr-line); border-radius: 16px; padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; }
.pr-compare__col--hi { border-color: rgba(107, 33, 75, 0.35); box-shadow: 0 18px 46px rgba(27, 18, 32, 0.10); }
.pr-compare__col h3 { font-size: 1.8rem; color: var(--pr-burg); margin-bottom: 10px; }
.pr-compare__col .k { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--pr-copper); margin-bottom: 8px; }
.pr-compare__col p { line-height: 1.6; color: var(--pr-ink-soft); }
.pr-compare__col ul { padding-left: 18px; margin: 14px 0 22px; line-height: 1.6; color: var(--pr-ink-soft); }
.pr-compare__col .pr-btn { align-self: flex-start; margin-top: auto; }

/* ---------- apply ---------- */
.pr-apply { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pr-apply__intro { position: sticky; top: calc(var(--nav-h) + 24px); }
.pr-apply__intro .re { margin-top: 26px; font-size: 0.98rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.pr-form { background: var(--pr-cream); color: var(--pr-ink); border-radius: 16px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }
.pr-form .form-group { margin-bottom: 18px; }
.pr-form .form-label { display: block; font-family: var(--font-primary); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--pr-burg); margin-bottom: 7px; }
.pr-form .form-input, .pr-form .form-select, .pr-form .form-textarea { width: 100%; font-family: var(--font-primary); font-size: 0.98rem; color: var(--pr-ink); background: #fff; border: 1px solid rgba(107, 33, 75, 0.22); border-radius: 8px; padding: 13px 14px; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.pr-form .form-input:focus, .pr-form .form-select:focus, .pr-form .form-textarea:focus { border-color: var(--pr-copper); box-shadow: 0 0 0 3px rgba(194, 106, 63, 0.18); }
.pr-form .form-textarea { min-height: 110px; resize: vertical; }
.pr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pr-consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 14px; font-size: 0.82rem; line-height: 1.5; color: rgba(27, 18, 32, 0.72); }
.pr-consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--pr-burg); flex: 0 0 auto; }
.pr-consent a, .pr-form a { color: var(--pr-burg); }
.pr-form .pr-btn { width: 100%; font-size: 0.86rem; padding: 17px; }
.pr-form__note { font-size: 0.8rem; color: rgba(27, 18, 32, 0.55); text-align: center; margin-top: 12px; }
.pr-form__ok, .pr-form__err { display: none; padding: 14px 16px; border-radius: 8px; font-size: 0.95rem; line-height: 1.5; margin-bottom: 16px; }
.pr-form__ok { background: rgba(0, 140, 70, 0.10); border: 1px solid rgba(0, 140, 70, 0.35); color: #0a6b39; }
.pr-form__err { background: rgba(160, 20, 40, 0.08); border: 1px solid rgba(160, 20, 40, 0.30); color: #8a1a2a; }

/* ---------- keep exploring ---------- */
.pr-links { padding: var(--pr-pad) var(--pr-gutter); background: #fff; }
.pr-links__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--pr-line); margin-top: 24px; }
.pr-links__grid a { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; background: #fff; color: var(--pr-ink); text-decoration: none; transition: background 0.2s ease; }
.pr-links__grid a:hover, .pr-links__grid a:focus-visible { background: var(--pr-cream); }
.pr-links__grid a b { font-family: var(--font-editorial); font-size: 1.4rem; font-weight: 600; color: var(--pr-burg); line-height: 1.15; }
.pr-links__grid a span { font-size: 0.86rem; color: var(--pr-ink-soft); }

/* ---------- responsive ---------- */
@media (max-height: 820px) and (min-width: 961px) {
  .pr { --pr-branch-w: clamp(180px, 16vw, 300px); }
  .pr-hero__branch--right { display: none; }
}
@media (max-width: 1100px) {
  .pr-card--flag .pr-card__body { padding: 30px 28px 28px; }
  .pr-steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pr-hero__inner { grid-template-columns: 1fr; }
  .pr-stats { max-width: 560px; }
  .pr-hero__branch--right { top: auto; bottom: 30%; width: clamp(180px, 26vw, 320px); }
  .pr-tiers__head { grid-template-columns: 1fr; }
  .pr-tiers__head .pr-lede { margin-left: 0; }
  .pr-card--gold, .pr-card--bronze { grid-column: 1 / -1; }
  .pr-nums { grid-template-columns: 1fr 1fr; }
  .pr-split, .pr-split--flip { grid-template-columns: 1fr; }
  .pr-split--flip .pr-split__media { order: 2; }
  .pr-split__media { min-height: 320px; }
  .pr-who { grid-template-columns: 1fr; }
  .pr-steps { grid-template-columns: 1fr 1fr; }
  .pr-cols { grid-template-columns: 1fr; }
  .pr-aside, .pr-apply__intro { position: static; }
  .pr-calc { grid-template-columns: 1fr; }
  .pr-compare { grid-template-columns: 1fr; }
  .pr-svc { grid-template-columns: 1fr 1fr; }
  .pr-apply { grid-template-columns: 1fr; }
  .pr-links__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pr-card--flag .pr-card__features { grid-template-columns: 1fr; gap: 10px; }
  .pr-card--flag .pr-card__body { padding: 22px 18px 20px; }
  .pr-roles { grid-template-columns: 1fr; }
  .pr-two { grid-template-columns: 1fr; }
  .pr-svc { grid-template-columns: 1fr; }
  .pr-links__grid { grid-template-columns: 1fr; }
  .pr-steps, .pr-steps--5 { grid-template-columns: 1fr; }
  .pr-table { font-size: 0.88rem; min-width: 600px; }
  .pr-table--wide { min-width: 820px; }
  .pr-table td:first-child { min-width: 180px; }
  .pr-table--wide td:first-child { min-width: 260px; }
  .pr-table th, .pr-table td { padding: 11px 8px; }
  .pr-tablewrap::after { content: "Swipe to see every column"; display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(27, 18, 32, 0.45); padding: 8px 0 0; position: sticky; left: 0; }
  .pr-result__row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pr { --pr-branch-w: 58vw; }
  .pr-hero { align-items: flex-start; min-height: 0; padding-top: calc(var(--nav-h) - 30px + var(--pr-branch-w) * 0.78 + 18px); padding-bottom: 40px; }
  .pr-hero__branch--left { top: calc(var(--nav-h) - 30px); left: -14vw; }
  .pr-hero__branch--right { display: none; }
  .pr-hero__scene { animation: none; }
  .pr-hero__title { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .pr-stat__num { font-size: 2.2rem; }
  .pr-nums { grid-template-columns: 1fr 1fr; gap: 18px; }
  .pr-num__v { font-size: 2.6rem; }
  .pr-card__mark { font-size: 2.8rem; }
  .pr-card--flag .pr-card__mark { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .pr-card__head { font-size: 1.08rem; }
}

/* ===================================================================
   UI v5 ADAPTER (2026-09-06) — restyles the legacy Cavmir components
   (main.css / v4.css era) to the /partners/ visual system on any page
   whose <body> carries `ui5`. Appended AFTER partners.css by
   _ui5/build_css.py -> css/ui5.css, so the .pr-* components above are
   available on every ui5 page (the hero wrapper is <div class="pr">).
   Families: ui5-page (page-header pages), ui5-client (client-hero
   pages), ui5-pricing, ui5-home, ui5-jet (jetstream is pure .pr).
   Laws: no italics, no gold text (gold only as a tier-band accent),
   copper eyebrows, editorial 600 heads, pill buttons, night pricing band.
   =================================================================== */
body.ui5 {
  --pr-ink: #1b1220; --pr-ink-soft: #4a3d45; --pr-cream: #F8F5F0; --pr-sand: #F1EAE1;
  --pr-line: rgba(27, 18, 32, 0.10); --pr-copper: #C26A3F; --pr-copper-l: #E7A981;
  --pr-burg: #6B214B; --pr-burg-d: #431029; --pr-navy: #0F3460; --pr-navy-l: #1A4D8C;
  --pr-gutter: clamp(20px, 3.2vw, 64px); --pr-measure: 720px; --pr-pad: clamp(64px, 8vw, 120px);
  --pr-branch-w: clamp(260px, 24vw, 480px);
  --pr-grad: linear-gradient(120deg, #6B214B 0%, #431029 100%);
  background: #fff;
}

/* ---------- button colour guard: `.pr a { color: burgundy }` (0,1,1) outranks the
   single-class .pr-btn--* colours (0,1,0) in partners.css, which made the solid
   pill's white text burgundy-on-burgundy. Anchor-qualified rules win. ---------- */
.pr a.pr-btn--solid, .pr a.pr-btn--solid:hover, .pr a.pr-btn--solid:focus-visible { color: #fff; }
.pr a.pr-btn--light { color: var(--pr-burg); }
.pr a.pr-btn--light:hover, .pr a.pr-btn--light:focus-visible { color: #fff; }
.pr a.pr-btn--ghost, .pr a.pr-btn--ghost:hover, .pr a.pr-btn--ghost:focus-visible { color: #fff; }
.pr a.pr-btn--ghost-dark { color: var(--pr-burg); }
.pr a.pr-btn--ghost-dark:hover, .pr a.pr-btn--ghost-dark:focus-visible { color: #fff; }
.pr a.pr-card__cta, .pr a.pr-card__cta:hover { color: #fff; }

/* ---------- hero additions (wrapper, short variant, crumb, list panel) ---------- */
body.ui5 .pr-herowrap { display: block; }
.pr-hero--short { min-height: clamp(560px, 84svh, 900px); }
.pr-hero__crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); margin: 0 0 14px; }
.pr-hero__crumb a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.pr-hero__crumb a:hover, .pr-hero__crumb a:focus-visible { color: #fff; }
.pr-stat__num--text { font-size: clamp(1.45rem, 1.9vw, 2rem); line-height: 1.1; min-width: 0; }
.pr-stats__list { list-style: none; margin: 6px 0 0; padding: 0; }
.pr-stats__list li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.95rem; line-height: 1.4; color: rgba(255, 255, 255, 0.88); }
.pr-stats__list li:first-child { border-top: 0; }
.pr-stats__list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 11px; height: 6px; border-left: 2px solid var(--pr-copper-l); border-bottom: 2px solid var(--pr-copper-l); transform: rotate(-45deg); }
.pr-stats__foot { margin-top: 14px; font-size: 0.8rem; line-height: 1.5; color: rgba(255, 255, 255, 0.62); }
.pr-stats__foot a { color: #fff; }
.pr-roles--one { grid-template-columns: 1fr; }

/* ---------- type + chrome ---------- */
body.ui5 em, body.ui5 i, body.ui5 .section-title em, body.ui5 h1 em, body.ui5 h2 em, body.ui5 h3 em,
body.ui5 .team-card p, body.ui5 blockquote, body.ui5 .client-intro__lede { font-style: normal !important; }
body.ui5 .container { max-width: none; padding-inline: var(--pr-gutter); }
body.ui5 .section { padding-block: clamp(56px, 7vw, 104px); }
body.ui5 .section-off, body.ui5 .breadcrumb, body.ui5 .client-stats-wrap { background: var(--pr-cream); }
body.ui5 .section-dark, body.ui5 .cta-section { background: var(--pr-grad); }
body.ui5 .section-eyebrow { color: var(--pr-copper) !important; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
body.ui5 .section-eyebrow::before { background: currentColor; }
body.ui5 .section-dark .section-eyebrow, body.ui5 .cta-section .section-eyebrow, body.ui5 .pricing-band .section-eyebrow,
body.ui5 .parallax-section .section-eyebrow, body.ui5 .svc2026-band .section-eyebrow, body.ui5 .process-stage .section-eyebrow,
body.ui5 .v4-card--cta .v4-card__k, body.ui5 .resource-cta .section-eyebrow { color: var(--pr-copper-l) !important; }
body.ui5 .section:not(.section-dark):not(.parallax-section) .section-eyebrow[style*="--gold"] { color: var(--pr-copper) !important; }
body.ui5 .gold-divider { background: var(--pr-copper) !important; width: 40px; height: 3px; border-radius: 2px; }
body.ui5 .section-dark .gold-divider, body.ui5 .cta-section .gold-divider, body.ui5 .pricing-band .gold-divider,
body.ui5 .parallax-section .gold-divider { background: var(--pr-copper-l) !important; }
body.ui5 [style*="--gold"] { color: var(--pr-copper-l) !important; }
body.ui5 .section:not(.section-dark):not(.parallax-section) [style*="--gold"], body.ui5 .section-off [style*="--gold"] { color: var(--pr-burg) !important; }
body.ui5 .section-title, body.ui5 .cta-section h2, body.ui5 .rvw__title, body.ui5 .client-stats-header .section-title,
body.ui5 .pricing-custom-box__title, body.ui5 .resource-cta h2, body.ui5 .resource-related h2, body.ui5 .resource-faq h2,
body.ui5 .biz-grid-section__title, body.ui5 .platform-matrix__title, body.ui5 .mgmt-section__title {
  font-family: var(--font-editorial); font-weight: 600; line-height: 1.04; letter-spacing: -0.012em;
}
body.ui5 .section-title em, body.ui5 .cta-section h2 em, body.ui5 .pricing-custom-box__title em { font-family: var(--font-editorial); font-weight: 600; color: inherit !important; }
body.ui5 .section-body { color: var(--pr-ink-soft); opacity: 1; }
body.ui5 .section-dark .section-body, body.ui5 .parallax-section .section-body, body.ui5 .cta-section p { color: rgba(255, 255, 255, 0.84) !important; }
body.ui5 .rel-k, body.ui5 .stat-strip .stat-n, body.ui5 .stat-number { color: var(--pr-copper) !important; }
body.ui5 .stat-number, body.ui5 .stat-strip .stat-n { font-family: var(--font-editorial); font-weight: 600; }
body.ui5 .section-dark .stat-number, body.ui5 .section-dark .stat-strip .stat-n { color: var(--pr-copper-l) !important; }

/* ---------- buttons -> pills (never the nav / mobile menu / footer) ---------- */
body.ui5 .btn:where(:not(.nav *):not(.mobile-menu *):not(.footer *)) { border-radius: 999px; padding: 14px 26px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; border: 2px solid transparent; line-height: 1.2; }
body.ui5 .btn-primary:where(:not(.nav *):not(.mobile-menu *)) { background: var(--pr-burg); color: #fff; }
body.ui5 .btn-primary:where(:not(.nav *):not(.mobile-menu *)):hover, body.ui5 .btn-primary:where(:not(.nav *):not(.mobile-menu *)):focus-visible { background: var(--pr-copper); color: #fff; transform: translateY(-2px); }
body.ui5 :is(.section-dark, .cta-section, .pricing-band, .parallax-section, .svc2026-band, .v4-card--cta, .hero, .process-stage, .resource-cta, .cav-nl, .mi-band--dark, .dh-band--burgundy, .client-related--dark) .btn-primary { background: #fff; color: var(--pr-burg); }
body.ui5 :is(.section-dark, .cta-section, .pricing-band, .parallax-section, .svc2026-band, .v4-card--cta, .hero, .process-stage, .resource-cta, .cav-nl, .mi-band--dark, .dh-band--burgundy, .client-related--dark) .btn-primary:hover { background: var(--pr-copper); color: #fff; }
body.ui5 .btn-outline:where(:not(.nav *):not(.mobile-menu *)) { border-color: rgba(107, 33, 75, 0.4); color: var(--pr-burg); }
body.ui5 .btn-outline:where(:not(.nav *):not(.mobile-menu *)):hover { background: var(--pr-burg); color: #fff; transform: translateY(-2px); }
body.ui5 :is(.section-dark, .cta-section, .pricing-band, .parallax-section, .svc2026-band, .v4-card--cta, .hero, .process-stage, .resource-cta, .cav-nl, .mi-band--dark, .dh-band--burgundy) .btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff !important; background: transparent; }
body.ui5 :is(.section-dark, .cta-section, .pricing-band, .parallax-section, .svc2026-band, .v4-card--cta, .hero, .process-stage, .resource-cta, .cav-nl, .mi-band--dark, .dh-band--burgundy) .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff !important; }

/* ---------- CTA band ---------- */
body.ui5 .cta-section { padding-block: var(--pr-pad); }
body.ui5 .cta-section h2 { font-size: clamp(2.1rem, 4.2vw, 4rem); color: #fff; }
body.ui5 .cta-section p { font-size: clamp(1.02rem, 1.2vw, 1.18rem); line-height: 1.65; }

/* ---------- dark step grids -> numbered strip; light ones -> cream kit tiles ---------- */
body.ui5 .steps-grid { gap: clamp(22px, 3vw, 48px); background: transparent; border: 0; }
body.ui5 .step-card { background: transparent !important; border-top: 1px solid rgba(255, 255, 255, 0.18); border-radius: 0; padding: 18px 0 0 !important; box-shadow: none; }
body.ui5 .step-card::before { display: none; }
body.ui5 .step-card:hover { transform: none; }
body.ui5 .step-icon { display: none; }
body.ui5 .step-number { color: var(--pr-copper-l); }
body.ui5 .step-name { font-family: var(--font-editorial); font-size: 1.5rem; font-weight: 600; color: #fff; margin: 8px 0 8px; line-height: 1.2; }
body.ui5 .step-desc { font-size: 0.98rem; line-height: 1.55; color: rgba(255, 255, 255, 0.84); }
body.ui5 .section:not(.section-dark) .steps-grid { gap: 2px; background: var(--pr-line); }
body.ui5 .section:not(.section-dark) .step-card { background: var(--pr-cream) !important; border-top: 0; padding: clamp(22px, 2.4vw, 34px) !important; }
body.ui5 .section:not(.section-dark) .step-number { color: var(--pr-copper); }
body.ui5 .section:not(.section-dark) .step-name { color: var(--pr-burg); }
body.ui5 .section:not(.section-dark) .step-desc { color: var(--pr-ink-soft); }

/* ---------- "Where to go next" -> link grid ---------- */
/* hairlines live on the tiles (not a grey grid background) so an odd count of links
   never leaves grey empty cells in the last row */
body.ui5 .rel-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: transparent; border: 0 !important; border-top: 1px solid var(--pr-line) !important; margin-top: 24px !important; max-width: none !important; margin-inline: 0 !important; }
body.ui5 .rel-index a { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 26px 24px !important; background: #fff; border: 0 !important; border-right: 1px solid var(--pr-line) !important; border-bottom: 1px solid var(--pr-line) !important; color: var(--pr-ink); text-decoration: none; font-size: 1rem; transition: background 0.2s ease; }
body.ui5 .rel-index a:nth-child(3n) { border-right: 0 !important; }
body.ui5 .rel-index a:hover, body.ui5 .rel-index a:focus-visible { background: var(--pr-cream); padding-left: 24px !important; color: var(--pr-ink); }
body.ui5 .rel-index a > span:first-child { font-family: var(--font-editorial); font-size: 1.4rem; font-weight: 600; color: var(--pr-burg); line-height: 1.15; }
body.ui5 .rel-index .rel-k { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pr-copper) !important; font-weight: 700; }
body.ui5 .section-dark .rel-index a { background: rgba(255, 255, 255, 0.06); color: #fff; }
body.ui5 .section-dark .rel-index a > span:first-child { color: #fff; }
body.ui5 .section-dark .rel-index a:hover { background: rgba(255, 255, 255, 0.12); }
body.ui5 .section--interlinks .section-eyebrow { justify-content: flex-start !important; }
body.ui5 .section--interlinks .section-title { text-align: left !important; }
body.ui5 .section--interlinks .gold-divider { margin-left: 0 !important; }
body.ui5 .section--interlinks .section-title span[style] { color: var(--pr-burg) !important; font-weight: 600 !important; }

/* ---------- FAQ accordions ---------- */
body.ui5 .faq-item, body.ui5 .v4-faq2 > details, body.ui5 .post-faq details, body.ui5 .resource-faq details { border-color: var(--pr-line); }
body.ui5 .faq-item > summary, body.ui5 .v4-faq2 > details > summary, body.ui5 .post-faq summary, body.ui5 .resource-faq summary { font-family: var(--font-editorial); font-size: clamp(1.15rem, 1.5vw, 1.45rem); font-weight: 600; line-height: 1.22; color: var(--pr-ink); padding: 20px 44px 20px 0; }
body.ui5 .faq-item > summary:hover { color: var(--pr-burg); }
body.ui5 .faq-item[open] > summary { color: var(--pr-burg); }
body.ui5 .faq-item > summary::after { color: var(--pr-copper); font-family: var(--font-primary); }
body.ui5 .faq-item > summary:focus-visible { outline-color: var(--pr-copper); }
body.ui5 .faq-a p { font-size: 1rem; line-height: 1.65; color: var(--pr-ink-soft); }

/* ---------- pricing band -> night tiers ---------- */
body.ui5 .pricing-band { background: #1a1220 !important; position: relative; isolation: isolate; }
body.ui5 .pricing-band::before { content: ""; display: block !important; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 85% 0%, rgba(107, 33, 75, 0.55), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(194, 106, 63, 0.22), transparent 60%); }
body.ui5 .pricing-band .container { position: relative; z-index: 1; }
body.ui5 .pricing-band .section-title { color: #fff; }
body.ui5 .pricing-band .pricing-lead { color: rgba(255, 255, 255, 0.84); border-color: rgba(231, 169, 129, 0.35); }
body.ui5 .pricing-card__head--blue, body.ui5 .pricing-card__head--green, body.ui5 .pricing-card__head--purple,
body.ui5 .pricing-card__head--teal, body.ui5 .pricing-card__head--amber, body.ui5 .pricing-card__head--rose {
  background: linear-gradient(90deg, #431029 0%, #6B214B 35%, #9A4A75 50%, #6B214B 65%, #431029 100%); border-bottom: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
body.ui5 .pricing-card--flagship { border: 2px solid #C9A227; box-shadow: 0 18px 50px rgba(139, 0, 0, 0.22), 0 0 0 1px rgba(201, 162, 39, 0.35) inset; }
body.ui5 .pricing-card--platinum { border-color: #1A4D8C; box-shadow: 0 18px 50px rgba(15, 52, 96, 0.28), 0 0 0 1px rgba(26, 77, 140, 0.35) inset; }
body.ui5 .pricing-card__price { font-family: var(--font-editorial); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(2.6rem, 3.4vw, 3.4rem); line-height: 1; }
body.ui5 .pricing-card__cta { border-radius: 999px; background: var(--pr-burg); color: #fff; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; }
body.ui5 .pricing-card__cta:hover { background: var(--pr-copper); color: #fff; }
body.ui5 .pricing-card__promo { border-color: rgba(231, 169, 129, 0.55); }
body.ui5 .promo-banner { border-color: rgba(231, 169, 129, 0.45); }
body.ui5 .promo-banner__tag { border-color: rgba(231, 169, 129, 0.6); }
body.ui5 .pricing-custom-box { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 18px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
body.ui5 .pricing-custom-box__title, body.ui5 .pricing-custom-box__title em { color: #fff !important; }
body.ui5 .pricing-custom-box__body { color: rgba(255, 255, 255, 0.84); }
body.ui5 .pricing-custom-box__badge { background: var(--pr-copper); color: #fff; }
body.ui5 .pricing-custom-box__cta { border-radius: 999px; background: #fff; color: var(--pr-burg); }
body.ui5 .pricing-custom-box__cta:hover { background: var(--pr-copper); color: #fff; }
body.ui5 .pricing-note { color: rgba(255, 255, 255, 0.62); }

/* ---------- rail cards / conversion bands ---------- */
body.ui5 .v4-card { border-radius: 16px; box-shadow: 0 14px 40px rgba(27, 18, 32, 0.08); border: 1px solid var(--pr-line); }
body.ui5 .v4-card h3, body.ui5 .v4-card .v4-card__h { font-family: var(--font-editorial); font-weight: 600; }
body.ui5 .v4-card--cta, body.ui5 .client-convert, body.ui5 .mi-band--dark { background: var(--pr-grad); }
body.ui5 .svc2026-band { background: var(--pr-grad) !important; border-radius: 16px !important; }
body.ui5 .svc2026-band h3 { font-family: var(--font-editorial) !important; font-weight: 600 !important; }

/* ---------- property-type market snapshot ---------- */
body.ui5 .client-stats-box { border-radius: 16px; border: 1px solid var(--pr-line); background: #fff; box-shadow: 0 14px 40px rgba(27, 18, 32, 0.08); }
body.ui5 .client-stats-box__icon { display: none; }
body.ui5 .client-stats-box__value { font-family: var(--font-editorial); font-weight: 600; font-size: clamp(1.7rem, 2.4vw, 2.5rem); color: var(--pr-burg); line-height: 1.05; }
body.ui5 .client-stats-box__value--pill { font-family: var(--font-primary); font-size: 0.8rem; }
body.ui5 .client-stats-box__value--medium { background: var(--pr-copper); color: #fff; }

/* ---------- homepage specifics ---------- */
body.ui5-home .cav-nl { background: var(--pr-grad) !important; }
body.ui5-home .cav-nl__eyebrow { color: var(--pr-copper-l) !important; }
body.ui5-home .cav-nl__btn { background: var(--pr-copper) !important; color: #fff !important; }
body.ui5-home .cav-nl__btn:hover { background: #fff !important; color: var(--pr-burg) !important; }
body.ui5-home .cav-nl__row input[type=email]:focus { border-color: var(--pr-copper-l) !important; box-shadow: 0 0 0 3px rgba(231, 169, 129, 0.25) !important; }
body.ui5-home .cav-nl__consent input { accent-color: var(--pr-copper) !important; }
body.ui5-home .platforms-strip { border-top-color: var(--pr-copper); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  body.ui5 .rel-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body.ui5 .rel-index { grid-template-columns: 1fr; }
  body.ui5 .cta-section h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
}

/* ===== UI v5 WAVE 2 (2026-09-07): hero byline + panel links; the compare, data hub,
   learn hub and locations families; brokers rides the client family. Appended to
   ui5-adapter.css by _ui5/_patch_wave2.py (kept here as the source of the block). ===== */
.pr-hero__lede:has(+ .pr-hero__byline) { margin-bottom: 12px; }
.pr-hero__byline { margin: 0 0 26px; font-size: 0.86rem; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.pr-hero__byline a { color: #fff; }
.pr-stats__list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.pr-stats__list a:hover, .pr-stats__list a:focus-visible { border-bottom-color: #fff; }

/* ---------- compare pages (cmp-* chrome is inline in the page head) ---------- */
body.ui5-cmp .cmp-eyebrow { color: var(--pr-copper) !important; }
body.ui5-cmp .cmp-tldr__us, body.ui5-cmp .cmp-cta { background: var(--pr-grad) !important; }
body.ui5-cmp .cmp-tldr__us a, body.ui5-cmp .cmp-cta a:not(.cmp-btn) { color: var(--pr-copper-l); }
body.ui5-cmp .cmp-table th { background: var(--pr-burg-d); }
body.ui5-cmp .cmp-btn { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
body.ui5-cmp .cmp-btn:not(.cmp-btn--ghost):hover { background: var(--pr-copper); color: #fff; }
body.ui5-cmp .cmp-faq details { border-top: 1px solid var(--pr-line); }
body.ui5-cmp .cmp-faq summary { font-family: var(--font-editorial); font-size: clamp(1.15rem, 1.5vw, 1.45rem); font-weight: 600; line-height: 1.22; color: var(--pr-ink); padding: 18px 40px 18px 0; cursor: pointer; }
body.ui5-cmp .cmp-faq details[open] summary { color: var(--pr-burg); }

/* ---------- data hub family (dh-*) ---------- */
body.ui5-data .dh-eyebrow, body.ui5-data .dh-hero__eyebrow { color: var(--pr-copper) !important; }
body.ui5-data :is(.dh-band--jet, .dh-band--burgundy) .dh-eyebrow { color: var(--pr-copper-l) !important; }
body.ui5-data .dh-gold-rule { background: var(--pr-copper) !important; }
body.ui5-data .dh-band--burgundy { background: var(--pr-grad) !important; }
body.ui5-data .dh-band h2 { font-family: var(--font-editorial); font-weight: 600; letter-spacing: -0.012em; }
body.ui5-data .dh-btn { border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- learn hub + category hubs ---------- */
body.ui5-learn .learn-editorial__kicker, body.ui5-learn .learn-market-banner__label, body.ui5-learn .learn-featured__featured-label { color: var(--pr-copper) !important; }
body.ui5-learn .learn-cat-btn, body.ui5-learn .learn-market-pill, body.ui5-learn .learn-load-more__btn, body.ui5-learn .learn-featured__cta { border-radius: 999px !important; }
body.ui5-learn .learn-featured__title, body.ui5-learn .learn-card__title, body.ui5-learn .learn-market-banner__title, body.ui5-learn .learn-editorial h2 { font-family: var(--font-editorial); font-weight: 600; }

/* ---------- location pages ---------- */
body.ui5-loc .loc-convert__eyebrow, body.ui5-loc .dh-eyebrow, body.ui5-loc .dh-hero__eyebrow, body.ui5-loc .mi-band__eyebrow, body.ui5-loc .dd__eyebrow, body.ui5-loc .dd-eyebrow { color: var(--pr-copper) !important; }
body.ui5-loc :is(.mi-band--dark, .mi-band--night, .dd--bleed-dark) :is(.mi-band__eyebrow, .dd__eyebrow, .dd-eyebrow, .dh-eyebrow, .dh-hero__eyebrow) { color: var(--pr-copper-l) !important; }
body.ui5-loc .stats-box-value { font-family: var(--font-editorial); font-weight: 600; color: var(--pr-burg); }
body.ui5-loc .dh-gold-rule { background: var(--pr-copper) !important; }

/* ---------- branch clearance ---------- */
/* Tall hero copy (a 3-line title, a long facts panel) starts exactly at the hero's top
   padding. partners.css sizes that padding on the LEFT branch only, so a tall panel could
   meet the lower-hanging right branch (plus its sway). Keep the content line under both. */
@media (min-width: 961px) {
  body.ui5 .pr-hero { padding-top: calc(var(--nav-h) - 60px + var(--pr-branch-w) * 0.78 + 36px); }
}
@media (min-width: 961px) and (min-height: 821px) {
  body.ui5 .pr-hero { padding-top: max(calc(var(--nav-h) - 60px + var(--pr-branch-w) * 0.78 + 36px), calc(var(--nav-h) + 1vw + clamp(220px, 22vw, 440px) * 0.75 + 30px)); }
}

/* ---------- long titles ---------- */
/* an h1 over ~38 characters (brokers, the compare hub) wraps to 4 display lines and pushes the
   lede + panel below the fold; one step smaller keeps the weight and the fold */
.pr-hero__title--long { font-size: clamp(2.3rem, 4.4vw, 4.3rem); max-width: 18ch; }
@media (max-width: 960px) { .pr-hero__title--long { font-size: clamp(2rem, 8vw, 2.7rem); max-width: none; } }

/* ---------- links inside the hero copy ---------- */
/* `.pr a` is burgundy for the light sections; on the dark scene a lede link (data hub,
   reports) was burgundy-on-shade, nearly invisible */
.pr-hero__lede a, .pr-hero__byline a, .pr-hero__crumb a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.45); text-underline-offset: 3px; }
.pr-hero__lede a:hover, .pr-hero__byline a:hover, .pr-hero__crumb a:hover { text-decoration-color: #fff; }
