/* Header dropdown (7 Nov 2026): a nav item with children, first used by Help. Loaded after nav.css; scoped to the header.
   The button behaves like the links (rolling letters, sliding line, entrance); the panel opens below the header line. */

.c3-root.hd3 .hd3-dd{position:relative;display:inline-flex}
.c3-root.hd3 .hd3-dd__btn{position:relative;display:inline-flex;align-items:center;gap:6px;margin:0;padding:0;border:0;background:none;color:inherit;
  font:inherit;line-height:inherit;letter-spacing:inherit;cursor:pointer;opacity:.86;transition:opacity .2s}
.c3-root.hd3 .hd3-dd__btn::before{content:"";position:absolute;inset:-12px -8px}
.c3-root.hd3 .hd3-dd__btn:hover,.c3-root.hd3 .hd3-dd__btn[aria-expanded="true"],.c3-root.hd3 .hd3-dd__btn[data-current]{opacity:1}
.c3-root.hd3 .hd3-dd__btn[data-current] .hd3-roll{box-shadow:0 1px 0 currentColor}
.c3-root.hd3 .hd3-dd__btn:focus-visible{opacity:1;outline:2px solid var(--c3-focus);outline-offset:6px;border-radius:2px}
.c3-root.hd3 .hd3-dd__chev{width:12px;height:12px;flex:none;transition:transform .3s var(--ease)}
.c3-root.hd3 .hd3-dd.is-open .hd3-dd__chev{transform:rotate(180deg)}

/* Panel: under the header line, centred on the button. The ::before bridge keeps a hover alive across the gap. */
.c3-root.hd3 .hd3-dd__panel{position:absolute;left:50%;top:calc(100% + 22px);z-index:3;min-width:232px;padding:8px;
  background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:var(--r-card);
  box-shadow:0 24px 48px -24px rgba(14,14,16,.32),0 2px 6px rgba(14,14,16,.04);
  opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,-6px);
  transition:opacity .16s var(--ease-out),transform .22s var(--ease-out),visibility 0s linear .22s}
.c3-root.hd3 .hd3-dd__panel::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:24px}
.c3-root.hd3 .hd3-dd.is-open .hd3-dd__panel,
html.no-js .c3-root.hd3 .hd3-dd:is(:hover,:focus-within) .hd3-dd__panel{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0);
  transition:opacity .18s var(--ease-out),transform .28s var(--ease),visibility 0s}
.c3-root.hd3 .hd3-dd__panel ul{margin:0;padding:0;list-style:none}
.c3-root.hd3 .hd3-dd__panel a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:0 14px;border-radius:10px;
  font-size:15px;font-weight:500;letter-spacing:-.005em;white-space:nowrap;opacity:1;transition:background-color .2s var(--ease-out)}
.c3-root.hd3 .hd3-dd__panel a::before{content:none}
.c3-root.hd3 .hd3-dd__panel a::after{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:0;transform:scale(.4);
  transition:opacity .2s var(--ease-out),transform .25s var(--ease)}
.c3-root.hd3 .hd3-dd__panel a:hover{background:var(--tile,#F2F2F2)}
.c3-root.hd3 .hd3-dd__panel a[aria-current]{box-shadow:none}
.c3-root.hd3 .hd3-dd__panel a[aria-current]::after{opacity:1;transform:none}
.c3-root.hd3 .hd3-dd__panel a:focus-visible{outline:2px solid var(--c3-focus);outline-offset:-2px;border-radius:10px}

/* Dark tone (homepage over the hero) */
.c3-root.hd3[data-hd3-tone="dark"] .hd3-dd__panel{background:#0B0B0D;color:#fff;border-color:var(--d-line);
  box-shadow:0 24px 48px -20px rgba(0,0,0,.7)}
.c3-root.hd3[data-hd3-tone="dark"] .hd3-dd__panel a:hover{background:rgba(255,255,255,.08)}

@media (prefers-reduced-motion:no-preference){
  .c3-root.hd3 .hd3-dd__btn:focus-visible .hd3-roll i{transform:translateY(-100%)}
  @media (hover:hover){
    .c3-root.hd3 .hd3-dd__btn:hover .hd3-roll i{transform:translateY(-100%)}
  }
  /* entrance: the button rises with the links; the links inside the panel do not */
  html.hd3-enter .c3-root.hd3 .hd3-nav .hd3-dd__btn{animation:hd3-rise .5s var(--ease-out) backwards;animation-delay:200ms}
  html.hd3-enter:is(.ld3-intro,.ld3-gate-on,.cl-gate-pending,.cl-locked) .c3-root.hd3 .hd3-nav .hd3-dd__btn{animation-play-state:paused}
  html.hd3-enter .c3-root.hd3 .hd3-dd__panel a{animation:none}
}
@media (prefers-reduced-motion:reduce){
  .c3-root.hd3 .hd3-dd__panel,.c3-root.hd3 .hd3-dd.is-open .hd3-dd__panel{transform:translate(-50%,0)}
  .c3-root.hd3 .hd3-dd__chev{transition:none}
}

/* Six items from 900 px: a little less space between them so the row never touches the logo or the button. */
@media (min-width:900px) and (max-width:1239px){
  .c3-root.hd3 .hd3-nav{gap:24px}
}
@media (min-width:900px) and (max-width:1023px){
  .c3-root.hd3 .hd3-nav{gap:14px;font-size:14px}
  .c3-root.hd3 .hd3-dd__btn{gap:4px}
}

/* Phone menu: the dropdown's links as a labelled group after Account. */
.c3-root.hd3 .hd3-menu__grp{margin-top:28px}
.c3-root.hd3 .hd3-menu__lbl{padding-bottom:12px;border-bottom:1px solid var(--line-2);font-size:var(--t-label);font-weight:500;letter-spacing:.1em;
  text-transform:uppercase;line-height:1.3;color:var(--mute)}
.c3-root.hd3 .hd3-menu__grp .hd3-menu__links{margin-top:0}
.c3-root.hd3[data-hd3-tone="dark"] .hd3-menu__lbl{color:var(--d-mute);border-bottom-color:var(--d-line-2)}
@media (min-width:900px){.c3-root.hd3 .hd3-menu__grp{display:none}}

@media print{.c3-root.hd3 .hd3-dd__panel{display:none}}
