/* One menu on every page (Suneeta, Nov 3, 2026): the home page's header, as
   home-final.css draws it, for every page the build gives the shared menu.
   The header keeps the class "nav" (styles.css), so it stays fixed at the
   top and nav-drop.js still measures it into --nav-h; everything here is
   under .nav.hnav so it wins over the old menu's look without touching the
   home page, which draws its own. Loaded last in every page's head. */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Roboto:wght@400&display=swap");

.nav.hnav{
  display:block;height:auto;padding:0;gap:0;
  background:rgba(11,26,51,.92);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.09);
  --mk:#10B981;
}
.nav.hnav .hnav-in{
  max-width:1200px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding-block:calc(14px + env(safe-area-inset-top,0px)) 14px;
  padding-left:max(16px,env(safe-area-inset-left,0px));
  padding-right:max(16px,env(safe-area-inset-right,0px));
}
@media (min-width:900px){
  .nav.hnav .hnav-in{padding-left:max(40px,env(safe-area-inset-left,0px));padding-right:max(40px,env(safe-area-inset-right,0px))}
}
.nav.hnav .hnav-logo{
  display:flex;align-items:center;gap:10px;text-decoration:none;
  font-family:Poppins,system-ui,sans-serif;font-weight:700;font-size:19px;letter-spacing:.08em;line-height:1.6;color:#10B981;
}
.nav.hnav .hnav-logo img{display:block;width:28px;height:auto;flex:none}
.nav.hnav .hnav-logo .mk{color:inherit;display:contents}
.nav.hnav .hnav-logo .mk sup{font-size:.5em;letter-spacing:0;margin-left:-6px;vertical-align:super;line-height:inherit}
.nav.hnav .hnav-links{display:flex;gap:26px;list-style:none;margin:0;padding:0;font-family:Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.6}
.nav.hnav .hnav-links a{text-decoration:none;color:#C9D3E3;font-weight:400}
.nav.hnav .hnav-links a:hover,.nav.hnav .hnav-links a[aria-current="page"]{color:#fff}
@media (max-width:900px){.nav.hnav .hnav-links{display:none}}

.nav.hnav .hnav-cta{
  position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:12px;
  padding:10px 10px 10px 24px;border-radius:999px;background:#10B981;color:#062016;
  font-family:Poppins,system-ui,sans-serif;font-weight:600;font-size:16px;line-height:1.6;text-decoration:none;white-space:nowrap;
}
.nav.hnav .hnav-ring{width:34px;height:34px;border-radius:50%;background:#0B1A33;display:grid;place-items:center;flex:none}
.nav.hnav .hnav-ring svg{display:block}
.nav.hnav .hnav-arc{stroke-dasharray:44;stroke-dashoffset:44;animation:hnavFill 2.6s ease-in-out infinite}
@keyframes hnavFill{0%{stroke-dashoffset:44}55%,100%{stroke-dashoffset:0}}
.nav.hnav .hnav-cta::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);transform:translateX(-120%);animation:hnavSweep 3.2s ease-in-out infinite}
@keyframes hnavSweep{0%,35%{transform:translateX(-120%)}75%,100%{transform:translateX(120%)}}
@media (prefers-reduced-motion:reduce){
  .nav.hnav .hnav-arc,.nav.hnav .hnav-cta::after{animation:none}
  .nav.hnav .hnav-arc{stroke-dashoffset:0}
}

/* the old menu's phone layout (styles.css, below 900px) wrapped the header
   onto rows; this one stays one row, as on the home page */
@media (max-width:899px){
  .nav.hnav{flex-wrap:nowrap;padding:0}
}

/* The Platform menu (Nov 11, 2026): "Platform" after FAQs opens the ten
   Platform screens. nav-drop.js opens it by click, tap, Enter or Space and
   closes it with Escape, a click outside or a link. Its look is the site's
   other dropdowns': navy panel, thin light border, round corners. On a
   phone the other links stay hidden as before; Platform stays, and its list
   opens full width under the header. Every address is /open-platform/...,
   sent on to the Platform by the one redirect in vercel.json. */
.nav.hnav .pdrop{position:relative}
.nav.hnav .pdrop-btn{appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;line-height:inherit;color:#C9D3E3;cursor:pointer;display:inline-flex;align-items:center}
.nav.hnav .pdrop-btn:hover,.nav.hnav .pdrop-btn[aria-expanded="true"]{color:#fff}
.nav.hnav .pdrop-btn::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.nav.hnav .pdrop-btn:focus-visible{outline:2px solid #10B981;outline-offset:4px;border-radius:4px}
.nav.hnav .pdrop-menu{display:none;position:absolute;top:calc(100% + 18px);left:50%;transform:translateX(-50%);z-index:60;min-width:250px;box-sizing:border-box;padding:8px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:#0B1A33;box-shadow:0 14px 34px rgba(0,0,0,.4)}
.nav.hnav .pdrop-btn[aria-expanded="true"]+.pdrop-menu{display:block}
.nav.hnav .pdrop-menu a{display:block;padding:10px 12px;border-radius:10px;font-size:14px;line-height:1.4;white-space:nowrap;color:#C9D3E3;text-decoration:none}
.nav.hnav .pdrop-menu a:hover,.nav.hnav .pdrop-menu a:focus-visible{background:rgba(255,255,255,.1);color:#fff;outline:none}
@media (max-width:900px){
  .nav.hnav .hnav-links{display:flex}
  .nav.hnav .hnav-links>li:not(.pdrop){display:none}
  .nav.hnav .pdrop-menu{position:fixed;top:calc(var(--nav-h,64px) + 6px);left:16px;right:16px;transform:none;min-width:0}
  .nav.hnav .pdrop-menu a{white-space:normal;padding:12px}
}
/* narrow phones: the header row has no room for Platform beside the logo and
   Talk to us, so Platform takes a slim second row and those two keep their size */
@media (max-width:439px){
  .nav.hnav .hnav-in{flex-wrap:wrap;row-gap:4px}
  .nav.hnav .hnav-links{order:3;width:100%;justify-content:flex-start}
}
.nav.hnav .pdrop-btn{-webkit-tap-highlight-color:transparent}
