.psy-header {
  position: relative;
  z-index: 20;
  background: #f8f7f2;
  border-bottom: 1px solid #d5dcd9;
  color: #173c50;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
.psy-header *, .psy-header *::before, .psy-header *::after { box-sizing: border-box; }
.psy-header-inner {
  width: min(1280px, calc(100% - 112px));
  min-height: 100px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.psy-brand { flex: 0 0 240px; display: block; }
.psy-brand img { display: block; width: 100%; height: auto; }
.psy-navigation, .psy-nav, .psy-header-actions { display: flex; align-items: center; }
.psy-navigation { flex: 1; justify-content: flex-end; gap: 32px; }
.psy-nav { gap: 24px; }
.psy-header-actions { gap: 24px; }
.psy-header a { color: inherit; text-decoration: none; }
.psy-nav > a, .psy-exams > summary, .psy-login { padding-block: 14px; white-space: nowrap; }
.psy-header a:focus-visible, .psy-header summary:focus-visible, .psy-menu-toggle:focus-visible { outline: 2px solid #173c50; outline-offset: 5px; }
.psy-nav > a:hover, .psy-login:hover { text-decoration: underline; text-underline-offset: 5px; }
.psy-trial { display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 13px 18px; border: 1px solid #d8f36a; border-radius: 5px; background: #d8f36a; white-space: nowrap; }
.psy-trial:hover { background: #cde65f; border-color: #cde65f; }
.psy-exams { position: relative; border: 0; padding: 0; margin: 0; }
.psy-exams > summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font: inherit; color: inherit; }
.psy-exams > summary::-webkit-details-marker { display: none; }
.psy-exams[open] > summary svg { transform: rotate(180deg); }
.psy-exams[open] > summary { text-decoration: underline; text-underline-offset: 5px; }
.psy-exam-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -24px;
  width: 368px;
  padding: 18px 12px 12px;
  border: 1px solid #d5dcd9;
  border-radius: 8px;
  background: #fffefa;
  box-shadow: 0 14px 40px #173c5014;
}
.psy-exam-menu > p { margin: 0 12px 10px; color: #526b78; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.psy-exam-menu > a { display: block; padding: 12px; border-radius: 4px; }
.psy-exam-menu > a:hover, .psy-exam-menu > a[aria-current="page"] { background: #e8eff5; }
.psy-exam-menu > a > span { display: block; font-size: 15px; }
.psy-exam-menu small { display: block; margin-top: 5px; color: #526b78; font-size: 12px; line-height: 1.45; }
.psy-menu-toggle { display: none; }
.psy-skip { position: absolute; top: -100px; left: 20px; z-index: 100; background: #173c50; color: #fffefa; padding: 12px 18px; }
.psy-skip:focus { top: 12px; }
@media (max-width: 1250px) and (min-width: 1101px) {
  .psy-header-inner { width: calc(100% - 64px); gap: 24px; }
  .psy-brand { flex-basis: 210px; }
  .psy-navigation { gap: 24px; }
  .psy-nav { gap: 18px; }
  .psy-header-actions { gap: 18px; }
}
@media (max-width: 1100px) {
  .psy-header-inner { width: calc(100% - 64px); min-height: 86px; flex-wrap: wrap; gap: 0; }
  .psy-brand { flex-basis: 220px; margin-block: 18px; }
  .psy-header.is-enhanced .psy-menu-toggle { display: flex; }
  .psy-menu-toggle { flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; background: transparent; border: 1px solid #c5d0d3; border-radius: 4px; cursor: pointer; }
  .psy-menu-toggle span { width: 19px; height: 1px; background: #173c50; }
  .psy-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .psy-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .psy-navigation { flex: 0 0 100%; display: block; padding: 10px 0 24px; border-top: 1px solid #d5dcd9; }
  .psy-header.is-enhanced .psy-navigation { display: none; }
  .psy-header.is-enhanced.is-open .psy-navigation { display: block; }
  .psy-nav { display: block; }
  .psy-nav > a, .psy-exams > summary { display: flex; min-height: 48px; justify-content: space-between; padding: 14px 0; }
  .psy-exam-menu { position: static; width: 100%; padding: 12px; box-shadow: none; margin: 2px 0 12px; }
  .psy-header-actions { justify-content: space-between; border-top: 1px solid #d5dcd9; margin-top: 10px; padding-top: 18px; }
}
@media (max-width: 740px) {
  .psy-header-inner { width: calc(100% - 40px); min-height: 78px; }
  .psy-brand { flex-basis: min(210px, calc(100% - 68px)); }
}
