/* One control palette, with native inline disclosures for informational sections. */
:root { --pv-control: #172d3b; --pv-control-hover: #244252; }
body button,
body a.primary-btn,
body a.secondary-btn,
body .pvj-explorer-action,
body .pvj-explorer-jumps a {
  background: var(--pv-control) !important;
  color: #fff !important;
  border: 1px solid var(--pv-control) !important;
  border-radius: 999px !important;
}
body button:hover,
body a.primary-btn:hover,
body a.secondary-btn:hover,
body .pvj-explorer-trigger:hover .pvj-explorer-action {
  background: var(--pv-control-hover) !important;
}
body button:disabled { opacity: .55; cursor: not-allowed; }
body button:focus-visible,
.pv-inline-panel > summary:focus-visible {
  outline: 3px solid #b8784d;
  outline-offset: 4px;
}
#homeView .flow-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
#homeView .feature-items { display: grid; gap: 12px; }
#homeView .pv-inline-panel {
  width: 100%; min-width: 0; overflow: hidden;
  background: var(--pv-control); color: #fff;
  border: 1px solid #405867; border-radius: 32px;
}
#homeView .pv-inline-panel > summary {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 16px 24px;
  list-style: none; cursor: pointer; border-radius: 999px;
  background: var(--pv-control); color: #fff;
}
#homeView .pv-inline-panel > summary::-webkit-details-marker { display: none; }
#homeView .pv-inline-panel > summary::marker { content: ''; }
#homeView .pv-inline-panel > summary:hover { background: var(--pv-control-hover); }
#homeView .pv-inline-panel strong { color: #fff; font-size: 16px; line-height: 1.5; }
#homeView .pv-panel-icon { flex: 0 0 24px; text-align: center; }
#homeView .pv-panel-toggle {
  margin-left: auto; flex: 0 0 24px; font-size: 24px;
  line-height: 1; text-align: center; transition: transform .2s ease;
}
#homeView .pv-inline-panel[open] .pv-panel-toggle { transform: rotate(45deg); }
#homeView .pv-panel-content {
  padding: 0 24px 20px 62px; border-top: 1px solid #405867;
}
#homeView .pv-panel-content p {
  margin: 16px 0 0; color: #e4ebef; font-size: 15px; line-height: 1.75;
}
@media (max-width: 600px) {
  #homeView .pv-inline-panel > summary { padding: 14px 18px; gap: 10px; }
  #homeView .pv-inline-panel strong { font-size: 14px; }
  #homeView .pv-panel-content { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #homeView .pv-panel-toggle { transition: none; }
}

/* Matched header pills: language, login and account creation. */
.site-nav .auth-actions { gap: 8px; margin-left: 0; }
.site-nav .auth-actions #loginBtn,
.site-nav .auth-actions #signupBtn,
.site-nav .pv-language-picker {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; min-height: 44px; padding: 0 18px;
  background: var(--pv-control) !important; color: #fff !important;
  border: 1px solid var(--pv-control) !important;
  border-radius: 999px !important;
  box-shadow: 0 3px 10px rgb(23 45 59 / 10%);
  font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.site-nav .pv-language-picker { position: relative; padding: 0; margin-left: 0; }
.site-nav .pv-language-picker .pv-language-label {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.site-nav .pv-language-picker select {
  appearance: none; width: 132px; min-width: 0; max-width: none;
  height: 100%; margin: 0; padding: 0 32px 0 16px;
  border: 0; border-radius: 999px; background: transparent; color: #fff;
  font: 700 13px "DM Sans", sans-serif; cursor: pointer;
}
.site-nav .pv-language-picker::after {
  content: ''; position: absolute; right: 16px; top: 17px;
  width: 6px; height: 6px; border-right: 2px solid #fff;
  border-bottom: 2px solid #fff; transform: rotate(45deg); pointer-events: none;
}
.site-nav .pv-language-picker option { color: #172d3b; background: #fff; }
.site-nav .pv-language-picker:hover,
.site-nav .auth-actions #loginBtn:hover,
.site-nav .auth-actions #signupBtn:hover {
  background: var(--pv-control-hover) !important;
  box-shadow: 0 5px 14px rgb(23 45 59 / 18%); transform: none;
}
.site-nav .pv-language-picker:focus-within { outline: 3px solid #b8784d; outline-offset: 3px; }
.site-nav .pv-language-picker select:focus-visible { outline: none; }
@media (max-width: 600px) {
  .site-nav {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    height: auto; min-height: 116px; padding: 10px 15px; gap: 10px 8px;
  }
  .site-nav > .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-nav > .pv-menu-toggle { grid-column: 2; grid-row: 1; justify-self: end; }
  .site-nav .pv-language-picker { grid-column: 1; grid-row: 2; justify-self: start; }
  .site-nav .auth-actions { grid-column: 2; grid-row: 2; margin: 0; gap: 6px; }
  .site-nav .auth-actions #loginBtn,
  .site-nav .auth-actions #signupBtn { height: 40px; min-height: 40px; padding: 0 13px; font-size: 12px; }
  .site-nav .pv-language-picker { height: 40px; min-height: 40px; }
  .site-nav .pv-language-picker select { width: 114px; font-size: 12px; padding-left: 12px; }
  .site-nav .pv-language-picker::after { top: 15px; right: 13px; }
  .site-nav .desktop-nav.pv-mobile-open { top: 100%; }
  html { scroll-padding-top: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav .pv-language-picker,
  .site-nav .auth-actions #loginBtn,
  .site-nav .auth-actions #signupBtn { transition: none; }
}
