:root {
  --pb-page-max: 1240px;
  --pb-gold-soft: rgba(201,169,106,.14);
  --pb-teal-soft: rgba(15,77,78,.24);
  --pb-shadow: 0 24px 72px rgba(0,0,0,.24);
}

html { scroll-padding-top: 88px; scroll-behavior: smooth; }
body { min-width: 320px; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; z-index: 200; inset: 8px auto auto 8px; transform: translateY(-160%); padding: 10px 14px; background: var(--pb-papua-gold); color: #0B1220; border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: none; }
.pb-container { width: min(calc(100% - 40px), var(--pb-page-max)); }
.pb-header { transition: background .2s ease, box-shadow .2s ease; }
.pb-header[data-scrolled="true"] { background: rgba(11,18,32,.98); box-shadow: 0 8px 32px rgba(0,0,0,.18); }
.pb-header__brand img { width: 144px; height: auto; }
.pb-section-title { margin: 0; font-family: var(--pb-font-display); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.032em; }
.pb-section-copy { max-width: 760px; margin: 14px 0 0; color: var(--pb-muted); font-size: 16px; }
.pb-section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.pb-section-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.pb-link-button, .pb-text-button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--pb-accent); cursor: pointer; font: inherit; font-weight: 650; }
.pb-link-button:hover, .pb-link-button:focus-visible, .pb-text-button:hover, .pb-text-button:focus-visible, .pb-text-link:hover, .pb-text-link:focus-visible { color: #e2c88f; outline: none; text-decoration: underline; text-underline-offset: 4px; }
.pb-text-link { color: var(--pb-accent); font-weight: 650; }
.pb-loading { color: var(--pb-muted); padding: 28px 0; }

/* Hero */
.pb-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--pb-border-subtle); }
.pb-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 75% 12%, rgba(15,77,78,.28), transparent 38%), linear-gradient(180deg, rgba(11,18,32,.18), rgba(11,18,32,.62)); }
.pb-hero__grid { position: relative; min-height: 680px; display: grid; grid-template-columns: minmax(0,7fr) minmax(360px,5fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: 78px; }
.pb-hero__copy { position: relative; z-index: 2; }
.pb-hero__title { max-width: 760px; font-size: clamp(48px, 7vw, 84px); }
.pb-hero__title span { color: var(--pb-accent); }
.pb-hero__lead { max-width: 670px; font-size: clamp(17px, 1.8vw, 21px); }
.pb-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.pb-hero__note { margin: 34px 0 0; color: var(--pb-muted); font-size: 13px; letter-spacing: .02em; }
.pb-venture-line { max-width: 700px; margin: 12px 0 0; color: rgba(237,230,218,.88); font-size: 13px; line-height: 1.6; }
.pb-venture-line strong { color: var(--pb-accent); }
.pb-hero__media { position: relative; margin: 0; align-self: stretch; min-height: 440px; border-radius: var(--pb-radius-xl); overflow: hidden; border: 1px solid rgba(201,169,106,.22); box-shadow: var(--pb-shadow); background: var(--pb-surface); }
.pb-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,32,.62), transparent 36%), linear-gradient(0deg, rgba(11,18,32,.66), transparent 44%); pointer-events: none; }
.pb-hero__media img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: 55% center; }
.pb-hero__media figcaption { position: absolute; z-index: 2; inset: auto 20px 18px; color: rgba(237,230,218,.88); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Search */
.pb-search-section { background: linear-gradient(180deg, rgba(15,77,78,.08), transparent 56%); }
.pb-search { max-width: none; }
.pb-search__shell { max-width: 980px; }
.pb-search-state { min-height: 24px; margin: 18px 0 0; color: var(--pb-muted); font-size: 13px; }
.pb-search-results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.pb-result-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--pb-border); border-radius: var(--pb-radius-lg); background: rgba(17,26,39,.8); }
.pb-result-card h3,
.pb-result-card__title { margin: 13px 0 8px; font-family: var(--pb-font-display); font-size: 18px; color: inherit; text-decoration: none; font-weight: 650; }
.pb-result-card__title:hover,
.pb-result-card__title:focus-visible { color: var(--pb-accent); outline: none; text-decoration: underline; text-underline-offset: 4px; }
.pb-result-card p { margin: 0; color: var(--pb-muted); font-size: 13px; }
.pb-result-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.pb-result-card__category { color: var(--pb-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.pb-empty { grid-column: 1 / -1; }

/* Priority */
.pb-priority-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
.pb-offer-card { grid-column: span 2; display: flex; flex-direction: column; min-height: 250px; padding: 20px; border: 1px solid var(--pb-border); border-radius: var(--pb-radius-lg); background: linear-gradient(145deg, rgba(22,34,49,.92), rgba(17,26,39,.7)); }
.pb-offer-card--featured { grid-column: span 3; min-height: 290px; border-color: rgba(201,169,106,.34); background: linear-gradient(145deg, rgba(201,169,106,.08), rgba(17,26,39,.88) 60%); }
.pb-offer-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pb-offer-card__index { color: var(--pb-accent); font: 700 12px var(--pb-font-display); letter-spacing: .12em; }
.pb-offer-card h3 { margin: 22px 0 0; font-family: var(--pb-font-display); font-size: 21px; letter-spacing: -.02em; }
.pb-offer-card--featured h3 { font-size: clamp(24px,3vw,31px); }
.pb-offer-card p { margin: 12px 0 0; color: var(--pb-muted); font-size: 14px; }
.pb-offer-card__footer { margin-top: auto; padding-top: 24px; }
.pb-offer-card__footer .pb-button { width: fit-content; }

/* Systems */
.pb-systems-section { background: rgba(15,77,78,.055); }
.pb-system-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.pb-system-card { min-height: 176px; padding: 20px; border: 1px solid var(--pb-border); border-radius: var(--pb-radius-lg); background: rgba(17,26,39,.64); }
.pb-system-card__icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(201,169,106,.35); border-radius: 10px; color: var(--pb-accent); font-weight: 700; }
.pb-system-card h3 { margin: 18px 0 7px; font-family: var(--pb-font-display); font-size: 18px; }
.pb-system-card p { margin: 0; color: var(--pb-muted); font-size: 13px; }
.pb-system-card .pb-status { margin-top: 14px; }

/* Ecosystem */
.pb-startup-product { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); gap: 28px; margin-top: 30px; padding: clamp(24px,4vw,38px); border: 1px solid rgba(201,169,106,.32); border-radius: var(--pb-radius-xl); background: linear-gradient(135deg, rgba(15,77,78,.22), rgba(17,26,39,.78)); box-shadow: var(--pb-shadow); }
.pb-startup-product__copy h3 { max-width: 760px; margin: 14px 0 12px; font-family: var(--pb-font-display); font-size: clamp(26px,3vw,38px); line-height: 1.12; }
.pb-startup-product__copy p { max-width: 780px; margin: 0; color: var(--pb-muted); line-height: 1.7; }
.pb-startup-flow { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pb-startup-flow li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--pb-border); border-radius: var(--pb-radius-md); background: rgba(11,18,32,.52); }
.pb-startup-flow strong { color: var(--pb-accent); font-size: 12px; letter-spacing: .08em; }
.pb-startup-flow span { color: var(--pb-sand-light); font-size: 13px; line-height: 1.5; }
.pb-ecosystem-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 30px; }
.pb-ecosystem-card { position: relative; min-height: 160px; padding: 20px; border: 1px solid var(--pb-border); border-radius: var(--pb-radius-lg); background: rgba(17,26,39,.56); cursor: pointer; }
.pb-ecosystem-card::before { content: attr(data-index); display: block; color: var(--pb-accent); font-size: 11px; letter-spacing: .12em; margin-bottom: 28px; }
.pb-ecosystem-card h3 { margin: 0; font-family: var(--pb-font-display); font-size: 18px; }
.pb-ecosystem-card p { margin: 8px 0 0; color: var(--pb-muted); font-size: 13px; }
.pb-ecosystem-card span { display: inline-block; margin-top: 14px; color: var(--pb-accent); opacity: 0; transform: translateY(4px); transition: .16s ease; }
.pb-ecosystem-card:hover span, .pb-ecosystem-card:focus-visible span { opacity: 1; transform: none; }
.pb-ecosystem-card:focus-visible { outline: none; box-shadow: var(--pb-focus); }

/* Proof */
.pb-proof-section { background: linear-gradient(180deg, transparent, rgba(15,77,78,.07)); }
.pb-proof-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.pb-proof-card { overflow: hidden; border: 1px solid var(--pb-border); border-radius: var(--pb-radius-lg); background: rgba(17,26,39,.75); }
.pb-proof-card--featured { grid-column: span 2; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); }
.pb-proof-card img:not(.pb-proof-ui img) { width: 100%; height: 250px; object-fit: cover; }
.pb-proof-card--featured > img { height: 100%; min-height: 330px; }
.pb-proof-card--field-collage { grid-column: span 2; }
.pb-proof-collage { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,.85fr); gap: 8px; height: 330px; padding: 8px; }
.pb-proof-collage img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: calc(var(--pb-radius-lg) - 4px); }
.pb-proof-collage__primary { object-position: center 56%; }
.pb-proof-collage__stack { display: grid; grid-template-rows: minmax(0,1fr) minmax(0,1fr); gap: 8px; min-height: 0; }
.pb-proof-collage__stack img:last-child { object-position: center 55%; }
.pb-proof-card__body { padding: 20px; }
.pb-proof-card__body h3 { margin: 14px 0 8px; font-family: var(--pb-font-display); font-size: 21px; }
.pb-proof-card__body p { margin: 0; color: var(--pb-muted); font-size: 13px; }
.pb-proof-card__body .pb-text-link { display: inline-block; margin-top: 18px; font-size: 13px; }
.pb-proof-type { color: var(--pb-accent); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.pb-proof-ui { min-height: 180px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 28px; background: linear-gradient(135deg, rgba(15,77,78,.33), rgba(11,18,32,.8)); color: var(--pb-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pb-proof-ui--payment { background: linear-gradient(135deg, rgba(201,169,106,.11), rgba(11,18,32,.86)); }
.pb-proof-ui img { width: 56px; height: 56px; }
.pb-demo-preview { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 22px; align-items: center; margin-top: 18px; padding: 22px; border: 1px solid rgba(201,169,106,.28); border-radius: var(--pb-radius-lg); background: linear-gradient(135deg, rgba(15,77,78,.24), rgba(17,26,39,.72)); }
.pb-demo-preview__copy { padding: 8px; }
.pb-demo-preview__copy h3 { margin: 14px 0 8px; font-family: var(--pb-font-display); font-size: clamp(22px,3vw,30px); }
.pb-demo-preview__copy p { margin: 0; color: var(--pb-muted); font-size: 14px; line-height: 1.6; }
.pb-demo-preview__copy .pb-text-link { display: inline-block; margin-top: 18px; }
.pb-demo-preview__media { margin: 0; }
.pb-demo-preview__media img { display: block; width: 100%; height: auto; border: 1px solid var(--pb-border); border-radius: 14px; }
.pb-demo-preview__media figcaption { margin-top: 8px; color: var(--pb-muted); font-size: 11px; }
.pb-surface-links { margin-top: 18px; padding: 22px; border: 1px solid var(--pb-border); border-radius: var(--pb-radius-lg); background: rgba(17,26,39,.52); }
.pb-surface-links__intro h3 { margin: 12px 0 7px; font-family: var(--pb-font-display); font-size: clamp(21px,3vw,28px); }
.pb-surface-links__intro p { margin: 0; color: var(--pb-muted); font-size: 14px; }
.pb-surface-links__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.pb-surface-link { display: grid; gap: 9px; min-height: 156px; padding: 18px; border: 1px solid var(--pb-border); border-radius: 14px; background: rgba(11,18,32,.48); transition: border-color .15s ease, transform .15s ease; }
.pb-surface-link:hover, .pb-surface-link:focus-visible { border-color: rgba(201,169,106,.65); transform: translateY(-2px); }
.pb-surface-link:focus-visible { outline: none; box-shadow: var(--pb-focus); }
.pb-surface-link strong { font-family: var(--pb-font-display); font-size: 17px; color: var(--pb-text); }
.pb-surface-link span { color: var(--pb-muted); font-size: 13px; line-height: 1.5; }
.pb-surface-link b { align-self: end; color: var(--pb-accent); font-size: 13px; }

/* CTA */
.pb-final-cta { position: relative; overflow: hidden; padding-block: 72px; border-top: 1px solid rgba(201,169,106,.18); background: linear-gradient(120deg, rgba(15,77,78,.18), transparent 42%), #0B1220; }
.pb-final-cta::after { content: ""; position: absolute; width: 520px; height: 520px; inset: -210px -170px auto auto; border: 1px solid rgba(201,169,106,.13); border-radius: 50%; box-shadow: 0 0 0 70px rgba(201,169,106,.025), 0 0 0 140px rgba(15,77,78,.04); }
.pb-final-cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; }
.pb-final-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* Footer */
.pb-footer { padding: 46px 0 26px; border-top: 1px solid var(--pb-border); background: #09101b; }
.pb-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.pb-footer__brand img { width: 144px; }
.pb-footer__brand p { max-width: 360px; margin: 16px 0 0; color: var(--pb-muted); font-size: 13px; }
.pb-footer__links, .pb-footer__meta { display: grid; gap: 10px; align-content: start; }
.pb-footer__links a, .pb-footer__meta a, .pb-footer__meta button { color: var(--pb-muted); font-size: 13px; text-align: left; }
.pb-footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--pb-border); color: #7f8a9a; font-size: 11px; }
.pb-mobile-nav { display: grid; gap: 4px; padding-top: 18px; }
.pb-mobile-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--pb-border); color: var(--pb-muted); }
.pb-mobile-nav .pb-button { margin-top: 18px; }
.pb-noscript { padding: 14px 20px; background: #241e14; color: var(--pb-sand-light); text-align: center; }

@media (max-width: 980px) {
  .pb-hero__grid { grid-template-columns: 1fr 1fr; gap: 30px; min-height: 610px; }
  .pb-hero__title { font-size: clamp(44px,7vw,66px); }
  .pb-priority-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pb-offer-card, .pb-offer-card--featured { grid-column: span 1; }
  .pb-system-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pb-startup-product { grid-template-columns: 1fr; }
  .pb-ecosystem-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pb-search-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .pb-container { width: min(calc(100% - 24px), var(--pb-page-max)); }
  .pb-header__brand img { width: 122px; }
  .pb-hero__grid { min-height: auto; grid-template-columns: 1fr; padding-block: 52px 42px; }
  .pb-hero__title { font-size: clamp(42px,13vw,60px); }
  .pb-hero__lead { font-size: 17px; }
  .pb-hero__actions { display: grid; }
  .pb-hero__actions .pb-button { width: 100%; }
  .pb-hero__media { min-height: 0; aspect-ratio: 4/3; order: 2; }
  .pb-hero__media img { min-height: 0; height: 100%; }
  .pb-search__shell { display: grid; grid-template-columns: 1fr; }
  .pb-search__shell .pb-button { width: 100%; }
  .pb-search-results, .pb-priority-grid, .pb-system-grid, .pb-proof-grid { grid-template-columns: 1fr; }
  .pb-proof-card--featured { grid-column: auto; display: block; }
  .pb-proof-card--featured > img { min-height: 0; height: 240px; }
  .pb-proof-card--field-collage { grid-column: auto; }
  .pb-proof-collage { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); height: 230px; gap: 5px; padding: 5px; }
  .pb-proof-collage__stack { gap: 5px; }
  .pb-demo-preview { grid-template-columns: 1fr; padding: 16px; }
  .pb-demo-preview__copy { padding: 4px; }
  .pb-surface-links { padding: 16px; }
  .pb-surface-links__grid { grid-template-columns: 1fr; }
  .pb-section-head { display: block; }
  .pb-section-head .pb-link-button { margin-top: 18px; }
  .pb-final-cta__inner { grid-template-columns: 1fr; }
  .pb-final-cta__actions { display: grid; justify-content: stretch; }
  .pb-final-cta__actions .pb-button { width: 100%; }
  .pb-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .pb-footer__bottom { display: grid; }
  .pb-modal-wrap { align-items: end; padding: 0; }
  .pb-modal { width: 100%; max-height: 82vh; border-radius: 18px 18px 0 0; }
}

@media (max-width: 420px) {
  .pb-ecosystem-grid { grid-template-columns: 1fr; }
  .pb-hero__note { display: none; }
  .pb-venture-line { margin-top: 20px; }
  .pb-proof-card img:not(.pb-proof-ui img), .pb-proof-card--featured > img { height: 210px; }
  .pb-proof-collage { height: 190px; }
  .pb-proof-card--field-collage .pb-proof-collage img { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

.pb-search-results__more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* Commercial refinement: preserve the approved hierarchy and brand tokens. */
.pb-section { padding-block: clamp(56px, 6vw, 88px); }
.pb-section-title, .pb-hero__title { text-wrap: balance; }
.pb-section-copy { line-height: 1.75; max-width: 680px; }
.pb-section-head { gap: 24px; margin-bottom: 36px; }
.pb-section-head > div { min-width: 0; }
.pb-section-head .pb-link-button { flex-shrink: 0; }
.pb-header__inner { justify-content: space-between; gap: 20px; }
.pb-header__nav { gap: clamp(12px, 1.5vw, 24px); }
.pb-header__nav a[aria-current="page"] { color: var(--pb-accent); }
.pb-hero::before { background: linear-gradient(110deg, transparent 52%, rgba(15,77,78,.13)); }
.pb-hero__grid { padding-block: 64px; min-height: 660px; }
.pb-hero__title { font-size: clamp(48px, 5.6vw, 76px); line-height: 1.08; letter-spacing: -.045em; }
.pb-hero__title span { display: block; }
.pb-hero__lead { line-height: 1.7; max-width: 590px; }
.pb-hero__media { border-radius: 12px; box-shadow: none; }
.pb-hero__media img { object-position: 60% center; }
.pb-hero__actions .pb-button--primary { min-height: 50px; }
.pb-search-section { background: rgba(15,77,78,.10); }
.pb-search__shell { max-width: none; padding: 12px; background: var(--pb-surface-1); }
.pb-search__input { min-height: 56px; }
.pb-search__meta { gap: 10px; margin-top: 18px; }
.pb-search-state:empty { min-height: 0; margin-top: 0; }
.pb-search-results:empty { margin-top: 0; }
.pb-result-card { padding: 24px; background: var(--pb-surface-1); }
.pb-result-card p { line-height: 1.7; }
.pb-result-card__meta { flex-wrap: wrap; }
.pb-result-card__category { overflow-wrap: anywhere; }
.pb-offer-card { padding: 26px; background: var(--pb-surface-1); transition: border-color .18s ease, background .18s ease; }
.pb-offer-card--featured { padding: 30px; background: var(--pb-surface-2); }
.pb-offer-card:hover, .pb-offer-card:focus-within { border-color: rgba(201,169,106,.58); }
.pb-offer-card p { line-height: 1.75; max-width: 48ch; }
.pb-offer-card__footer .pb-button { min-height: 48px; max-width: 100%; text-align: left; }
.pb-system-card { position: relative; padding: 26px; border-radius: 12px; background: transparent; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.pb-system-card:hover, .pb-system-card:focus-visible { background: var(--pb-surface-1); border-color: var(--pb-accent); }
.pb-system-card:focus-visible { outline: 2px solid var(--pb-accent); outline-offset: 3px; }
.pb-system-card p { line-height: 1.7; }
.pb-ecosystem-grid { gap: 0; border-top: 1px solid var(--pb-border); }
.pb-ecosystem-card { border: 0; border-bottom: 1px solid var(--pb-border); border-radius: 0; background: transparent; padding: 26px 20px; }
.pb-ecosystem-card::before { margin-bottom: 18px; }
.pb-ecosystem-card span { opacity: 1; transform: none; font-size: 13px; }
.pb-ecosystem-card:hover { background: rgba(15,77,78,.10); }
.pb-startup-product { box-shadow: none; background: var(--pb-surface-1); }
.pb-startup-flow li { border: 0; border-bottom: 1px solid var(--pb-border); border-radius: 0; background: transparent; padding: 16px 0; }
.pb-proof-card__body { padding: 26px; }
.pb-proof-card__body p { line-height: 1.75; }
.pb-demo-preview, .pb-surface-links { padding: 30px; background: var(--pb-surface-1); }
.pb-proof-card__body .pb-text-link, .pb-demo-preview__copy .pb-text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.pb-footer__links a, .pb-footer__meta a { min-height: 44px; display: flex; align-items: center; }
.pb-footer__links, .pb-footer__meta { gap: 0; }
.pb-footer__bottom { color: var(--pb-muted); }
.pb-link-button:focus-visible, .pb-text-button:focus-visible, .pb-text-link:focus-visible, .pb-result-card__title:focus-visible { outline: 2px solid var(--pb-accent); outline-offset: 4px; }
.pb-modal { max-height: calc(100dvh - 40px); }

@media (max-width: 1100px) and (min-width: 981px) {
  .pb-header__inner { gap: 12px; }
  .pb-header__nav { gap: 12px; }
  .pb-header__nav a { font-size: 13px; }
  .pb-header__actions .pb-button { padding-inline: 12px; }
}
@media (max-width: 980px) {
  .pb-header__actions { margin-left: auto; }
  .pb-hero__grid { gap: 28px; min-height: 610px; }
  .pb-hero__title { font-size: clamp(42px, 5.8vw, 58px); }
  .pb-offer-card--featured { padding: 26px; }
}
@media (max-width: 720px) {
  .pb-container { width: min(calc(100% - 48px), var(--pb-page-max)); }
  .pb-header__actions > .js-open-consult { display: none; }
  .pb-section { padding-block: 52px; }
  .pb-hero__grid { min-height: auto; padding-block: 44px 36px; gap: 30px; }
  .pb-hero__title { font-size: clamp(38px, 9.5vw, 58px); }
  .pb-hero__lead { font-size: 16px; }
  .pb-hero__actions { margin-top: 24px; gap: 10px; }
  .pb-hero__note { margin-top: 24px; }
  .pb-hero__media figcaption { font-size: 10px; inset-inline: 16px; }
  .pb-section-title { font-size: clamp(28px, 7.5vw, 38px); line-height: 1.18; }
  .pb-section-copy { font-size: 15px; }
  .pb-search__input { padding-inline: 4px; }
  .pb-search__meta { gap: 8px; }
  .pb-chip { padding-inline: 12px; }
  .pb-result-card, .pb-offer-card, .pb-offer-card--featured, .pb-system-card { padding: 22px; }
  .pb-offer-card, .pb-offer-card--featured { min-height: 0; }
  .pb-offer-card h3 { margin-top: 18px; }
  .pb-offer-card__footer .pb-button { width: 100%; justify-content: space-between; }
  .pb-demo-preview, .pb-surface-links { padding: 20px; }
  .pb-proof-card__body { padding: 22px; }
  .pb-final-cta { padding-block: 56px; }
  .pb-modal { max-height: 88dvh; padding-bottom: env(safe-area-inset-bottom); }
  .pb-drawer { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
}
@media (hover: none) {
  .pb-ecosystem-card span { opacity: 1; transform: none; }
}

/* Owner-requested homepage ticker and restrained proof-card motion. */
.pb-marquee {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 8px clamp(16px, 3vw, 42px);
  border-block: 1px solid var(--pb-border-subtle);
  background: rgba(15, 77, 78, .12);
}
.pb-marquee__viewport { min-width: 0; overflow: hidden; }
.pb-marquee__track {
  display: flex;
  width: max-content;
  animation: pb-homepage-marquee 34s linear infinite;
}
.pb-marquee__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  padding: 10px 18px;
  white-space: nowrap;
}
.pb-marquee__group span {
  color: var(--pb-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pb-marquee__group .pb-marquee__separator { color: var(--pb-accent); }
.pb-marquee__toggle {
  min-height: 44px;
  padding-inline: 12px;
  white-space: nowrap;
  font-size: 12px;
}
.pb-marquee.is-paused .pb-marquee__track { animation-play-state: paused; }
@keyframes pb-homepage-marquee {
  to { transform: translateX(-50%); }
}
@keyframes pb-proof-card-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.pb-proof-card.is-visible {
  animation: pb-proof-card-enter 460ms cubic-bezier(.2, .7, .2, 1) both;
}
.pb-proof-grid > .pb-proof-card:nth-child(2).is-visible { animation-delay: 60ms; }
.pb-proof-grid > .pb-proof-card:nth-child(3).is-visible { animation-delay: 120ms; }
.pb-proof-grid > .pb-proof-card:nth-child(4).is-visible { animation-delay: 180ms; }
.pb-proof-grid > .pb-proof-card:nth-child(5).is-visible { animation-delay: 240ms; }
.pb-proof-grid > .pb-proof-card:nth-child(6).is-visible { animation-delay: 300ms; }

@media (max-width: 720px) {
  .pb-marquee { padding-inline: 12px; gap: 8px; }
  .pb-marquee__group { gap: 14px; padding-inline: 14px; }
  .pb-marquee__group span { font-size: 10px; }
  .pb-marquee__toggle { padding-inline: 9px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-marquee { grid-template-columns: 1fr; }
  .pb-marquee__track { display: block; width: 100%; animation: none; }
  .pb-marquee__group { width: 100%; flex-wrap: wrap; white-space: normal; justify-content: center; }
  .pb-marquee__group + .pb-marquee__group { display: none; }
  .pb-marquee__toggle { display: none; }
  .pb-proof-card.is-visible { animation: none; }
}

/* Keep the field-documentation collage images inside their own responsive grid. */
.pb-proof-card--field-collage .pb-proof-collage {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr);
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  height: 330px;
}
.pb-proof-card--field-collage .pb-proof-collage img:not(.pb-proof-ui img) {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
}
.pb-proof-card--field-collage .pb-proof-collage__stack {
  display: grid;
  height: 100%;
  min-width: 0;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 720px) {
  .pb-proof-card--field-collage .pb-proof-collage {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    height: 230px;
  }
}
@media (max-width: 420px) {
  .pb-proof-card--field-collage .pb-proof-collage {
    height: 190px;
  }
}
