/* Site header: logo, main links, Get support and the phone menu */
.wwh {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  font-family: var(--ww-font);
}
.wwh::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(28, 28, 40, 0.65);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.wwh__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  padding: 0 max(var(--ww-gutter), 4.76vw) 0 max(var(--ww-gutter), 8.86vw);
}
.wwh__logo { display: block; line-height: 0; }
/* Logo sized by whole-pixel height so Safari doesn't round the SVG box down and clip the bottom of the marque */
.wwh__logo svg { display: block; overflow: visible; width: auto; height: 29px; }
.wwh__nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.wwh__links {
  display: flex; gap: 2px;
  margin: 0; padding: 2px; list-style: none;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.wwh__links li { margin: 0; }
.wwh__links a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 30px; padding: 0 14px;
  border-radius: 25px;
  font-size: 14px; font-weight: 400; color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.wwh__links a:hover { color: var(--ww-teal-soft); }
/* Current page: teal pill, matching the calculator's selected options */
.wwh__links a[aria-current="page"] {
  color: #fff; font-weight: 600;
  background: linear-gradient(90deg, var(--ww-teal), var(--ww-teal-deep));
  box-shadow: 0 6px 18px rgba(30, 193, 203, 0.3);
}
/* Reserve each link's bold width, so the nav keeps the same size whichever
   page is current and doesn't jump when you move between pages */
.wwh__links a::after {
  content: attr(data-label);
  height: 0; overflow: hidden; visibility: hidden;
  font-weight: 600; pointer-events: none; user-select: none;
}
.wwh__links a:focus-visible, .wwh__logo:focus-visible, .wwh__menu a:focus-visible {
  outline: 2px solid var(--ww-teal); outline-offset: 2px;
}
.wwh__actions { display: flex; align-items: center; gap: 12px; }
.wwh__toggle {
  display: none;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.wwh__toggle span { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform 0.2s ease; }
.wwh__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.wwh__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.wwh__menu {
  display: flex; flex-direction: column;
  padding: 8px var(--ww-gutter) 20px;
  background: rgba(28, 28, 40, 0.92);
}
.wwh__menu[hidden] { display: none; }
.wwh__menu a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; font-size: 17px; text-decoration: none;
}
.wwh__menu a[aria-current="page"] { color: var(--ww-teal); font-weight: 600; }
/* Get support also sits at the bottom of the menu whenever the links collapse into the menu button */
.wwh__menu a.wwh__menu-cta { display: none; margin-top: 20px; padding: 0 34px; border: 0; color: #fff; font-size: 16px; font-weight: 600; }
@media (max-width: 900px) { .wwh__menu a.wwh__menu-cta { display: inline-flex; } }

@media (max-width: 900px) {
  .wwh__inner { height: 68px; padding: 0 var(--ww-gutter); }
  .wwh__logo svg { height: 23px; }
  .wwh__nav { display: none; }
  .wwh__toggle { display: flex; }
}
/* Get support moves into the menu whenever the links collapse into the menu button */
@media (max-width: 900px) {
  .wwh .ww-btn--sm { display: none; }
}


/* Search: the button in the header and the panel that drops down under it */
.wwh__search-btn{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;cursor:pointer;background:rgba(255,255,255,.10);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.55);transition:background .2s ease,box-shadow .2s ease}
.wwh__search-btn:hover{background:rgba(255,255,255,.18)}
.wwh__search-btn:focus-visible{outline:2px solid var(--ww-teal);outline-offset:2px}
.wwh__search-btn[aria-expanded="true"]{background:linear-gradient(90deg,var(--ww-teal),var(--ww-teal-deep));box-shadow:0 6px 18px rgba(30,193,203,.3)}
.wwh__search-ico{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round}
.wwh__search-ico--close{display:none}
.wwh__search-btn[aria-expanded="true"] .wwh__search-ico--find{display:none}
.wwh__search-btn[aria-expanded="true"] .wwh__search-ico--close{display:block}
@media (max-width:900px){.wwh__search-btn{width:40px;height:40px}}
.wwh__search{position:relative;max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain;padding:28px 0 36px;background:rgba(28,28,40,.97);border-top:1px solid rgba(230,231,232,.12);border-bottom:1px solid rgba(230,231,232,.18);box-shadow:0 30px 60px rgba(0,0,0,.45)}
.wwh__search[hidden],.wwh__scrim[hidden],.wwh__search [hidden]{display:none}
.wwh__scrim{position:fixed;inset:0;z-index:-2;background:rgba(10,10,16,.55)}
.wwh__sbox{display:flex;align-items:center;gap:14px;height:64px;padding:0 24px;border-radius:32px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.4);transition:box-shadow .2s ease}
.wwh__sbox:focus-within{box-shadow:inset 0 0 0 1px var(--ww-teal),0 0 0 4px rgba(30,193,203,.18)}
.wwh__sbox-ico{flex:none;width:22px;height:22px;fill:none;stroke:var(--ww-teal);stroke-width:2;stroke-linecap:round}
.wwh__sbox input{flex:1;min-width:0;height:100%;margin:0;padding:0;border:0;background:transparent;font:400 18px/1.2 var(--ww-font);color:#fff;outline:none;-webkit-appearance:none;appearance:none}
.wwh__sbox input::placeholder{color:rgba(255,255,255,.55)}
.wwh__sbox input::-webkit-search-cancel-button{-webkit-appearance:none}
.wwh__sresults{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:28px 40px;margin-top:28px}
.wwh .wwh__sgroup-title{margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid rgba(230,231,232,.18);font-size:13px;font-weight:600;color:rgba(255,255,255,.7)}
.wwh__sgroup-title span{font-weight:400;color:rgba(255,255,255,.55)}
.wwh__shit{display:block;margin:0 -12px;padding:10px 12px;border-radius:8px;color:#fff;text-decoration:none}
.wwh__shit:hover,.wwh__shit[aria-selected="true"]{color:#fff;background:rgba(30,193,203,.12)}
.wwh__shit:focus-visible{outline:2px solid var(--ww-teal);outline-offset:0}
.wwh__shit-t{display:block;font-size:15px;font-weight:500;line-height:1.35}
.wwh__shit-m{display:block;margin-top:2px;font-size:12px;color:rgba(255,255,255,.62)}
.wwh .wwh__snone{margin:24px 0 0;font-size:16px;color:rgba(255,255,255,.8)}
.wwh__sall{display:inline-flex;align-items:center;gap:6px;margin-top:24px;font-size:15px;font-weight:600;color:var(--ww-teal);text-decoration:none}
.wwh__sall:hover{color:var(--ww-teal-soft)}
.wwh__sall svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wwh__squick{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px}
.wwh__squick span{font-size:14px;color:rgba(255,255,255,.7)}
.wwh__squick a{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:25px;font-size:14px;color:#fff;text-decoration:none;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.4);transition:color .2s ease,background .2s ease}
.wwh__squick a:hover{color:var(--ww-teal-soft);background:rgba(255,255,255,.12)}
.wwh__squick a:focus-visible,.wwh__sall:focus-visible{outline:2px solid var(--ww-teal);outline-offset:3px}
@media (max-width:600px){.wwh__search{padding:20px 0 28px}.wwh__sbox{height:56px;padding:0 18px}.wwh__sbox input{font-size:16px}}
@media (prefers-reduced-motion:reduce){.wwh__search-btn,.wwh__sbox{transition:none}}
/* Menu button matches the search button */
/* thin light stroke, teal when open */
.wwh__toggle{box-shadow:inset 0 0 0 .5px rgba(255,255,255,.55);transition:background .2s ease,box-shadow .2s ease}
.wwh__toggle:hover{background:rgba(255,255,255,.18)}
.wwh__toggle:focus-visible{outline:2px solid var(--ww-teal);outline-offset:2px}
.wwh__toggle[aria-expanded="true"]{background:linear-gradient(90deg,var(--ww-teal),var(--ww-teal-deep));box-shadow:0 6px 18px rgba(30,193,203,.3)}
@media (prefers-reduced-motion:reduce){.wwh__toggle{transition:none}}
