/* Reference parity layer: mirrors the current pc.iapozx.cc build.
   Loaded after frontend-compat.css so the reference geometry wins. */

/* ---- topbar ---- */
.pc-shell-topbar-row { height: 40px; min-height: 40px; }
.pc-shell-topbar-row[data-has-nav="true"] { grid-template-columns: auto minmax(0, 1fr) auto; }
.pc-shell-nav-items { min-width: 0; }
.pc-shell-brand-logo { border-radius: 11px; }
.pc-shell-topbar .pc-shell-nav-item { margin-inline: 0 !important; }
.pc-shell-topbar .pc-shell-nav-link { font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; font-size: 13px !important; font-weight: 400 !important; line-height: 19.5px !important; letter-spacing: 0 !important; padding-inline: 10px !important; color: rgb(244 244 244) !important; }
.pc-shell-topbar .pc-shell-nav-link span { font: inherit !important; }
html.light .pc-shell-topbar .pc-shell-nav-link { color: var(--pc-text) !important; }

/* the reference keeps customer support in the floating widget only */
.pc-shell-tools .aozx-pc-nav-support,
.pc-shell-tools .aozx-invite-link { display: none !important; }


/* ---- homepage hero ---- */
@media (min-width: 1024px) {
  .pc-xt-hero-section {
    grid-template-columns: minmax(0, 1fr) 600px !important;
    align-items: center !important;
    gap: 56px !important;
    padding: 64px 0 48px !important;
    min-height: 620px !important;
  }
  .pc-xt-hero-copy { max-width: 600px; justify-self: start; gap: 18px; }
  .pc-xt-hero-copy h1 {
    font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(48px, 4.6vw, 76px) !important;
    font-weight: 850 !important;
    line-height: 1.04 !important;
    letter-spacing: -.07em !important;
    max-width: 590px;
    color: #fff !important;
  }
  .pc-xt-hero-copy h1 + p {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.72 !important;
    color: #8f8f8f !important;
    max-width: 560px;
  }
  .pc-xt-hero-register {
    max-width: 520px;
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 22px !important;
    grid-template-columns: minmax(0, 1fr) 104px !important;
    gap: 10px !important;
    padding: 8px !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .03);
  }
  .pc-xt-hero-register input { height: 54px; min-height: 54px; font-size: 15px !important; color: #f5f5f5 !important; }
  .pc-xt-hero-register button {
    height: 54px; min-height: 54px; padding: 0; border-radius: 16px !important;
    font-size: 16px !important; font-weight: 700 !important; color: #fff !important;
    background: linear-gradient(135deg, #6d28d9, #c084fc) !important;
  }
  html.light .pc-xt-hero-copy h1 { color: #0f172a !important; }
  html.light .pc-xt-hero-copy h1 + p { color: #475467 !important; }
  html.light .pc-xt-hero-register { background: rgba(255, 255, 255, .96) !important; border-color: rgba(15, 23, 42, .12) !important; }
}

/* reference hero art is visible */
.pc-xt-home-page .pc-xt-hero-section > .pc-xt-hero-art { display: block; }

/* nav grouping parity */
.pc-shell-topbar .pc-shell-nav-items > .pc-shell-nav-item.aozx-help-item { display: none !important; }
.pc-xt-hero-copy p { max-width: 36ch; }

/* public document pages use the reference's no-navigation topbar */
body:has(.pc-help-center-page) .pc-shell-nav,
body:has(.pc-help-center-page) .pc-shell-funding-actions { display: none !important; }
body:has(.pc-help-center-page) .pc-shell-topbar-row { display: flex !important; justify-content: space-between !important; }
body:has(.pc-help-center-page) .pc-shell-topbar { padding: 10px 14px !important; }
