/* Shared public shell: one frame and loading footprint across every consumer. */
:root {
  --dpc-shell-gutter: var(--dpc-content-gutter, clamp(var(--step-spacing-16), 2.25vw, var(--step-spacing-40)));
  --dpc-header-height: 75px;
}
html {scrollbar-gutter: stable;}
body:has(> .dpc-site-header), body:has(> [data-dpc-site-nav]) {margin: 0;}
[data-dpc-site-nav][data-shell-mode="canonical"] {display:block;min-height:var(--dpc-header-height);}
.dpc-site-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--step-color-surface-line);
  background: var(--step-color-surface-white);
  box-shadow: var(--step-elevation-1);
  backdrop-filter: blur(18px);
}

.dpc-site-header *,
.dpc-site-header *::before,
.dpc-site-header *::after {
  box-sizing: border-box;
}

.dpc-site-inner {
  display: flex;
  width: calc(100% - 2 * var(--dpc-shell-gutter));
  max-width: var(--dpc-content-canvas, 1648px);
  min-height: 74px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--step-spacing-24) + var(--step-spacing-4));
}

.dpc-site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.dpc-site-brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 190px;
  height: auto;
  aspect-ratio: 617.597 / 163.571;
}

.dpc-mobile-toggle {
  display: none;
}

.dpc-site-nav-wrap {
  display: flex;
  align-items: center;
  gap: calc(var(--step-spacing-40) + var(--step-spacing-2));
}

.dpc-site-nav {
  display: flex;
  align-items: center;
  gap: calc(var(--step-spacing-40) + var(--step-spacing-2));
  color: var(--step-color-ink-primary);
  font-family: var(--step-typography-family-sans);
  font-size: var(--step-typography-scale-12);
  font-weight: var(--step-typography-weight-medium);
  letter-spacing: .025em;
  line-height: 1;
  text-transform: uppercase;
}

.dpc-site-nav a,
.dpc-client-trigger {
  color: inherit;
  text-decoration: none;
}

.dpc-site-nav > a {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.dpc-site-nav a:hover,
.dpc-client-trigger:hover,
.dpc-client-menu.is-open .dpc-client-trigger {
  color: var(--step-color-brand-forest);
}

.dpc-client-menu {
  position: relative;
}

.dpc-client-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding: 0;
  text-transform: inherit;
  white-space: nowrap;
}

.dpc-client-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .16s ease;
}

.dpc-client-menu.is-open .dpc-client-trigger::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.dpc-client-dropdown {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  display: none;
  width: max-content;
  min-width: 290px;
  max-width: min(360px, calc(100vw - 40px));
  padding: var(--step-spacing-8);
  border: 1px solid var(--step-color-surface-line);
  border-radius: var(--step-radius-default);
  background: var(--step-color-surface-white);
  box-shadow: var(--step-elevation-2);
  letter-spacing: 0;
  transform: none;
  text-transform: none;
}

.dpc-client-menu.is-open .dpc-client-dropdown {
  display: block;
}

.dpc-client-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 28px;
  width: 12px;
  height: 12px;
  border-left: 1px solid var(--step-color-surface-line);
  border-top: 1px solid var(--step-color-surface-line);
  background: var(--step-color-surface-white);
  transform: rotate(45deg);
}

.dpc-client-dropdown a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--step-spacing-10);
  min-height: 38px;
  padding: 9px var(--step-spacing-10);
  border-radius: var(--step-radius-snug);
  color: var(--step-color-ink-primary);
  font-family: var(--step-typography-family-sans);
  font-size: var(--step-typography-scale-14);
  font-weight: var(--step-typography-weight-medium);
  line-height: 1.25;
  text-decoration: none;
}

.dpc-client-dropdown a:hover,
.dpc-client-dropdown a:focus-visible {
  background: var(--step-color-surface-forestSoft);
  color: var(--step-color-brand-forest);
}

.dpc-lock {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.dpc-site-header .dpc-site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 0 calc(var(--step-spacing-24) + var(--step-spacing-4));
  border: 1px solid var(--step-color-brand-forest);
  border-radius: var(--step-radius-control);
  background: var(--step-color-brand-controlActiveBg);
  box-shadow: var(--step-elevation-1);
  color: var(--step-color-ink-inverse);
  font-family: var(--step-typography-family-sans);
  font-size: var(--step-typography-scale-12);
  font-weight: var(--step-typography-weight-medium);
  letter-spacing: .025em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.dpc-site-header .dpc-site-cta:hover {
  background: var(--step-color-brand-forest);
  color: var(--step-color-ink-inverse);
}

.dpc-client-menu.is-open .dpc-site-cta {
  background: var(--step-color-brand-forest);
  color: var(--step-color-ink-inverse);
}

.dpc-site-nav a:focus-visible,
.dpc-site-cta:focus-visible,
.dpc-mobile-toggle:focus-visible,
.dpc-client-trigger:focus-visible,
.dpc-client-dropdown a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--step-color-brand-forest) 28%, transparent);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  :root {--dpc-header-height: calc(190px * 163.571 / 617.597 + 21px);}
  .dpc-site-inner {
    display: grid;
    width: calc(100% - 2 * var(--dpc-shell-gutter));
  max-width: var(--dpc-content-canvas, 1648px);
    min-height: 66px;
    padding: 10px 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--step-spacing-12) calc(var(--step-spacing-16) + var(--step-spacing-2));
  }

  .dpc-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--step-spacing-10);
    min-height: 44px;
    padding: 0 calc(var(--step-spacing-12) + var(--step-spacing-2));
    border: 1px solid var(--step-color-surface-line);
    border-radius: var(--step-radius-control);
    background: var(--step-color-surface-white);
    color: var(--step-color-ink-primary);
    cursor: pointer;
    font-family: var(--step-typography-family-sans);
    font-size: var(--step-typography-scale-12);
    font-weight: var(--step-typography-weight-medium);
    letter-spacing: .025em;
    line-height: 1;
    text-transform: uppercase;
  }

  .dpc-mobile-toggle:hover,
  .dpc-site-header.is-mobile-open .dpc-mobile-toggle {
    border-color: var(--step-color-brand-forest);
    color: var(--step-color-brand-forest);
  }

  .dpc-menu-icon {
    display: grid;
    width: 16px;
    gap: 4px;
  }

  .dpc-menu-icon span {
    display: block;
    height: 2px;
    border-radius: var(--step-radius-pill);
    background: currentColor;
    transition: transform .16s ease, opacity .16s ease;
  }

  .dpc-site-header.is-mobile-open .dpc-menu-icon span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .dpc-site-header.is-mobile-open .dpc-menu-icon span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .dpc-site-nav-wrap {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 10px 0 4px;
    border-top: 1px solid var(--step-color-surface-line);
  }

  .dpc-site-header.is-mobile-open .dpc-site-nav-wrap {
    display: flex;
  }

  .dpc-site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px;
    border: 1px solid var(--step-color-surface-line);
    border-radius: var(--step-radius-default);
    background: var(--step-color-surface-white);
    box-shadow: var(--step-elevation-2);
    font-size: var(--step-typography-scale-12);
  }

  .dpc-site-nav > a,
  .dpc-client-trigger {
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--step-radius-snug);
  }

  .dpc-site-nav > a {
    display: flex;
    align-items: center;
  }

  .dpc-site-nav > a:hover,
  .dpc-client-trigger:hover,
  .dpc-client-menu.is-open .dpc-client-trigger {
    background: var(--step-color-surface-forestSoft);
  }

  .dpc-client-menu.is-open .dpc-site-cta {
    background: var(--step-color-brand-forest);
    color: var(--step-color-ink-inverse);
  }

  .dpc-client-menu {
    width: 100%;
  }

  .dpc-client-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .dpc-client-dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0 0 6px;
    padding: 4px;
    border-color: var(--step-color-surface-line);
    background: var(--step-color-surface-panel);
    box-shadow: none;
  }

  .dpc-client-menu.is-open .dpc-client-dropdown {
    margin-top: 6px;
  }

  .dpc-client-dropdown::before {
    display: none;
  }

  .dpc-client-dropdown a {
    min-height: 44px;
    padding: 8px 10px;
  }

  .dpc-site-cta {
    width: 100%;
    min-height: 45px;
  }
}

@media (max-width: 620px) {
  :root {--dpc-header-height: 67px;}
  .dpc-site-inner {
    width: calc(100% - 2 * var(--dpc-shell-gutter));
  max-width: var(--dpc-content-canvas, 1648px);
  }

  .dpc-site-brand-logo {
    width: 154px;
  }

  .dpc-mobile-toggle {
    min-height: 44px;
    padding: 0 11px;
  }

  .dpc-site-nav {
    font-size: var(--step-typography-scale-12);
  }

  .dpc-site-cta {
    padding: 0 18px;
    white-space: normal;
  }
}

@media print {
  .dpc-site-header {
    display: none !important;
  }
}

/* Expanded navigation remains reachable in short landscape viewports. */
@media(max-width:1080px) {.dpc-site-header.is-mobile-open {max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}}
